SMRTS02400_개인복무계획신청임상과장승인.xrw 43 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071
  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>SMRTS02400_개인복무계획신청임상과장승인</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. <emplnm/>
  17. <seqno/>
  18. <dutcd/>
  19. <dutdetlcd/>
  20. <srvarmfromdd/>
  21. <srvarmtodd/>
  22. <srvarmdayno/>
  23. <academyfromdd/>
  24. <academytodd/>
  25. <academydayno/>
  26. <academy_tp/>
  27. <subject/>
  28. <paper_nm/>
  29. <pbl_yn/>
  30. <nation_cd/>
  31. <organ/>
  32. <s_money/>
  33. <s_money_unit/>
  34. <r_money/>
  35. <r_money_unit/>
  36. <appresn/>
  37. <deprtmangraprvyn/>
  38. <psnworkapryn/>
  39. </dutscheapplist>
  40. </reqsrvarlist>
  41. </main>
  42. <send>
  43. <save>
  44. <dutscheapplist/>
  45. </save>
  46. <dutschedeptcnfm>
  47. <instcd/>
  48. <frommm/>
  49. <tomm/>
  50. <dutunitcd/>
  51. <dutunitnm/>
  52. <emplno/>
  53. <emplnm/>
  54. <deprtmangraprvyn/>
  55. <apprtcdrflag/>
  56. <dutdetlcd/>
  57. <dutcd/>
  58. <anual/>
  59. </dutschedeptcnfm>
  60. <req>
  61. <fromdutdetlcd/>
  62. <todutdetlcd/>
  63. </req>
  64. </send>
  65. <hidden>
  66. <dutdetlcd/>
  67. <dutdetlcdserch/>
  68. </hidden>
  69. <temp>
  70. </temp>
  71. </root>
  72. </instance>
  73. <submission id="TRRTS02401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/dutschedeptcnfm" resultref="/root/main/srvarlist"/>
  74. <submission id="TXRTS02401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save" resultref="/root/hiddeen/temp"/>
  75. <submission id="TRRTS02302" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/req" resultref="/root/hidden/dutdetlcd"/>
  76. <submission id="TRRTS02303" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/req" resultref="/root/hidden/dutdetlcdserch"/>
  77. <submission id="TXRTS02301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/srvarlist/dutscheapplist" resultref="/root/temp"/>
  78. </model>
  79. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  80. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  81. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  82. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  83. <script type="javascript" src="../../../mis/dligclaznsmngtweb/js/RPD001.js"/>
  84. <script type="javascript" src="../../../mis/humtrafactmngtweb/js/RPB001.js"/>
  85. <script type="javascript" src="../../../mis/miscommonweb/js/RSZ001.js"/>
  86. <script type="javascript" ev:event="xforms-ready">
  87. <![CDATA[
  88. fInit();
  89. ]]>
  90. </script>
  91. <script type="javascript">
  92. <![CDATA[
  93. function fInit()
  94. {
  95. misfGridInit(grd_dutschedeptcnfmlist);
  96. misfMsterDetailSet(grd_dutschedeptcnfmlist, null, "TRRTS02401" ,"Y");
  97. rszfGetLabelControlComboList("R0314", "cmb_instcd", "detldesc");
  98. misfGridComboComCdList("R0317",grd_dutschedeptcnfmlist,"dutcd");
  99. misfGridComboComCdList("R0318",grd_dutschedeptcnfmlist,"dutdetlcd");
  100. misfGridComboComCdList("R0142",grd_dutschedeptcnfmlist,"nation_cd");
  101. misfGridComboComCdList("R0047",grd_dutschedeptcnfmlist,"s_money_unit");
  102. misfGridComboComCdList("R0047",grd_dutschedeptcnfmlist,"r_money_unit");
  103. misfComboComCdListMulti("R0151,R0317,R0281,R0317,R0142,R0047,R0047","cmb_apprtcdrflag,cmb_dutcd_serch,cmb_anual,cmb_dutcd,cmb_nation_cd,cmb_s_money_unit,cmb_r_money_unit");
  104. addComboItem( "cmb_dutcd_serch", "전체", "", "above");
  105. addComboItem( "cmb_apprtcdrflag", "전체", "", "above");
  106. addComboItem( "cmb_anual", "전체", "", "above");
  107. model.setValue("/root/send/dutschedeptcnfm/instcd", getUserInfo("dutplceinstcd"));
  108. model.setValue("/root/send/dutschedeptcnfm/dutunitcd", getUserInfo("dutplcecd"));
  109. //화면 권한 설정
  110. btn_search.disabled = !(checkAuth("R"));
  111. btn_save.disabled = !(checkAuth("X"));
  112. btn_search.dispatch("DOMActivate");
  113. model.refresh();
  114. }
  115. function fDisabledControl(check)
  116. {
  117. ipt_emplno.disabled = check;
  118. ipt_emplnm.disabled = check;
  119. cmb_dutcd.disabled = check;
  120. cmb_dutdetlcd.disabled = check;
  121. ipt_srvarmfromdd.disabled = check;
  122. ipt_srvarmtodd.disabled = check;
  123. ipt_srvarmdayno.disabled = check;
  124. ipt_appresn.disabled = check;
  125. btn_emplsearch.disabled = check;
  126. }
  127. function fDisabledSubControl(check)
  128. {
  129. ipt_academyfromdd.disabled = check;
  130. ipt_academytodd.disabled = check;
  131. cmb_academy_tp.disabled = check;
  132. ipt_academydayno.disabled = check;
  133. ipt_subject.disabled = check;
  134. ipt_paper_nm.disabled = check;
  135. cmb_pbl_yn.disabled = check;
  136. cmb_nation_cd.disabled = check;
  137. ipt_organ.disabled = check;
  138. ipt_s_money.disabled = check;
  139. cmb_s_money_unit.disabled = check;
  140. ipt_r_money.disabled = check;
  141. cmb_r_money_unit.disabled = check;
  142. }
  143. /* 근태구분이 바뀜에 따라 그에 맞는 세부구분을 조회해온다 */
  144. function fReqDutdetlCd(value, check){
  145. if(value == '01'){
  146. model.setValue("/root/send/req/fromdutdetlcd","01");
  147. model.setValue("/root/send/req/todutdetlcd","02");
  148. }
  149. else if(value == '02'){
  150. model.setValue("/root/send/req/fromdutdetlcd","03");
  151. model.setValue("/root/send/req/todutdetlcd","11");
  152. }
  153. else if(value == '03'){
  154. model.setValue("/root/send/req/fromdutdetlcd","12");
  155. model.setValue("/root/send/req/todutdetlcd","12");
  156. }
  157. else if(value == '04'){
  158. model.setValue("/root/send/req/fromdutdetlcd","13");
  159. model.setValue("/root/send/req/todutdetlcd","13");
  160. }
  161. else if(value == '05'){
  162. model.setValue("/root/send/req/fromdutdetlcd","14");
  163. model.setValue("/root/send/req/todutdetlcd","17");
  164. }
  165. else if(value == '06'){
  166. model.setValue("/root/send/req/fromdutdetlcd","18");
  167. model.setValue("/root/send/req/todutdetlcd","18");
  168. }
  169. else
  170. {
  171. model.setValue("/root/send/req/fromdutdetlcd","");
  172. model.setValue("/root/send/req/todutdetlcd","");
  173. }
  174. // 신청 메뉴의 세부구분 세팅
  175. if(!check)
  176. {
  177. submit("TRRTS02302");
  178. }
  179. // 조회조건의 세부구분 세팅
  180. else
  181. {
  182. submit("TRRTS02303");
  183. }
  184. }
  185. /*공가(학회및기타)일 경우 값필드값 초기화*/
  186. function fInitOfficeHoliday() {
  187. cmb_academy_tp.value = "";
  188. ipt_srvarmdayno.value = "";
  189. ipt_academyfromdd.value = "";
  190. ipt_academytodd.value = "";
  191. ipt_academydayno.value = "";
  192. ipt_paper_nm.value = "";
  193. ipt_subject.value = "";
  194. cmb_pbl_yn.value = "";
  195. cmb_nation_cd.value = "";
  196. ipt_organ.value = "";
  197. ipt_s_money.value = "";
  198. cmb_s_money_unit.value = "";
  199. ipt_r_money.value = "";
  200. cmb_r_money_unit.value = "";
  201. ipt_appresn.value = "";
  202. }
  203. ]]>
  204. </script>
  205. </xhtml:head>
  206. <xhtml:body style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  207. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  208. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:230px; height:14px; ">개인복무계획신청임상과장승인</caption>
  209. <caption id="caption4" class="patient_text_black" style="left:922px; top:0px; width:272px; "/>
  210. </group>
  211. <group id="group3" scroll="auto" style="left:0px; top:38px; width:1195px; height:744px; ">
  212. <group id="group4" style="left:0px; top:10px; width:1195px; height:80; vertical-align:top; ">
  213. <shape id="roundrect2" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1195px; height:80; background-color:#fffbf2; border-color:#ffd799; "/>
  214. <line id="line3" class="line_4" style="x1:1108px; y1:6px; x2:1108px; y2:76; border-color:#ffe4bb; border-left-style:solid; "/>
  215. <button id="btn_search" class="btn1_letter2" navindex="4" style="left:1124px; top:32; width:56px; height:22px; text-align:left; ">
  216. <caption>조회</caption>
  217. <script type="javascript" ev:event="DOMActivate">
  218. <![CDATA[
  219. misfMsterDetailRetrieve();
  220. misfSetReadOnlyCol(grd_dutschedeptcnfmlist, "psnworkapryn,emplno,emplnm,dutcd,dutplcedeptcd,srvarmfromdd,srvarmtodd,srvarmdayno,appresn", true);
  221. ]]>
  222. </script>
  223. </button>
  224. <caption id="cap_emplno_search" class="search_name" style="left:20px; top:52; width:86px; height:17px; ">사원번호 :</caption>
  225. <button id="btn_emplno" class="icon_search" style="left:192px; top:53; width:16px; height:16px; ">
  226. <caption/>
  227. <script type="javascript" ev:event="DOMActivate">
  228. <![CDATA[
  229. rpbfOpenPopUpList("SPRTC00900", ipt_emplno_search, "emplno,emplnm", "cmb_instcd,ipt_dutdeptcd", "N");
  230. model.refresh();
  231. ]]>
  232. </script>
  233. </button>
  234. <input id="ipt_emplnm_search" ref="/root/send/dutschedeptcnfm/emplnm" class="input_search" navindex="3" style="left:212px; top:51px; width:127px; height:19px; ">
  235. <script type="javascript" ev:event="onkeypress">
  236. <![CDATA[
  237. if(event.keyCode == 13)
  238. {
  239. if(ipt_emplnm_search.value == ipt_emplnm_search.currentText) return;
  240. ipt_emplnm_search.value = ipt_emplnm_search.currentText;
  241. rpbfValidationCheck("EMPLNM", "emplno,emplnm");
  242. model.refresh();
  243. }
  244. ]]>
  245. </script>
  246. <script type="javascript" ev:event="xforms-value-changed">
  247. <![CDATA[
  248. rpbfValidationCheck("EMPLNM", "emplno,emplnm,dutunitcd,dutunitnm");
  249. model.refresh();
  250. ]]>
  251. </script>
  252. </input>
  253. <input id="ipt_emplno_search" ref="/root/send/dutschedeptcnfm/emplno" class="input_search" navindex="2" maxlength="10" style="left:108px; top:51px; width:80px; height:19px; text-align:left; ">
  254. <script type="javascript" ev:event="onkeypress">
  255. <![CDATA[
  256. if(event.keyCode == 13)
  257. {
  258. if(ipt_emplno_search.value == ipt_emplno_search.currentText) return;
  259. ipt_emplno_search.value = ipt_emplno_search.currentText;
  260. rpbfValidationCheck("EMPLNO", "emplno,emplnm");
  261. model.refresh();
  262. }
  263. ]]>
  264. </script>
  265. <script type="javascript" ev:event="xforms-value-changed">
  266. <![CDATA[
  267. rpbfValidationCheck("EMPLNO", "emplno,emplnm,dutunitcd,dutunitnm");
  268. model.refresh();
  269. ]]>
  270. </script>
  271. </input>
  272. <select1 id="rdo_deprtmangraprvyn" ref="/root/send/dutschedeptcnfm/deprtmangraprvyn" appearance="full" cols="3" overflow="visible" style="left:910px; top:31px; width:150px; height:14px; border-style:none; ">
  273. <choices>
  274. <item>
  275. <label>전체</label>
  276. <value/>
  277. </item>
  278. <item>
  279. <label>승인</label>
  280. <value>Y</value>
  281. </item>
  282. <item>
  283. <label>미승인</label>
  284. <value>N</value>
  285. </item>
  286. </choices>
  287. </select1>
  288. <caption id="caption9" class="search_name" style="left:805px; top:30px; width:101px; height:17px; ">승인 여부 :</caption>
  289. <select1 id="cmb_instcd" ref="/root/send/dutschedeptcnfm/instcd" class="combo_search" disabled="true" navindex="1" appearance="minimal" style="left:108px; top:8px; width:230px; height:19px; ">
  290. <choices>
  291. <itemset>
  292. <label/>
  293. <value/>
  294. </itemset>
  295. </choices>
  296. </select1>
  297. <caption id="caption8" class="search_name" style="left:20px; top:9px; width:112px; height:17px; ">근무기관 :</caption>
  298. <button id="btn_dutdept" class="icon_search" disabled="false" style="left:192px; top:32px; width:16px; height:16px; ">
  299. <caption/>
  300. <script type="javascript" ev:event="DOMActivate">
  301. <![CDATA[
  302. misfOpenPopUpList("02", ipt_dutdeptcd, "", "dutunitcd,dutunitnm", cmb_instcd.value, "instcd");
  303. model.refresh();
  304. ]]>
  305. </script>
  306. </button>
  307. <caption id="caption5" class="search_name" style="left:20px; top:31px; width:87px; height:17px; ">부 서 :</caption>
  308. <input id="ipt_dutdeptnm" ref="/root/send/dutschedeptcnfm/dutunitnm" class="input_search" disabled="true" navindex="3" style="left:212px; top:30px; width:127px; height:19px; ">
  309. <script type="javascript" ev:event="xforms-value-changed">
  310. <![CDATA[
  311. misfValidationCheck("02", "", "dutunitcd,dutunitnm", cmb_instcd.value, "instcd" );
  312. model.refresh();
  313. ]]>
  314. </script>
  315. <script type="javascript" ev:event="onkeypress">
  316. <![CDATA[
  317. if(event.keyCode == 13)
  318. {
  319. ipt_dutdeptnm.value = ipt_dutdeptnm.currentText;
  320. misfValidationCheck("02", "", "dutunitcd,dutunitnm", cmb_instcd.value, "instcd" );
  321. model.refresh();
  322. }
  323. ]]>
  324. </script>
  325. </input>
  326. <input id="ipt_dutdeptcd" ref="/root/send/dutschedeptcnfm/dutunitcd" class="input_search" disabled="true" navindex="2" maxlength="10" style="left:108px; top:30px; width:80px; height:19px; ">
  327. <script type="javascript" ev:event="xforms-value-changed">
  328. <![CDATA[
  329. misfValidationCheck("02", "", "dutunitcd,dutunitnm", cmb_instcd.value, "instcd" );
  330. model.refresh();
  331. ]]>
  332. </script>
  333. <script type="javascript" ev:event="onkeypress">
  334. <![CDATA[
  335. if(event.keyCode == 13)
  336. {
  337. ipt_dutdeptcd.value = ipt_dutdeptcd.currentText;
  338. misfValidationCheck("02", "", "dutunitcd,dutunitnm", cmb_instcd.value, "instcd" );
  339. model.refresh();
  340. }
  341. ]]>
  342. </script>
  343. </input>
  344. <caption id="caption10" class="search_name" style="left:452px; top:52px; width:88px; height:17px; ">세부구분 :</caption>
  345. <caption id="caption11" class="search_name" style="left:452px; top:31px; width:87px; height:17px; ">근태구분 :</caption>
  346. <caption id="caption12" class="search_name" style="left:452px; top:9px; width:112px; height:17px; ">전공의 구분 :</caption>
  347. <select1 id="cmb_apprtcdrflag" ref="/root/send/dutschedeptcnfm/apprtcdrflag" appearance="minimal" style="left:560px; top:8px; width:150px; height:19px; ">
  348. <choices>
  349. <itemset>
  350. <label/>
  351. <value/>
  352. </itemset>
  353. </choices>
  354. </select1>
  355. <select1 id="cmb_anual" ref="/root/send/dutschedeptcnfm/anual" appearance="minimal" style="left:910px; top:50px; width:150px; height:19px; ">
  356. <choices>
  357. <itemset>
  358. <label/>
  359. <value/>
  360. </itemset>
  361. </choices>
  362. </select1>
  363. <caption id="caption13" class="search_name" style="left:805px; top:52px; width:101px; height:17px; ">년 차 :</caption>
  364. <select1 id="cmb_dutcd_serch" ref="/root/send/dutschedeptcnfm/dutcd" appearance="minimal" style="left:540px; top:30px; width:170px; height:19px; ">
  365. <choices>
  366. <itemset>
  367. <label/>
  368. <value/>
  369. </itemset>
  370. </choices>
  371. <script type="javascript" ev:event="xforms-select">
  372. <![CDATA[
  373. if(cmb_dutcd_serch.value == "") {
  374. cmb_dutdetlcd_serch.value = "";
  375. model.resetInstanceNode("/root/hidden/dutdetlcdserch");
  376. model.refresh();
  377. }else{
  378. fReqDutdetlCd(cmb_dutcd_serch.value, true);
  379. cmb_dutdetlcd_serch.select(0);
  380. cmb_dutdetlcd_serch.refresh();
  381. }
  382. ]]>
  383. </script>
  384. </select1>
  385. <select1 id="cmb_dutdetlcd_serch" ref="/root/send/dutschedeptcnfm/dutdetlcd" appearance="minimal" style="left:540px; top:51px; width:170px; height:19px; ">
  386. <choices>
  387. <itemset nodeset="/root/hidden/dutdetlcdserch">
  388. <label ref="cdnm"/>
  389. <value ref="cdid"/>
  390. </itemset>
  391. </choices>
  392. </select1>
  393. </group>
  394. <datagrid id="grd_dutschedeptcnfmlist" nodeset="/root/main/srvarlist/dutscheapplist" caption="수련부승인^사원번호^성명^순번^근무구분^근태세부구분^신청(체류)기간^신청(체류)기간^신청일수^승인^신청사유^실학회기간^실학회기간^공가일수^학회구분^학회명^발표시연제명^발표여부^국가^기관^학회보조비^단위^학회등록비^단위|수련부승인^사원번호^성명^순번^근무구분^근태세부구분^시작일^종료일^신청일수^승인^신청사유^시작일^종료일^공가일수^학회구분^학회명^발표시연제명^발표여부^국가^기관^학회보조비^단위^학회등록비^단위" colsep="^" colwidth="45, 70, 80, 0, 66, 100, 90, 90, 60, 50, 288, 100, 100, 45, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100" explorerbar="sortmove" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="23" rowsep="|" style="left:0px; top:120px; width:1195px; height:415px; ">
  395. <col checkvalue="Y,N" disabled="true" ref="psnworkapryn" type="checkbox"/>
  396. <col disabled="true" ref="emplno" style="text-align:center; "/>
  397. <col disabled="true" ref="emplnm"/>
  398. <col disabled="true" ref="seqno" visibility="hidden"/>
  399. <col disabled="true" ref="dutcd" type="combo" style="text-align:center; ">
  400. <choices>
  401. <itemset>
  402. <label/>
  403. <value/>
  404. </itemset>
  405. </choices>
  406. </col>
  407. <col disabled="true" ref="dutdetlcd" type="combo" style="text-align:center; ">
  408. <choices>
  409. <itemset>
  410. <label/>
  411. <value/>
  412. </itemset>
  413. </choices>
  414. </col>
  415. <col disabled="true" ref="srvarmfromdd" format="yyyy-mm-dd" style="text-align:center; "/>
  416. <col disabled="true" ref="srvarmtodd" format="yyyy-mm-dd" style="text-align:center; "/>
  417. <col disabled="true" ref="srvarmdayno" visibility="hidden" style="text-align:center; "/>
  418. <col checkvalue="Y,N" disabled="false" ref="deprtmangraprvyn" type="checkbox"/>
  419. <col disabled="true" ref="appresn"/>
  420. <col disabled="true" ref="academyfromdd" visibility="hidden" format="yyyy-mm-dd" style="text-align:center; "/>
  421. <col disabled="true" ref="academytodd" visibility="hidden" format="yyyy-mm-dd" style="text-align:center; "/>
  422. <col disabled="true" ref="academydayno" visibility="hidden" style="text-align:center; vertical-align:middle; "/>
  423. <col ref="academy_tp" type="combo" visibility="hidden">
  424. <choices>
  425. <item>
  426. <label>학회참석</label>
  427. <value>00001</value>
  428. </item>
  429. <item>
  430. <label>좌장</label>
  431. <value>00002</value>
  432. </item>
  433. <item>
  434. <label>구연</label>
  435. <value>00003</value>
  436. </item>
  437. <item>
  438. <label>포스터 First Name</label>
  439. <value>00004</value>
  440. </item>
  441. <item>
  442. <label>포스터 Second Name</label>
  443. <value>00005</value>
  444. </item>
  445. </choices>
  446. </col>
  447. <col ref="subject" visibility="hidden"/>
  448. <col ref="paper_nm" visibility="hidden"/>
  449. <col ref="pbl_yn" visibility="hidden"/>
  450. <col ref="nation_cd" type="combo" visibility="hidden">
  451. <choices>
  452. <itemset>
  453. <label/>
  454. <value/>
  455. </itemset>
  456. </choices>
  457. </col>
  458. <col ref="organ" visibility="hidden"/>
  459. <col ref="s_money" visibility="hidden"/>
  460. <col ref="s_money_unit" type="combo" visibility="hidden">
  461. <choices>
  462. <itemset>
  463. <label/>
  464. <value/>
  465. </itemset>
  466. </choices>
  467. </col>
  468. <col ref="r_money" visibility="hidden"/>
  469. <col ref="r_money_unit" type="combo" visibility="hidden">
  470. <choices>
  471. <itemset>
  472. <label/>
  473. <value/>
  474. </itemset>
  475. </choices>
  476. </col>
  477. <script type="javascript" ev:event="onrowchanged">
  478. <![CDATA[
  479. var cur_row = grd_dutschedeptcnfmlist.row;
  480. model.copyNode("/root/main/reqsrvarlist/dutscheapplist", "/root/main/srvarlist/dutscheapplist["+ (cur_row - 1 )+ "]");
  481. fDisabledControl(true);
  482. fDisabledSubControl(true);
  483. fReqDutdetlCd(cmb_dutcd.value, false);
  484. model.dispatch("onmouseup");
  485. model.refresh();
  486. ]]>
  487. </script>
  488. </datagrid>
  489. <line id="line1" class="line_1" style="x1:0px; y1:114px; x2:1194px; y2:114px; "/>
  490. <caption id="caption3" class="tit_2" style="left:5px; top:99px; width:165px; height:13px; ">개인신청현황</caption>
  491. <button id="button1" class="btn2_letter4" visibility="visible" style="left:868px; top:93px; width:64px; height:19px; ">
  492. <caption>전체승인</caption>
  493. <script type="javascript" ev:event="DOMActivate">
  494. <![CDATA[
  495. for(var i=grd_dutschedeptcnfmlist.fixedRows; i<grd_dutschedeptcnfmlist.rows; i++)
  496. {
  497. if(grd_dutschedeptcnfmlist.valueMatrix(i, grd_dutschedeptcnfmlist.colRef("deprtmangraprvyn")) == "N")
  498. {
  499. grd_dutschedeptcnfmlist.valueMatrix(i, grd_dutschedeptcnfmlist.colRef("deprtmangraprvyn")) = "Y";
  500. grd_dutschedeptcnfmlist.addStatus(i, "update");
  501. }
  502. }
  503. model.refresh();
  504. ]]>
  505. </script>
  506. </button>
  507. <button id="button2" class="btn2_letter6" visibility="visible" style="left:933px; top:93px; width:86px; height:19px; ">
  508. <caption>전체승인취소</caption>
  509. <script type="javascript" ev:event="DOMActivate">
  510. <![CDATA[
  511. var sPsnworkapryn = grd_dutschedeptcnfmlist.valueMatrix(grd_dutschedeptcnfmlist.row, grd_dutschedeptcnfmlist.colRef("psnworkapryn"));
  512. if(sPsnworkapryn == 'Y'){
  513. messageBox("수련부에서 승인하여 수정 할 수 ","I004");
  514. return;
  515. }
  516. for(var i=grd_dutschedeptcnfmlist.fixedRows; i<grd_dutschedeptcnfmlist.rows; i++)
  517. {
  518. if(grd_dutschedeptcnfmlist.valueMatrix(i, grd_dutschedeptcnfmlist.colRef("deprtmangraprvyn")) == "Y")
  519. {
  520. grd_dutschedeptcnfmlist.valueMatrix(i, grd_dutschedeptcnfmlist.colRef("deprtmangraprvyn")) = "N";
  521. grd_dutschedeptcnfmlist.addStatus(i, "update");
  522. }
  523. }
  524. model.refresh();
  525. ]]>
  526. </script>
  527. </button>
  528. <input id="input1" ref="/root/send/req/fromdutdetlcd" visibility="hidden" style="left:745px; top:90px; width:40px; height:19px; "/>
  529. <input id="input2" ref="/root/send/req/todutdetlcd" visibility="hidden" style="left:790px; top:90px; width:40px; height:19px; "/>
  530. <button id="btn_save" class="btn5_letter2" visibility="visible" style="left:1148px; top:565px; width:42px; height:19px; ">
  531. <caption>저장</caption>
  532. <script type="javascript" ev:event="DOMActivate">
  533. <![CDATA[
  534. if(!isRequiredControls("ipt_emplno")) return;
  535. if(!isRequiredControls("cmb_dutcd")) return;
  536. if(!isRequiredControls("ipt_srvarmfromdd")) return;
  537. if(!isRequiredControls("ipt_srvarmfromdd")) return;
  538. /* 새로운 데이터를 입력시 */
  539. if(grd_dutschedeptcnfmlist.rowStatus(grd_dutschedeptcnfmlist.row) == 1)
  540. {
  541. model.copyNode("/root/main/srvarlist/dutscheapplist[" + (grd_dutschedeptcnfmlist.row - 1) + "]","/root/main/reqsrvarlist/dutscheapplist");
  542. model.resetInstanceNode("/root/main/reqsrvarlist/dutscheapplist");
  543. grd_dutschedeptcnfmlist.refresh();
  544. misfSave("TXRTS02301");
  545. fDisabledControl(true);
  546. fDisabledSubControl(true);
  547. }
  548. /* 조회된 데이터를 수정 할때 */
  549. else if(grd_dutschedeptcnfmlist.rowStatus(grd_dutschedeptcnfmlist.row) == 0)
  550. {
  551. misfGridRowStatusChange(grd_dutschedeptcnfmlist, "/root/main/srvarlist" , "/root/main/reqsrvarlist");
  552. grd_dutschedeptcnfmlist.refresh();
  553. var updtdata = getGridUpdateData(grd_dutschedeptcnfmlist);
  554. if (updtdata == "")
  555. {
  556. messageBox("변경된 데이터가","I004");
  557. cmb_dutcd.disabled = false;
  558. cmb_dutdetlcd.disabled = false;
  559. ipt_srvarmfromdd.disabled = false;
  560. ipt_srvarmtodd.disabled = false;
  561. return;
  562. }
  563. model.resetInstanceNode("/root/main/reqsrvarlist/dutscheapplist");
  564. misfSave("TXRTS02301");
  565. cmb_dutcd.disabled = true;
  566. cmb_dutdetlcd.disabled = true;
  567. ipt_srvarmfromdd.disabled = true;
  568. ipt_srvarmtodd.disabled = true;
  569. ipt_appresn.disabled = true;
  570. fDisabledSubControl(true);
  571. }
  572. /* 조회된 데이터를 삭제 할때
  573. else if(grd_dutschedeptcnfmlist.rowStatus(grd_dutschedeptcnfmlist.row) == 4)
  574. {
  575. misfSave("TXRPB11001");
  576. model.resetInstanceNode("/root/main/list/crtfctlist");
  577. fAllControlDisabled(true);
  578. btn_search.dispatch("DOMActivate");
  579. grd_crtfctlist.select(1, 1, 1, grd_crtfctlist.colRef("jobrespcd")) = true;
  580. grd_crtfctlist.dispatch("onrowchanged");
  581. model.refresh();
  582. return;
  583. }
  584. */
  585. ipt_emplno.value = ''
  586. ipt_emplnm.value = '';
  587. btn_search.dispatch("DOMActivate");
  588. ]]>
  589. </script>
  590. </button>
  591. <caption id="caption25" class="tit_2" style="left:0px; top:570px; width:144px; height:13px; ">근태 신청 메뉴</caption>
  592. <button id="btn_grdadddutschedeptcnfmlist" class="btn2_letter2" visibility="visible" style="left:1020px; top:93px; width:42px; height:19px; ">
  593. <caption>신청</caption>
  594. <script type="javascript" ev:event="DOMActivate">
  595. <![CDATA[
  596. var updtdata = getGridUpdateData(grd_dutschedeptcnfmlist);
  597. if ( updtdata != "")
  598. {
  599. var ret = messageBox("그리드에 작업 중인 내용이 있습니다. 작업을","Q003");
  600. if (ret == 7) { // not OK
  601. return;
  602. }
  603. }
  604. misfGridIUD(grd_dutschedeptcnfmlist, "A");
  605. grd_dutschedeptcnfmlist.dispatch("onrowchanged");
  606. ipt_deprtmangraprvyn.value = 'N';
  607. ipt_psnworkapryn.value = 'N';
  608. fDisabledControl(false);
  609. fDisabledSubControl(true);
  610. misfSetReadOnlyCol(grd_dutschedeptcnfmlist, "psnworkapryn,deprtmangraprvyn,emplno,dutcd,dutdetlcd,srvarmfromdd,srvarmtodd,srvarmdayno,appresn", true)
  611. ]]>
  612. </script>
  613. </button>
  614. <button id="button4" class="btn2_letter4" visibility="visible" style="left:1128px; top:93px; width:64px; height:19px; ">
  615. <caption>신청삭제</caption>
  616. <script type="javascript" ev:event="DOMActivate">
  617. <![CDATA[
  618. var retMes = messageBox("저장 하시겠습니까?", "Q999");
  619. if ( retMes != 6) {
  620. return;
  621. }
  622. var sPsnworkapryn = grd_dutschedeptcnfmlist.valueMatrix(grd_dutschedeptcnfmlist.row, grd_dutschedeptcnfmlist.colRef("psnworkapryn"));
  623. if(sPsnworkapryn == 'Y'){
  624. messageBox("수련부에서 승인하여 삭제 할 수 ","I004");
  625. return;
  626. }
  627. else
  628. {
  629. misfGridIUD(grd_dutschedeptcnfmlist, "D");
  630. misfSave("TXRTS02301");
  631. }
  632. btn_search.dispatch("DOMActivate");
  633. ]]>
  634. </script>
  635. </button>
  636. <button id="button5" class="btn2_letter4" visibility="visible" style="left:1063px; top:93px; width:64px; height:19px; ">
  637. <caption>신청수정</caption>
  638. <script type="javascript" ev:event="DOMActivate">
  639. <![CDATA[
  640. var updtdata = getGridUpdateData(grd_dutschedeptcnfmlist);
  641. if ( updtdata != "")
  642. {
  643. var ret = messageBox("그리드에 작업 중인 내용이 있습니다. 작업을","Q003");
  644. if (ret == 7) { // not OK
  645. return;
  646. }
  647. }
  648. if(grd_dutschedeptcnfmlist.rows - grd_dutschedeptcnfmlist.fixedRows == 0)
  649. {
  650. return;
  651. }
  652. var sPsnworkapryn = grd_dutschedeptcnfmlist.valueMatrix(grd_dutschedeptcnfmlist.row, grd_dutschedeptcnfmlist.colRef("psnworkapryn"));
  653. if(sPsnworkapryn == 'Y'){
  654. messageBox("수련부에서 승인하여 삭제 할 수 ","I004");
  655. return;
  656. }
  657. cmb_dutcd.disabled = true;
  658. cmb_dutdetlcd.disabled = true;
  659. if(cmb_dutcd.value == "05"){
  660. ipt_srvarmfromdd.disabled = false;
  661. ipt_srvarmtodd.disabled = false;
  662. ipt_srvarmdayno.disabled = false;
  663. ipt_appresn.disabled = false;
  664. cmb_academy_tp.disabled = false;
  665. ipt_academyfromdd.disabled = false;
  666. ipt_academytodd.disabled = false;
  667. ipt_academydayno.disabled = false;
  668. ipt_paper_nm.disabled = false;
  669. ipt_subject.disabled = false;
  670. cmb_pbl_yn.disabled = false;
  671. cmb_nation_cd.disabled = false;
  672. ipt_organ.disabled = false;
  673. ipt_s_money.disabled = false;
  674. cmb_s_money_unit.disabled = false;
  675. ipt_r_money.disabled = false;
  676. cmb_r_money_unit.disabled = false;
  677. }else{
  678. ipt_srvarmfromdd.disabled = false;
  679. ipt_srvarmtodd.disabled = false;
  680. ipt_srvarmdayno.disabled = false;
  681. ipt_appresn.disabled = false;
  682. }
  683. model.copyNode("/root/main/reqsrvarlist/dutscheapplist","/root/main/srvarlist/dutscheapplist[" + (grd_dutschedeptcnfmlist.row - 1) + "]");
  684. fReqDutdetlCd(cmb_dutcd.value, false);
  685. cmb_dutdetlcd.dispatch("xforms-value-changed");
  686. model.refresh();
  687. ]]>
  688. </script>
  689. </button>
  690. <group id="group2" visibility="visible" style="left:5px; top:585px; width:1190px; height:159px; ">
  691. <shape id="roundrect1" appearance="roundrect" ellipsewidth="20" ellipseheight="20" style="left:0px; top:5px; width:1190px; height:145px; "/>
  692. <select1 id="cmb_dutcd" ref="/root/main/reqsrvarlist/dutscheapplist/dutcd" disabled="true" appearance="minimal" style="left:563px; top:8px; width:112px; height:19px; ">
  693. <choices>
  694. <itemset>
  695. <label/>
  696. <value/>
  697. </itemset>
  698. </choices>
  699. <script type="javascript" ev:event="xforms-select">
  700. <![CDATA[
  701. fReqDutdetlCd(cmb_dutcd.value);
  702. cmb_dutdetlcd.select(0);
  703. cmb_dutdetlcd.refresh();
  704. //필드갓 초기화
  705. fInitOfficeHoliday();
  706. if(cmb_dutcd.value == "05"){
  707. cmb_academy_tp.select(0);
  708. cmb_nation_cd.select(0);
  709. cmb_pbl_yn.select(0);
  710. fDisabledSubControl(false);
  711. }
  712. else {
  713. fDisabledSubControl(true);
  714. }
  715. ]]>
  716. </script>
  717. </select1>
  718. <caption id="cap_srvarmtodd" class="cell_1" style="left:233px; top:31px; width:91px; height:23px; vertical-align:middle; ">체류종료일</caption>
  719. <select1 id="cmb_dutdetlcd" ref="/root/main/reqsrvarlist/dutscheapplist/dutdetlcd" disabled="true" appearance="minimal" style="left:677px; top:8px; width:152px; height:19px; ">
  720. <choices>
  721. <itemset nodeset="/root/hidden/dutdetlcd">
  722. <label ref="cdnm"/>
  723. <value ref="cdid"/>
  724. </itemset>
  725. </choices>
  726. </select1>
  727. <caption id="cap_appresn" class="cell_1" style="left:2px; top:122px; width:91px; height:23px; vertical-align:middle; ">장소및신청사유</caption>
  728. <caption id="cap_srvarmfromdd" class="cell_1" style="left:2px; top:31px; width:91px; height:23px; vertical-align:middle; ">체류시작일</caption>
  729. <input id="ipt_srvarmfromdd" ref="/root/main/reqsrvarlist/dutscheapplist/srvarmfromdd" disabled="true" inputtype="date" style="left:95px; top:33px; width:135px; height:19px; ">
  730. <script type="javascript" ev:event="xforms-value-changed">
  731. <![CDATA[
  732. var sFromDD = ipt_srvarmfromdd.value;
  733. var sToDD = ipt_srvarmtodd.value;
  734. if(sToDD.length != 8)
  735. {
  736. ipt_srvarmtodd.value = sFromDD;
  737. }
  738. var dayno = getDateInterval(ipt_srvarmfromdd.value, ipt_srvarmtodd.value);
  739. ipt_srvarmdayno.value = dayno + 1;
  740. ]]>
  741. </script>
  742. </input>
  743. <input id="ipt_srvarmtodd" ref="/root/main/reqsrvarlist/dutscheapplist/srvarmtodd" disabled="true" inputtype="date" style="left:326px; top:33px; width:135px; height:19px; ">
  744. <script type="javascript" ev:event="xforms-value-changed">
  745. <![CDATA[
  746. var sFromDD = ipt_srvarmfromdd.value;
  747. var sToDD = ipt_srvarmtodd.value;
  748. if(sFromDD.length != 8)
  749. {
  750. ipt_srvarmfromdd.value = sToDD;
  751. }
  752. var dayno = getDateInterval(ipt_srvarmfromdd.value, ipt_srvarmtodd.value);
  753. ipt_srvarmdayno.value = dayno + 1;
  754. ]]>
  755. </script>
  756. </input>
  757. <line id="line2" class="line_2" style="x1:0px; y1:30px; x2:466px; y2:30px; "/>
  758. <line id="line4" class="line_2" style="x1:0px; y1:54px; x2:466px; y2:54px; "/>
  759. <input id="ipt_appresn" ref="/root/main/reqsrvarlist/dutscheapplist/appresn" disabled="true" maxlength="255" style="left:95px; top:125px; width:1071px; height:19px; "/>
  760. <caption id="cap_dutcd" class="cell_1" style="left:470px; top:7px; width:91px; height:23px; vertical-align:middle; ">근태구분</caption>
  761. <line id="line5" class="line_2" style="x1:0px; y1:123px; x2:466px; y2:123px; "/>
  762. <input id="ipt_srvarmdayno" ref="/root/main/reqsrvarlist/dutscheapplist/srvarmdayno" disabled="true" visibility="visible" style="left:563px; top:33px; width:267px; height:19px; "/>
  763. <caption id="cap_srvarmdayno" class="cell_1" visibility="visible" style="left:470px; top:31px; width:91px; height:23px; vertical-align:middle; ">휴가일수</caption>
  764. <line id="line7" class="line_2" style="x1:0px; y1:78px; x2:465px; y2:77px; "/>
  765. <input id="ipt_s_money" ref="/root/main/reqsrvarlist/dutscheapplist/s_money" disabled="true" style="left:95px; top:103px; width:135px; height:19px; "/>
  766. <input id="ipt_r_money" ref="/root/main/reqsrvarlist/dutscheapplist/r_money" disabled="true" style="left:563px; top:101px; width:135px; height:19px; "/>
  767. <line id="line11" class="line_2" style="x1:470px; y1:54px; x2:1190px; y2:54px; "/>
  768. <line id="line13" class="line_2" style="x1:470px; y1:78px; x2:1190px; y2:78px; "/>
  769. <input id="ipt_paper_nm" ref="/root/main/reqsrvarlist/dutscheapplist/paper_nm" disabled="true" maxlength="255" style="left:928px; top:33px; width:240px; height:19px; "/>
  770. <caption id="cap_s_money" class="cell_1" style="left:2px; top:99px; width:91px; height:23px; vertical-align:middle; ">체제비</caption>
  771. <caption id="cap_r_money_unit" class="cell_1" style="left:701px; top:100px; width:91px; height:23px; vertical-align:middle; ">화페단위</caption>
  772. <input id="ipt_subject" ref="/root/main/reqsrvarlist/dutscheapplist/subject" disabled="true" maxlength="255" style="left:563px; top:78px; width:267px; height:19px; "/>
  773. <caption id="cap_pbl_yn" class="cell_1" style="left:835px; top:55px; width:91px; height:23px; vertical-align:middle; ">발표여부</caption>
  774. <input id="ipt_organ" ref="/root/main/reqsrvarlist/dutscheapplist/organ" disabled="true" maxlength="50" style="left:928px; top:80px; width:239px; height:19px; "/>
  775. <caption id="cap_nation_cd" class="cell_1" style="left:2px; top:79px; width:91px; height:23px; vertical-align:middle; ">국가</caption>
  776. <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; ">
  777. <choices>
  778. <item>
  779. <label>Y</label>
  780. <value>Y</value>
  781. </item>
  782. <item>
  783. <label>N</label>
  784. <value>N</value>
  785. </item>
  786. </choices>
  787. </select1>
  788. <caption id="cap_subject" class="cell_1" style="left:470px; top:79px; width:91px; height:23px; vertical-align:middle; ">학회명</caption>
  789. <select1 id="cmb_academy_tp" ref="/root/main/reqsrvarlist/dutscheapplist/academy_tp" disabled="true" appearance="minimal" style="left:929px; top:9px; width:240px; height:19px; ">
  790. <choices>
  791. <item>
  792. <label>학회참석</label>
  793. <value>00001</value>
  794. </item>
  795. <item>
  796. <label>좌장</label>
  797. <value>00002</value>
  798. </item>
  799. <item>
  800. <label>구연</label>
  801. <value>00003</value>
  802. </item>
  803. <item>
  804. <label>포스터 First Name</label>
  805. <value>00004</value>
  806. </item>
  807. <item>
  808. <label>포스터 Second Name</label>
  809. <value>00005</value>
  810. </item>
  811. </choices>
  812. </select1>
  813. <caption id="cap_paper_nm" class="cell_1" style="left:835px; top:31px; width:91px; height:23px; vertical-align:middle; ">발표시연제명</caption>
  814. <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; ">
  815. <choices>
  816. <itemset>
  817. <label/>
  818. <value/>
  819. </itemset>
  820. </choices>
  821. </select1>
  822. <caption id="cap_organ" class="cell_1" style="left:835px; top:79px; width:91px; height:23px; vertical-align:middle; ">학회주체기관</caption>
  823. <caption id="cap_academy_tp" class="cell_1" style="left:835px; top:7px; width:91px; height:23px; vertical-align:middle; ">참가형태</caption>
  824. <line id="line14" class="line_2" style="x1:469px; y1:121px; x2:1189px; y2:121px; "/>
  825. <line id="line15" class="line_2" style="x1:470px; y1:30px; x2:1190px; y2:30px; "/>
  826. <input id="ipt_seqno" ref="/root/main/reqsrvarlist/dutscheapplist/seqno" visibility="hidden" style="left:1061px; top:101px; width:30px; height:19px; "/>
  827. <input id="ipt_academytodd" ref="/root/main/reqsrvarlist/dutscheapplist/academytodd" disabled="true" inputtype="date" style="left:326px; top:56px; width:135px; height:19px; ">
  828. <script type="javascript" ev:event="xforms-value-changed">
  829. <![CDATA[
  830. var sFromDD = ipt_academyfromdd.value;
  831. var sToDD = ipt_academytodd.value;
  832. if(sFromDD.length != 8)
  833. {
  834. ipt_academyfromdd.value = sToDD;
  835. }
  836. var dayno1 = 0;
  837. var dayno2 = 0;
  838. dayno1 = getDateInterval(ipt_srvarmfromdd.value, ipt_srvarmtodd.value);
  839. dayno2 = getDateInterval(ipt_academyfromdd.value, ipt_academytodd.value);
  840. ipt_academydayno.value = dayno2 + 1;
  841. ipt_srvarmdayno.value = (dayno1 + 1) - (dayno2 + 1);
  842. ]]>
  843. </script>
  844. </input>
  845. <caption id="cap_academytodd" class="cell_1" style="left:233px; top:55px; width:91px; height:23px; vertical-align:middle; ">실학회종료일</caption>
  846. <caption id="cap_academyfromdd" class="cell_1" style="left:2px; top:55px; width:91px; height:23px; vertical-align:middle; ">실학회시작일</caption>
  847. <input id="ipt_academyfromdd" ref="/root/main/reqsrvarlist/dutscheapplist/academyfromdd" disabled="true" inputtype="date" style="left:95px; top:57px; width:135px; height:19px; ">
  848. <script type="javascript" ev:event="xforms-value-changed">
  849. <![CDATA[
  850. var sFromDD = ipt_academyfromdd.value;
  851. var sToDD = ipt_academytodd.value;
  852. if(sToDD.length != 8)
  853. {
  854. ipt_academytodd.value = sFromDD;
  855. }
  856. var dayno1 = 0;
  857. var dayno2 = 0;
  858. dayno1 = getDateInterval(ipt_srvarmfromdd.value, ipt_srvarmtodd.value);
  859. dayno2 = getDateInterval(ipt_academyfromdd.value, ipt_academytodd.value);
  860. ipt_academydayno.value = dayno2 + 1;
  861. ipt_srvarmdayno.value = (dayno1 + 1) - (dayno2 + 1);
  862. ]]>
  863. </script>
  864. </input>
  865. <line id="line6" class="line_2" style="x1:10px; y1:101px; x2:475px; y2:100px; "/>
  866. <line id="line8" class="line_2" style="x1:470px; y1:100px; x2:1190px; y2:100px; "/>
  867. <caption id="cap_r_money" class="cell_1" style="left:470px; top:102px; width:91px; height:23px; vertical-align:middle; ">등록비</caption>
  868. <line id="line9" class="line_2" style="x1:3px; y1:145px; x2:469px; y2:145px; "/>
  869. <line id="line10" class="line_2" style="x1:469px; y1:145px; x2:1189px; y2:145px; "/>
  870. <caption id="cap_s_money_unit" class="cell_1" style="left:233px; top:101px; width:91px; height:23px; vertical-align:middle; ">화페단위</caption>
  871. <input id="ipt_deprtmangraprvyn" ref="/root/main/reqsrvarlist/dutscheapplist/deprtmangraprvyn" visibility="hidden" style="left:1101px; top:101px; width:30px; height:19px; "/>
  872. <input id="ipt_psnworkapryn" ref="/root/main/reqsrvarlist/dutscheapplist/psnworkapryn" visibility="hidden" style="left:1136px; top:101px; width:30px; height:19px; "/>
  873. <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; ">
  874. <choices>
  875. <itemset>
  876. <label/>
  877. <value/>
  878. </itemset>
  879. </choices>
  880. </select1>
  881. <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; ">
  882. <choices>
  883. <itemset>
  884. <label/>
  885. <value/>
  886. </itemset>
  887. </choices>
  888. </select1>
  889. <input id="ipt_emplnm" ref="/root/main/reqsrvarlist/dutscheapplist/emplnm" class="input_search" disabled="true" navindex="3" style="left:199px; top:9px; width:147px; height:19px; ">
  890. <script type="javascript" ev:event="onkeypress">
  891. <![CDATA[
  892. if(event.keyCode == 13)
  893. {
  894. if(ipt_emplnm.value == ipt_emplnm.currentText) return;
  895. ipt_emplnm.value = ipt_emplnm.currentText;
  896. rpbfValidationCheck("EMPLNM", "emplno,emplnm");
  897. model.refresh();
  898. }
  899. ]]>
  900. </script>
  901. <script type="javascript" ev:event="xforms-value-changed">
  902. <![CDATA[
  903. rpbfValidationCheck("EMPLNM", "emplno,emplnm,dutunitcd,dutunitnm");
  904. model.refresh();
  905. ]]>
  906. </script>
  907. </input>
  908. <caption id="cap_emplno" class="cell_1" style="left:2px; top:7px; width:91px; height:23px; vertical-align:middle; ">사원번호</caption>
  909. <input id="ipt_emplno" ref="/root/main/reqsrvarlist/dutscheapplist/emplno" class="input_search" disabled="true" navindex="2" maxlength="10" style="left:95px; top:9px; width:80px; height:19px; text-align:left; ">
  910. <script type="javascript" ev:event="onkeypress">
  911. <![CDATA[
  912. if(event.keyCode == 13)
  913. {
  914. if(ipt_emplno.value == ipt_emplno.currentText) return;
  915. ipt_emplno.value = ipt_emplno.currentText;
  916. rpbfValidationCheck("EMPLNO", "emplno,emplnm");
  917. model.refresh();
  918. }
  919. ]]>
  920. </script>
  921. <script type="javascript" ev:event="xforms-value-changed">
  922. <![CDATA[
  923. rpbfValidationCheck("EMPLNO", "emplno,emplnm,dutunitcd,dutunitnm");
  924. model.refresh();
  925. ]]>
  926. </script>
  927. </input>
  928. <button id="btn_emplsearch" class="icon_search" disabled="true" style="left:179px; top:9px; width:16px; height:16px; ">
  929. <caption/>
  930. <script type="javascript" ev:event="DOMActivate">
  931. <![CDATA[
  932. rpbfOpenPopUpList("SPRTC00900", ipt_emplno, "emplno,emplnm", "cmb_instcd,ipt_dutdeptcd", "N");
  933. model.refresh();
  934. ]]>
  935. </script>
  936. </button>
  937. <caption id="cap_academydayno" class="cell_1" visibility="visible" style="left:470px; top:55px; width:91px; height:23px; vertical-align:middle; ">공가일수</caption>
  938. <input id="ipt_academydayno" ref="/root/main/reqsrvarlist/dutscheapplist/academydayno" disabled="true" visibility="visible" style="left:563px; top:57px; width:267px; height:19px; "/>
  939. </group>
  940. </group>
  941. <group id="group5" scroll="auto" style="left:0px; top:12px; width:1195px; height:27px; ">
  942. <button id="button3" class="btn4_letter2" style="left:1136px; top:3px; width:56px; height:22px; ">
  943. <caption>저장</caption>
  944. <script type="javascript" ev:event="DOMActivate">
  945. <![CDATA[
  946. misfSave("TXRTS02401");
  947. ]]>
  948. </script>
  949. </button>
  950. <line id="line75" class="line_6" style="x1:0; y1:25; x2:1195; y2:25; "/>
  951. <input id="opt_dutdeptnm" ref="/root/send/dutschedeptcnfm/dutunitnm" class="output_fix" disabled="true" navindex="2" visibility="hidden" style="left:715px; top:3px; width:20px; height:19px; "/>
  952. <input id="opt_dutdeptcd" ref="/root/send/dutschedeptcnfm/dutunitcd" class="output_fix" disabled="true" navindex="2" visibility="hidden" style="left:695px; top:3px; width:20px; height:19px; "/>
  953. </group>
  954. </xhtml:body>
  955. </xhtml:html>