SMRPA00600_학자금신청.xrw 69 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
  3. <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events">
  4. <xhtml:head>
  5. <xhtml:title>학자금신청</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <masterscholexp>
  11. <scholexplist>
  12. <emplno/>
  13. <chldrnresdnrgstnm/>
  14. <chldrnnm/>
  15. <stdyabrdyn/>
  16. <scholflagnm/>
  17. <schoolnm/>
  18. <schoolyy/>
  19. <lesnfixyearpd/>
  20. <sekjbngschoolyn/>
  21. <bngschoolstatnm/>
  22. <tmpabsnschooldd/>
  23. <rtnschooldd/>
  24. <scholflag/>
  25. <bngschoolstat/>
  26. <chldrnresdnrgst1/>
  27. <chldrnresdnrgst2/>
  28. <chldrnresdnrgst/>
  29. <payappmm/>
  30. </scholexplist>
  31. </masterscholexp>
  32. <detailscholexp>
  33. <scholexpdetaillist>
  34. <emplno/>
  35. <chldrnresdnrgst/>
  36. <scholexppayyymm/>
  37. <qurtyynm/>
  38. <qurtyy/>
  39. <scholflagnm/>
  40. <schoolnm/>
  41. <schoolyy/>
  42. <scholexppayamt/>
  43. <spclschoolyn/>
  44. <admischoolamt/>
  45. <scho/>
  46. <asctfeereliztpln/>
  47. <stdasctfee/>
  48. <cmt/>
  49. <psnworkapryn/>
  50. <payappyn/>
  51. <stdyabrdyn/>
  52. <sekjbngschoolyn/>
  53. <appdd/>
  54. <pnsworkaprvdd/>
  55. <scholflag/>
  56. <sbjnm/>
  57. <payadmischoolamt/>
  58. <payscho/>
  59. <payasctfeereliztpln/>
  60. <paystdasctfee/>
  61. <payamt/>
  62. </scholexpdetaillist>
  63. </detailscholexp>
  64. <item>
  65. <emplno/>
  66. <chldrnresdnrgst1/>
  67. <chldrnresdnrgst2/>
  68. <chldrnnm/>
  69. <stdyabrdyn/>
  70. <scholflagnm/>
  71. <schoolnm/>
  72. <schoolyy/>
  73. <lesnfixyearpd/>
  74. <sekjbngschoolyn/>
  75. <bngschoolstatnm/>
  76. <tmpabsnschooldd/>
  77. <rtnschooldd/>
  78. <scholflag/>
  79. <bngschoolstat/>
  80. <chldrnresdnrgstnm/>
  81. <chldrnresdnrgst/>
  82. <sbjnm/>
  83. </item>
  84. <detailitem>
  85. <emplno/>
  86. <chldrnresdnrgst/>
  87. <scholexppayyymm/>
  88. <qurtyy/>
  89. <schoolnm/>
  90. <schoolyy/>
  91. <scholexppayamt/>
  92. <spclschoolyn/>
  93. <admischoolamt/>
  94. <scho/>
  95. <asctfeereliztpln/>
  96. <stdasctfee/>
  97. <cmt/>
  98. <psnworkapryn/>
  99. <payappyn/>
  100. <stdyabrdyn/>
  101. <sekjbngschoolyn/>
  102. <appdd/>
  103. <pnsworkaprvdd/>
  104. <scholflag/>
  105. <payappmm/>
  106. <sbjnm/>
  107. <payadmischoolamt/>
  108. <payscho/>
  109. <payasctfeereliztpln/>
  110. <paystdasctfee/>
  111. <payamt/>
  112. <payappyy/>
  113. <paymm/>
  114. <oldscholflag/>
  115. <oldschoolyy/>
  116. </detailitem>
  117. <reqscholexplist>
  118. <instnm/>
  119. <deptnm/>
  120. <emplnm/>
  121. <rregno/>
  122. <emplno/>
  123. <chldrnnm/>
  124. <chldrnresdnrgst/>
  125. <scholexppayyymm/>
  126. <schoolyy/>
  127. <qurtyy/>
  128. <schoolnm/>
  129. <scholexppayamt/>
  130. <admischoolamt/>
  131. <scho/>
  132. <asctfeereliztpln/>
  133. <stdasctfe/>
  134. </reqscholexplist>
  135. </main>
  136. <temp>
  137. <payappyn/>
  138. </temp>
  139. <send>
  140. <masterscholexp>
  141. <emplno/>
  142. <chldrnresdnrgst/>
  143. <payappmm/>
  144. </masterscholexp>
  145. <search>
  146. <payappmm/>
  147. <chldrnresdnrgst1/>
  148. <chldrnresdnrgst2/>
  149. <chldrnnm/>
  150. <emplno/>
  151. <payappyy/>
  152. <paymm/>
  153. </search>
  154. <savelist>
  155. <scholexplist/>
  156. <scholexpdetaillist/>
  157. </savelist>
  158. <appcheck>
  159. <payappmm/>
  160. </appcheck>
  161. <report>
  162. <isntnm/>
  163. <newElement/>
  164. </report>
  165. </send>
  166. <init>
  167. <radio1>
  168. <label>재학</label>
  169. <value>0</value>
  170. <label>졸업</label>
  171. <value>1</value>
  172. </radio1>
  173. <radio2>
  174. <label>예</label>
  175. <value>Y</value>
  176. <label>아니오</label>
  177. <value>N</value>
  178. </radio2>
  179. <checkbox1>
  180. <label>해외유학</label>
  181. <value>Y</value>
  182. </checkbox1>
  183. <checkbox2>
  184. <label>성의교정재학여부</label>
  185. <value>Y</value>
  186. </checkbox2>
  187. <checkbox3>
  188. <label>특목학교여부</label>
  189. <value>Y</value>
  190. </checkbox3>
  191. <combo1>
  192. <label>1분기</label>
  193. <value>1</value>
  194. <label>2분기</label>
  195. <value>2</value>
  196. <label>3분기</label>
  197. <value>3</value>
  198. <label>4분기</label>
  199. <value>4</value>
  200. </combo1>
  201. <payappmmlist>
  202. <label>1월</label>
  203. <value>01</value>
  204. <label>2월</label>
  205. <value>02</value>
  206. <label>3월</label>
  207. <value>03</value>
  208. <label>4월</label>
  209. <value>04</value>
  210. <label>5월</label>
  211. <value>05</value>
  212. <label>6월</label>
  213. <value>06</value>
  214. <label>7월</label>
  215. <value>07</value>
  216. <label>8월</label>
  217. <value>08</value>
  218. <label>9월</label>
  219. <value>09</value>
  220. <label>10월</label>
  221. <value>10</value>
  222. <label>11월</label>
  223. <value>11</value>
  224. <label>12월</label>
  225. <value>12</value>
  226. </payappmmlist>
  227. <scholflaglist>
  228. <label>중학생(대구)</label>
  229. <value>11</value>
  230. <label>중학생(경북)</label>
  231. <value>12</value>
  232. <label>고등학교(대구)</label>
  233. <value>21</value>
  234. <label>고등학교(경북)</label>
  235. <value>22</value>
  236. <label>고등학교(서울)</label>
  237. <value>23</value>
  238. <label>고등학교(대구기타)</label>
  239. <value>24</value>
  240. </scholflaglist>
  241. </init>
  242. <empllist>
  243. <emplno/>
  244. <emplnm/>
  245. <dutteamnm/>
  246. <dutplceinstnm/>
  247. <jobrespnm/>
  248. <entcodd/>
  249. <prfshipnm/>
  250. </empllist>
  251. <target/>
  252. <msglist>
  253. <dupllist/>
  254. <message/>
  255. </msglist>
  256. </root>
  257. </instance>
  258. <script type="javascript" ev:event="xforms-ready">
  259. <![CDATA[
  260. fEnableInsertButton();
  261. fEnableInsertButton2();
  262. misfGridInit(grd_scholexplist);
  263. misfGridInit(grd_scholexpdetaillist);
  264. misfComboComCdList('P0167', cmb_payappyy);
  265. misfComboComCdList('P0167', cmb_payappyy_d);
  266. misfComboComCdList('R0165', cmb_lesnfixyearpd);
  267. misfComboComCdList('R0165', ipt_schoolyy);
  268. misfComboComCdList('R0165', ipt_schoolyy_d);
  269. var userid =getUserInfo("userid");
  270. var usernm=getUserInfo("usernm");
  271. var instcdnm = getUserInfo("dutplceinstnm");
  272. var dutunitnm =getUserInfo("dutunitnm");
  273. var dutplcenm =getUserInfo("dutplcenm");
  274. if(dutunitnm ==""){
  275. deptnm =dutplcenm;
  276. }else{
  277. deptnm=dutunitnm;
  278. }
  279. var jobrespnm = getUserInfo("jobrespnm");
  280. var prfshipnm = getUserInfo("prfshipnmnm");
  281. var curDate = getCurrentDate().toDate();
  282. var curyymm=curDate.getDateFormat('YYYYMM')
  283. model.setValue("/root/send/search/payappyy", curDate.getDateFormat('YYYY'));
  284. var mm=curyymm.substring(4,6);
  285. if(mm=='01' ||mm=='02'||mm=='03'){
  286. cmb_paymm.value='03';
  287. cmb_paymm_d.value='03';
  288. }else if(mm=='04' ||mm=='05'||mm=='06'){
  289. cmb_paymm.value='06';
  290. cmb_paymm_d.value='06';
  291. }else if(mm=='07' ||mm=='08'||mm=='09'){
  292. cmb_paymm.value='09';
  293. cmb_paymm_d.value='09';
  294. }else if(mm=='10' ||mm=='11'||mm=='12'){
  295. cmb_paymm.value='12';
  296. cmb_paymm_d.value='12';
  297. }
  298. ipt_payappmm.value=cmb_payappyy.value+cmb_paymm.value;
  299. model.setValue("/root/main/detailitem/payappyy", curDate.getDateFormat('YYYY'));
  300. ipt_payappmm_check.value=cmb_payappyy.value+cmb_paymm.value;
  301. model.setValue("/root/main/detailitem/scholexppayyymm", curDate.getDateFormat('yyyy-mm'));
  302. ipt_scholexppayyymm.value=cmb_payappyy_d.value+cmb_paymm_d.value;
  303. ipt_dutteamnm.value=deptnm;
  304. ipt_dutplceinstnm.value=instcdnm;
  305. ipt_jobrespnm.value=jobrespnm;
  306. ipt_prfshipnm.value=prfshipnm;
  307. if(instance1.selectNodes("/root/target/*").length > 0)
  308. {
  309. ipt_emplno.value=model.getValue("/root/target/emplno");
  310. ipt_emplno_s.value=model.getValue("/root/target/emplno");
  311. ipt_emplno_i.value=model.getValue("/root/target/emplno");
  312. ipt_emplno_d.value=model.getValue("/root/target/emplno");
  313. ipt_emplnm.value=model.getValue("/root/target/emplnm");
  314. }
  315. else {
  316. ipt_emplno.value=userid;
  317. ipt_emplno_s.value=userid;
  318. ipt_emplno_i.value=userid;
  319. ipt_emplno_d.value=userid;
  320. ipt_emplnm.value=usernm;
  321. }
  322. btn_save.disabled = !(checkAuth("X"));
  323. rpafMsterDetailSet(grd_scholexplist,null, "TRRPA00601" ,"Y");
  324. rpafMsterDetailSet(grd_scholexpdetaillist,grd_scholexplist, "TRRPA00602","Y" );
  325. misfGetUserAuth();
  326. if(DUTY_WELF_YN == "Y" || DUTY_PART_YN == "Y" || getUserInfo("dutplcecd") == "4020500000" ){
  327. btn_emplsearch.disabled = false;
  328. ipt_emplno.disabled = false;
  329. }
  330. btn_search.dispatch("DOMActivate");
  331. ]]>
  332. </script>
  333. <submission id="TRRPA00601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/search" resultref="/root/main/masterscholexp"/>
  334. <submission id="TRRPA00602" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/masterscholexp" resultref="/root/main/detailscholexp"/>
  335. <submission id="TXRPA00601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savelist" resultref="/root/temp"/>
  336. <submission id="TRRPA00603" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/appcheck" resultref="/root/temp"/>
  337. <submission id="TRRPA00604" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/search" resultref="/root/main/reqscholexplist"/>
  338. <submission id="TRRPA00605" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/detailitem" resultref="/root/msglist/dupllist"/>
  339. <instance id="instance2">
  340. <root/>
  341. </instance>
  342. </model>
  343. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  344. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  345. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  346. <script type="javascript" src="../../../mis/pubwelfmngtweb/js/RPS001.js"/>
  347. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  348. <script type="javascript" src="../../../mis/humtrafactmngtweb/js/RPB001.js"/>
  349. <script type="javascript">
  350. <![CDATA[
  351. // 화면 open시와 초기화 버튼 클릭시 화면 초기화 기능을 수행한다.
  352. function fInitialize() {
  353. fEnableInsertButton();
  354. fEnableInsertButton2();
  355. model.removeNodeset("/root/main/masterscholexp/scholexplist");
  356. model.removeNodeset("/root/main/detailscholexp/scholexpdetaillist");
  357. model.resetInstanceNode("/root/send");
  358. model.resetInstanceNode("/root/main/item");
  359. model.resetInstanceNode("/root/main/detailitem");
  360. fSetDate();
  361. model.refresh();
  362. }
  363. function fSetDate() {
  364. var curDate = getCurrentDate().toDate();
  365. var curyymm=curDate.getDateFormat('YYYYMM')
  366. model.setValue("/root/send/search/payappyy", curDate.getDateFormat('YYYY'));
  367. var mm=curyymm.substring(4,6);
  368. if(mm=='01' ||mm=='02'||mm=='03'){
  369. model.setValue("/root/send/search/paymm","03");
  370. cmb_paymm_d.value='03';
  371. }else if(mm=='04' ||mm=='05'||mm=='06'){
  372. model.setValue("/root/send/search/paymm","06");
  373. cmb_paymm_d.value='06';
  374. }else if(mm=='07' ||mm=='08'||mm=='09'){
  375. model.setValue("/root/send/search/paymm","09");
  376. cmb_paymm_d.value='09';
  377. }else if(mm=='10' ||mm=='11'||mm=='12'){
  378. model.setValue("/root/send/search/paymm","12");
  379. cmb_paymm_d.value='12';
  380. }
  381. ipt_payappmm.value=cmb_payappyy.value+cmb_paymm.value;
  382. model.setValue("/root/main/detailitem/payappyy", curDate.getDateFormat('YYYY'));
  383. ipt_payappmm_check.value=cmb_payappyy.value+cmb_paymm.value;
  384. model.setValue("/root/main/detailitem/scholexppayyymm", curDate.getDateFormat('yyyy-mm'));
  385. ipt_scholexppayyymm.value=cmb_payappyy_d.value+cmb_paymm_d.value;
  386. model.refresh();
  387. }
  388. function fEnableInsertButton() {
  389. btn_insert.disabled = false;
  390. btn_update.disabled = true;
  391. ipt_chldrnresdnrgst1_i.disabled = false;
  392. ipt_chldrnresdnrgst2_i.disabled = false;
  393. }
  394. function fEnableInsertButton2() {
  395. btn_insert2.disabled = false;
  396. btn_update2.disabled = true;
  397. ipt_scholexppayyymm.disabled = false;
  398. cmb_payappyy_d.disabled = false;
  399. cmb_paymm_d.disabled = false;
  400. cmb_qurtyy.disabled = false;
  401. }
  402. function fEnableUpdateButton() {
  403. btn_insert.disabled = true;
  404. btn_update.disabled = false;
  405. ipt_chldrnresdnrgst1_i.disabled = true;
  406. ipt_chldrnresdnrgst2_i.disabled = true;
  407. }
  408. function fEnableUpdateButton2() {
  409. btn_insert2.disabled = true;
  410. btn_update2.disabled = false;
  411. ipt_scholexppayyymm.disabled = true;
  412. cmb_payappyy_d.disabled = true;
  413. cmb_paymm_d.disabled = true;
  414. cmb_qurtyy.disabled = true;
  415. }
  416. function fdoubleCheck(str){
  417. var chldrnres=ipt_chldrnresdnrgst1_i.value+ipt_chldrnresdnrgst2_i.value;
  418. var scholexppayyymm_i=ipt_scholexppayyymm.value;
  419. var qurtyy_i = cmb_qurtyy.value;
  420. var scholflagdetail_i= cmb_scholflagdetail.value;
  421. var schoolyy_i= ipt_schoolyy_d.value;
  422. var stdyabrdyn_i= chk_stdyabrdyn_d.value;
  423. if(str=="master"){
  424. for(var i=1;i<=grd_scholexplist.rows-1;i++){
  425. var chldrnresdnrgst=model.getValue(grd_scholexplist.attribute("nodeset")+"["+i+"]/chldrnresdnrgst");
  426. if(chldrnres ==chldrnresdnrgst){
  427. messageBox("이미 가입된 자녀","E008");
  428. return false;
  429. }
  430. }
  431. }else{
  432. for(var i=grd_scholexpdetaillist.fixedRows ;i<=grd_scholexpdetaillist.rows;i++){
  433. var scholexppayyymm=model.getValue(grd_scholexpdetaillist.attribute("nodeset")+"["+(i-1)+"]/scholexppayyymm");
  434. var chldrnresdnrgst=model.getValue(grd_scholexpdetaillist.attribute("nodeset")+"["+(i-1)+"]/chldrnresdnrgst");
  435. var qurtyy=model.getValue(grd_scholexpdetaillist.attribute("nodeset")+"["+(i-1)+"]/qurtyy");
  436. var schoolyy=model.getValue(grd_scholexpdetaillist.attribute("nodeset")+"["+(i-1)+"]/schoolyy");
  437. var scholflag=model.getValue(grd_scholexpdetaillist.attribute("nodeset")+"["+(i-1)+"]/scholflag");
  438. var schoolnm=model.getValue(grd_scholexpdetaillist.attribute("nodeset")+"["+(i-1)+"]/schoolnm");
  439. var stdyabrdyn=model.getValue(grd_scholexpdetaillist.attribute("nodeset")+"["+(i-1)+"]/stdyabrdyn");
  440. if(qurtyy==qurtyy_i && chldrnresdnrgst==chldrnres && scholflag==scholflagdetail_i && schoolyy==schoolyy_i && stdyabrdyn==stdyabrdyn_i){
  441. var schoolyy_d=ipt_schoolyy_d.value;
  442. var qurtyy_d=cmb_qurtyy.label;
  443. var scholflagnm_d=cmb_scholflagdetail.label;
  444. var ret = messageBox(scholflagnm_d+" "+schoolyy_d+"학년 "+qurtyy_d+" 신청이","E006");
  445. return false;
  446. }
  447. }
  448. }
  449. return true;
  450. }
  451. function fnullCheck(str){
  452. if(str=="master"){
  453. if(ipt_chldrnresdnrgst1_i.value=="" || ipt_chldrnresdnrgst2_i.value==""){
  454. messageBox("자녀주민번호는","I003");
  455. return false;
  456. }
  457. if(!isRequiredControls("ipt_emplno_i","ipt_chldrnnm_i","ipt_schoolyy",
  458. "cmb_scholflag","ipt_schoolnm","rdo_bngschoolstat"))return false;
  459. }else{
  460. if(!isRequiredControls("ipt_scholexppayyymm","cmb_scholflagdetail",
  461. "cmb_qurtyy","ipt_scholexppayamt"))return false;
  462. }
  463. return true;
  464. }
  465. function fChangeGridValue(cur_row) {
  466. var chldrnresdnrgstnm=ipt_chldrnresdnrgst1_i.value+"-"+ipt_chldrnresdnrgst2_i.value;
  467. var chldrnresdnrgst=ipt_chldrnresdnrgst1_i.value+ipt_chldrnresdnrgst2_i.value;
  468. model.setValue("/root/main/masterscholexp/scholexplist[" + cur_row + "]/chldrnresdnrgstnm",chldrnresdnrgstnm);
  469. model.setValue("/root/main/masterscholexp/scholexplist[" + cur_row + "]/chldrnresdnrgst",chldrnresdnrgst);
  470. model.setValue("/root/main/masterscholexp/scholexplist[" + cur_row + "]/scholflagnm",cmb_scholflag.label); //학력구분명
  471. model.setValue("/root/main/masterscholexp/scholexplist[" + cur_row + "]/bngschoolstatnm",rdo_bngschoolstat.label);
  472. ipt_schoolyy_d.value=ipt_schoolyy.value;
  473. cmb_scholflagdetail.value=cmb_scholflag.value;
  474. //chk_stdyabrdyn_d.value=chk_stdyabrdyn.value;
  475. //chk_sekjbngschoolyn_d.value=chk_sekjbngschoolyn.value;
  476. ipt_sbjnmdetail.value=ipt_sbjnm.value;
  477. }
  478. function fChangeGridValueDetail(cur_row) {
  479. var cur_m_row = grd_scholexplist.row; // 행 번호 가져오기
  480. var chldrnresdnrgst=grd_scholexplist.valueMatrix(cur_m_row, grd_scholexplist.colRef("chldrnresdnrgst"));
  481. var schoolnm=grd_scholexplist.valueMatrix(cur_m_row, grd_scholexplist.colRef("schoolnm"));
  482. var emplno=grd_scholexplist.valueMatrix(cur_m_row, grd_scholexplist.colRef("emplno"));
  483. grd_scholexpdetaillist.valueMatrix(cur_row,grd_scholexpdetaillist.colRef("chldrnresdnrgst"))=chldrnresdnrgst;
  484. grd_scholexpdetaillist.valueMatrix(cur_row,grd_scholexpdetaillist.colRef("emplno"))=emplno;
  485. grd_scholexpdetaillist.valueMatrix(cur_row,grd_scholexpdetaillist.colRef("schoolnm"))=schoolnm;
  486. grd_scholexpdetaillist.valueMatrix(cur_row,grd_scholexpdetaillist.colRef("scholexppayyymm"))= ipt_scholexppayyymm.value;
  487. grd_scholexpdetaillist.valueMatrix(cur_row,grd_scholexpdetaillist.colRef("scholflag"))=cmb_scholflagdetail.value;
  488. grd_scholexpdetaillist.valueMatrix(cur_row,grd_scholexpdetaillist.colRef("qurtyy"))=cmb_qurtyy.value;
  489. grd_scholexpdetaillist.valueMatrix(cur_row,grd_scholexpdetaillist.colRef("schoolyy"))=ipt_schoolyy_d.value;
  490. grd_scholexpdetaillist.valueMatrix(cur_row,grd_scholexpdetaillist.colRef("stdyabrdyn"))=chk_stdyabrdyn_d.value;
  491. grd_scholexpdetaillist.valueMatrix(cur_row,grd_scholexpdetaillist.colRef("sekjbngschoolyn"))=chk_sekjbngschoolyn_d.value;
  492. grd_scholexpdetaillist.valueMatrix(cur_row,grd_scholexpdetaillist.colRef("spclschoolyn"))=chk_spclschoolyn.value;
  493. grd_scholexpdetaillist.valueMatrix(cur_row,grd_scholexpdetaillist.colRef("admischoolamt"))=ipt_admischoolamt.value;
  494. grd_scholexpdetaillist.valueMatrix(cur_row,grd_scholexpdetaillist.colRef("scho"))=ipt_scho.value;
  495. grd_scholexpdetaillist.valueMatrix(cur_row,grd_scholexpdetaillist.colRef("asctfeereliztpln"))=ipt_asctfeereliztpln.value;
  496. grd_scholexpdetaillist.valueMatrix(cur_row,grd_scholexpdetaillist.colRef("sbjnm"))=ipt_sbjnmdetail.value;
  497. grd_scholexpdetaillist.valueMatrix(cur_row,grd_scholexpdetaillist.colRef("cmt"))=ipt_cmt.value;
  498. grd_scholexpdetaillist.valueMatrix(cur_row,grd_scholexpdetaillist.colRef("stdasctfee"))=ipt_stdasctfee.value;
  499. grd_scholexpdetaillist.valueMatrix(cur_row,grd_scholexpdetaillist.colRef("scholexppayamt"))=ipt_scholexppayamt.value;
  500. grd_scholexpdetaillist.valueMatrix(cur_row,grd_scholexpdetaillist.colRef("payappmm"))=ipt_scholexppayyymm.value;
  501. var payadmischoolamt=ipt_payadmischoolamt.value ;
  502. var payscho=ipt_payscho.value ;
  503. var payasctfeereliztpln=ipt_payasctfeereliztpln.value ;
  504. var paystdasctfee =ipt_paystdasctfee.value ;
  505. var payamt=ipt_payamt.value ;
  506. if(payadmischoolamt ==""){
  507. grd_scholexpdetaillist.valueMatrix(cur_row,grd_scholexpdetaillist.colRef("payadmischoolamt"))=0;
  508. }else{
  509. grd_scholexpdetaillist.valueMatrix(cur_row,grd_scholexpdetaillist.colRef("payadmischoolamt"))=payadmischoolamt;
  510. }
  511. if(payscho ==""){
  512. grd_scholexpdetaillist.valueMatrix(cur_row,grd_scholexpdetaillist.colRef("payscho"))=0;
  513. } else{
  514. grd_scholexpdetaillist.valueMatrix(cur_row,grd_scholexpdetaillist.colRef("payscho"))=payscho;
  515. }
  516. if(payasctfeereliztpln ==""){
  517. grd_scholexpdetaillist.valueMatrix(cur_row,grd_scholexpdetaillist.colRef("payasctfeereliztpln"))=0;
  518. }else{
  519. grd_scholexpdetaillist.valueMatrix(cur_row,grd_scholexpdetaillist.colRef("payasctfeereliztpln"))=payasctfeereliztpln;
  520. }
  521. if(paystdasctfee ==""){
  522. grd_scholexpdetaillist.valueMatrix(cur_row,grd_scholexpdetaillist.colRef("paystdasctfee"))='0';
  523. }else{
  524. grd_scholexpdetaillist.valueMatrix(cur_row,grd_scholexpdetaillist.colRef("paystdasctfee"))=paystdasctfee;
  525. }
  526. if(payamt ==""){
  527. grd_scholexpdetaillist.valueMatrix(cur_row,grd_scholexpdetaillist.colRef("payamt"))='0';
  528. }else{
  529. grd_scholexpdetaillist.valueMatrix(cur_row,grd_scholexpdetaillist.colRef("payamt"))=payamt;
  530. }
  531. if(rdo_psnworkapryn.value==""){
  532. grd_scholexpdetaillist.valueMatrix(cur_row,grd_scholexpdetaillist.colRef("psnworkapryn"))='N';
  533. }else{
  534. rdo_psnworkapryn.value= grd_scholexpdetaillist.valueMatrix(cur_row,grd_scholexpdetaillist.colRef("psnworkapryn"));
  535. }
  536. if(rdo_payappyn.value==""){
  537. grd_scholexpdetaillist.valueMatrix(cur_row,grd_scholexpdetaillist.colRef("payappyn"))='N';
  538. }else{
  539. rdo_payappyn.value= grd_scholexpdetaillist.valueMatrix(cur_row,grd_scholexpdetaillist.colRef("payappyn"));
  540. }
  541. // model.setValue("/root/main/detailscholexp/scholexpdetaillist[" + cur_row + "]/qurtyynm",cmb_qurtyy.label);
  542. }
  543. function ftotPayAmt(){
  544. var scho = 0;
  545. var admischoolamt=0;
  546. var asctfeereliztpln=0;
  547. var stdasctfee=0;
  548. var scholexppayamt=0;
  549. if(ipt_scho.value!=""){
  550. scho=parseInt(ipt_scho.value);
  551. }
  552. if(ipt_admischoolamt.value!=""){
  553. admischoolamt=parseInt(ipt_admischoolamt.value);
  554. }
  555. if(ipt_asctfeereliztpln.value!=""){
  556. asctfeereliztpln=parseInt(ipt_asctfeereliztpln.value);
  557. }
  558. if(ipt_stdasctfee.value!=""){
  559. stdasctfee=parseInt(ipt_stdasctfee.value);
  560. }
  561. //scholexppayamt=parseInt(scho)+parseInt(admischoolamt)+parseInt(asctfeereliztpln)+parseInt(stdasctfee);
  562. scholexppayamt=scho+admischoolamt+asctfeereliztpln+stdasctfee;
  563. ipt_scholexppayamt.value=scholexppayamt;
  564. }
  565. function fpayAmtDelValue(){
  566. totPayAmt=parseInt(ipt_scho.value)+parseInt(ipt_admischoolamt.value)+parseInt(ipt_asctfeereliztpln.value)+parseInt(ipt_stdasctfee.value);
  567. if(ftotPayAmt != ipt_scholexppayamt.value){
  568. ipt_scho.value="";
  569. ipt_admischoolamt.value="";
  570. ipt_asctfeereliztpln.value="";
  571. ipt_stdasctfee.value="";
  572. }
  573. }
  574. function fmasterSelect(cur_row){
  575. if(grd_scholexplist.row ==-1){
  576. alert("학자금대상 자녀를 먼저 입력하세요.");
  577. return false;
  578. }
  579. return true;
  580. }
  581. function fPrint() {
  582. exeReportPreview("RPRPA00600", "XMLSTR", "");
  583. }
  584. ]]>
  585. </script>
  586. </xhtml:head>
  587. <xhtml:body style="margin-left:8; margin-right:8; ">
  588. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  589. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">학자금신청</caption>
  590. </group>
  591. <group id="group2" scroll="auto" style="left:0px; top:38px; width:1195px; height:744px; ">
  592. <line id="line6" class="line_3" style="x1:0px; y1:733px; x2:1195px; y2:733px; "/>
  593. <line id="line1" class="line_2" style="x1:0px; y1:709px; x2:1195px; y2:709px; "/>
  594. <line id="line9" class="line_2" style="x1:0px; y1:685px; x2:1195px; y2:685px; "/>
  595. <line id="line10" class="line_3" style="x1:0px; y1:95px; x2:1195px; y2:95px; "/>
  596. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:10px; width:1195px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  597. <line id="line13" class="line_4" style="x1:1109px; y1:16px; x2:1109px; y2:38px; "/>
  598. <line id="line204" class="line_2" style="x1:0px; y1:322px; x2:1195px; y2:322px; "/>
  599. <caption id="caption283" class="tit_2" style="left:5px; top:280px; width:118px; height:13px; ">등록 및 수정사항</caption>
  600. <line id="line203" class="line_1" style="x1:0px; y1:295px; x2:1195px; y2:295px; "/>
  601. <line id="line2" class="line_3" style="x1:0px; y1:346px; x2:1195px; y2:346px; "/>
  602. <button id="btn_excelsave" class="btn2_letter4" style="left:1130px; top:100px; width:64px; height:19px; ">
  603. <caption>엑셀저장</caption>
  604. <script type="javascript" ev:event="DOMActivate">
  605. <![CDATA[
  606. var fileName = window.fileDialog("save", ",", false, "excel", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  607. if (fileName != "") {
  608. grd_scholexplist.saveExcel(fileName, "SheetName", true, true, "", "");
  609. }
  610. ]]>
  611. </script>
  612. </button>
  613. <caption id="caption16" class="search_name" style="left:260px; top:19px; width:86px; height:17px; ">사원번호 :</caption>
  614. <caption id="caption2" class="search_name" style="left:560px; top:19px; width:123px; height:17px; ">자녀주민번호 :</caption>
  615. <input id="ipt_chldrnresdnrgst1" ref="/root/send/search/chldrnresdnrgst1" class="input_default" maxlength="6" style="left:675px; top:18px; width:80px; height:19px; ">
  616. <script type="javascript" ev:event="onkeypress">
  617. <![CDATA[
  618. inputEnterKey("btn_search", "DOMActivate");
  619. ]]>
  620. </script>
  621. </input>
  622. <input id="ipt_chldrnresdnrgst2" ref="/root/send/search/chldrnresdnrgst2" class="input_default" maxlength="7" style="left:778px; top:18px; width:80px; height:19px; ">
  623. <script type="javascript" ev:event="onkeypress">
  624. <![CDATA[
  625. inputEnterKey("btn_search", "DOMActivate");
  626. ]]>
  627. </script>
  628. </input>
  629. <caption id="caption309" style="left:756px; top:19px; width:16px; height:17px; font-weight:bold; text-align:center; vertical-align:bottom; ">~</caption>
  630. <caption id="caption3" class="search_name" style="left:869px; top:19px; width:83px; height:17px; ">자 녀 명 :</caption>
  631. <input id="ipt_chldrnnm" ref="/root/send/search/chldrnnm" class="input_default" maxlength="10" style="left:951px; top:18px; width:79px; height:19px; ">
  632. <script type="javascript" ev:event="onkeypress">
  633. <![CDATA[
  634. inputEnterKey("btn_search", "DOMActivate");
  635. ]]>
  636. </script>
  637. </input>
  638. <line id="line3" class="line_1" style="x1:0px; y1:68px; x2:1195px; y2:68px; "/>
  639. <caption id="caption14" class="tit_2" style="left:5px; top:106px; width:165px; height:13px; ">학자금지급대상 자녀</caption>
  640. <line id="line4" class="line_1" style="x1:0px; y1:121px; x2:1195px; y2:121px; "/>
  641. <datagrid id="grd_scholexplist" nodeset="/root/main/masterscholexp/scholexplist" caption="사원번호^자녀주민번호^자녀명^학력구분^학교명^학년^학과^수업년한^해외유학여부^성의교정재학여부^재학상태^휴학일자^복학일자^학력코드^주민번호1^주민번호2^주민등록번호^재학상태코드" colsep="^" colwidth="82, 120, 125, 66, 144, 71, 92, 77, 87, 110, 90, 104, 82, 100, 100, 100, 100, 100, 100" dataheight="25" ellipsis="true" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" rowsep="|" tooltip="true" style="left:0px; top:126px; width:1195px; height:144px; ">
  642. <col ref="emplno" visibility="hidden"/>
  643. <col ref="chldrnresdnrgstnm" style="text-align:center; "/>
  644. <col ref="chldrnnm" style="text-align:center; "/>
  645. <col ref="scholflagnm"/>
  646. <col ref="schoolnm"/>
  647. <col ref="schoolyy" style="text-align:center; "/>
  648. <col ref="sbjnm" style="text-align:center; "/>
  649. <col ref="lesnfixyearpd" style="text-align:center; "/>
  650. <col checkvalue="Y,N" ref="stdyabrdyn" type="checkbox"/>
  651. <col checkvalue="Y,N" ref="sekjbngschoolyn" type="checkbox"/>
  652. <col ref="bngschoolstatnm" style="text-align:center; "/>
  653. <col ref="tmpabsnschooldd" format="yyyy-mm-dd" style="text-align:center; "/>
  654. <col ref="rtnschooldd" format="yyyy-mm-dd" style="text-align:center; "/>
  655. <col ref="scholflag" visibility="hidden"/>
  656. <col ref="chldrnresdnrgst1" visibility="hidden"/>
  657. <col ref="chldrnresdnrgst2" visibility="hidden"/>
  658. <col ref="chldrnresdnrgst" visibility="hidden"/>
  659. <col ref="bngschoolstat" visibility="hidden"/>
  660. <col ref="payappmm" visibility="hidden"/>
  661. <script type="javascript" ev:event="onrowchanged">
  662. <![CDATA[
  663. model.resetInstanceNode("/root/main/detailitem");
  664. fEnableInsertButton2();
  665. var cur_row = grd_scholexplist.row;
  666. if ( cur_row > 0 ) {
  667. fEnableUpdateButton();
  668. var curDate = getCurrentDate().toDate();
  669. var curyymm=curDate.getDateFormat('YYYYMM')
  670. model.setValue("/root/send/search/payappyy", curDate.getDateFormat('YYYY'));
  671. var mm=curyymm.substring(4,6);
  672. if(mm=='01' ||mm=='02'||mm=='03'){
  673. cmb_paymm.value='03';
  674. cmb_paymm_d.value='03';
  675. }else if(mm=='04' ||mm=='05'||mm=='06'){
  676. cmb_paymm.value='06';
  677. cmb_paymm_d.value='06';
  678. }else if(mm=='07' ||mm=='08'||mm=='09'){
  679. cmb_paymm.value='09';
  680. cmb_paymm_d.value='09';
  681. }else if(mm=='10' ||mm=='11'||mm=='12'){
  682. cmb_paymm.value='12';
  683. cmb_paymm_d.value='12';
  684. }
  685. ipt_payappmm.value=cmb_payappyy.value+cmb_paymm.value;
  686. model.setValue("/root/main/detailitem/payappyy", curDate.getDateFormat('YYYY'));
  687. ipt_payappmm_check.value=cmb_payappyy.value+cmb_paymm.value;
  688. model.setValue("/root/main/detailitem/scholexppayyymm", curDate.getDateFormat('yyyy-mm'));
  689. ipt_scholexppayyymm.value=cmb_payappyy_d.value+cmb_paymm_d.value;
  690. model.copyNode("/root/main/item","/root/main/masterscholexp/scholexplist["+cur_row+"]");
  691. model.refresh();
  692. ipt_schoolyy_d.value=ipt_schoolyy.value;
  693. cmb_scholflagdetail.value=cmb_scholflag.value;
  694. //chk_stdyabrdyn_d.value=chk_stdyabrdyn.value;
  695. //chk_sekjbngschoolyn_d.value=chk_sekjbngschoolyn.value;
  696. ipt_sbjnmdetail.value=ipt_sbjnm.value;
  697. }
  698. misfMsterDetailRetrieve();
  699. ]]>
  700. </script>
  701. <script type="javascript" ev:event="xforms-value-changed">
  702. <![CDATA[
  703. if (grd_scholexplist.colAttribute(grd_scholexplist.col,"ref") == "stdyabrdyn" ) {
  704. var stdyabrdyn = grd_scholexplist.valueMatrix(grd_scholexplist.row, grd_scholexplist.colRef("stdyabrdyn"));
  705. model.setValue("/root/main/item/stdyabrdyn",stdyabrdyn);
  706. }
  707. if (grd_scholexplist.colAttribute(grd_scholexplist.col,"ref") == "sekjbngschoolyn" ) {
  708. var sekjbngschoolyn = grd_scholexplist.valueMatrix(grd_scholexplist.row, grd_scholexplist.colRef("sekjbngschoolyn"));
  709. model.setValue("/root/main/item/sekjbngschoolyn",sekjbngschoolyn);
  710. }
  711. ]]>
  712. </script>
  713. </datagrid>
  714. <caption id="caption23" class="tit_2" style="left:5px; top:357px; width:108px; height:13px; ">세부현황</caption>
  715. <caption id="caption26" class="tit_2" style="left:5px; top:643px; width:118px; height:13px; ">등록 및 수정사항</caption>
  716. <line id="line7" class="line_1" style="x1:0px; y1:372px; x2:1195px; y2:372px; "/>
  717. <line id="line8" class="line_1" style="x1:0px; y1:658px; x2:1195px; y2:658px; "/>
  718. <input id="ipt_jobrespnm" ref="/root/empllist/jobrespnm" class="input_default" disabled="true" style="left:550px; top:75px; width:147px; height:19px; "/>
  719. <input id="ipt_entcodd" ref="/root/empllist/entcodd" class="input_default" disabled="true" format="yyyy-mm-dd" style="left:783px; top:75px; width:148px; height:19px; "/>
  720. <input id="ipt_prfshipnm" ref="/root/empllist/prfshipnm" class="input_default" disabled="true" style="left:1017px; top:75px; width:177px; height:19px; "/>
  721. <caption id="caption10" class="cell_1" style="left:466px; top:73px; width:82px; height:23px; vertical-align:middle; ">직책</caption>
  722. <caption id="caption12" class="cell_1" style="left:699px; top:73px; width:82px; height:23px; vertical-align:middle; ">임용일</caption>
  723. <caption id="caption13" class="cell_1" style="left:933px; top:73px; width:82px; height:23px; vertical-align:middle; ">교/직구분</caption>
  724. <caption id="caption4" class="cell_1" style="left:0px; top:73px; width:82px; height:23px; vertical-align:middle; ">근무부서</caption>
  725. <caption id="caption5" class="cell_1" style="left:233px; top:73px; width:82px; height:23px; vertical-align:middle; ">근무기관</caption>
  726. <input id="ipt_dutteamnm" ref="/root/empllist/dutteamnm" class="input_default" disabled="true" style="left:84px; top:75; width:147px; height:19px; "/>
  727. <input id="ipt_dutplceinstnm" ref="/root/empllist/dutplceinstnm" class="input_default" disabled="true" style="left:317px; top:75px; width:147px; height:19px; "/>
  728. <button id="btn_excelsavedetail" class="btn2_letter4" style="left:1130px; top:351px; width:64px; height:19px; ">
  729. <caption>엑셀저장</caption>
  730. <script type="javascript" ev:event="DOMActivate">
  731. <![CDATA[
  732. var fileName = window.fileDialog("save", ",", false, "excel", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  733. if (fileName != "") {
  734. grd_scholexpdetaillist.saveExcel(fileName, "SheetName", true, true, "", "");
  735. }
  736. ]]>
  737. </script>
  738. </button>
  739. <input id="ipt_tmpabsnschooldd" ref="/root/main/item/tmpabsnschooldd" class="input_s_essential" inputtype="date" style="left:1100px; top:301px; width:85px; height:19px; "/>
  740. <caption id="caption20" class="cell_1" style="left:1015px; top:300px; width:82px; height:23px; vertical-align:middle; ">휴학일자</caption>
  741. <caption id="caption21" class="cell_1" style="left:1015px; top:324px; width:82px; height:23px; vertical-align:middle; ">복학일자</caption>
  742. <select1 id="rdo_bngschoolstat" ref="/root/main/item/bngschoolstat" class="radio_search" overflow="visible" appearance="full" cols="2" style="left:790px; top:325px; width:170px; height:16px; text-align:center; border-style:none; ">
  743. <choices>
  744. <itemset nodeset="/root/init/radio1">
  745. <label ref="label"/>
  746. <value ref="value"/>
  747. </itemset>
  748. </choices>
  749. </select1>
  750. <input id="ipt_chldrnresdnrgst1_i" ref="/root/main/item/chldrnresdnrgst1" class="input_essential" maxlength="6" style="left:84px; top:302px; width:80px; height:19px; "/>
  751. <caption id="caption15" style="left:167px; top:303px; width:16px; height:17px; font-weight:bold; ">~</caption>
  752. <input id="ipt_chldrnresdnrgst2_i" ref="/root/main/item/chldrnresdnrgst2" class="input_essential" maxlength="7" style="left:183px; top:302px; width:80px; height:19px; "/>
  753. <caption id="cap_chldrnnm_i" class="cell_1" style="left:270px; top:300px; width:82px; height:23px; vertical-align:middle; ">자녀명</caption>
  754. <input id="ipt_chldrnnm_i" ref="/root/main/item/chldrnnm" class="input_default" imemode="hangul" maxlength="10" style="left:356px; top:302px; width:180px; height:19px; "/>
  755. <select1 id="ipt_schoolyy" ref="/root/main/item/schoolyy" class="combo_default" appearance="minimal" style="left:631px; top:302px; width:66px; height:19px; ">
  756. <choices>
  757. <itemset>
  758. <label/>
  759. <value/>
  760. </itemset>
  761. </choices>
  762. </select1>
  763. <caption id="caption11" class="cell_1" style="left:705px; top:300px; width:82px; height:23px; vertical-align:middle; ">학과</caption>
  764. <input id="ipt_sbjnm" ref="/root/main/item/sbjnm" class="input_default" maxlength="30" style="left:790px; top:301px; width:215px; height:19px; "/>
  765. <caption id="cap_scholflag" class="cell_1" style="left:0px; top:324px; width:82px; height:23px; vertical-align:middle; ">학력구분</caption>
  766. <select1 id="cmb_scholflag" ref="/root/main/item/scholflag" class="combo_default" appearance="minimal" style="left:84px; top:326px; width:180px; height:19px; ">
  767. <choices>
  768. <itemset nodeset="/root/init/scholflaglist">
  769. <label ref="label"/>
  770. <value ref="value"/>
  771. </itemset>
  772. </choices>
  773. <script type="javascript" ev:event="xforms-value-changed">
  774. <![CDATA[
  775. var scholflag= cmb_scholflag.value;
  776. if(scholflag =='02' || scholflag =='03' ||scholflag =='04' ){
  777. cmb_lesnfixyearpd.value='3';
  778. }else if(scholflag =='05'){
  779. cmb_lesnfixyearpd.value='4';
  780. }
  781. ]]>
  782. </script>
  783. </select1>
  784. <caption id="cap_schoolnm" class="cell_1" style="left:270px; top:324px; width:82px; height:23px; vertical-align:middle; ">학교명</caption>
  785. <input id="ipt_schoolnm" ref="/root/main/item/schoolnm" class="input_default" maxlength="30" style="left:356px; top:326px; width:180px; height:19px; "/>
  786. <caption id="caption7" class="cell_1" style="left:545px; top:324px; width:82px; height:23px; vertical-align:middle; ">수업년한</caption>
  787. <select1 id="cmb_lesnfixyearpd" ref="/root/main/item/lesnfixyearpd" class="combo_default" appearance="minimal" style="left:631px; top:326px; width:66px; height:19px; ">
  788. <choices>
  789. <itemset>
  790. <label/>
  791. <value/>
  792. </itemset>
  793. </choices>
  794. </select1>
  795. <caption id="cap_schoolyy" class="cell_1" style="left:545px; top:300px; width:82px; height:23px; vertical-align:middle; ">학년</caption>
  796. <input id="ipt_rtnschooldd" ref="/root/main/item/rtnschooldd" class="input_s_essential" inputtype="date" style="left:1101px; top:325px; width:85px; height:19px; "/>
  797. <caption id="caption8" class="cell_1" style="left:0px; top:300px; width:82px; height:23px; vertical-align:middle; ">주민번호</caption>
  798. <caption id="cap_bngschoolstat" class="cell_1" style="left:705px; top:324px; width:82px; height:23px; vertical-align:middle; ">재학상태</caption>
  799. <caption id="cap_scholexppayamt" class="cell_1" style="left:266px; top:711px; width:82px; height:23px; vertical-align:middle; ">합계액</caption>
  800. <caption id="caption31" class="cell_1" style="left:0px; top:687px; width:82px; height:23px; vertical-align:middle; ">입학금</caption>
  801. <caption id="caption32" class="cell_1" style="left:719px; top:711px; width:82px; height:23px; vertical-align:middle; ">승인여부</caption>
  802. <caption id="caption22" class="cell_1" style="left:0px; top:711px; width:82px; height:23px; vertical-align:middle; ">학생회비</caption>
  803. <select id="chk_spclschoolyn" ref="/root/main/detailitem/spclschoolyn" overflow="visible" appearance="full" style="left:1090px; top:666px; width:97px; height:20px; border-style:none; ">
  804. <choices>
  805. <itemset nodeset="/root/init/checkbox3">
  806. <label ref="label"/>
  807. <value ref="value"/>
  808. </itemset>
  809. </choices>
  810. </select>
  811. <select1 id="cmb_qurtyy" ref="/root/main/detailitem/qurtyy" class="combo_default" appearance="minimal" style="left:609px; top:665px; width:108px; height:19px; ">
  812. <choices>
  813. <itemset nodeset="/root/init/combo1">
  814. <label ref="label"/>
  815. <value ref="value"/>
  816. </itemset>
  817. </choices>
  818. </select1>
  819. <caption id="cap_qurtyy" class="cell_1" style="left:525px; top:663px; width:82px; height:23px; vertical-align:middle; ">분기</caption>
  820. <select1 id="cmb_scholflagdetail" ref="/root/main/detailitem/scholflag" class="combo_default" appearance="minimal" style="left:350px; top:665px; width:173px; height:19px; ">
  821. <choices>
  822. <itemset nodeset="/root/init/scholflaglist">
  823. <label ref="label"/>
  824. <value ref="value"/>
  825. </itemset>
  826. </choices>
  827. </select1>
  828. <caption id="cap_scholflagdetail" class="cell_1" style="left:266px; top:663px; width:82px; height:23px; vertical-align:middle; ">학력구분</caption>
  829. <caption id="caption27" class="cell_1" style="left:525px; top:687px; width:82px; height:23px; vertical-align:middle; ">기성회비</caption>
  830. <input id="ipt_scholexppayamt" ref="/root/main/detailitem/scholexppayamt" class="input_default" disabled="true" maxlength="9" format="#,###" style="left:350px; top:713px; width:173px; height:19px; text-align:right; ">
  831. <script type="javascript" ev:event="DOMFocusOut">
  832. <![CDATA[
  833. fpayAmtDelValue();
  834. ]]>
  835. </script>
  836. </input>
  837. <caption id="caption28" class="cell_1" style="left:266px; top:687px; width:82px; height:23px; vertical-align:middle; ">수업료</caption>
  838. <input id="ipt_cmt" ref="/root/main/detailitem/cmt" class="input_default" maxlength="100" style="left:1030px; top:688px; width:150px; height:19px; "/>
  839. <caption id="cap_scholexppayyymm" class="cell_1" style="left:0px; top:663px; width:82px; height:23px; vertical-align:middle; ">지급요청년월</caption>
  840. <input id="ipt_stdyabrdyn" ref="/root/main/item/stdyabrdyn" class="input_essential" visibility="hidden" style="left:970px; top:270px; width:30px; height:19px; "/>
  841. <button id="btn_search" class="btn1_letter2" navindex="8" style="left:1124px; top:16px; width:56px; height:22px; text-align:left; ">
  842. <caption>조회</caption>
  843. <script type="javascript" ev:event="DOMActivate">
  844. <![CDATA[
  845. var emplno=ipt_emplno.value;
  846. if(emplno ==""){
  847. messageBox("사원번호는","I003");
  848. }
  849. misfMsterDetailRetrieve();
  850. model.refresh();
  851. ]]>
  852. </script>
  853. </button>
  854. <button id="btn_update" class="btn2_letter2" navindex="13" style="left:1096px; top:273px; width:42px; height:19px; ">
  855. <caption>수정</caption>
  856. <script type="javascript" ev:event="DOMActivate">
  857. <![CDATA[
  858. if (!fnullCheck('master')) return;
  859. var cur_row = grd_scholexplist.row; // 행 번호 가져오기
  860. if (cur_row > 0) {
  861. // 그리드에 추가
  862. model.copyNode("/root/main/masterscholexp/scholexplist["+cur_row+"]","/root/main/item");
  863. //messageBox(cmb_inst_i.label.elementName);
  864. //alert(cmb_inst_i.label);
  865. // 그리드의 레이블을 변경한다.
  866. fChangeGridValue(cur_row);
  867. //grd_educlist.cellStyle("background-image", cur_row, 1) = "../../../com/commonweb/images/icon_u.gif";
  868. grd_scholexplist.addStatus(cur_row,"update"); // 행을 업데이트 상태로 변경
  869. model.refresh();
  870. }
  871. ]]>
  872. </script>
  873. </button>
  874. <button id="btn_clear" class="btn2_letter3" navindex="14" style="left:1141px; top:273px; width:53px; height:19px; ">
  875. <caption>지우기</caption>
  876. <script type="javascript" ev:event="DOMActivate">
  877. <![CDATA[
  878. fEnableInsertButton();
  879. model.resetInstanceNode("/root/main/item");
  880. model.refresh();
  881. ipt_emplno_i.value=ipt_emplno_s.value;
  882. ]]>
  883. </script>
  884. </button>
  885. <button id="btn_insert" class="btn2_letter2" navindex="12" style="left:1051px; top:273px; width:42px; height:19px; ">
  886. <caption>추가</caption>
  887. <script type="javascript" ev:event="DOMActivate">
  888. <![CDATA[
  889. if (!fdoubleCheck("master")) return;
  890. if (!fnullCheck("master")) return;
  891. var updtdata = getGridUpdateData(grd_scholexplist);
  892. if (updtdata != "" ) {
  893. var cur_b_row = grd_scholexplist.row;
  894. chldrnnm=model.getValue(grd_scholexplist.attribute("nodeset")+"["+cur_b_row+"]/chldrnnm");
  895. if(grd_scholexpdetaillist.rows-1 ==0){
  896. messageBox(chldrnnm+"님의 세부현황을 ","C001");
  897. return;
  898. }
  899. var save_val=messageBox("변경된 자료가 존재 합니다. ", "Q002");
  900. if (save_val == "6") {
  901. btn_save.dispatch("DOMActivate");
  902. }
  903. }
  904. grd_scholexplist.addItem(); // 입력할 행 추가.
  905. var cur_row = grd_scholexplist.row; // 추가된 행 번호 가져오기
  906. // 그리드에 추가
  907. model.copyNode("/root/main/masterscholexp/scholexplist["+cur_row+"]","/root/main/item");
  908. fChangeGridValue(cur_row); // 그리드의 레이블을 변경한다.
  909. fEnableUpdateButton();
  910. model.refresh();
  911. ]]>
  912. </script>
  913. </button>
  914. <button id="btn_update2" class="btn2_letter2" navindex="13" style="left:1096px; top:637px; width:42px; height:19px; ">
  915. <caption>수정</caption>
  916. <script type="javascript" ev:event="DOMActivate">
  917. <![CDATA[
  918. if (!fnullCheck('detail')) return;
  919. var cur_row = grd_scholexpdetaillist.row; // 행 번호 가져오기
  920. check_apryn = grd_scholexpdetaillist.valueMatrix(cur_row,grd_scholexpdetaillist.colRef("psnworkapryn"));
  921. if(check_apryn=='Y'){
  922. messageBox("승인된 건은 수정","E001");
  923. return;
  924. }
  925. if (cur_row > 0) {
  926. // 그리드에 추가
  927. // model.copyNode("/root/main/detailscholexp/scholexpdetaillist["+cur_row+"]","/root/main/detailitem");
  928. // 그리드의 레이블을 변경한다.
  929. fChangeGridValueDetail(cur_row);
  930. //grd_educlist.cellStyle("background-image", cur_row, 1) = "../../../com/commonweb/images/icon_u.gif";
  931. grd_scholexpdetaillist.addStatus(cur_row,"update"); // 행을 업데이트 상태로 변경
  932. model.refresh();
  933. }
  934. ]]>
  935. </script>
  936. </button>
  937. <button id="btn_delete2" class="btn2_letter3" navindex="14" style="left:1141px; top:637px; width:53px; height:19px; ">
  938. <caption>지우기</caption>
  939. <script type="javascript" ev:event="onclick">
  940. <![CDATA[
  941. fEnableInsertButton2();
  942. ipt_pnsworkaprvdd.disabled=true;
  943. model.resetInstanceNode("/root/main/detailitem");
  944. model.refresh();
  945. ipt_emplno_d.value=ipt_emplno_s.value;
  946. ]]>
  947. </script>
  948. </button>
  949. <button id="btn_insert2" class="btn2_letter2" navindex="12" style="left:1051px; top:637px; width:42px; height:19px; ">
  950. <caption>추가</caption>
  951. <script type="javascript" ev:event="DOMActivate">
  952. <![CDATA[
  953. var cur_m_row = grd_scholexplist.row;
  954. if(!fmasterSelect(cur_m_row)) return;
  955. if (!fdoubleCheck('detail')) return;
  956. if (!fnullCheck('detail')) return;
  957. submit("TRRPA00603");
  958. var payappyn=model.getValue("/root/temp/payappyn");
  959. if(payappyn=='Y'){
  960. messageBox("마감된 월은 학자금 신청을 ","E001");
  961. return;
  962. }
  963. model.refresh();
  964. grd_scholexpdetaillist.addRow(); // 입력할 행 추가.
  965. var cur_row = grd_scholexpdetaillist.row; // 추가된 행 번호 가져오기
  966. // 그리드에 추가
  967. fChangeGridValueDetail(cur_row); // 그리드의 레이블을 변경한다.
  968. // fEnableUpdateButton2();
  969. //model.refresh();
  970. ]]>
  971. </script>
  972. </button>
  973. <input id="ipt_emplnm" ref="/root/empllist/emplnm" class="input_essential" disabled="true" navindex="21" style="left:440px; top:18px; width:105px; height:19px; "/>
  974. <input id="ipt_emplno" ref="/root/empllist/emplno" class="input_essential" disabled="true" navindex="20" visibility="visible" maxlength="10" style="left:345px; top:18px; width:69px; height:19px; ">
  975. <script type="javascript" ev:event="xforms-value-changed">
  976. <![CDATA[
  977. /* 인사정보 Validation Check
  978. misfValidationCheck(Validation 종류(부서코드, 공통코드, 우편번호...), 공통코드군, 자료를 받을 Instance Node(콤마로 분류해서 넘기면됨)) */
  979. fInitialize();
  980. var recv_list = "emplno,emplnm,dutplceinstnm,dutteamnm,jobrespnm,entcodd,prfshipnm";
  981. rpbfValidationCheck("EMPLNO", recv_list);
  982. ipt_emplno_s.value=ipt_emplno.value;
  983. ipt_emplno_i.value=ipt_emplno.value;
  984. ipt_emplno_d.value=ipt_emplno.value;
  985. btn_search.dispatch("DOMActivate");
  986. ]]>
  987. </script>
  988. </input>
  989. <button id="btn_emplsearch" class="icon_search" disabled="true" style="left:420px; top:20px; width:16px; height:16px; ">
  990. <caption/>
  991. <script type="javascript" ev:event="DOMActivate">
  992. <![CDATA[
  993. /* 사원번호 Help 화면 Open
  994. misfOpenPopUpList(화면종류Code, OPEN하는 Control, 공통코드, 리턴받을 Instance명) */
  995. fInitialize();
  996. var recv_list = "emplno,emplnm,dutplceinstnm,dutteamnm,jobrespnm,entcodd,prfshipnm";
  997. rpbfOpenPopUpList("SPRPB00101", ipt_emplno, recv_list,"","N");
  998. ipt_emplno_s.value=ipt_emplno.value;
  999. ipt_emplno_i.value=ipt_emplno.value;
  1000. ipt_emplno_d.value=ipt_emplno.value;
  1001. btn_search.dispatch("DOMActivate");
  1002. ]]>
  1003. </script>
  1004. </button>
  1005. <caption id="caption33" class="cell_1" style="left:945px; top:686px; width:82px; height:23px; vertical-align:middle; ">비고</caption>
  1006. <caption id="caption34" class="cell_1" style="left:945px; top:711px; width:82px; height:23px; vertical-align:middle; ">승인일자</caption>
  1007. <caption id="caption35" class="cell_1" style="left:525px; top:711px; width:82px; height:23px; vertical-align:middle; ">급여반영여부</caption>
  1008. <select1 id="rdo_psnworkapryn" ref="/root/main/detailitem/psnworkapryn" class="radio_search" disabled="true" overflow="visible" appearance="full" cols="2" style="left:803px; top:714px; width:95px; height:16px; text-align:center; border-style:none; ">
  1009. <choices>
  1010. <itemset nodeset="/root/init/radio2">
  1011. <label ref="label"/>
  1012. <value ref="value"/>
  1013. </itemset>
  1014. </choices>
  1015. <script type="javascript" ev:event="xforms-select">
  1016. <![CDATA[
  1017. var rgstaprvVal=rdo_psnworkapryn.value;
  1018. if(rgstaprvVal=="Y"){
  1019. ipt_pnsworkaprvdd.disabled=false;
  1020. ipt_pnsworkaprvdd.value=mis_to_day();
  1021. }else{
  1022. ipt_pnsworkaprvdd.disabled=true;
  1023. ipt_pnsworkaprvdd.value="";
  1024. }
  1025. ]]>
  1026. </script>
  1027. </select1>
  1028. <input id="ipt_pnsworkaprvdd" ref="/root/main/detailitem/pnsworkaprvdd" class="input_default" disabled="true" inputtype="date" style="left:1029px; top:713px; width:151px; height:19px; "/>
  1029. <select1 id="rdo_payappyn" ref="/root/main/detailitem/payappyn" class="radio_search" disabled="true" overflow="visible" appearance="full" cols="2" style="left:609px; top:714px; width:93px; height:16px; text-align:center; border-style:none; ">
  1030. <choices>
  1031. <itemset nodeset="/root/init/radio2">
  1032. <label ref="label"/>
  1033. <value ref="value"/>
  1034. </itemset>
  1035. </choices>
  1036. </select1>
  1037. <input id="ipt_emplno_i" ref="/root/main/item/emplno" class="input_essential" visibility="hidden" style="left:713px; top:269px; width:100px; height:19px; "/>
  1038. <input id="ipt_emplno_d" ref="/root/main/detailitem/emplno" class="input_essential" visibility="hidden" style="left:460px; top:638px; width:30px; height:19px; "/>
  1039. <input id="ipt_chldrnresdnrgst_d" ref="/root/main/detailitem/chldrnresdnrgst" class="input_essential" visibility="hidden" style="left:370px; top:638px; width:30px; height:19px; "/>
  1040. <select id="chk_stdyabrdyn_d" ref="/root/main/detailitem/stdyabrdyn" overflow="visible" appearance="full" cellspacing="15" cols="2" style="left:890px; top:666px; width:72px; height:20px; border-style:none; ">
  1041. <choices>
  1042. <itemset nodeset="/root/init/checkbox1">
  1043. <label ref="label"/>
  1044. <value ref="value"/>
  1045. </itemset>
  1046. </choices>
  1047. </select>
  1048. <select id="chk_sekjbngschoolyn_d" ref="/root/main/detailitem/sekjbngschoolyn" overflow="visible" appearance="full" cellspacing="15" cols="2" style="left:963px; top:666px; width:107px; height:20px; border-style:none; ">
  1049. <choices>
  1050. <itemset nodeset="/root/init/checkbox2">
  1051. <label ref="label"/>
  1052. <value ref="value"/>
  1053. </itemset>
  1054. </choices>
  1055. </select>
  1056. <input id="ipt_schoolnm_d" ref="/root/main/detailitem/schoolnm" class="input_essential" visibility="hidden" style="left:410px; top:638px; width:30px; height:19px; "/>
  1057. <input id="ipt_appdd" ref="/root/main/detailitem/appdd" class="input_essential" visibility="hidden" style="left:495px; top:638px; width:30px; height:19px; "/>
  1058. <input id="ipt_scholexppayyymm" ref="/root/main/detailitem/scholexppayyymm" class="input_s_essential" visibility="hidden" inputtype="date" format="yyyy-mm" style="left:185px; top:635px; width:96px; height:19px; ">
  1059. <script type="javascript" ev:event="xforms-value-changed">
  1060. <![CDATA[
  1061. ipt_payappmm_check.value=ipt_scholexppayyymm.value;
  1062. var mm=ipt_scholexppayyymm.value.substring(4,6);
  1063. if(mm=='01' ||mm=='02'||mm=='03'){
  1064. cmb_qurtyy.value='1';
  1065. }else if(mm=='04' ||mm=='05'||mm=='06'){
  1066. cmb_qurtyy.value='2';
  1067. }else if(mm=='07' ||mm=='08'||mm=='09'){
  1068. cmb_qurtyy.value='3';
  1069. }else if(mm=='10' ||mm=='11'||mm=='12'){
  1070. cmb_qurtyy.value='4';
  1071. }
  1072. ]]>
  1073. </script>
  1074. </input>
  1075. <input id="ipt_admischoolamt" ref="/root/main/detailitem/admischoolamt" class="input_default" maxlength="8" format="#,###" style="left:84px; top:689px; width:180px; height:19px; text-align:right; ">
  1076. <script type="javascript" ev:event="xforms-value-changed">
  1077. <![CDATA[
  1078. ftotPayAmt();
  1079. ]]>
  1080. </script>
  1081. </input>
  1082. <input id="ipt_scho" ref="/root/main/detailitem/scho" class="input_default" maxlength="8" format="#,###" style="left:350px; top:689px; width:173px; height:19px; text-align:right; ">
  1083. <script type="javascript" ev:event="xforms-value-changed">
  1084. <![CDATA[
  1085. ftotPayAmt();
  1086. ]]>
  1087. </script>
  1088. </input>
  1089. <input id="ipt_asctfeereliztpln" ref="/root/main/detailitem/asctfeereliztpln" class="input_default" maxlength="8" format="#,###" style="left:609px; top:689px; width:108px; height:19px; text-align:right; ">
  1090. <script type="javascript" ev:event="xforms-value-changed">
  1091. <![CDATA[
  1092. ftotPayAmt();
  1093. ]]>
  1094. </script>
  1095. </input>
  1096. <input id="ipt_stdasctfee" ref="/root/main/detailitem/stdasctfee" class="input_default" maxlength="8" format="#,###" style="left:84px; top:713px; width:180px; height:19px; text-align:right; ">
  1097. <script type="javascript" ev:event="xforms-value-changed">
  1098. <![CDATA[
  1099. ftotPayAmt();
  1100. ]]>
  1101. </script>
  1102. </input>
  1103. <input id="ipt_emplno_s" ref="/root/send/search/emplno" class="input_default" navindex="20" visibility="hidden" style="left:1035px; top:18; width:69px; height:19px; "/>
  1104. <button id="btn_deletemast" class="btn2_letter3" style="left:1074px; top:351px; width:53px; height:19px; ">
  1105. <caption>행삭제</caption>
  1106. <script type="javascript" ev:event="DOMActivate">
  1107. <![CDATA[
  1108. var cur_row = grd_scholexpdetaillist.row; // 행 번호 가져오기
  1109. var check_apryn=grd_scholexpdetaillist.valueMatrix(cur_row,grd_scholexpdetaillist.colRef("psnworkapryn"));
  1110. if(check_apryn=='Y'){
  1111. messageBox("승인된 건은 삭제","E001");
  1112. return;
  1113. }
  1114. grd_scholexpdetaillist.addStatus(grd_scholexpdetaillist.row,"delete");
  1115. fEnableInsertButton2();
  1116. model.refresh();
  1117. //misfGridIUD(grd_scholexpdetaillist, "D");
  1118. ]]>
  1119. </script>
  1120. </button>
  1121. <button id="btn_deletedetail" class="btn2_letter3" style="left:1075px; top:100px; width:53px; height:19px; ">
  1122. <caption>행삭제</caption>
  1123. <script type="javascript" ev:event="DOMActivate">
  1124. <![CDATA[
  1125. misfGridIUD(grd_scholexplist, "D");
  1126. fEnableInsertButton();
  1127. ]]>
  1128. </script>
  1129. </button>
  1130. <input id="ipt_payappmm_check" ref="/root/send/appcheck/payappmm" class="input_essential" visibility="hidden" style="left:300px; top:635px; width:40px; height:19px; "/>
  1131. <caption id="caption1" class="cell_1" style="left:719px; top:663px; width:82px; height:23px; vertical-align:middle; ">학년</caption>
  1132. <select1 id="ipt_schoolyy_d" ref="/root/main/detailitem/schoolyy" class="combo_default" appearance="minimal" style="left:803px; top:665px; width:82px; height:19px; ">
  1133. <choices>
  1134. <itemset>
  1135. <label/>
  1136. <value/>
  1137. </itemset>
  1138. </choices>
  1139. </select1>
  1140. <caption id="cap_emplno_i" visibility="hidden" style="left:655px; top:269px; width:82px; height:23px; vertical-align:middle; ">사원번호 :</caption>
  1141. <input id="input1" ref="/root/main/detailitem/payappmm" class="input_essential" visibility="hidden" style="left:540px; top:640px; width:30px; height:19px; "/>
  1142. <caption id="caption9" class="search_name" style="left:25px; top:20px; width:86px; height:17px; ">지급년월 :</caption>
  1143. <input id="ipt_payappmm" ref="/root/send/search/payappmm" class="input_s_essential" visibility="hidden" inputtype="date" format="yyyy-mm" style="left:100px; top:40px; width:85px; height:19px; "/>
  1144. <datagrid id="grd_reqscholexplist" nodeset="/root/main/reqscholexplist" visibility="hidden" caption="기관명^부서^성명^주민등록번호^사원번호^자녀명^자녀주민번호^지급년월^학년^분기^학교명^금액^입학금^수업료^기성회비^학생회비" colsep="^" colwidth="100, 38, 100, 100, 100, 100, 100, 62, 45, 45, 52, 80, 35, 29, 81, 86" dataheight="25" ellipsis="true" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" tooltip="true" style="left:485px; top:495px; width:600px; height:95px; ">
  1145. <col ref="instnm"/>
  1146. <col ref="deptnm"/>
  1147. <col ref="emplnm"/>
  1148. <col ref="rregno"/>
  1149. <col ref="emplno"/>
  1150. <col ref="chldrnnm"/>
  1151. <col ref="chldrnresdnrgst"/>
  1152. <col ref="scholexppayyymm" format="yyyy-mm" style="text-align:center; "/>
  1153. <col ref="schoolyy" style="text-align:center; "/>
  1154. <col ref="qurtyy" style="text-align:center; "/>
  1155. <col ref="schoolnm"/>
  1156. <col ref="scholexppayamt" format="#,###" style="text-align:right; "/>
  1157. <col ref="admischoolamt" format="#,###" style="text-align:right; "/>
  1158. <col ref="scho" format="#,###" style="text-align:right; "/>
  1159. <col ref="asctfeereliztpln" format="#,###" style="text-align:right; "/>
  1160. <col ref="stdasctfe" format="#,###" style="text-align:right; "/>
  1161. </datagrid>
  1162. <caption id="caption17" class="cell_1" style="left:720px; top:687px; width:82px; height:23px; vertical-align:middle; ">학과</caption>
  1163. <input id="ipt_sbjnmdetail" ref="/root/main/detailitem/sbjnm" class="input_default" maxlength="30" style="left:805px; top:689px; width:135px; height:19px; "/>
  1164. <multilinegrid id="grd_scholexpdetaillist" nodeset="/root/main/detailscholexp/scholexpdetaillist" caption="사원번호^자녀주민번호^지급년월^학년^분기^학교명^입학금^수업료^기성회비^학생회비^합계금액^특목학교&#xA;여부^해외유학&#xA;여부^성의교정&#xA;여부^비고^승인&#xA;여부^지급&#xA;여부^신청일자^승인일자^학력구분^지급년월^학과명|사원번호^자녀주민번호^지급년월^학년^분기^학교명^급여지급금액^급여지급금액^급여지급금액^급여지급금액^급여지급금액^특목학교&#xA;여부^해외유학&#xA;여부^성의교정&#xA;여부^비고^승인&#xA;여부^지급&#xA;여부^신청일자^승인일자^학력구분^지급년월^학과명" colsep="^" colwidth="26, 96, 64, 37, 41, 148, 70, 69, 70, 75, 82, 54, 62, 70, 119, 49, 44, 29, 40, 46, 46, 100" rowheader="update" rowsep="|" mergecellsfixedrows="bycolrec" style="left:0px; top:377px; width:1194px; height:253px; ">
  1165. <row>
  1166. <col ref="emplno" rowspan="2" visibility="hidden"/>
  1167. <col ref="chldrnresdnrgst" rowspan="2" format="999999-9999999"/>
  1168. <col ref="scholexppayyymm" rowspan="2"/>
  1169. <col ref="schoolyy" rowspan="2" style="text-align:center; "/>
  1170. <col ref="qurtyy" rowspan="2" style="text-align:center; "/>
  1171. <col ref="schoolnm" rowspan="2"/>
  1172. <col ref="admischoolamt" format="#,###" style="text-align:right; "/>
  1173. <col ref="scho" format="#,###" style="text-align:right; "/>
  1174. <col ref="asctfeereliztpln" format="#,###" style="text-align:right; "/>
  1175. <col ref="stdasctfee" format="#,###" style="text-align:right; "/>
  1176. <col ref="scholexppayamt" format="#,###" style="text-align:right; "/>
  1177. <col checkvalue="Y,N" disabled="true" ref="spclschoolyn" rowspan="2" type="checkbox" style="text-align:center; "/>
  1178. <col checkvalue="Y,N" disabled="true" ref="stdyabrdyn" rowspan="2" type="checkbox" style="text-align:center; "/>
  1179. <col checkvalue="Y,N" disabled="true" ref="sekjbngschoolyn" rowspan="2" type="checkbox" style="text-align:center; "/>
  1180. <col ref="cmt" rowspan="2"/>
  1181. <col ref="psnworkapryn" rowspan="2" style="text-align:center; "/>
  1182. <col ref="payappyn" rowspan="2" style="text-align:center; "/>
  1183. <col ref="appdd" rowspan="2" visibility="hidden"/>
  1184. <col ref="pnsworkaprvdd" rowspan="2" visibility="hidden"/>
  1185. <col ref="scholflag" rowspan="2" visibility="hidden"/>
  1186. <col ref="payappmm" rowspan="2" visibility="hidden"/>
  1187. <col ref="sbjnm" rowspan="2" visibility="hidden"/>
  1188. <col ref="oldscholflag" rowspan="2" visibility="hidden"/>
  1189. <col ref="oldschoolyy" rowspan="2" visibility="hidden"/>
  1190. </row>
  1191. <row>
  1192. <col ref="payadmischoolamt" format="#,###" style="text-align:right; "/>
  1193. <col ref="payscho" format="#,###" style="text-align:right; "/>
  1194. <col ref="payasctfeereliztpln" format="#,###" style="text-align:right; "/>
  1195. <col ref="paystdasctfee" format="#,###" style="text-align:right; "/>
  1196. <col ref="payamt" format="#,###" style="text-align:right; "/>
  1197. </row>
  1198. <script type="javascript" ev:event="onclick">
  1199. <![CDATA[
  1200. var cur_row = grd_scholexpdetaillist.row;
  1201. // if ( cur_row > 0 ) {
  1202. fEnableUpdateButton2();
  1203. ipt_scholexppayyymm.value = grd_scholexpdetaillist.valueMatrix(cur_row,grd_scholexpdetaillist.colRef("scholexppayyymm"));
  1204. cmb_payappyy_d.value = grd_scholexpdetaillist.valueMatrix(cur_row,grd_scholexpdetaillist.colRef("scholexppayyymm")).substr(0,4);
  1205. cmb_paymm_d.value = grd_scholexpdetaillist.valueMatrix(cur_row,grd_scholexpdetaillist.colRef("scholexppayyymm")).substr(4,6);
  1206. cmb_scholflagdetail.value = grd_scholexpdetaillist.valueMatrix(cur_row,grd_scholexpdetaillist.colRef("scholflag"));
  1207. cmb_qurtyy.value = grd_scholexpdetaillist.valueMatrix(cur_row,grd_scholexpdetaillist.colRef("qurtyy"));
  1208. ipt_schoolyy_d.value = grd_scholexpdetaillist.valueMatrix(cur_row,grd_scholexpdetaillist.colRef("schoolyy"));
  1209. if(grd_scholexpdetaillist.valueMatrix(cur_row,grd_scholexpdetaillist.colRef("stdyabrdyn")) =='Y'){
  1210. chk_stdyabrdyn_d.value ='Y';
  1211. }else{
  1212. chk_stdyabrdyn_d.value ='';
  1213. }
  1214. if(grd_scholexpdetaillist.valueMatrix(cur_row,grd_scholexpdetaillist.colRef("sekjbngschoolyn")) =='Y'){
  1215. chk_sekjbngschoolyn_d.value ='Y';
  1216. }else{
  1217. chk_sekjbngschoolyn_d.value ='';
  1218. }
  1219. if(grd_scholexpdetaillist.valueMatrix(cur_row,grd_scholexpdetaillist.colRef("spclschoolyn")) =='Y'){
  1220. chk_spclschoolyn.value ='Y';
  1221. }else{
  1222. chk_spclschoolyn.value ='';
  1223. }
  1224. //chk_stdyabrdyn_d.value = grd_scholexpdetaillist.valueMatrix(cur_row,grd_scholexpdetaillist.colRef("stdyabrdyn"));
  1225. //chk_sekjbngschoolyn_d.value = grd_scholexpdetaillist.valueMatrix(cur_row,grd_scholexpdetaillist.colRef("sekjbngschoolyn"));
  1226. //chk_spclschoolyn.value = grd_scholexpdetaillist.valueMatrix(cur_row,grd_scholexpdetaillist.colRef("spclschoolyn"));
  1227. ipt_admischoolamt.value = grd_scholexpdetaillist.valueMatrix(cur_row,grd_scholexpdetaillist.colRef("admischoolamt"));
  1228. ipt_scho.value = grd_scholexpdetaillist.valueMatrix(cur_row,grd_scholexpdetaillist.colRef("scho"));
  1229. ipt_asctfeereliztpln.value = grd_scholexpdetaillist.valueMatrix(cur_row,grd_scholexpdetaillist.colRef("asctfeereliztpln"));
  1230. ipt_sbjnmdetail.value = grd_scholexpdetaillist.valueMatrix(cur_row,grd_scholexpdetaillist.colRef("sbjnm"));
  1231. ipt_cmt.value = grd_scholexpdetaillist.valueMatrix(cur_row,grd_scholexpdetaillist.colRef("cmt"));
  1232. ipt_stdasctfee.value = grd_scholexpdetaillist.valueMatrix(cur_row,grd_scholexpdetaillist.colRef("stdasctfee"));
  1233. ipt_scholexppayamt.value = grd_scholexpdetaillist.valueMatrix(cur_row,grd_scholexpdetaillist.colRef("scholexppayamt"));
  1234. ipt_scholexppayyymm.value = grd_scholexpdetaillist.valueMatrix(cur_row,grd_scholexpdetaillist.colRef("payappmm"));
  1235. ipt_payadmischoolamt.value = grd_scholexpdetaillist.valueMatrix(cur_row,grd_scholexpdetaillist.colRef("payadmischoolamt"));
  1236. ipt_payadmischoolamt.value = grd_scholexpdetaillist.valueMatrix(cur_row,grd_scholexpdetaillist.colRef("payadmischoolamt"));
  1237. ipt_payscho.value = grd_scholexpdetaillist.valueMatrix(cur_row,grd_scholexpdetaillist.colRef("payscho"));
  1238. ipt_payasctfeereliztpln.value = grd_scholexpdetaillist.valueMatrix(cur_row,grd_scholexpdetaillist.colRef("payasctfeereliztpln"));
  1239. ipt_paystdasctfee.value = grd_scholexpdetaillist.valueMatrix(cur_row,grd_scholexpdetaillist.colRef("paystdasctfee"));
  1240. ipt_payamt.value = grd_scholexpdetaillist.valueMatrix(cur_row,grd_scholexpdetaillist.colRef("payamt"));
  1241. rdo_psnworkapryn.value = grd_scholexpdetaillist.valueMatrix(cur_row,grd_scholexpdetaillist.colRef("psnworkapryn"));
  1242. rdo_payappyn.value = grd_scholexpdetaillist.valueMatrix(cur_row,grd_scholexpdetaillist.colRef("payappyn"));
  1243. ipt_pnsworkaprvdd.value = grd_scholexpdetaillist.valueMatrix(cur_row,grd_scholexpdetaillist.colRef("pnsworkaprvdd"));
  1244. model.refresh();
  1245. // }
  1246. grd_scholexplist.dispatch("onmouseup");
  1247. ]]>
  1248. </script>
  1249. </multilinegrid>
  1250. <input id="ipt_payadmischoolamt" ref="/root/main/detailitem/payadmischoolamt" class="input_essential" visibility="hidden" style="left:640px; top:635px; width:30px; height:19px; "/>
  1251. <input id="ipt_payscho" ref="/root/main/detailitem/payscho" class="input_essential" visibility="hidden" style="left:680px; top:635px; width:30px; height:19px; "/>
  1252. <input id="ipt_payasctfeereliztpln" ref="/root/main/detailitem/payasctfeereliztpln" class="input_essential" visibility="hidden" style="left:720px; top:635px; width:30px; height:19px; "/>
  1253. <input id="ipt_paystdasctfee" ref="/root/main/detailitem/paystdasctfee" class="input_essential" visibility="hidden" style="left:755px; top:635px; width:30px; height:19px; "/>
  1254. <input id="ipt_payamt" ref="/root/main/detailitem/payamt" class="input_essential" visibility="hidden" style="left:795px; top:635px; width:30px; height:19px; "/>
  1255. <select1 id="cmb_payappyy" ref="/root/send/search/payappyy" class="combo_default" appearance="minimal" style="left:110px; top:20px; width:70px; height:19px; ">
  1256. <choices>
  1257. <itemset>
  1258. <label/>
  1259. <value/>
  1260. </itemset>
  1261. </choices>
  1262. <script type="javascript" ev:event="xforms-value-changed">
  1263. <![CDATA[
  1264. ipt_payappmm.value=cmb_payappyy.value+cmb_paymm.value;
  1265. ]]>
  1266. </script>
  1267. </select1>
  1268. <select1 id="cmb_paymm" ref="/root/send/search/paymm" class="combo_default" appearance="minimal" style="left:185px; top:20px; width:55px; height:19px; ">
  1269. <choices>
  1270. <itemset nodeset="/root/init/payappmmlist">
  1271. <label ref="label"/>
  1272. <value ref="value"/>
  1273. </itemset>
  1274. </choices>
  1275. <script type="javascript" ev:event="xforms-value-changed">
  1276. <![CDATA[
  1277. ipt_payappmm.value=cmb_payappyy.value+cmb_paymm.value;
  1278. ]]>
  1279. </script>
  1280. </select1>
  1281. <select1 id="cmb_paymm_d" ref="/root/main/detailitem/paymm" class="combo_default" appearance="minimal" style="left:160px; top:665px; width:55px; height:19px; ">
  1282. <choices>
  1283. <itemset nodeset="/root/init/payappmmlist">
  1284. <label ref="label"/>
  1285. <value ref="value"/>
  1286. </itemset>
  1287. </choices>
  1288. <script type="javascript" ev:event="xforms-value-changed">
  1289. <![CDATA[
  1290. ipt_scholexppayyymm.value=cmb_payappyy_d.value+cmb_paymm_d.value;
  1291. ]]>
  1292. </script>
  1293. </select1>
  1294. <select1 id="cmb_payappyy_d" ref="/root/main/detailitem/payappyy" class="combo_default" appearance="minimal" style="left:85px; top:665px; width:70px; height:19px; ">
  1295. <choices>
  1296. <itemset>
  1297. <label/>
  1298. <value/>
  1299. </itemset>
  1300. </choices>
  1301. <script type="javascript" ev:event="xforms-value-changed">
  1302. <![CDATA[
  1303. ipt_scholexppayyymm.value=cmb_payappyy_d.value+cmb_paymm_d.value;
  1304. ]]>
  1305. </script>
  1306. </select1>
  1307. <input id="input2" ref="/root/main/detailitem/oldschoolyy" class="input_essential" visibility="hidden" style="left:875px; top:635px; width:30px; height:19px; "/>
  1308. <input id="input3" ref="/root/main/detailitem/oldscholflag" class="input_essential" visibility="hidden" style="left:835px; top:635px; width:30px; height:19px; "/>
  1309. <input id="ipt_sekjbngschoolyn" ref="/root/main/item/sekjbngschoolyn" class="input_essential" visibility="hidden" style="left:1005px; top:270px; width:30px; height:19px; "/>
  1310. </group>
  1311. <group id="grp_btn" scroll="auto" style="left:0px; top:12px; width:1195px; height:27px; ">
  1312. <button id="btn_move" class="btn3_letter4" visibility="hidden" style="left:175px; top:3px; width:80px; height:22px; ">
  1313. <caption>화면이동</caption>
  1314. </button>
  1315. <line id="line11" class="line_6" style="x1:0; y1:25; x2:1195; y2:25; "/>
  1316. <button id="btn_init" class="btn4_letter3" style="left:1069px; top:3; width:68px; height:22px; ">
  1317. <caption>초기화</caption>
  1318. <script type="javascript" ev:event="DOMActivate">
  1319. <![CDATA[
  1320. var updtdata = getGridUpdateData(grd_scholexplist);
  1321. if (updtdata != "" ) {
  1322. var ret = messageBox("그리드에 작업 중인 내용이 있습니다. 초기화 작업을","Q003");
  1323. if (ret != 6) { // not OK
  1324. return;
  1325. }
  1326. }
  1327. fInitialize();
  1328. ipt_emplno_i.value=ipt_emplno.value;
  1329. ipt_emplno_d.value=ipt_emplno.value;
  1330. ]]>
  1331. </script>
  1332. </button>
  1333. <button id="btn_save" class="btn4_letter2" style="left:1139px; top:3; width:56px; height:22px; ">
  1334. <caption>저장</caption>
  1335. <script type="javascript" ev:event="DOMActivate">
  1336. <![CDATA[
  1337. var updtdata = getGridUpdateData(grd_scholexplist);
  1338. var updtdata2 = getGridUpdateData(grd_scholexpdetaillist);
  1339. var message = '';
  1340. if (updtdata == "" && updtdata2 =="") {
  1341. messageBox("변경된 데이터가","I004");
  1342. return;
  1343. }
  1344. model.setValue("/root/main/detailitem/chldrnresdnrgst", grd_scholexplist.valueMatrix(grd_scholexplist.row, grd_scholexplist.colRef("chldrnresdnrgstnm")));
  1345. submit("TRRPA00605");
  1346. if( model.getValue("/root/msglist/dupllist/emplnm") == '') {
  1347. misfSave("TXRPA00601");
  1348. model.resetInstanceNode("/root/main/detailitem");
  1349. }
  1350. else {
  1351. if(grd_scholexpdetaillist.rowStatus(grd_scholexpdetaillist.row) == 1 ) {
  1352. for(var i = 1; ; i++ ) {
  1353. if( model.getValue("/root/msglist/dupllist["+i+"]/emplnm") != '' ) {
  1354. message = model.getValue("/root/msglist/message");
  1355. message = message + model.getValue("/root/msglist/dupllist["+i+"]/emplnm") +"("+ model.getValue("/root/msglist/dupllist["+i+"]/emplno") +")님 께서 "
  1356. + model.getValue("/root/msglist/dupllist["+i+"]/appdd") +"에 이미 신청하셨습니다.\n";
  1357. model.setValue("/root/msglist/message", message);
  1358. }
  1359. else {
  1360. break;
  1361. }
  1362. }
  1363. alert(model.getValue("/root/msglist/message"));
  1364. model.setValue("/root/msglist/message",'');
  1365. }
  1366. else {
  1367. misfSave("TXRPA00601");
  1368. model.resetInstanceNode("/root/main/detailitem");
  1369. }
  1370. }
  1371. ]]>
  1372. </script>
  1373. </button>
  1374. <button id="button3" class="btn6_letter8" style="left:940px; top:3px; width:128px; height:22px; ">
  1375. <caption>학자금신청서출력</caption>
  1376. <script type="javascript" ev:event="DOMActivate">
  1377. <![CDATA[
  1378. submit("TRRPA00604");
  1379. if(grd_reqscholexplist.rows >1){
  1380. fPrint();
  1381. }else{
  1382. messageBox("학자금 신청내역이 ","I004");
  1383. }
  1384. ]]>
  1385. </script>
  1386. </button>
  1387. </group>
  1388. </xhtml:body>
  1389. </xhtml:html>