SMRTS02300_개인복무계획신청.xrw 30 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717
  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>SMRTS02300_개인복무계획신청</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <srvarlist>
  11. <dutscheapplist/>
  12. </srvarlist>
  13. <reqsrvarlist>
  14. <dutscheapplist>
  15. <emplno/>
  16. <seqno/>
  17. <dutcd/>
  18. <dutdetlcd/>
  19. <srvarmfromdd/>
  20. <srvarmtodd/>
  21. <srvarmdayno/>
  22. <academyfromdd/>
  23. <academytodd/>
  24. <academydayno/>
  25. <academy_tp/>
  26. <subject/>
  27. <paper_nm/>
  28. <pbl_yn/>
  29. <nation_cd/>
  30. <organ/>
  31. <s_money/>
  32. <s_money_unit/>
  33. <r_money/>
  34. <r_money_unit/>
  35. <appresn/>
  36. <deprtmangraprvyn/>
  37. <psnworkapryn/>
  38. </dutscheapplist>
  39. </reqsrvarlist>
  40. </main>
  41. <send>
  42. <req>
  43. <emplno/>
  44. <fromdutdetlcd/>
  45. <todutdetlcd/>
  46. </req>
  47. </send>
  48. <hidden>
  49. <dutdetlcd/>
  50. </hidden>
  51. <temp/>
  52. </root>
  53. </instance>
  54. <submission id="TRRTS02301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/req" resultref="/root/main/srvarlist/dutscheapplist"/>
  55. <submission id="TRRTS02302" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/req" resultref="/root/hidden/dutdetlcd"/>
  56. <submission id="TXRTS02301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/srvarlist/dutscheapplist" resultref="/root/temp"/>
  57. </model>
  58. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  59. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  60. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  61. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  62. <script type="javascript" src="../../../mis/dligclaznsmngtweb/js/RPD001.js"/>
  63. <script type="javascript" src="../../../mis/humtrafactmngtweb/js/RPB001.js"/>
  64. <script type="javascript" ev:event="xforms-ready">
  65. <![CDATA[
  66. // 초기화
  67. fInit();
  68. // fReqDutdetlCd(01);
  69. ]]>
  70. </script>
  71. <script type="javascript">
  72. <![CDATA[
  73. // 초기화
  74. function fInit()
  75. {
  76. misfGridInit(grd_dutscheapplist);
  77. misfMsterDetailSet(grd_dutscheapplist, null, "TRRTS02301" ,"Y");
  78. misfGridComboComCdList("R0317",grd_dutscheapplist,"dutcd");
  79. misfGridComboComCdList("R0318",grd_dutscheapplist,"dutdetlcd");
  80. misfGridComboComCdList("R0142",grd_dutscheapplist,"nation_cd");
  81. misfGridComboComCdList("R0047",grd_dutscheapplist,"s_money_unit");
  82. misfGridComboComCdList("R0047",grd_dutscheapplist,"r_money_unit");
  83. misfComboComCdListMulti("R0317,R0142,R0047,R0047", "cmb_dutcd,cmb_nation_cd,cmb_s_money_unit,cmb_r_money_unit");
  84. model.setValue("/root/send/req/emplno", getUserInfo("userid"));
  85. model.refresh();
  86. btn_search.dispatch("DOMActivate");
  87. }
  88. function fDisabledControl(check)
  89. {
  90. cmb_dutcd.disabled = check;
  91. cmb_dutdetlcd.disabled = check;
  92. ipt_srvarmfromdd.disabled = check;
  93. ipt_srvarmtodd.disabled = check;
  94. ipt_srvarmdayno.disabled = check;
  95. ipt_appresn.disabled = check;
  96. }
  97. function fDisabledSubControl(check)
  98. {
  99. ipt_academyfromdd.disabled = check;
  100. ipt_academytodd.disabled = check;
  101. cmb_academy_tp.disabled = check;
  102. ipt_academydayno.disabled = check;
  103. ipt_subject.disabled = check;
  104. ipt_paper_nm.disabled = check;
  105. cmb_pbl_yn.disabled = check;
  106. cmb_nation_cd.disabled = check;
  107. ipt_organ.disabled = check;
  108. //ipt_s_money.disabled = check;
  109. //cmb_s_money_unit.disabled = check;
  110. //ipt_r_money.disabled = check;
  111. //cmb_r_money_unit.disabled = check;
  112. }
  113. /* 근태구분이 바뀜에 따라 그에 맞는 세부구분을 조회해온다 */
  114. function fReqDutdetlCd(value){
  115. if(value == '01'){
  116. model.setValue("/root/send/req/fromdutdetlcd","01");
  117. model.setValue("/root/send/req/todutdetlcd","02");
  118. }
  119. else if(value == '02'){
  120. model.setValue("/root/send/req/fromdutdetlcd","03");
  121. model.setValue("/root/send/req/todutdetlcd","11");
  122. }
  123. else if(value == '03'){
  124. model.setValue("/root/send/req/fromdutdetlcd","12");
  125. model.setValue("/root/send/req/todutdetlcd","12");
  126. }
  127. else if(value == '04'){
  128. model.setValue("/root/send/req/fromdutdetlcd","13");
  129. model.setValue("/root/send/req/todutdetlcd","13");
  130. }
  131. else if(value == '05'){
  132. model.setValue("/root/send/req/fromdutdetlcd","14");
  133. model.setValue("/root/send/req/todutdetlcd","17");
  134. }
  135. else if(value == '06'){
  136. model.setValue("/root/send/req/fromdutdetlcd","18");
  137. model.setValue("/root/send/req/todutdetlcd","18");
  138. }
  139. else
  140. return;
  141. submit("TRRTS02302");
  142. }
  143. /*공가(학회및기타)일 경우 값필드값 초기화*/
  144. function fInitOfficeHoliday() {
  145. cmb_academy_tp.value = "";
  146. ipt_srvarmdayno.value = "";
  147. ipt_academyfromdd.value = "";
  148. ipt_academytodd.value = "";
  149. ipt_academydayno.value = "";
  150. ipt_paper_nm.value = "";
  151. ipt_subject.value = "";
  152. cmb_pbl_yn.value = "";
  153. cmb_nation_cd.value = "";
  154. ipt_organ.value = "";
  155. ipt_s_money.value = "";
  156. cmb_s_money_unit.value = "";
  157. ipt_r_money.value = "";
  158. cmb_r_money_unit.value = "";
  159. ipt_appresn.value = "";
  160. }
  161. ]]>
  162. </script>
  163. </xhtml:head>
  164. <xhtml:body pagewidth="1211" pageheight="784" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  165. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  166. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:230px; height:14px; ">개인복무계획신청</caption>
  167. <caption id="caption4" class="patient_text_black" style="left:922px; top:0px; width:272px; "/>
  168. </group>
  169. <group id="group3" scroll="auto" style="left:0px; top:38px; width:1195px; height:744px; ">
  170. <line id="line204" class="line_3" style="x1:0px; y1:733px; x2:1195; y2:733px; "/>
  171. <datagrid id="grd_dutscheapplist" nodeset="/root/main/srvarlist/dutscheapplist" caption="수련부&#xA;승인^임상과장승인^사원번호^순번^근태구분^근태세부구분^신청(체류)기간^신청(체류)기간^신청일수^신청사유^실학회기간^실학회기간^공가일수^학회구분^학회명^발표시연제명^발표여부^국가^기관^학회보조비^단위^학회등록비^단위|수련부&#xA;승인^임상과장승인^사원번호^순번^근태구분^근태세부구분^시작일^종료일^신청일수^신청사유^시작일^종료일^공가일수^학회구분^학회명^발표시연제명^발표여부^국가^기관^학회보조비^단위^학회등록비^단위" colsep="^" colwidth="45, 45, 40, 40, 100, 100, 90, 90, 70, 432, 100, 100, 100, 45, 100, 100, 100, 100, 100, 100, 40, 100, 40, 40" explorerbar="sortshow" extendlastcol="scroll" frozencols="7" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="23" rowsep="|" style="left:0px; top:25px; width:1195px; height:505px; ">
  172. <col checkvalue="Y,N" disabled="true" ref="psnworkapryn" type="checkbox"/>
  173. <col checkvalue="Y,N" disabled="true" ref="deprtmangraprvyn" type="checkbox"/>
  174. <col disabled="true" ref="emplno" visibility="hidden"/>
  175. <col disabled="true" ref="seqno" visibility="hidden"/>
  176. <col disabled="true" ref="dutcd" type="combo" style="text-align:center; vertical-align:middle; ">
  177. <choices>
  178. <itemset>
  179. <label/>
  180. <value/>
  181. </itemset>
  182. </choices>
  183. </col>
  184. <col disabled="true" ref="dutdetlcd" type="combo" style="text-align:center; ">
  185. <choices>
  186. <itemset>
  187. <label/>
  188. <value/>
  189. </itemset>
  190. </choices>
  191. </col>
  192. <col disabled="true" ref="srvarmfromdd" format="yyyy-mm-dd" style="text-align:center; "/>
  193. <col disabled="true" ref="srvarmtodd" format="yyyy-mm-dd" style="text-align:center; "/>
  194. <col disabled="true" ref="srvarmdayno" style="text-align:center; vertical-align:middle; "/>
  195. <col disabled="true" ref="appresn"/>
  196. <col disabled="true" ref="academyfromdd" visibility="hidden" format="yyyy-mm-dd" style="text-align:center; "/>
  197. <col disabled="true" ref="academytodd" visibility="hidden" format="yyyy-mm-dd" style="text-align:center; "/>
  198. <col disabled="true" ref="academydayno" visibility="hidden" style="text-align:center; vertical-align:middle; "/>
  199. <col disabled="true" ref="academy_tp" type="combo" visibility="hidden" style="text-align:center; ">
  200. <choices>
  201. <item>
  202. <label>학회참석</label>
  203. <value>00001</value>
  204. </item>
  205. <item>
  206. <label>좌장</label>
  207. <value>00002</value>
  208. </item>
  209. <item>
  210. <label>구연</label>
  211. <value>00003</value>
  212. </item>
  213. <item>
  214. <label>포스터 First Name</label>
  215. <value>00004</value>
  216. </item>
  217. <item>
  218. <label>포스터 Second Name</label>
  219. <value>00005</value>
  220. </item>
  221. </choices>
  222. </col>
  223. <col disabled="true" ref="subject" visibility="hidden" style="text-align:center; "/>
  224. <col disabled="true" ref="paper_nm" visibility="hidden" style="text-align:center; "/>
  225. <col disabled="true" ref="pbl_yn" visibility="hidden" style="text-align:center; "/>
  226. <col disabled="true" ref="nation_cd" type="combo" visibility="hidden" style="text-align:center; ">
  227. <choices>
  228. <itemset>
  229. <label/>
  230. <value/>
  231. </itemset>
  232. </choices>
  233. </col>
  234. <col disabled="true" ref="organ" visibility="hidden" style="text-align:center; "/>
  235. <col disabled="true" ref="s_money" visibility="hidden" style="text-align:center; "/>
  236. <col disabled="true" ref="s_money_unit" type="combo" visibility="hidden" style="text-align:center; ">
  237. <choices>
  238. <itemset>
  239. <label/>
  240. <value/>
  241. </itemset>
  242. </choices>
  243. </col>
  244. <col disabled="true" ref="r_money" visibility="hidden" style="text-align:center; "/>
  245. <col disabled="true" ref="r_money_unit" type="combo" visibility="hidden" style="text-align:center; ">
  246. <choices>
  247. <itemset>
  248. <label/>
  249. <value/>
  250. </itemset>
  251. </choices>
  252. </col>
  253. <script type="javascript" ev:event="onrowchanged">
  254. <![CDATA[
  255. var cur_row = grd_dutscheapplist.row;
  256. model.copyNode("/root/main/reqsrvarlist/dutscheapplist", "/root/main/srvarlist/dutscheapplist["+ (cur_row - 1 )+ "]");
  257. fDisabledControl(true);
  258. fDisabledSubControl(true);
  259. fReqDutdetlCd(cmb_dutcd.value);
  260. model.dispatch("onmouseup");
  261. model.refresh();
  262. ]]>
  263. </script>
  264. <script type="javascript" ev:event="onaftersort">
  265. <![CDATA[
  266. grd_dutscheapplist.gridToInstance();
  267. ]]>
  268. </script>
  269. </datagrid>
  270. <line id="line2" class="line_1" style="x1:0px; y1:20; x2:1195px; y2:20; "/>
  271. <caption id="caption8" class="tit_2" style="left:5px; top:4px; width:165px; height:13px; ">개인신청내역</caption>
  272. <input id="ipt_emplno" ref="/root/send/req/emplno" visibility="hidden" style="left:705px; top:0px; width:100px; height:19px; "/>
  273. <button id="btn_search" class="btn4_letter2" visibility="hidden" style="left:805px; top:0px; width:56px; height:22px; ">
  274. <caption>조회</caption>
  275. <script type="javascript" ev:event="DOMActivate">
  276. <![CDATA[
  277. misfMsterDetailRetrieve();
  278. misfSetReadOnlyCol(grd_dutscheapplist, "psnworkapryn,emplno,emplnm,dutcd,dutplcedeptcd,srvarmfromdd,srvarmtodd,srvarmdayno,appresn", true);
  279. model.refresh();
  280. ]]>
  281. </script>
  282. </button>
  283. <button id="btn_grdadddutschedeptcnfmlist" class="btn2_letter2" visibility="visible" style="left:1022px; top:1px; width:42px; height:19px; ">
  284. <caption>신청</caption>
  285. <script type="javascript" ev:event="DOMActivate">
  286. <![CDATA[
  287. var updtdata = getGridUpdateData(grd_dutscheapplist);
  288. if ( updtdata != "")
  289. {
  290. var ret = messageBox("그리드에 작업 중인 내용이 있습니다. 작업을","Q003");
  291. if (ret == 7) { // not OK
  292. return;
  293. }
  294. }
  295. misfGridIUD(grd_dutscheapplist, "A");
  296. grd_dutscheapplist.dispatch("onrowchanged");
  297. ipt_deprtmangraprvyn.value = 'N';
  298. ipt_psnworkapryn.value = 'N';
  299. model.setValue("/root/main/reqsrvarlist/dutscheapplist/emplno",ipt_emplno.value);
  300. fDisabledControl(false);
  301. fDisabledSubControl(true);
  302. misfSetReadOnlyCol(grd_dutscheapplist, ",psnworkapryn,deprtmangraprvyn,emplno,seqno,dutcd,dutdetlcd,srvarmfromdd,srvarmtodd,srvarmdayno,appresn", true);
  303. ]]>
  304. </script>
  305. </button>
  306. <button id="button2" class="btn2_letter4" visibility="visible" style="left:1130px; top:1px; width:64px; height:19px; ">
  307. <caption>신청삭제</caption>
  308. <script type="javascript" ev:event="DOMActivate">
  309. <![CDATA[
  310. var retMes = messageBox("저장 하시겠습니까?", "Q999");
  311. if ( retMes != 6) {
  312. return;
  313. }
  314. var sDeprtmangraprvyn = grd_dutscheapplist.valueMatrix(grd_dutscheapplist.row, grd_dutscheapplist.colRef("deprtmangraprvyn"));
  315. if(sDeprtmangraprvyn == 'Y'){
  316. messageBox("임상과장이 승인하여 삭제 할 수 ","I004");
  317. return;
  318. }
  319. else
  320. {
  321. misfGridIUD(grd_dutscheapplist, "D");
  322. misfSave("TXRTS02301");
  323. }
  324. btn_search.dispatch("DOMActivate");
  325. ]]>
  326. </script>
  327. </button>
  328. <button id="button3" class="btn2_letter4" visibility="visible" style="left:1065px; top:1px; width:64px; height:19px; ">
  329. <caption>신청수정</caption>
  330. <script type="javascript" ev:event="DOMActivate">
  331. <![CDATA[
  332. var updtdata = getGridUpdateData(grd_dutscheapplist);
  333. if ( updtdata != "")
  334. {
  335. var ret = messageBox("그리드에 작업 중인 내용이 있습니다. 작업을","Q003");
  336. if (ret == 7) { // not OK
  337. return;
  338. }
  339. }
  340. if(grd_dutscheapplist.rows - grd_dutscheapplist.fixedRows == 0)
  341. {
  342. return;
  343. }
  344. var sDeprtmangraprvyn = grd_dutscheapplist.valueMatrix(grd_dutscheapplist.row, grd_dutscheapplist.colRef("deprtmangraprvyn"));
  345. if(sDeprtmangraprvyn == 'Y'){
  346. messageBox("임상과장이 승인하여 수정 할 수 ","I004");
  347. return;
  348. }
  349. cmb_dutcd.disabled = true;
  350. cmb_dutdetlcd.disabled = true;
  351. if(cmb_dutcd.value == "05"){
  352. ipt_srvarmfromdd.disabled = false;
  353. ipt_srvarmtodd.disabled = false;
  354. ipt_srvarmdayno.disabled = false;
  355. ipt_appresn.disabled = false;
  356. cmb_academy_tp.disabled = false;
  357. ipt_academyfromdd.disabled = false;
  358. ipt_academytodd.disabled = false;
  359. ipt_academydayno.disabled = false;
  360. ipt_paper_nm.disabled = false;
  361. ipt_subject.disabled = false;
  362. cmb_pbl_yn.disabled = false;
  363. cmb_nation_cd.disabled = false;
  364. ipt_organ.disabled = false;
  365. }else{
  366. ipt_srvarmfromdd.disabled = false;
  367. ipt_srvarmtodd.disabled = false;
  368. ipt_srvarmdayno.disabled = false;
  369. ipt_appresn.disabled = false;
  370. }
  371. model.copyNode("/root/main/reqsrvarlist/dutscheapplist","/root/main/srvarlist/dutscheapplist[" + (grd_dutscheapplist.row - 1) + "]");
  372. fReqDutdetlCd(cmb_dutcd.value);
  373. cmb_dutdetlcd.dispatch("xforms-value-changed");
  374. model.refresh();
  375. ]]>
  376. </script>
  377. </button>
  378. <input id="input2" ref="/root/send/req/fromdutdetlcd" visibility="hidden" style="left:860px; top:0px; width:55px; height:19px; "/>
  379. <input id="input3" ref="/root/send/req/todutdetlcd" visibility="hidden" style="left:915px; top:0px; width:45px; height:19px; "/>
  380. <caption id="caption23" class="tit_2" style="left:0px; top:565px; width:144px; height:13px; ">근태 신청 메뉴</caption>
  381. <button id="btn_save" class="btn5_letter2" visibility="visible" style="left:1148px; top:560px; width:42px; height:19px; ">
  382. <caption>저장</caption>
  383. <script type="javascript" ev:event="DOMActivate">
  384. <![CDATA[
  385. /* 새로운 데이터를 입력시 */
  386. if(grd_dutscheapplist.rowStatus(grd_dutscheapplist.row) == 1)
  387. {
  388. model.copyNode("/root/main/srvarlist/dutscheapplist[" + (grd_dutscheapplist.row - 1) + "]","/root/main/reqsrvarlist/dutscheapplist");
  389. model.resetInstanceNode("/root/main/reqsrvarlist/dutscheapplist");
  390. grd_dutscheapplist.refresh();
  391. misfSave("TXRTS02301");
  392. fDisabledControl(true);
  393. fDisabledSubControl(true);
  394. btn_search.dispatch("DOMActivate");
  395. }
  396. /* 조회된 데이터를 수정 할때 */
  397. else if(grd_dutscheapplist.rowStatus(grd_dutscheapplist.row) == 0)
  398. {
  399. misfGridRowStatusChange(grd_dutscheapplist, "/root/main/srvarlist" , "/root/main/reqsrvarlist");
  400. grd_dutscheapplist.refresh();
  401. var updtdata = getGridUpdateData(grd_dutscheapplist);
  402. if (updtdata == "")
  403. {
  404. messageBox("변경된 데이터가","I004");
  405. cmb_dutcd.disabled = false;
  406. cmb_dutdetlcd.disabled = false;
  407. ipt_srvarmfromdd.disabled = false;
  408. ipt_srvarmtodd.disabled = false;
  409. return;
  410. }
  411. model.resetInstanceNode("/root/main/reqsrvarlist/dutscheapplist");
  412. misfSave("TXRTS02301");
  413. cmb_dutcd.disabled = true;
  414. cmb_dutdetlcd.disabled = true;
  415. ipt_srvarmfromdd.disabled = true;
  416. ipt_srvarmtodd.disabled = true;
  417. ipt_appresn.disabled = true;
  418. fDisabledSubControl(true);
  419. btn_search.dispatch("DOMActivate");
  420. }
  421. /* 조회된 데이터를 삭제 할때
  422. else if(grd_dutscheapplist.rowStatus(grd_dutscheapplist.row) == 4)
  423. {
  424. misfSave("TXRPB11001");
  425. model.resetInstanceNode("/root/main/list/crtfctlist");
  426. fAllControlDisabled(true);
  427. btn_search.dispatch("DOMActivate");
  428. grd_crtfctlist.select(1, 1, 1, grd_crtfctlist.colRef("jobrespcd")) = true;
  429. grd_crtfctlist.dispatch("onrowchanged");
  430. model.refresh();
  431. return;
  432. }
  433. */
  434. ]]>
  435. </script>
  436. </button>
  437. </group>
  438. <group id="group2" visibility="visible" style="left:0px; top:619px; width:1190px; height:159px; ">
  439. <shape id="roundrect1" appearance="roundrect" ellipsewidth="20" ellipseheight="20" style="left:0px; top:5px; width:1190px; height:145px; "/>
  440. <select1 id="cmb_dutcd" ref="/root/main/reqsrvarlist/dutscheapplist/dutcd" disabled="true" appearance="minimal" style="left:95px; top:8px; width:135px; height:19px; ">
  441. <choices>
  442. <itemset>
  443. <label/>
  444. <value/>
  445. </itemset>
  446. </choices>
  447. <script type="javascript" ev:event="xforms-select">
  448. <![CDATA[
  449. fReqDutdetlCd(cmb_dutcd.value);
  450. cmb_dutdetlcd.select(0);
  451. cmb_dutdetlcd.refresh();
  452. //필드갓 초기화
  453. fInitOfficeHoliday();
  454. if(cmb_dutcd.value == "05"){
  455. cmb_academy_tp.select(0);
  456. cmb_nation_cd.select(0);
  457. cmb_pbl_yn.select(0);
  458. fDisabledSubControl(false);
  459. }
  460. else {
  461. fDisabledSubControl(true);
  462. }
  463. ]]>
  464. </script>
  465. </select1>
  466. <caption id="cap_srvarmtodd" class="cell_1" style="left:233px; top:31px; width:91px; height:23px; vertical-align:middle; ">체류종료일</caption>
  467. <select1 id="cmb_dutdetlcd" ref="/root/main/reqsrvarlist/dutscheapplist/dutdetlcd" disabled="true" appearance="minimal" style="left:233px; top:8px; width:232px; height:19px; ">
  468. <choices>
  469. <itemset nodeset="/root/hidden/dutdetlcd">
  470. <label ref="cdnm"/>
  471. <value ref="cdid"/>
  472. </itemset>
  473. </choices>
  474. </select1>
  475. <caption id="cap_appresn" class="cell_1" style="left:2px; top:122px; width:91px; height:23px; vertical-align:middle; ">장소및신청사유</caption>
  476. <caption id="cap_srvarmfromdd" class="cell_1" style="left:2px; top:31px; width:91px; height:23px; vertical-align:middle; ">체류시작일</caption>
  477. <input id="ipt_srvarmfromdd" ref="/root/main/reqsrvarlist/dutscheapplist/srvarmfromdd" disabled="true" inputtype="date" style="left:95px; top:33px; width:135px; height:19px; ">
  478. <script type="javascript" ev:event="xforms-value-changed">
  479. <![CDATA[
  480. var sFromDD = ipt_srvarmfromdd.value;
  481. var sToDD = ipt_srvarmtodd.value;
  482. if(sToDD.length != 8)
  483. {
  484. ipt_srvarmtodd.value = sFromDD;
  485. }
  486. var dayno = getDateInterval(ipt_srvarmfromdd.value, ipt_srvarmtodd.value);
  487. ipt_srvarmdayno.value = dayno + 1;
  488. ]]>
  489. </script>
  490. </input>
  491. <input id="ipt_srvarmtodd" ref="/root/main/reqsrvarlist/dutscheapplist/srvarmtodd" disabled="true" inputtype="date" style="left:326px; top:33px; width:135px; height:19px; ">
  492. <script type="javascript" ev:event="xforms-value-changed">
  493. <![CDATA[
  494. var sFromDD = ipt_srvarmfromdd.value;
  495. var sToDD = ipt_srvarmtodd.value;
  496. if(sFromDD.length != 8)
  497. {
  498. ipt_srvarmfromdd.value = sToDD;
  499. }
  500. var dayno = getDateInterval(ipt_srvarmfromdd.value, ipt_srvarmtodd.value);
  501. ipt_srvarmdayno.value = dayno + 1;
  502. ]]>
  503. </script>
  504. </input>
  505. <line id="line3" class="line_2" style="x1:0px; y1:30px; x2:466px; y2:30px; "/>
  506. <line id="line4" class="line_2" style="x1:0px; y1:54px; x2:466px; y2:54px; "/>
  507. <input id="ipt_appresn" ref="/root/main/reqsrvarlist/dutscheapplist/appresn" disabled="true" maxlength="255" style="left:95px; top:125px; width:1071px; height:19px; "/>
  508. <caption id="cap_dutcd" class="cell_1" style="left:2px; top:7px; width:91px; height:23px; vertical-align:middle; ">근태구분</caption>
  509. <line id="line1" class="line_2" style="x1:0px; y1:123px; x2:466px; y2:123px; "/>
  510. <input id="ipt_srvarmdayno" ref="/root/main/reqsrvarlist/dutscheapplist/srvarmdayno" disabled="true" visibility="visible" style="left:928px; top:8px; width:240px; height:19px; "/>
  511. <caption id="cap_srvarmdayno" class="cell_1" visibility="visible" style="left:835px; top:7px; width:91px; height:23px; vertical-align:middle; ">휴가일수</caption>
  512. <input id="input1" ref="/root/main/reqsrvarlist/dutscheapplist/emplno" visibility="hidden" style="left:1072px; top:101px; width:20px; height:19px; "/>
  513. <line id="line7" class="line_2" style="x1:0px; y1:78px; x2:465px; y2:77px; "/>
  514. <input id="ipt_s_money" ref="/root/main/reqsrvarlist/dutscheapplist/s_money" disabled="true" style="left:95px; top:103px; width:135px; height:19px; "/>
  515. <input id="ipt_r_money" ref="/root/main/reqsrvarlist/dutscheapplist/r_money" disabled="true" style="left:562px; top:101px; width:135px; height:19px; "/>
  516. <line id="line11" class="line_2" style="x1:470px; y1:54px; x2:1190px; y2:54px; "/>
  517. <line id="line13" class="line_2" style="x1:470px; y1:78px; x2:1190px; y2:78px; "/>
  518. <input id="ipt_paper_nm" ref="/root/main/reqsrvarlist/dutscheapplist/paper_nm" disabled="true" maxlength="255" style="left:563px; top:33px; width:267px; height:19px; "/>
  519. <caption id="cap_s_money" class="cell_1" style="left:2px; top:99px; width:91px; height:23px; vertical-align:middle; ">체제비</caption>
  520. <caption id="cap_r_money_unit" class="cell_1" style="left:701px; top:100px; width:91px; height:23px; vertical-align:middle; ">화페단위</caption>
  521. <input id="ipt_subject" ref="/root/main/reqsrvarlist/dutscheapplist/subject" disabled="true" maxlength="255" style="left:562px; top:57px; width:267px; height:19px; "/>
  522. <caption id="cap_pbl_yn" class="cell_1" style="left:835px; top:55px; width:91px; height:23px; vertical-align:middle; ">발표여부</caption>
  523. <input id="ipt_organ" ref="/root/main/reqsrvarlist/dutscheapplist/organ" disabled="true" maxlength="50" style="left:562px; top:80px; width:605px; height:19px; "/>
  524. <caption id="cap_nation_cd" class="cell_1" style="left:2px; top:79px; width:91px; height:23px; vertical-align:middle; ">국가</caption>
  525. <select1 id="cmb_pbl_yn" ref="/root/main/reqsrvarlist/dutscheapplist/pbl_yn" disabled="true" appearance="minimal" style="left:928px; top:57px; width:240px; height:19px; ">
  526. <choices>
  527. <item>
  528. <label>Y</label>
  529. <value>Y</value>
  530. </item>
  531. <item>
  532. <label>N</label>
  533. <value>N</value>
  534. </item>
  535. </choices>
  536. </select1>
  537. <caption id="cap_subject" class="cell_1" style="left:470px; top:55px; width:91px; height:23px; vertical-align:middle; ">학회명</caption>
  538. <select1 id="cmb_academy_tp" ref="/root/main/reqsrvarlist/dutscheapplist/academy_tp" disabled="true" appearance="minimal" style="left:563px; top:9px; width:267px; height:19px; ">
  539. <choices>
  540. <item>
  541. <label>학회참석</label>
  542. <value>00001</value>
  543. </item>
  544. <item>
  545. <label>좌장</label>
  546. <value>00002</value>
  547. </item>
  548. <item>
  549. <label>구연</label>
  550. <value>00003</value>
  551. </item>
  552. <item>
  553. <label>포스터 First Name</label>
  554. <value>00004</value>
  555. </item>
  556. <item>
  557. <label>포스터 Second Name</label>
  558. <value>00005</value>
  559. </item>
  560. </choices>
  561. </select1>
  562. <caption id="cap_paper_nm" class="cell_1" style="left:470px; top:31px; width:91px; height:23px; vertical-align:middle; ">발표시연제명</caption>
  563. <select1 id="cmb_nation_cd" ref="/root/main/reqsrvarlist/dutscheapplist/nation_cd" disabled="true" appearance="minimal" style="left:95px; top:80px; width:252px; height:19px; ">
  564. <choices>
  565. <itemset>
  566. <label/>
  567. <value/>
  568. </itemset>
  569. </choices>
  570. </select1>
  571. <caption id="cap_organ" class="cell_1" style="left:470px; top:79px; width:91px; height:23px; vertical-align:middle; ">학회주체기관</caption>
  572. <caption id="cap_academy_tp" class="cell_1" style="left:470px; top:7px; width:91px; height:23px; vertical-align:middle; ">참가형태</caption>
  573. <line id="line14" class="line_2" style="x1:469px; y1:121px; x2:1189px; y2:121px; "/>
  574. <line id="line15" class="line_2" style="x1:470px; y1:30px; x2:1190px; y2:30px; "/>
  575. <input id="ipt_seqno" ref="/root/main/reqsrvarlist/dutscheapplist/seqno" visibility="hidden" style="left:1031px; top:101px; width:30px; height:19px; "/>
  576. <input id="ipt_academytodd" ref="/root/main/reqsrvarlist/dutscheapplist/academytodd" disabled="true" inputtype="date" style="left:326px; top:56px; width:135px; height:19px; ">
  577. <script type="javascript" ev:event="xforms-value-changed">
  578. <![CDATA[
  579. var sFromDD = ipt_academyfromdd.value;
  580. var sToDD = ipt_academytodd.value;
  581. if(sFromDD.length != 8)
  582. {
  583. ipt_academyfromdd.value = sToDD;
  584. }
  585. var dayno1 = 0;
  586. var dayno2 = 0;
  587. dayno1 = getDateInterval(ipt_srvarmfromdd.value, ipt_srvarmtodd.value);
  588. dayno2 = getDateInterval(ipt_academyfromdd.value, ipt_academytodd.value);
  589. ipt_academydayno.value = dayno2 + 1;
  590. ipt_srvarmdayno.value = (dayno1 + 1) - (dayno2 + 1);
  591. ]]>
  592. </script>
  593. </input>
  594. <caption id="cap_academytodd" class="cell_1" style="left:233px; top:55px; width:91px; height:23px; vertical-align:middle; ">실학회종료일</caption>
  595. <caption id="cap_academyfromdd" class="cell_1" style="left:2px; top:55px; width:91px; height:23px; vertical-align:middle; ">실학회시작일</caption>
  596. <input id="ipt_academyfromdd" ref="/root/main/reqsrvarlist/dutscheapplist/academyfromdd" disabled="true" inputtype="date" style="left:95px; top:57px; width:135px; height:19px; ">
  597. <script type="javascript" ev:event="xforms-value-changed">
  598. <![CDATA[
  599. var sFromDD = ipt_academyfromdd.value;
  600. var sToDD = ipt_academytodd.value;
  601. if(sToDD.length != 8)
  602. {
  603. ipt_academytodd.value = sFromDD;
  604. }
  605. var dayno1 = 0;
  606. var dayno2 = 0;
  607. dayno1 = getDateInterval(ipt_srvarmfromdd.value, ipt_srvarmtodd.value);
  608. dayno2 = getDateInterval(ipt_academyfromdd.value, ipt_academytodd.value);
  609. ipt_academydayno.value = dayno2 + 1;
  610. ipt_srvarmdayno.value = (dayno1 + 1) - (dayno2 + 1);
  611. ]]>
  612. </script>
  613. </input>
  614. <line id="line5" class="line_2" style="x1:10px; y1:101px; x2:475px; y2:100px; "/>
  615. <line id="line6" class="line_2" style="x1:470px; y1:100px; x2:1190px; y2:100px; "/>
  616. <caption id="cap_r_money" class="cell_1" style="left:470px; top:100px; width:91px; height:23px; vertical-align:middle; ">등록비</caption>
  617. <line id="line8" class="line_2" style="x1:3px; y1:145px; x2:469px; y2:145px; "/>
  618. <line id="line9" class="line_2" style="x1:469px; y1:145px; x2:1189px; y2:145px; "/>
  619. <caption id="cap_s_money_unit" class="cell_1" style="left:233px; top:101px; width:91px; height:23px; vertical-align:middle; ">화페단위</caption>
  620. <input id="ipt_deprtmangraprvyn" ref="/root/main/reqsrvarlist/dutscheapplist/deprtmangraprvyn" visibility="hidden" style="left:1101px; top:101px; width:30px; height:19px; "/>
  621. <input id="ipt_psnworkapryn" ref="/root/main/reqsrvarlist/dutscheapplist/psnworkapryn" visibility="hidden" style="left:1136px; top:101px; width:30px; height:19px; "/>
  622. <select1 id="cmb_s_money_unit" ref="/root/main/reqsrvarlist/dutscheapplist/s_money_unit" disabled="true" appearance="minimal" style="left:326px; top:103px; width:135px; height:19px; ">
  623. <choices>
  624. <itemset>
  625. <label/>
  626. <value/>
  627. </itemset>
  628. </choices>
  629. </select1>
  630. <select1 id="cmb_r_money_unit" ref="/root/main/reqsrvarlist/dutscheapplist/r_money_unit" disabled="true" appearance="minimal" style="left:794px; top:102px; width:135px; height:19px; ">
  631. <choices>
  632. <itemset>
  633. <label/>
  634. <value/>
  635. </itemset>
  636. </choices>
  637. </select1>
  638. <caption id="cap_academydayno" class="cell_1" visibility="visible" style="left:835px; top:31px; width:91px; height:23px; vertical-align:middle; ">공가일수</caption>
  639. <input id="ipt_academydayno" ref="/root/main/reqsrvarlist/dutscheapplist/academydayno" disabled="true" visibility="visible" style="left:928px; top:33px; width:240px; height:19px; "/>
  640. </group>
  641. <group id="group5" scroll="auto" style="left:0px; top:12px; width:1195px; height:27px; ">
  642. <line id="line75" class="line_6" style="x1:0; y1:25; x2:1195; y2:25; "/>
  643. </group>
  644. </xhtml:body>
  645. </xhtml:html>