제증명신청(구).xrw 39 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.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>Untitle</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <crtfctkind>
  11. <crtfctkindlist/>
  12. </crtfctkind>
  13. <crtfctkindtmp>
  14. <crtfctkindlist>
  15. <crtfctkind/>
  16. <issinstcd/>
  17. <frmrmert/>
  18. <trngflag/>
  19. <issresn/>
  20. <isscnt/>
  21. <amt/>
  22. <acptmthd/>
  23. <zipcd1/>
  24. <zipcd2/>
  25. <addr/>
  26. <emailid/>
  27. <emailaddr/>
  28. <etcemailaddr/>
  29. <telno/>
  30. <emplno/>
  31. </crtfctkindlist>
  32. </crtfctkindtmp>
  33. <tmplist>
  34. <issno/>
  35. </tmplist>
  36. </main>
  37. <send>
  38. <search>
  39. <emplno/>
  40. <fromdd/>
  41. <todd/>
  42. <emplnm/>
  43. <issinstcd/>
  44. <appflag/>
  45. <crtfctkind/>
  46. </search>
  47. <save>
  48. <crtfctkind_mst/>
  49. </save>
  50. <crtfctkindlist/>
  51. <yynum/>
  52. </send>
  53. <init>
  54. <appflag>
  55. <label>전체</label>
  56. <value/>
  57. <label>신청</label>
  58. <value>1</value>
  59. <label>확인</label>
  60. <value>2</value>
  61. <label>출력</label>
  62. <value>3</value>
  63. </appflag>
  64. <deptcond/>
  65. </init>
  66. <hidden>
  67. <crtfctkind_search>
  68. <cdnm/>
  69. <cdid/>
  70. </crtfctkind_search>
  71. </hidden>
  72. <temp>
  73. </temp>
  74. </root>
  75. </instance>
  76. <submission id="TRRTH00601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/search" resultref="/root/main/crtfctkind/crtfctkindlist"/>
  77. <submission id="TRRTH00603" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/search" resultref="/root/hidden"/>
  78. <submission id="TRRTH00604" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/search" resultref="/root/hidden"/>
  79. <submission id="TRRTH00602" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/search" resultref="/root/main/tmplist"/>
  80. <submission id="TXRTH00601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/crtfctkindlist" resultref="/root/temp"/>
  81. <submission id="TXRTH00602" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/crtfctkindlist" resultref="/root/temp"/>
  82. <submission id="TRRTH00605" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/crtfctkindtmp/crtfctkindlist" resultref="/root/main/tmplist"/>
  83. <submission id="TRRTC00302" mediatype="application/x-www-form-urlencoded" method="post" resultref="/root/init/deptcond"/>
  84. </model>
  85. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  86. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  87. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  88. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  89. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  90. <script type="javascript" src="../../../mis/miscommonweb/js/RSZ001.js"/>
  91. <script type="javascript" src="../../../mis/humtrafactmngtweb/js/RPB001.js"/>
  92. <script type="javascript" ev:event="xforms-ready">
  93. <![CDATA[
  94. fCheckAuth();
  95. misfGridInit(grd_crtfctkindlist);
  96. misfMsterDetailSet(grd_crtfctkindlist, null, "TRRTH00601", "Y");
  97. var curdate = getCurrentDate();
  98. var cvtdate = curdate.toDate("YYYYMMDD");
  99. model.setValue(ipt_fromdd_search.attribute("ref") , cvtdate.getAddDate(-10,"D").getDateFormat("YYYYMMDD"));
  100. ipt_todd_search.value = curdate;
  101. submit("TRRTC00302");
  102. submit("TRRTH00604");
  103. var node = instance1.selectSingleNode("/root/hidden/crtfctkind_search").length;
  104. for(var i=1 ; i<=node ; i++)
  105. {
  106. model.makeValue("/root/main/crtfctkindlist[" + i + "]/cdnm", model.getValue("/root/hidden/crtfctkind_search[" + i + "]/cdnm"));
  107. model.makeValue("/root/main/crtfctkindlist[" + i + "]/cdid", model.getValue("/root/hidden/crtfctkind_search[" + i + "]/cdid"));
  108. }
  109. // misfComboComCdListMulti 보다 먼저 사용해야함 아니면 노드가 사라짐
  110. misfGridComboComCdList("Z0007",grd_crtfctkindlist,"dutplceinst");
  111. misfGridComboComCdList("Z0007",grd_crtfctkindlist,"orginstcd");
  112. misfGridComboComCdList("R0131",grd_crtfctkindlist,"emailaddr");
  113. misfGridComboComCdList("R0305",grd_crtfctkindlist,"issinstcd");
  114. misfGridComboComCdList("R0234",grd_crtfctkindlist,"frmrmert");
  115. misfGridComboComCdList("R0062",grd_crtfctkindlist,"trngflag");
  116. misfGridComboComCdList("R0062",grd_crtfctkindlist,"jobposnm");
  117. rszfComboComCdListMultiS("grd_crtfctkindlist.issinstcd","전체","", "above" );
  118. rszfComboComCdListMultiS("grd_crtfctkindlist.issinstcd","가톨릭중앙의료원","001", "above" );
  119. misfComboComCdListMulti("R0305,R0131,R0305,R0062", "cmb_issinstcd_search,cmb_emailaddr,cmb_issinstcd,cmb_trngflag");
  120. addComboItem( "cmb_crtfctkind_search", "전체", "", "above");
  121. addComboItem( "cmb_issinstcd_search", "가톨릭중앙의료원", "001", "above");
  122. addComboItem( "cmb_issinstcd_search", "전체", "", "above");
  123. addComboItem( "cmb_issinstcd", "가톨릭중앙의료원", "001", "above");
  124. // 로그인 한 사람의 근무기관을 발급기관으로 기초 세팅하기로 함..
  125. var dutplceinstcd = getUserInfo("dutplceinstcd");
  126. model.setValue("/root/send/search/issinstcd", dutplceinstcd);
  127. // 테스트 데이터 : 10301118 (박혜원)
  128. ipt_emplno_search.value = '10602800';
  129. rdo_acptmthd.select(0);
  130. btn_search.dispatch("DOMActivate");
  131. model.refresh();
  132. ]]>
  133. </script>
  134. <script type="javascript">
  135. <![CDATA[
  136. //========================================================================================
  137. //버튼에 대한 화면 권한 체크(R : 읽기, X : 입력/수정/삭제, P : 출력)
  138. //========================================================================================
  139. function fCheckAuth() {
  140. btn_search.disabled =!checkAuth("R");
  141. btn_save.disabled = !checkAuth("X");
  142. // 출력권한("P")이 있는 사람(수련부) 권한세팅
  143. if(checkAuth("P") == true)
  144. {
  145. group2.visible = checkAuth("P");
  146. ipt_emplno_search.disabled = !checkAuth("P");
  147. btn_emplno.disabled = !checkAuth("P");
  148. }
  149. // 출력권한 없는(사용자) 사람 권한 세팅
  150. else if(checkAuth("P") == false)
  151. {
  152. group2.visible = !checkAuth("P");
  153. ipt_emplno_search.disabled = checkAuth("P");
  154. btn_emplno.disabled = checkAuth("P");
  155. }
  156. }
  157. // 행추가시 기본값을 세팅 해준다
  158. function fDefalutControlSetting(){
  159. rdo_appcnfm.select(1);
  160. rdo_issyn.select(1);
  161. // var dutplceinstcd = getUserInfo("dutplceinstcd");
  162. // model.setValue("/root/main/crtfctkindtmp/crtfctkindlist/issinstcd",dutplceinstcd);
  163. }
  164. function fUserControlSetting(check){
  165. cmb_crtfctkind.disabled = check;
  166. cmb_issinstcd.disabled = check;
  167. ipt_issresn.disabled = check;
  168. ipt_isscnt.disabled = check;
  169. ipt_amt.disabled = check;
  170. rdo_acptmthd.disabled = check;
  171. ipt_emailid.disabled = check;
  172. ipt_etcemailaddr.disabled = check;
  173. cmb_emailaddr.disabled = check;
  174. ipt_telno.disabled = check;
  175. }
  176. // 수령 방법의 값이 바뀔때 주소컨트롤의 disabled을 세팅
  177. function fAddrDisabled(check){
  178. ipt_zipcd1.disabled = check;
  179. ipt_zipcd2.disabled = check;
  180. ipt_addr.disabled = check;
  181. }
  182. // 연번호 생성후 출력
  183. function fYynumCreate(){
  184. var sIssdd = ipt_issdd.value.substr(0,4);
  185. model.setValue("/root/send/yynum", sIssdd + "-" + ipt_issnotmp.value);
  186. var sPrnNum = "RPRTH006" + cmb_crtfctkind.value;
  187. exeReportPreview(sPrnNum, "XMLSTR");
  188. }
  189. // DB에 발급 번호 생성
  190. function fIssnoCreate(){
  191. rdo_appcnfm.value = 'Y';
  192. rdo_issyn.value = 'Y';
  193. ipt_emplno.value = ipt_emplno_search.value;
  194. var curdate = getCurrentDate();
  195. ipt_issdd.value = curdate;
  196. misfGridRowStatusChange(grd_crtfctkindlist, "/root/main/crtfctkind" , "/root/main/crtfctkindtmp");
  197. grd_crtfctkindlist.refresh();
  198. misfSave("TXRTH00601");
  199. }
  200. // 사용자에 맞게 증명서를 선택한지 체크
  201. function fCheckCrtfctKind(){
  202. var sCrtfKind = cmb_crtfctkind.value;
  203. if(sCrtfKind == '01'){
  204. }
  205. else if(sCrtfKind == '02'){
  206. }
  207. else if(sCrtfKind == '03'){
  208. }
  209. else if(sCrtfKind == '04'){
  210. }
  211. else if(sCrtfKind == '05'){
  212. }
  213. else if(sCrtfKind == '06'){
  214. }
  215. else if(sCrtfKind == '07'){
  216. if(!checkAuth("P"))
  217. {
  218. var sCrtfLabel = cmb_crtfctkind.value;
  219. messageBox("전공의는 " + sCrtfLabel + "을 ", "E001 ");
  220. return;
  221. }
  222. else
  223. {
  224. fYynumCreate();
  225. }
  226. }
  227. }
  228. ]]>
  229. </script>
  230. </xhtml:head>
  231. <xhtml:body>
  232. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  233. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">재증명신청 확인 및 발급</caption>
  234. </group>
  235. <group id="grp_btn" scroll="auto" style="left:0px; top:12px; width:1195px; height:27px; ">
  236. <button id="button16" class="btn3_letter4" style="left:0px; top:3; width:80px; height:22px; ">
  237. <caption>화면이동</caption>
  238. </button>
  239. <button id="btn_save" class="btn4_letter2" style="left:1139px; top:3px; width:56px; height:22px; ">
  240. <caption>신청</caption>
  241. <script type="javascript" ev:event="DOMActivate">
  242. <![CDATA[
  243. if(!isRequiredControls("ipt_emplno_search")) return;
  244. if(!isRequiredControls("cmb_crtfctkind"))return;
  245. if(cmb_issinstcd.value == "" || cmb_issinstcd.value == null)
  246. {
  247. var sFlag = messageBox("발급기관을 현 소속기관으로 하겠습니다.","Q003");
  248. if(sFlag == 6)
  249. {
  250. model.setValue("/root/main/crtfctkindtmp/crtfctkindlist/issinstcd",getUserInfo("dutplceinstcd"));
  251. }
  252. else if(sFlag == 7)
  253. {
  254. messageBox("발급기관을 ","C002");
  255. return;
  256. }
  257. }
  258. // 전공의들의 전공과 현 직위를 가지고 온다
  259. submit("TRRTH00602");
  260. var sFrmemert = model.getValue("/root/main/tmplist/frmrmert");
  261. var sTrngflag = model.getValue("/root/main/tmplist/trngflag");
  262. model.setValue("/root/main/crtfctkindtmp/crtfctkindlist/frmrmert", sFrmemert);
  263. model.setValue("/root/main/crtfctkindtmp/crtfctkindlist/trngflag", sTrngflag);
  264. model.setValue("/root/main/crtfctkindtmp/crtfctkindlist/emplno", ipt_emplno_search.value);
  265. cmb_frmrmert.refresh();
  266. cmb_trngflag.refresh();
  267. ipt_emplno.refresh();
  268. misfGridIUD(grd_crtfctkindlist, "A");
  269. model.copyNode("/root/main/crtfctkind/crtfctkindlist[" + grd_crtfctkindlist.row + "]", "/root/main/crtfctkindtmp/crtfctkindlist");
  270. // ipt_emplno.value = ipt_emplno_search.value;
  271. // misfGridRowStatusChange(grd_crtfctkindlist, "/root/main/crtfctkind" , "/root/main/crtfctkindtmp");
  272. grd_crtfctkindlist.refresh();
  273. misfSave("TXRTH00601");
  274. btn_search.dispatch("DOMActivate");
  275. ]]>
  276. </script>
  277. </button>
  278. <line id="line1" class="line_6" style="x1:0; y1:25; x2:1195; y2:25; "/>
  279. </group>
  280. <group id="group3" scroll="auto" style="left:0; top:38; width:1195px; height:744px; ">
  281. <shape id="roundrect2" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:10px; width:1195px; height:61px; background-color:#fffbf2; border-color:#ffd799; "/>
  282. <caption id="caption19" class="search_name" style="left:455px; top:46px; width:96px; height:17px; ">발급 기관 :</caption>
  283. <line id="line12" class="line_1" style="x1:0px; y1:100px; x2:770; y2:100px; "/>
  284. <datagrid id="grd_crtfctkindlist" nodeset="/root/main/crtfctkind/crtfctkindlist" caption="발급번호^사번^성명^현상태^발급기관^전공과목^I/R^현직위^소속병원^근무병원^증명서종류^신청상태^신청일자^신청확인^확인일자^확인내용^발급일자^발급여부^신청년월^신청번호^통수^금액^발급사유^수령방법^전화번호^E-mail ID^E-mail 주소^기타 E-mail 주소^우편번호1^우편번호2^주소" colsep="^" colwidth="65, 70, 70, 70, 100, 75, 100, 100, 100, 120, 90, 70, 90, 80, 100, 100, 90, 75, 100, 80, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100" dataheight="25" ellipsis="true" explorerbar="sortshow" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" rowsep="|" tooltip="true" style="left:0px; top:105px; width:770; height:635; ">
  285. <col ref="issno" style="text-align:right; padding-right:10; "/>
  286. <col ref="emplno"/>
  287. <col ref="name" style="text-align:center; "/>
  288. <col ref="preststatcd" style="text-align:center; "/>
  289. <col ref="issinstcd" type="combo" style="text-align:center; ">
  290. <choices>
  291. <itemset>
  292. <label/>
  293. <value/>
  294. </itemset>
  295. </choices>
  296. </col>
  297. <col ref="frmrmert" type="combo" style="text-align:center; ">
  298. <choices>
  299. <itemset>
  300. <label/>
  301. <value/>
  302. </itemset>
  303. </choices>
  304. </col>
  305. <col ref="trngflag" type="combo" style="text-align:center; ">
  306. <choices>
  307. <itemset>
  308. <label/>
  309. <value/>
  310. </itemset>
  311. </choices>
  312. </col>
  313. <col ref="jobposnm" type="combo" style="text-align:center; ">
  314. <choices>
  315. <itemset>
  316. <label/>
  317. <value/>
  318. </itemset>
  319. </choices>
  320. </col>
  321. <col ref="orginstcd" type="combo">
  322. <choices>
  323. <itemset>
  324. <label/>
  325. <value/>
  326. </itemset>
  327. </choices>
  328. </col>
  329. <col ref="dutplceinst" type="combo">
  330. <choices>
  331. <itemset>
  332. <label/>
  333. <value/>
  334. </itemset>
  335. </choices>
  336. </col>
  337. <col ref="crtfctkind" type="combo">
  338. <choices>
  339. <itemset nodeset="/root/hidden/crtfctkind_search">
  340. <label ref="cdnm"/>
  341. <value ref="cdid"/>
  342. </itemset>
  343. </choices>
  344. </col>
  345. <col ref="appflag" type="combo">
  346. <choices>
  347. <itemset nodeset="/root/init/appflag">
  348. <label ref="label"/>
  349. <value ref="value"/>
  350. </itemset>
  351. </choices>
  352. </col>
  353. <col ref="appdd" format="yyyy-mm-dd"/>
  354. <col ref="appcnfm" type="combo" style="text-align:center; ">
  355. <choices>
  356. <item>
  357. <label>예</label>
  358. <value>Y</value>
  359. </item>
  360. <item>
  361. <label>아니오</label>
  362. <value>N</value>
  363. </item>
  364. </choices>
  365. </col>
  366. <col ref="cnfmdd" format="yyyy-mm-dd" style="text-align:center; "/>
  367. <col ref="cnfmcnts"/>
  368. <col ref="issdd" format="yyyy-mm-dd" style="text-align:center; "/>
  369. <col ref="issyn" type="combo" style="text-align:center; ">
  370. <choices>
  371. <item>
  372. <label>발급</label>
  373. <value>Y</value>
  374. </item>
  375. <item>
  376. <label>미발급</label>
  377. <value>N</value>
  378. </item>
  379. </choices>
  380. </col>
  381. <col ref="appym" format="yyyy-mm" style="text-align:center; "/>
  382. <col ref="seqno" visibility="visible" style="text-align:right; "/>
  383. <col ref="isscnt" visibility="hidden"/>
  384. <col ref="amt" visibility="hidden"/>
  385. <col ref="issresn" visibility="hidden"/>
  386. <col ref="acptmthd" visibility="hidden"/>
  387. <col ref="telno" visibility="hidden"/>
  388. <col ref="emailid" visibility="hidden"/>
  389. <col ref="emailaddr" type="combo" visibility="hidden">
  390. <choices>
  391. <itemset>
  392. <label/>
  393. <value/>
  394. </itemset>
  395. </choices>
  396. </col>
  397. <col ref="etcemailaddr" visibility="hidden"/>
  398. <col ref="zipcd1" visibility="hidden"/>
  399. <col ref="zipcd2" visibility="hidden"/>
  400. <col ref="addr" visibility="hidden"/>
  401. <script type="javascript" ev:event="onaftersort">
  402. <![CDATA[
  403. grd_crtfctkindlist.gridToInstance();
  404. ]]>
  405. </script>
  406. <script type="javascript" ev:event="onrowchanged">
  407. <![CDATA[
  408. /*
  409. // model.resetInstanceNode("/root/main/crtfctkindtmp/crtfctkindlist");
  410. if(grd_crtfctkindlist.valueMatrix(grd_crtfctkindlist.row, grd_crtfctkindlist.colRef("issyn")) == 'Y'){
  411. messageBox("이미 발급된 신청서는 수정 ", "E001");
  412. // fUserControlSetting(true);
  413. }
  414. else {
  415. fUserControlSetting(false);
  416. if(rdo_acptmthd.value == "1")
  417. fAddrDisabled(true);
  418. else if(rdo_acptmthd.value == "2")
  419. fAddrDisabled(false);
  420. }
  421. model.resetInstanceNode("/root/main/crtfctkindtmp/crtfctkindlist");
  422. model.refresh();
  423. model.copyNode("/root/main/crtfctkindtmp/crtfctkindlist","/root/main/crtfctkind/crtfctkindlist[" + grd_crtfctkindlist.row + "]");
  424. ipt_issnotmp.value = ipt_issno.value;
  425. model.refresh();
  426. */
  427. ]]>
  428. </script>
  429. </datagrid>
  430. <caption id="caption20" class="search_name" style="left:819; top:19px; width:101px; height:17px; ">신청상태 :</caption>
  431. <caption id="caption21" class="search_name" style="left:455; top:20px; width:99px; height:17px; ">증명서종류 :</caption>
  432. <button id="btn_search" class="btn1_letter2" navindex="8" style="left:1125px; top:29px; width:56px; height:22px; text-align:left; ">
  433. <caption>조회</caption>
  434. <script type="javascript" ev:event="DOMActivate">
  435. <![CDATA[
  436. misfMsterDetailRetrieve();
  437. misfSetReadOnlyCol(grd_crtfctkindlist,"issinstcd,frmrmert,trngflag,orginstcd,dutplceinst,crtfctkind,preststatcd,appcnfm,issyn,emailaddr,appflag,jobposnm",true);
  438. ]]>
  439. </script>
  440. </button>
  441. <line id="line13" class="line_4" style="x1:1110px; y1:18px; x2:1110px; y2:61px; border-color:#ffe4bb; border-left-style:solid; "/>
  442. <select1 id="cmb_crtfctkind_search" ref="/root/send/search/crtfctkind" class="combo_s_essential" appearance="minimal" style="left:554; top:19; width:159; height:19px; ">
  443. <choices>
  444. <itemset nodeset="/root/main/crtfctkindlist">
  445. <label ref="cdnm"/>
  446. <value ref="cdid"/>
  447. </itemset>
  448. </choices>
  449. </select1>
  450. <select1 id="cmb_appflag_search" ref="/root/send/search/appflag" class="combo_s_essential" appearance="minimal" style="left:904; top:19; width:110; height:19px; ">
  451. <choices>
  452. <itemset nodeset="/root/init/appflag">
  453. <label ref="label"/>
  454. <value ref="value"/>
  455. </itemset>
  456. </choices>
  457. </select1>
  458. <select1 id="cmb_issinstcd_search" ref="/root/send/search/issinstcd" class="combo_s_essential" appearance="minimal" style="left:554; top:45px; width:159px; height:19px; ">
  459. <choices>
  460. <itemset>
  461. <label/>
  462. <value/>
  463. </itemset>
  464. </choices>
  465. </select1>
  466. <input id="ipt_fromdd_search" ref="/root/send/search/fromdd" class="input_s_essential" inputtype="date" format="yyyy-mm-dd" style="left:101px; top:44px; width:100px; height:19px; "/>
  467. <caption id="caption24" style="left:205px; top:46px; width:15px; height:20px; font-weight:bold; ">~</caption>
  468. <input id="ipt_todd_search" ref="/root/send/search/todd" class="input_s_essential" inputtype="date" format="yyyy-mm-dd" style="left:220px; top:44px; width:100px; height:19px; "/>
  469. <caption id="caption25" class="search_name" style="left:15px; top:45px; width:99px; height:17px; ">신청일자 :</caption>
  470. <button id="btn_emplno" class="icon_search" disabled="true" style="left:169; top:20px; width:16px; height:16px; ">
  471. <caption/>
  472. <script type="javascript" ev:event="DOMActivate">
  473. <![CDATA[
  474. var recv_list = "emplno,emplnm";
  475. rpbfOpenPopUpList("SPRPB00101", ipt_emplno_search, recv_list,"","N");
  476. model.refresh();
  477. ]]>
  478. </script>
  479. </button>
  480. <caption id="cap_emplno_search" class="search_name" style="left:15px; top:20px; width:87px; height:17px; ">사 번 :</caption>
  481. <input id="ipt_emplnm_search" ref="/root/send/search/emplnm" class="input_search" disabled="true" style="left:188; top:19; width:132; height:19px; "/>
  482. <input id="ipt_emplno_search" ref="/root/send/search/emplno" class="input_search" disabled="true" style="left:101; top:19; width:65px; height:19px; "/>
  483. <group id="group2" visibility="hidden" style="left:770; top:360px; width:420; height:380px; ">
  484. <caption id="caption3" class="tit_2" style="left:5px; top:5px; width:144px; height:13px; ">관리자 메뉴</caption>
  485. <caption id="caption7" class="cell_1" style="left:5px; top:73; width:85px; height:23px; vertical-align:middle; ">신청확인</caption>
  486. <line id="line2" class="line_1" style="x1:5; y1:20px; x2:410; y2:20px; "/>
  487. <caption id="caption8" class="cell_1" style="left:5px; top:97; width:85px; height:23px; vertical-align:middle; ">확인일자</caption>
  488. <caption id="caption9" class="cell_1" style="left:5px; top:121; width:85px; height:23px; vertical-align:middle; ">확인내용</caption>
  489. <caption id="caption10" class="cell_1" style="left:5px; top:145; width:85px; height:23px; vertical-align:middle; ">발급일자</caption>
  490. <caption id="caption11" class="cell_1" visibility="visible" style="left:5px; top:169; width:85px; height:23px; vertical-align:middle; ">발급여부</caption>
  491. <caption id="caption14" class="cell_1" visibility="visible" style="left:5px; top:193; width:85px; height:23px; vertical-align:middle; ">발급번호</caption>
  492. <input id="ipt_cnfmdd" ref="/root/main/crtfctkindtmp/crtfctkindlist/cnfmdd" disabled="false" inputtype="date" style="left:92px; top:98; width:100px; height:19px; "/>
  493. <input id="ipt_cnfmcnts" ref="/root/main/crtfctkindtmp/crtfctkindlist/cnfmcnts" disabled="false" style="left:92px; top:122; width:100px; height:19px; "/>
  494. <input id="ipt_issdd" ref="/root/main/crtfctkindtmp/crtfctkindlist/issdd" inputtype="date" style="left:92px; top:146; width:100px; height:19px; "/>
  495. <select1 id="rdo_issyn" ref="/root/main/crtfctkindtmp/crtfctkindlist/issyn" disabled="false" visibility="visible" overflow="visible" appearance="full" cols="2" style="left:92px; top:170px; width:98px; height:20px; border-style:none; ">
  496. <choices>
  497. <item>
  498. <label>예</label>
  499. <value>Y</value>
  500. </item>
  501. <item>
  502. <label>아니요</label>
  503. <value>N</value>
  504. </item>
  505. </choices>
  506. <script type="javascript" ev:event="xforms-value-changed">
  507. <![CDATA[
  508. if(rdo_issyn.value == 'Y')
  509. {
  510. ipt_issdd.disabled = false;
  511. var curdate = getCurrentDate();
  512. ipt_issdd.value = curdate;
  513. rdo_appcnfm.value = 'Y';
  514. rdo_appflag.value = '3';
  515. }
  516. else if(rdo_issyn.value == 'N')
  517. {
  518. ipt_issdd.disabled = true;
  519. ipt_issdd.value = "";
  520. if(rdo_appcnfm.value = 'Y')
  521. rdo_appflag.value = '2';
  522. else if(rdo_appcnfm.value = 'N')
  523. rdo_appflag.value = '1';
  524. }
  525. ]]>
  526. </script>
  527. </select1>
  528. <input id="ipt_issno" ref="/root/main/crtfctkindtmp/crtfctkindlist/issno" visibility="visible" style="left:92px; top:194; width:100px; height:19px; "/>
  529. <select1 id="rdo_appcnfm" ref="/root/main/crtfctkindtmp/crtfctkindlist/appcnfm" overflow="visible" appearance="full" cols="2" style="left:92px; top:74; width:100px; height:20px; border-style:none; ">
  530. <choices>
  531. <item>
  532. <label>예</label>
  533. <value>Y</value>
  534. </item>
  535. <item>
  536. <label>아니요</label>
  537. <value>N</value>
  538. </item>
  539. </choices>
  540. <script type="javascript" ev:event="xforms-value-changed">
  541. <![CDATA[
  542. if(rdo_appcnfm.value == 'Y')
  543. {
  544. ipt_cnfmdd.disabled = false;
  545. ipt_cnfmcnts.disabled = false;
  546. var curdate = getCurrentDate();
  547. ipt_cnfmdd.value = curdate;
  548. rdo_appflag.value = '2';
  549. }
  550. else if(rdo_appcnfm.value == 'N')
  551. {
  552. ipt_cnfmdd.disabled = true;
  553. ipt_cnfmcnts.disabled = true;
  554. ipt_cnfmdd.value = "";
  555. rdo_appflag.value = '1';
  556. }
  557. ]]>
  558. </script>
  559. </select1>
  560. <button id="button4" class="btn2_letter2" style="left:302; top:0px; width:42px; height:19px; ">
  561. <caption>발급</caption>
  562. <script type="javascript" ev:event="DOMActivate">
  563. <![CDATA[
  564. if(!isRequiredControls("cmb_crtfctkind"))return;
  565. var sIssno = grd_crtfctkindlist.valueMatrix(grd_crtfctkindlist.row, grd_crtfctkindlist.colRef("issno"));
  566. // 발급되지 않은 데이터
  567. if(sIssno == null || sIssno == "")
  568. {
  569. // 신청되어 있는 데이터를 발급할때
  570. if(grd_crtfctkindlist.rowStatus(grd_crtfctkindlist.row) == 0)
  571. {
  572. // DB에 발급번호 생성
  573. fIssnoCreate();
  574. // 사번, 신청년월, 신청번호로 발급번호 가지고 오기
  575. submit("TRRTH00605");
  576. // 연번호 생성후 출력
  577. fYynumCreate();
  578. }
  579. // 신청, 수정과 동시에 발급할때
  580. else if(grd_crtfctkindlist.rowStatus(grd_crtfctkindlist.row) == 1 || grd_crtfctkindlist.rowStatus(grd_crtfctkindlist.row) == 2)
  581. {
  582. // 신청 데이터를 DB에 등록
  583. btn_save.dispatch("DOMActivate");
  584. // DB에 발급번호 생성
  585. fIssnoCreate();
  586. // 사번, 신청년월, 신청번호로 발급번호 가지고 오기
  587. submit("TRRTH00605");
  588. // 연번호 생성후 출력
  589. fYynumCreate();
  590. }
  591. }
  592. // 발급된 데이터
  593. else
  594. {
  595. YynumCreate();
  596. }
  597. ]]>
  598. </script>
  599. </button>
  600. <input id="ipt_appdd" ref="/root/main/crtfctkindtmp/crtfctkindlist/appdd" inputtype="date" style="left:92px; top:50; width:100px; height:19px; "/>
  601. <button id="button3" class="btn2_letter8" style="left:193; top:0px; width:108px; height:19px; ">
  602. <caption>사용자데이터수정</caption>
  603. <script type="javascript" ev:event="DOMActivate">
  604. <![CDATA[
  605. fUserControlSetting(false);
  606. ]]>
  607. </script>
  608. </button>
  609. <button id="button6" class="btn2_letter4" style="left:345; top:0px; width:42px; height:19px; ">
  610. <caption>발급취소</caption>
  611. <script type="javascript" ev:event="DOMActivate">
  612. <![CDATA[
  613. // 발급된 데이터는 발급취소 불능
  614. if(grd_crtfctkindlist.valueMatrix(grd_crtfctkindlist.row, grd_crtfctkindlist.colRef("issyn")) == 'N'){
  615. messageBox("발급 되지 않은 데이터를 ", "E005");
  616. return;
  617. }
  618. // 발급된 데이터를 미발급상태로
  619. else if(grd_crtfctkindlist.valueMatrix(grd_crtfctkindlist.row, grd_crtfctkindlist.colRef("issyn")) == 'Y'){
  620. messageBox("발급상태를 미발급으로 ", "I001");
  621. rdo_issyn.value = 'N';
  622. ipt_issdd.value = "";
  623. btn_save.dispatch("DOMActivate");
  624. }
  625. ]]>
  626. </script>
  627. </button>
  628. <input id="ipt_issnotmp" ref="/root/main/tmplist/issno" style="left:300px; top:230px; width:100px; height:19px; "/>
  629. <caption id="caption12" class="cell_1" style="left:5px; top:49; width:85px; height:23px; vertical-align:middle; ">신청일자</caption>
  630. <caption id="caption13" class="cell_1" style="left:5px; top:25px; width:85px; height:23px; vertical-align:middle; ">신청상태</caption>
  631. <select1 id="rdo_appflag" ref="/root/main/crtfctkindtmp/crtfctkindlist/appflag" disabled="true" overflow="visible" appearance="full" cols="3" style="left:92; top:26; width:165px; height:20px; border-style:none; ">
  632. <choices>
  633. <item>
  634. <label>신청</label>
  635. <value>1</value>
  636. </item>
  637. <item>
  638. <label>확인</label>
  639. <value>2</value>
  640. </item>
  641. <item>
  642. <label>발급</label>
  643. <value>3</value>
  644. </item>
  645. </choices>
  646. </select1>
  647. <input id="ipt_name" ref="/root/main/crtfctkindtmp/crtfctkindlist/name" style="left:5px; top:285px; width:100px; height:19px; "/>
  648. <input id="ipt_preststatcd" ref="/root/main/crtfctkindtmp/crtfctkindlist/preststatcd" style="left:110px; top:285px; width:100px; height:19px; "/>
  649. <input id="ipt_jobposnm" ref="/root/main/crtfctkindtmp/crtfctkindlist/jobposnm" style="left:215px; top:285px; width:100px; height:19px; "/>
  650. <input id="ipt_orginstcd" ref="/root/main/crtfctkindtmp/crtfctkindlist/orginstcd" style="left:5px; top:310px; width:100px; height:19px; "/>
  651. <input id="ipt_dutplceinst" ref="/root/main/crtfctkindtmp/crtfctkindlist/dutplceinst" style="left:110px; top:310px; width:100px; height:19px; "/>
  652. <input id="ipt_seqno" ref="/root/main/crtfctkindtmp/crtfctkindlist/seqno" style="left:215px; top:260px; width:100px; height:19px; "/>
  653. <input id="ipt_emplno" ref="/root/main/crtfctkindtmp/crtfctkindlist/emplno" visibility="visible" style="left:5px; top:260px; width:100px; height:19px; "/>
  654. <input id="ipt_appym" ref="/root/main/crtfctkindtmp/crtfctkindlist/appym" style="left:110px; top:260px; width:100px; height:19px; "/>
  655. </group>
  656. <button id="button2" class="btn2_letter4" style="left:705; top:80px; width:64px; height:19px; ">
  657. <caption>신청취소</caption>
  658. <script type="javascript" ev:event="DOMActivate">
  659. <![CDATA[
  660. if(grd_crtfctkindlist.valueMatrix(grd_crtfctkindlist.row, grd_crtfctkindlist.colRef("issyn")) == 'Y'){
  661. messageBox("이미 발급된 신청서는 취소 ", "E001");
  662. }
  663. else if(grd_crtfctkindlist.valueMatrix(grd_crtfctkindlist.row, grd_crtfctkindlist.colRef("appflag")) > 1){
  664. messageBox("신청상태가 신청인 데이터만 취소 ", "I006");
  665. }
  666. else
  667. {
  668. misfGridIUD(grd_crtfctkindlist, "D");
  669. // model.resetInstanceNode("/root/main/crtfctkindtmp/crtfctkindlist");
  670. }
  671. model.refresh();
  672. ]]>
  673. </script>
  674. </button>
  675. <group id="group4" visibility="visible" style="left:770; top:75px; width:420; height:280px; ">
  676. <shape id="roundrect1" appearance="roundrect" ellipsewidth="20" ellipseheight="20" style="left:0px; top:2px; width:420; height:275px; "/>
  677. <line id="line8" class="line_2" style="x1:5px; y1:197px; x2:415px; y2:197px; "/>
  678. <line id="line9" class="line_2" style="x1:5px; y1:221px; x2:415px; y2:221px; "/>
  679. <input id="ipt_amt" ref="/root/main//crtfctkindtmp/crtfctkindlist/amt" disabled="false" maxlength="9" format="999999999" style="left:283px; top:127px; width:105px; height:19px; "/>
  680. <input id="ipt_etcemailaddr" ref="/root/main/crtfctkindtmp/crtfctkindlist/etcemailaddr" disabled="false" style="left:279px; top:223px; width:131px; height:19px; "/>
  681. <button id="button1" class="btn2_letter3" style="left:360px; top:5px; width:53px; height:19px; ">
  682. <caption>행추가</caption>
  683. <script type="javascript" ev:event="DOMActivate">
  684. <![CDATA[
  685. if(!isRequiredControls("ipt_emplno_search")) return;
  686. misfGridIUD(grd_crtfctkindlist, "A");
  687. // 전공의들의 전공과 현 직위를 가지고 온다
  688. submit("TRRTH00602");
  689. // 사용자 메뉴 초기화
  690. //model.resetInstanceNode("/root/main/crtfctkindtmp/crtfctkindlist");
  691. // 기본데이터를 세팅
  692. grd_crtfctkindlist.valueMatrix(grd_crtfctkindlist.row, grd_crtfctkindlist.colRef("acptmthd")) = 1;
  693. grd_crtfctkindlist.valueMatrix(grd_crtfctkindlist.row, grd_crtfctkindlist.colRef("appcnfm")) = 'N';
  694. grd_crtfctkindlist.valueMatrix(grd_crtfctkindlist.row, grd_crtfctkindlist.colRef("issyn")) = 'N';
  695. grd_crtfctkindlist.valueMatrix(grd_crtfctkindlist.row, grd_crtfctkindlist.colRef("issinstcd")) = getUserInfo("dutplceinstcd");
  696. model.copyNode("/root/main/crtfctkindtmp/crtfctkindlist","/root/main/crtfctkind/crtfctkindlist[" + grd_crtfctkindlist.row + "]");
  697. var sFrmemert = model.getValue("/root/main/tmplist/frmrmert");
  698. var sTrngflag = model.getValue("/root/main/tmplist/trngflag");
  699. model.setValue("/root/main/crtfctkindtmp/crtfctkindlist/frmrmert", sFrmemert);
  700. model.setValue("/root/main/crtfctkindtmp/crtfctkindlist/trngflag", sTrngflag);
  701. grd_crtfctkindlist.valueMatrix(grd_crtfctkindlist.row, grd_crtfctkindlist.colRef("frmrmert")) = cmb_frmrmert.value;
  702. grd_crtfctkindlist.valueMatrix(grd_crtfctkindlist.row, grd_crtfctkindlist.colRef("trngflag")) = cmb_trngflag.value;
  703. misfSetReadOnlyCol(grd_crtfctkindlist,"issinstcd,frmrmert,trngflag,orginstcd,dutplceinst,crtfctkind,preststatcd,appcnfm,issyn,emailaddr,appflag,jobposnm",true);
  704. // fDefalutControlSetting();
  705. fUserControlSetting(false);
  706. model.setValue("/root/main/crtfctkindtmp/crtfctkindlist/issinstcd",getUserInfo("dutplceinstcd"));
  707. model.refresh();
  708. ]]>
  709. </script>
  710. </button>
  711. <select1 id="cmb_frmrmert" ref="/root/main/crtfctkindtmp/crtfctkindlist/frmrmert" appearance="minimal" style="left:90px; top:80px; width:100px; height:19px; ">
  712. <choices>
  713. <itemset nodeset="/root/init/deptcond">
  714. <label ref="depthngnm"/>
  715. <value ref="orddeptcd"/>
  716. </itemset>
  717. </choices>
  718. </select1>
  719. <select1 id="rdo_acptmthd" ref="/root/main//crtfctkindtmp/crtfctkindlist/acptmthd" disabled="false" overflow="visible" appearance="full" cols="2" style="left:92px; top:151px; width:110px; height:20px; text-align:center; vertical-align:middle; border-style:none; ">
  720. <choices>
  721. <item>
  722. <label>1.직접</label>
  723. <value>1</value>
  724. </item>
  725. <item>
  726. <label>2.우편</label>
  727. <value>2</value>
  728. </item>
  729. </choices>
  730. <script type="javascript" ev:event="xforms-value-changed">
  731. <![CDATA[
  732. if(rdo_acptmthd.value == "1")
  733. {
  734. fAddrDisabled(true);
  735. ipt_zipcd1.value = '';
  736. ipt_zipcd2.value = '';
  737. ipt_addr.value = '';
  738. }
  739. else if(rdo_acptmthd.value == "2")
  740. {
  741. fAddrDisabled(false);
  742. }
  743. ]]>
  744. </script>
  745. </select1>
  746. <line id="line10" class="line_2" style="x1:5px; y1:245px; x2:415px; y2:245px; "/>
  747. <input id="ipt_telno" ref="/root/main/crtfctkindtmp/crtfctkindlist/telno" disabled="false" style="left:92px; top:247px; width:123px; height:19px; "/>
  748. <caption id="caption30" class="cell_1" style="left:5px; top:126px; width:85px; height:23px; vertical-align:middle; ">통 수</caption>
  749. <line id="line23" class="line_2" style="x1:5px; y1:53px; x2:415px; y2:53px; "/>
  750. <caption id="caption31" class="cell_1" style="left:5px; top:150px; width:85px; height:23px; vertical-align:middle; ">수령 방법</caption>
  751. <caption id="caption1" class="cell_1" style="left:195px; top:126px; width:85px; height:23px; vertical-align:middle; ">금액</caption>
  752. <caption id="caption32" class="cell_1" style="left:5px; top:174px; width:85px; height:23px; vertical-align:middle; ">우편 번호</caption>
  753. <input id="ipt_isscnt" ref="/root/main/crtfctkindtmp/crtfctkindlist/isscnt" disabled="false" maxlength="2" format="99" style="left:92px; top:127px; width:100px; height:19px; "/>
  754. <input id="ipt_issresn" ref="/root/main/crtfctkindtmp/crtfctkindlist/issresn" disabled="false" style="left:92px; top:103px; width:317px; height:19px; "/>
  755. <line id="line195" class="line_3" style="x1:5px; y1:270px; x2:415px; y2:270px; "/>
  756. <caption id="caption2" class="cell_1" style="left:5px; top:78px; width:85px; height:23px; vertical-align:middle; ">전공</caption>
  757. <input id="ipt_emailid" ref="/root/main/crtfctkindtmp/crtfctkindlist/emailid" disabled="false" style="left:92px; top:223px; width:83px; height:19px; "/>
  758. <caption id="caption33" style="left:154px; top:176px; width:20px; height:20px; text-align:center; ">~</caption>
  759. <line id="line14" class="line_1" style="x1:5px; y1:25px; x2:415px; y2:25px; "/>
  760. <select1 id="cmb_trngflag" ref="/root/main/crtfctkindtmp/crtfctkindlist/trngflag" appearance="minimal" style="left:285px; top:80px; width:100px; height:19px; ">
  761. <choices>
  762. <itemset>
  763. <label/>
  764. <value/>
  765. </itemset>
  766. </choices>
  767. </select1>
  768. <caption id="caption34" class="cell_1" style="left:5px; top:198px; width:85px; height:23px; vertical-align:middle; ">주소</caption>
  769. <caption id="caption4" style="left:392px; top:128px; width:20px; height:20px; font-weight:bold; ">원</caption>
  770. <caption id="caption35" class="cell_1" style="left:5px; top:222px; width:85px; height:23px; vertical-align:middle; ">E-Mail</caption>
  771. <caption id="caption5" class="cell_1" style="left:195px; top:78px; width:85px; height:23px; vertical-align:middle; ">현직위</caption>
  772. <select1 id="cmb_emailaddr" ref="/root/main/crtfctkindtmp/crtfctkindlist/emailaddr" disabled="false" appearance="minimal" style="left:178px; top:223px; width:100px; height:19px; ">
  773. <choices>
  774. <itemset>
  775. <label/>
  776. <value/>
  777. </itemset>
  778. </choices>
  779. </select1>
  780. <input id="ipt_zipcd1" ref="/root/main/crtfctkindtmp/crtfctkindlist/zipcd1" disabled="false" maxlength="3" format="999" style="left:92px; top:175px; width:60px; height:19px; "/>
  781. <select1 id="cmb_crtfctkind" ref="/root/main/crtfctkindtmp/crtfctkindlist/crtfctkind" class="combo_essential" disabled="false" appearance="minimal" style="left:92px; top:31px; width:150px; height:19px; ">
  782. <choices>
  783. <itemset nodeset="/root/hidden/crtfctkind_search">
  784. <label ref="cdnm"/>
  785. <value ref="cdid"/>
  786. </itemset>
  787. </choices>
  788. </select1>
  789. <caption id="cap_crtfctkind" class="cell_1" style="left:5px; top:30px; width:85px; height:23px; vertical-align:middle; ">증명서종류</caption>
  790. <caption id="caption15" class="cell_1" style="left:5px; top:246px; width:85px; height:23px; vertical-align:middle; ">전화번호</caption>
  791. <input id="ipt_zipcd2" ref="/root/main/crtfctkindtmp/crtfctkindlist/zipcd2" disabled="false" maxlength="3" format="999" style="left:175px; top:175px; width:60px; height:19px; "/>
  792. <caption id="caption16" class="tit_2" style="left:5px; top:10px; width:144px; height:13px; ">증명서 신청 메뉴</caption>
  793. <line id="line3" class="line_2" style="x1:5px; y1:77px; x2:415px; y2:77px; "/>
  794. <line id="line4" class="line_2" style="x1:5px; y1:101px; x2:415px; y2:101px; "/>
  795. <caption id="caption28" class="cell_1" style="left:5px; top:54px; width:85px; height:23px; vertical-align:middle; ">발급기관</caption>
  796. <line id="line5" class="line_2" style="x1:5px; y1:125px; x2:415px; y2:125px; "/>
  797. <caption id="caption29" class="cell_1" style="left:5px; top:102px; width:85px; height:23px; vertical-align:middle; ">발급사유</caption>
  798. <line id="line6" class="line_2" style="x1:5px; y1:149px; x2:415px; y2:149px; "/>
  799. <input id="ipt_addr" ref="/root/main/crtfctkindtmp/crtfctkindlist/addr" disabled="false" style="left:92px; top:199px; width:318px; height:19px; "/>
  800. <select1 id="cmb_issinstcd" ref="/root/main/crtfctkindtmp/crtfctkindlist/issinstcd" class="combo_essential" disabled="false" appearance="minimal" style="left:92px; top:55px; width:150px; height:19px; ">
  801. <choices>
  802. <itemset>
  803. <label/>
  804. <value/>
  805. </itemset>
  806. </choices>
  807. </select1>
  808. <line id="line7" class="line_2" style="x1:5px; y1:173px; x2:415px; y2:173px; "/>
  809. </group>
  810. <button id="button5" class="btn2_letter4" style="left:638; top:80px; width:64px; height:19px; ">
  811. <caption>신청수정</caption>
  812. <script type="javascript" ev:event="DOMActivate">
  813. <![CDATA[
  814. if(grd_crtfctkindlist.valueMatrix(grd_crtfctkindlist.row, grd_crtfctkindlist.colRef("issyn")) == 'Y'){
  815. messageBox("이미 발급된 신청서는 수정 ", "E001");
  816. }
  817. else if(grd_crtfctkindlist.valueMatrix(grd_crtfctkindlist.row, grd_crtfctkindlist.colRef("appflag")) > 1){
  818. messageBox("신청상태가 신청인 데이터만 수정 ", "I006");
  819. }
  820. else
  821. {
  822. model.resetInstanceNode("/root/main/crtfctkindtmp/crtfctkindlist");
  823. model.copyNode("/root/main/crtfctkindtmp/crtfctkindlist","/root/main/crtfctkind/crtfctkindlist[" + grd_crtfctkindlist.row + "]");
  824. }
  825. model.refresh();
  826. ]]>
  827. </script>
  828. </button>
  829. </group>
  830. </xhtml:body>
  831. </xhtml:html>