SMRPA01300_국민연금보험.xrw 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503
  1. <?xml version="1.0" encoding="EUC-KR"?>
  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. <main>
  10. <disadiffpay>
  11. <disadiffpayinst>
  12. <instnm/>
  13. <cnt/>
  14. <mancnt/>
  15. <instcd/>
  16. <notiym/>
  17. </disadiffpayinst>
  18. </disadiffpay>
  19. <disadiffpayform>
  20. <insurancenstilist>
  21. <emplno/>
  22. <notiym/>
  23. <seqno/>
  24. <rrgstno/>
  25. <notigbn/>
  26. <instcd/>
  27. <grde/>
  28. <pensinsuamt/>
  29. <updtresn/>
  30. <updtdd/>
  31. <monthno/>
  32. </insurancenstilist>
  33. </disadiffpayform>
  34. <list01>
  35. <gridsummary/>
  36. </list01>
  37. </main>
  38. <send>
  39. <attach>
  40. <file/>
  41. <notiym/>
  42. </attach>
  43. <title/>
  44. <savelist>
  45. <insurancenstilist/>
  46. </savelist>
  47. <searchlist>
  48. <notiym/>
  49. <rrgstno1/>
  50. <rrgstno2/>
  51. <emplnm/>
  52. <instcd/>
  53. <workgbn/>
  54. </searchlist>
  55. <disadiffpay>
  56. <instcd/>
  57. <notiym/>
  58. <rrgstno1/>
  59. <rrgstno2/>
  60. <emplnm/>
  61. </disadiffpay>
  62. </send>
  63. <temp>
  64. <cnt/>
  65. <doduyn/>
  66. <medicnfmyn/>
  67. </temp>
  68. <init>
  69. <selectValue>1</selectValue>
  70. </init>
  71. </root>
  72. </instance>
  73. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  74. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  75. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  76. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  77. <script type="javascript" src="../../../mis/insurancemngtweb/js/RPA001.js"/>
  78. <script type="javascript" ev:event="xforms-ready">
  79. <![CDATA[
  80. fInitialize();
  81. misfGridInit(grd_disadiffpayinst);
  82. misfGridInit(grd_insurancenstilist);
  83. misfGridInit(grd_attach);
  84. misfMsterDetailSet(grd_disadiffpayinst, null, "TRRPA01301" ,"N");
  85. misfMsterDetailSet(grd_insurancenstilist, grd_disadiffpayinst, "TRRPA01303" ,"Y");
  86. rpaComboInstBase(cmb_instcd,getUserInfo("dutplceinstcd"));
  87. misfComboCopyItemSet(cmb_instcd, "", grd_insurancenstilist, "instcd");
  88. var instcd = getUserInfo("dutplceinstcd");
  89. cmb_instcd.value=instcd;
  90. //화면 권한 설정
  91. btn_save.disabled = !(checkAuth("X"));
  92. btn_save.disabled=true;
  93. btn_search.dispatch("DOMActivate");
  94. ]]>
  95. </script>
  96. <submission id="TRRPA01301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/searchlist" resultref="/root/main/disadiffpay"/>
  97. <submission id="TXRPA01301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savelist" resultref="/root/temp"/>
  98. <submission id="TRRPA01302" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/searchlist" resultref="/root/temp"/>
  99. <submission id="TXRPA01302" mediatype="multipart/form-data" method="form-data-post" ref="/root/send" resultref="/root/main/list01"/>
  100. <submission id="TXRPA01303" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/searchlist" resultref="/root/temp"/>
  101. <submission id="TRRPA01303" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/disadiffpay" resultref="/root/main/disadiffpayform"/>
  102. <submission id="TRRPA03702" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/searchlist" resultref="/root/temp"/>
  103. </model>
  104. <script type="javascript">
  105. <![CDATA[
  106. // 화면 open시와 초기화 버튼 클릭시 화면 초기화 기능을 수행한다.
  107. function fInitialize() {
  108. model.removeNodeset("/root/main/disadiffpay/disadiffpayinst");
  109. model.removeNodeset("/root/main/disadiffpayform/insurancenstilist");
  110. model.removeNodeset("/root/main/list/filelist");
  111. model.resetInstanceNode("/root/send");
  112. model.refresh();
  113. var curDate = getCurrentDate().toDate();
  114. model.setValue("/root/send/searchlist/notiym", curDate.getDateFormat('YYYYMM'));
  115. }
  116. /** 왼쪽 공백 제거 */
  117. function funcLtrim( str ) {
  118. var src = new String( str );
  119. var tmp = new String();
  120. var i,firstnum, len = src.length;
  121. for(i = 0;i < len ;i++) {
  122. tmp = src.substring(i,i+1);
  123. if (tmp != ' ' ) {
  124. firstnum = i;
  125. break;
  126. }
  127. }
  128. tmp = src.substring(firstnum);
  129. return tmp;
  130. }
  131. var fso=new ActiveXObject("Scripting.FileSystemObject");
  132. function fCsvUpload() {
  133. var maxsize = upload1.attribute("filesize");
  134. //var files = window.fileDialog("open", "|", true);
  135. //var filename = window.fileDialog("open", "|", true,dirPath + fileName, "txt", "All File(*.*)|*.*");
  136. var filename = window.fileDialog("open", ",", false, "excel", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  137. var filelist = filename.split("|");
  138. model.removeNodeset("/root/main/list/filelist");
  139. model.removeNodeset("/root/send/attach");
  140. //타이틀을 획득한다.
  141. var s = new String(filelist[filelist.length-1]);
  142. var ss = s.split("\\");
  143. if(filename !=""){
  144. /* if (!fso.FileExists(filename)) {
  145. fso.CreateTextFile(filename,true);
  146. }
  147. var ts=fso.OpenTextFile(filename,1);
  148. var i=1;
  149. while (!ts.AtEndOfStream) {
  150. i++;
  151. strData = ts.ReadLine();
  152. if(i==3){
  153. if(!fIsValidate(strData))return;
  154. }
  155. if(i == 3)break;
  156. } //end of while
  157. var arr_data = strData.split(",");
  158. var notiym = arr_data[0];
  159. model.setValue("/root/send/searchlist/notiym", notiym);*/
  160. //submit("TRRPA01302");
  161. if(grd_disadiffpayinst.row>1){
  162. messageBox("해당월의 자료가 ","E006");
  163. return;
  164. }else{
  165. //작업 전 row를 추가 >파일명 유/무에 따른 분기>
  166. for(var i = 0 ; i < filelist.length ; i++ ){
  167. grd_attach.addRow(false);
  168. if(filelist[i] == ""){
  169. //alert(grd_attach.rows - 1);
  170. grd_attach.removeRow(false);
  171. grd_attach.refresh();
  172. }else{
  173. grd_attach.valueMatrix(grd_attach.rows - 1, 0) = filelist[i];
  174. //파일크기('tfHelper.checkFileSize' 참조)
  175. var fileCnt = upload1.getFileCount();
  176. var lastIndex = fileCnt - 1;
  177. var fileSize = upload1.getFileSize(lastIndex);
  178. grd_attach.textmatrix(grd_attach.rows - 1,1) = fileSize;
  179. if (!checkFileSize(upload1)){
  180. grd_attach.removeItem();
  181. messageBox("파일 크기가 최대치("+maxsize+"Byte)를", "E003");
  182. return;
  183. }
  184. }
  185. }
  186. openLoadingBar("파일업로드 작업중입니다... ") ;
  187. submit("TXRPA01302");
  188. closeLoadingBar();
  189. btn_search.dispatch("DOMActivate");
  190. }
  191. }
  192. }
  193. //=============================================================================================
  194. // 전환할 Line의 유효성 검사
  195. //=============================================================================================
  196. function fIsValidate(strData) {
  197. /* var arr_data = strData.split(",");
  198. if(arr_data.length == 23) {
  199. //작업 년월을 비교한다.
  200. if(arr_data[0] != model.getValue("/root/send/searchlist/notiym")) {
  201. messageBox("선택한 파일의 년월과 입력한 년월 값이 ", "E004");
  202. return false;
  203. }
  204. return true;
  205. } else {
  206. messageBox("파일형태가", "E004");
  207. return false;
  208. }*/
  209. return true;
  210. }
  211. /**
  212. * @group : lvString 확장
  213. * @ver : 2004.07.29 (KUHDEV-0002)
  214. * @by : LeeHJ.
  215. * @---------------------------------------------------
  216. * @type : function
  217. * @access : public
  218. * @desc : 파라미터 값의 Byte 크기를 리턴
  219. * @param : N/A
  220. * @return : 파라미터 값의 Byte 크기
  221. * @---------------------------------------------------
  222. */
  223. function lvGetByteSize(strData)
  224. {
  225. var tcount = 0;
  226. var tmpStr = new String(strData);
  227. var temp = tmpStr.length;
  228. var onechar;
  229. for ( k=0; k<temp; k++ )
  230. {
  231. onechar = tmpStr.charAt(k);
  232. if (escape(onechar).length > 4)
  233. {
  234. tcount += 2;
  235. }
  236. else
  237. {
  238. tcount += 1;
  239. }
  240. }
  241. return tcount;
  242. }
  243. ]]>
  244. </script>
  245. </xhtml:head>
  246. <xhtml:body style="margin-left:8; margin-right:8; ">
  247. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  248. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">국민연금 보험 파일 Upload</caption>
  249. </group>
  250. <group id="group2" scroll="auto" style="left:0px; top:38px; width:1195px; height:744px; ">
  251. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:10px; width:1195px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  252. <caption id="cap_notiym" class="search_name" style="left:15px; top:19; width:86px; height:17px; ">고지년월 :</caption>
  253. <button id="btn_search" class="btn1_letter2" style="left:1125px; top:17px; width:56px; height:22px; ">
  254. <caption>조회</caption>
  255. <script type="javascript" ev:event="DOMActivate">
  256. <![CDATA[
  257. if(!isRequiredControls("ipt_notiym"))return;
  258. model.makeValue("/root/send/attach/notiym",ipt_notiym.value);
  259. misfMsterDetailRetrieve();
  260. ]]>
  261. </script>
  262. </button>
  263. <line id="line13" class="line_4" style="x1:1110px; y1:17px; x2:1110px; y2:39px; "/>
  264. <line id="line207" class="line_1" style="x1:0px; y1:69px; x2:280px; y2:69px; "/>
  265. <datagrid id="grd_insurancenstilist" nodeset="/root/main/disadiffpayform/insurancenstilist" caption="고지구분^고지년월^일련번호^기관^성명^주민등록번호^등급^연금보험료^변동사유^변동일자^월수" colwidth="92, 62, 55, 140, 74, 104, 48, 78, 77, 76, 59, 100" dataheight="25" ellipsis="true" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" rowsep="|" tooltip="true" style="left:285px; top:74px; width:910px; height:660px; text-align:center; ">
  266. <col ref="notigbnnm"/>
  267. <col ref="notiym" format="yyyy-mm"/>
  268. <col ref="seqno"/>
  269. <col id="instcd" ref="instcd" type="combo" style="text-align:left; ">
  270. <choices>
  271. <itemset>
  272. <label/>
  273. <value/>
  274. </itemset>
  275. </choices>
  276. </col>
  277. <col ref="emplnm" style="text-align:center; "/>
  278. <col ref="rrgstno" format="999999-9999999" style="text-align:center; "/>
  279. <col ref="grde" style="text-align:center; "/>
  280. <col ref="pensinsuamt" format="#,###" style="text-align:right; "/>
  281. <col ref="updtresn" style="text-align:center; "/>
  282. <col ref="updtdd" format="yyyy-mm-dd" style="text-align:center; "/>
  283. <col ref="monthno" format="yyyy-mm" style="text-align:center; "/>
  284. <col ref="notigbn" visibility="hidden"/>
  285. <script type="javascript" ev:event="xforms-value-changed">
  286. <![CDATA[
  287. var cur_row = grd_insurancenstilist.row;
  288. if(grd_insurancenstilist.col == 4){
  289. for(i=1; i < grd_insurancenstilist.rows ; i++){
  290. var rrgstno= grd_insurancenstilist.valueMatrix(grd_insurancenstilist.row,6);
  291. var instcd= grd_insurancenstilist.valueMatrix(grd_insurancenstilist.row,4);
  292. var rrgstno_ch= model.getValue("/root/main/disadiffpayform/insurancenstilist["+i+"]/rrgstno");
  293. if(rrgstno == rrgstno_ch){
  294. grd_insurancenstilist.valueMatrix(i, grd_insurancenstilist.colRef("instcd")) =instcd;
  295. grd_insurancenstilist.addStatus(i,"update");
  296. }
  297. }
  298. }
  299. ]]>
  300. </script>
  301. <script type="javascript" ev:event="onaftersort">
  302. <![CDATA[
  303. grd_insurancenstilist.gridToInstance();
  304. ]]>
  305. </script>
  306. </datagrid>
  307. <input id="ipt_notiym" ref="/root/send/searchlist/notiym" class="input_s_essential" inputtype="date" format="yyyy-mm" style="left:100; top:18; width:100px; height:19px; ">
  308. <script type="javascript" ev:event="xforms-value-changed">
  309. <![CDATA[
  310. btn_search.dispatch("DOMActivate");
  311. ]]>
  312. </script>
  313. </input>
  314. <caption id="caption9" class="tit_2" style="left:5px; top:54px; width:100px; height:13px; ">기관별건수</caption>
  315. <input id="ipt_cnt" ref="/root/temp/cnt" class="input_search" disabled="true" visibility="hidden" format="#,###" style="left:935px; top:48px; width:81px; height:19px; text-align:right; "/>
  316. <button id="btn_upload" class="btn2_letter5" style="left:1054px; top:48px; width:75px; height:19px; ">
  317. <caption>파일업로드</caption>
  318. <script type="javascript" ev:event="DOMActivate">
  319. <![CDATA[
  320. fCsvUpload();
  321. if(!isRequiredControls("ipt_notiym"))return;
  322. ]]>
  323. </script>
  324. </button>
  325. <caption id="caption4" class="search_name" style="left:224px; top:19; width:99px; height:17px; ">주민번호 :</caption>
  326. <caption id="caption309" style="left:415px; top:21px; width:16px; height:17px; font-weight:bold; text-align:center; vertical-align:bottom; ">~</caption>
  327. <input id="ipt_chldrnresdnrgst1" ref="/root/send/searchlist/rrgstno1" class="input_default" maxlength="6" style="left:310px; top:18; width:100px; height:19px; ">
  328. <script type="javascript" ev:event="onkeypress">
  329. <![CDATA[
  330. inputEnterKey("btn_search", "DOMActivate");
  331. ]]>
  332. </script>
  333. </input>
  334. <input id="ipt_chldrnresdnrgst2" ref="/root/send/searchlist/rrgstno2" class="input_default" maxlength="8" style="left:435px; top:18; width:100px; height:19px; ">
  335. <script type="javascript" ev:event="onkeypress">
  336. <![CDATA[
  337. inputEnterKey("btn_search", "DOMActivate");
  338. ]]>
  339. </script>
  340. </input>
  341. <caption id="caption5" class="search_name" style="left:561px; top:19; width:85px; height:17px; ">성 명 :</caption>
  342. <input id="ipt_emplnm" ref="/root/send/searchlist/emplnm" imemode="hangul" style="left:645px; top:18; width:105px; height:19px; "/>
  343. <select1 id="cmb_instcd" ref="/root/send/searchlist/instcd" class="combo_s_essential" visibility="hidden" appearance="minimal" style="left:753px; top:18; width:144px; height:19px; ">
  344. <choices>
  345. <itemset>
  346. <label/>
  347. <value/>
  348. </itemset>
  349. </choices>
  350. </select1>
  351. <input id="ipt_doduyn" ref="/root/temp/doduyn" visibility="hidden"/>
  352. <upload id="upload1" nodeset="/root/send/attach/file" ext="zip" filecount="5" filesize="41943040" validate="true" style="left:1020px; top:48px; width:25px; height:20px; "/>
  353. <datagrid id="grd_attach" nodeset="/root/send/attach" class="datagrid1" visibility="hidden" caption="File Name^File Size" colsep="^" colwidth="403, 93" dataheight="23" ellipsis="true" focuscolor="#b9e5fb" mergecellsfixedrows="bycolrec" rowheight="23" rowsep="|" style="left:670px; top:535px; width:505px; height:69px; ">
  354. <col ref="file" style="text-align:center; "/>
  355. <col ref="filesize" format="#,###" style="text-align:right; "/>
  356. </datagrid>
  357. <datagrid id="grd_disadiffpayinst" nodeset="/root/main/disadiffpay/disadiffpayinst" caption="기관^총건수^인원수^기관코드^작업월^caption1^caption2^caption3" colsep="^" colwidth="137, 62, 58, 75, 21" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:74px; width:280px; height:660px; ">
  358. <col ref="instnm"/>
  359. <col ref="cnt" format="#,###" style="text-align:right; "/>
  360. <col ref="mancnt" format="#,###" style="text-align:right; "/>
  361. <col ref="instcd" visibility="hidden"/>
  362. <col ref="notiym" visibility="hidden"/>
  363. <script type="javascript" ev:event="onrowchanged">
  364. <![CDATA[
  365. grd_disadiffpayinst.subtotal("clear", 0, 0);
  366. grd_disadiffpayinst.subtotalPosition = "below";
  367. grd_disadiffpayinst.multiTotals = true;
  368. grd_disadiffpayinst.subtotal("sum", -1, 3, "format:#,###; roundmode:round; roundpostion:2", "background-color:#7CBBDD; color:#ffffff; font-weight:bold; ", 1, "총합계", false);
  369. grd_disadiffpayinst.subtotal("sum", -1, 2, "format:#,###; roundmode:round; roundpostion:2", "background-color:#7CBBDD; color:#ffffff; font-weight:bold; ", 1, "총합계", false);
  370. var rrgstno1=model.getValue("/root/send/searchlist/rrgstno1");
  371. var rrgstno2=model.getValue("/root/send/searchlist/rrgstno2");
  372. var emplnm=model.getValue("/root/send/searchlist/emplnm");
  373. model.makeValue("/root/main/disadiffpay/disadiffpayinst/rrgstno1",rrgstno1);
  374. model.makeValue("/root/main/disadiffpay/disadiffpayinst/rrgstno2",rrgstno2);
  375. model.makeValue("/root/main/disadiffpay/disadiffpayinst/emplnm",emplnm);
  376. var cur_row=grd_disadiffpayinst.rows-1;
  377. if (grd_disadiffpayinst.row != cur_row){
  378. var instcd=grd_disadiffpayinst.valueMatrix(grd_disadiffpayinst.row,4);
  379. if(instcd ==""){
  380. btn_save.disabled=false;
  381. }else{
  382. btn_save.disabled=true;
  383. }
  384. misfMsterDetailRetrieve();
  385. }else{
  386. btn_save.disabled=true;
  387. }
  388. ]]>
  389. </script>
  390. </datagrid>
  391. <line id="line1" class="line_1" style="x1:285px; y1:69px; x2:1195px; y2:69px; "/>
  392. <caption id="caption1" class="tit_2" style="left:290px; top:54px; width:131px; height:13px; ">국민연금 보험 내역</caption>
  393. <button id="btn_exceldetail" class="btn2_letter4" style="left:1131px; top:48px; width:64px; height:19px; ">
  394. <caption>엑셀저장</caption>
  395. <script type="javascript" ev:event="DOMActivate">
  396. <![CDATA[
  397. var fileName = window.fileDialog("save", ",", false, "excel", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  398. if (fileName != "")
  399. {
  400. grd_insurancenstilist.saveExcel(fileName, "SheetName", true, true, "", "");
  401. }
  402. ]]>
  403. </script>
  404. </button>
  405. <button id="button1" class="btn2_letter4" style="left:216px; top:48px; width:64px; height:19px; ">
  406. <caption>엑셀저장</caption>
  407. <script type="javascript" ev:event="DOMActivate">
  408. <![CDATA[
  409. var fileName = window.fileDialog("save", ",", false, "excel", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  410. if (fileName != "")
  411. {
  412. grd_disadiffpayinst.saveExcel(fileName, "SheetName", true, true, "", "");
  413. }
  414. ]]>
  415. </script>
  416. </button>
  417. </group>
  418. <group id="grp_btn" scroll="auto" style="left:0px; top:12; width:1195px; height:27px; ">
  419. <button id="btn_save" class="btn4_letter2" style="left:1139px; top:3; width:56px; height:22px; ">
  420. <caption>저장</caption>
  421. <script type="javascript" ev:event="DOMActivate">
  422. <![CDATA[
  423. var updtdata = getGridUpdateData(grd_insurancenstilist);
  424. if (updtdata == "" ) {
  425. messageBox("변경된 데이터가","I004");
  426. return;
  427. }
  428. var retMes = messageBox("저장 하시겠습니까?", "Q999");
  429. if ( retMes != 6) {
  430. return;
  431. }
  432. model.setValue("/root/send/searchlist/workgbn","4");
  433. submit("TRRPA03702");
  434. var medicnfmyn=model.getValue("/root/temp/medicnfmyn");
  435. if(medicnfmyn =='Y'){
  436. messageBox("의료원확정이 완료된 자료는 수정 ","E001");
  437. return;
  438. }
  439. misfSave("TXRPA01301");
  440. ]]>
  441. </script>
  442. </button>
  443. <button id="btn_init" class="btn4_letter3" style="left:1069px; top:3; width:68px; height:22px; ">
  444. <caption>초기화</caption>
  445. <script type="javascript" ev:event="DOMActivate">
  446. <![CDATA[
  447. var updtdata = getGridUpdateData(grd_insurancenstilist);
  448. if (updtdata != "") {
  449. var ret = messageBox("그리드에 작업 중인 내용이 있습니다. 초기화 작업을","Q003");
  450. if (ret != 6) { // not OK
  451. return;
  452. }
  453. }
  454. fInitialize();
  455. ]]>
  456. </script>
  457. </button>
  458. <line id="line9" class="line_6" style="x1:0; y1:25; x2:1195; y2:25; "/>
  459. <button id="button2" class="btn4_letter4" style="left:987px; top:3px; width:80px; height:22px; ">
  460. <caption>자료삭제</caption>
  461. <script type="javascript" ev:event="DOMActivate">
  462. <![CDATA[
  463. if(!isRequiredControls("ipt_notiym"))return;
  464. var retMes = messageBox("자료를 삭제 하시겠습니까?", "Q999");
  465. if ( retMes != 6) {
  466. return;
  467. }
  468. model.setValue("/root/send/searchlist/workgbn","4");
  469. submit("TRRPA03702");
  470. var medicnfmyn=model.getValue("/root/temp/medicnfmyn");
  471. if(medicnfmyn =='Y'){
  472. messageBox("의료원확정이 완료된 자료는 삭제 ","E001");
  473. return;
  474. }
  475. submit("TXRPA01303");
  476. ipt_doduyn.value="";
  477. misfGridInit(grd_disadiffpayinst);
  478. misfGridInit(grd_insurancenstilist);
  479. ]]>
  480. </script>
  481. </button>
  482. </group>
  483. </xhtml:body>
  484. </xhtml:html>