123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
- <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">
- <xhtml:head>
- <xhtml:title>학자금신청</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <masterscholexp>
- <scholexplist>
- <emplno/>
- <chldrnresdnrgstnm/>
- <chldrnnm/>
- <stdyabrdyn/>
- <scholflagnm/>
- <schoolnm/>
- <schoolyy/>
- <lesnfixyearpd/>
- <sekjbngschoolyn/>
- <bngschoolstatnm/>
- <tmpabsnschooldd/>
- <rtnschooldd/>
- <scholflag/>
- <bngschoolstat/>
- <chldrnresdnrgst1/>
- <chldrnresdnrgst2/>
- <chldrnresdnrgst/>
- <payappmm/>
- </scholexplist>
- </masterscholexp>
- <detailscholexp>
- <scholexpdetaillist>
- <emplno/>
- <chldrnresdnrgst/>
- <scholexppayyymm/>
- <qurtyynm/>
- <qurtyy/>
- <scholflagnm/>
- <schoolnm/>
- <schoolyy/>
- <scholexppayamt/>
- <spclschoolyn/>
- <admischoolamt/>
- <scho/>
- <asctfeereliztpln/>
- <stdasctfee/>
- <cmt/>
- <psnworkapryn/>
- <payappyn/>
- <stdyabrdyn/>
- <sekjbngschoolyn/>
- <appdd/>
- <pnsworkaprvdd/>
- <scholflag/>
- <sbjnm/>
- <payadmischoolamt/>
- <payscho/>
- <payasctfeereliztpln/>
- <paystdasctfee/>
- <payamt/>
- </scholexpdetaillist>
- </detailscholexp>
- <item>
- <emplno/>
- <chldrnresdnrgst1/>
- <chldrnresdnrgst2/>
- <chldrnnm/>
- <stdyabrdyn/>
- <scholflagnm/>
- <schoolnm/>
- <schoolyy/>
- <lesnfixyearpd/>
- <sekjbngschoolyn/>
- <bngschoolstatnm/>
- <tmpabsnschooldd/>
- <rtnschooldd/>
- <scholflag/>
- <bngschoolstat/>
- <chldrnresdnrgstnm/>
- <chldrnresdnrgst/>
- <sbjnm/>
- </item>
- <detailitem>
- <emplno/>
- <chldrnresdnrgst/>
- <scholexppayyymm/>
- <qurtyy/>
- <schoolnm/>
- <schoolyy/>
- <scholexppayamt/>
- <spclschoolyn/>
- <admischoolamt/>
- <scho/>
- <asctfeereliztpln/>
- <stdasctfee/>
- <cmt/>
- <psnworkapryn/>
- <payappyn/>
- <stdyabrdyn/>
- <sekjbngschoolyn/>
- <appdd/>
- <pnsworkaprvdd/>
- <scholflag/>
- <payappmm/>
- <sbjnm/>
- <payadmischoolamt/>
- <payscho/>
- <payasctfeereliztpln/>
- <paystdasctfee/>
- <payamt/>
- <payappyy/>
- <paymm/>
- <oldscholflag/>
- <oldschoolyy/>
- </detailitem>
- <reqscholexplist>
- <instnm/>
- <deptnm/>
- <emplnm/>
- <rregno/>
- <emplno/>
- <chldrnnm/>
- <chldrnresdnrgst/>
- <scholexppayyymm/>
- <schoolyy/>
- <qurtyy/>
- <schoolnm/>
- <scholexppayamt/>
- <admischoolamt/>
- <scho/>
- <asctfeereliztpln/>
- <stdasctfe/>
- </reqscholexplist>
- </main>
- <temp>
- <payappyn/>
- </temp>
- <send>
- <masterscholexp>
- <emplno/>
- <chldrnresdnrgst/>
- <payappmm/>
- </masterscholexp>
- <search>
- <payappmm/>
- <chldrnresdnrgst1/>
- <chldrnresdnrgst2/>
- <chldrnnm/>
- <emplno/>
- <payappyy/>
- <paymm/>
- </search>
- <savelist>
- <scholexplist/>
- <scholexpdetaillist/>
- </savelist>
- <appcheck>
- <payappmm/>
- </appcheck>
- <report>
- <isntnm/>
- <newElement/>
- </report>
- </send>
- <init>
- <radio1>
- <label>재학</label>
- <value>0</value>
- <label>졸업</label>
- <value>1</value>
- </radio1>
- <radio2>
- <label>예</label>
- <value>Y</value>
- <label>아니오</label>
- <value>N</value>
- </radio2>
- <checkbox1>
- <label>해외유학</label>
- <value>Y</value>
- </checkbox1>
- <checkbox2>
- <label>성의교정재학여부</label>
- <value>Y</value>
- </checkbox2>
- <checkbox3>
- <label>특목학교여부</label>
- <value>Y</value>
- </checkbox3>
- <combo1>
- <label>1분기</label>
- <value>1</value>
- <label>2분기</label>
- <value>2</value>
- <label>3분기</label>
- <value>3</value>
- <label>4분기</label>
- <value>4</value>
- </combo1>
- <payappmmlist>
- <label>1월</label>
- <value>01</value>
- <label>2월</label>
- <value>02</value>
- <label>3월</label>
- <value>03</value>
- <label>4월</label>
- <value>04</value>
- <label>5월</label>
- <value>05</value>
- <label>6월</label>
- <value>06</value>
- <label>7월</label>
- <value>07</value>
- <label>8월</label>
- <value>08</value>
- <label>9월</label>
- <value>09</value>
- <label>10월</label>
- <value>10</value>
- <label>11월</label>
- <value>11</value>
- <label>12월</label>
- <value>12</value>
- </payappmmlist>
- <scholflaglist>
- <label>중학생(대구)</label>
- <value>11</value>
- <label>중학생(경북)</label>
- <value>12</value>
- <label>고등학교(대구)</label>
- <value>21</value>
- <label>고등학교(경북)</label>
- <value>22</value>
- <label>고등학교(서울)</label>
- <value>23</value>
- <label>고등학교(대구기타)</label>
- <value>24</value>
- </scholflaglist>
- </init>
- <empllist>
- <emplno/>
- <emplnm/>
- <dutteamnm/>
- <dutplceinstnm/>
- <jobrespnm/>
- <entcodd/>
- <prfshipnm/>
- </empllist>
- <target/>
- <msglist>
- <dupllist/>
- <message/>
- </msglist>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fEnableInsertButton();
- fEnableInsertButton2();
- misfGridInit(grd_scholexplist);
- misfGridInit(grd_scholexpdetaillist);
- misfComboComCdList('P0167', cmb_payappyy);
- misfComboComCdList('P0167', cmb_payappyy_d);
- misfComboComCdList('R0165', cmb_lesnfixyearpd);
- misfComboComCdList('R0165', ipt_schoolyy);
- misfComboComCdList('R0165', ipt_schoolyy_d);
- var userid =getUserInfo("userid");
-
- var usernm=getUserInfo("usernm");
- var instcdnm = getUserInfo("dutplceinstnm");
- var dutunitnm =getUserInfo("dutunitnm");
- var dutplcenm =getUserInfo("dutplcenm");
- if(dutunitnm ==""){
- deptnm =dutplcenm;
- }else{
- deptnm=dutunitnm;
- }
- var jobrespnm = getUserInfo("jobrespnm");
- var prfshipnm = getUserInfo("prfshipnmnm");
-
- var curDate = getCurrentDate().toDate();
- var curyymm=curDate.getDateFormat('YYYYMM')
- model.setValue("/root/send/search/payappyy", curDate.getDateFormat('YYYY'));
- var mm=curyymm.substring(4,6);
- if(mm=='01' ||mm=='02'||mm=='03'){
- cmb_paymm.value='03';
- cmb_paymm_d.value='03';
- }else if(mm=='04' ||mm=='05'||mm=='06'){
- cmb_paymm.value='06';
- cmb_paymm_d.value='06';
- }else if(mm=='07' ||mm=='08'||mm=='09'){
- cmb_paymm.value='09';
- cmb_paymm_d.value='09';
- }else if(mm=='10' ||mm=='11'||mm=='12'){
- cmb_paymm.value='12';
- cmb_paymm_d.value='12';
- }
- ipt_payappmm.value=cmb_payappyy.value+cmb_paymm.value;
- model.setValue("/root/main/detailitem/payappyy", curDate.getDateFormat('YYYY'));
- ipt_payappmm_check.value=cmb_payappyy.value+cmb_paymm.value;
-
- model.setValue("/root/main/detailitem/scholexppayyymm", curDate.getDateFormat('yyyy-mm'));
- ipt_scholexppayyymm.value=cmb_payappyy_d.value+cmb_paymm_d.value;
-
- ipt_dutteamnm.value=deptnm;
- ipt_dutplceinstnm.value=instcdnm;
- ipt_jobrespnm.value=jobrespnm;
- ipt_prfshipnm.value=prfshipnm;
-
- if(instance1.selectNodes("/root/target/*").length > 0)
- {
- ipt_emplno.value=model.getValue("/root/target/emplno");
- ipt_emplno_s.value=model.getValue("/root/target/emplno");
- ipt_emplno_i.value=model.getValue("/root/target/emplno");
- ipt_emplno_d.value=model.getValue("/root/target/emplno");
- ipt_emplnm.value=model.getValue("/root/target/emplnm");
- }
- else {
- ipt_emplno.value=userid;
- ipt_emplno_s.value=userid;
- ipt_emplno_i.value=userid;
- ipt_emplno_d.value=userid;
- ipt_emplnm.value=usernm;
- }
-
- btn_save.disabled = !(checkAuth("X"));
- rpafMsterDetailSet(grd_scholexplist,null, "TRRPA00601" ,"Y");
- rpafMsterDetailSet(grd_scholexpdetaillist,grd_scholexplist, "TRRPA00602","Y" );
- misfGetUserAuth();
- if(DUTY_WELF_YN == "Y" || DUTY_PART_YN == "Y" || getUserInfo("dutplcecd") == "4020500000" ){
- btn_emplsearch.disabled = false;
- ipt_emplno.disabled = false;
- }
- btn_search.dispatch("DOMActivate");
- ]]>
- </script>
- <submission id="TRRPA00601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/search" resultref="/root/main/masterscholexp"/>
- <submission id="TRRPA00602" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/masterscholexp" resultref="/root/main/detailscholexp"/>
- <submission id="TXRPA00601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savelist" resultref="/root/temp"/>
- <submission id="TRRPA00603" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/appcheck" resultref="/root/temp"/>
- <submission id="TRRPA00604" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/search" resultref="/root/main/reqscholexplist"/>
- <submission id="TRRPA00605" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/detailitem" resultref="/root/msglist/dupllist"/>
- <instance id="instance2">
- <root/>
- </instance>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
- <script type="javascript" src="../../../mis/pubwelfmngtweb/js/RPS001.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../mis/humtrafactmngtweb/js/RPB001.js"/>
- <script type="javascript">
- <![CDATA[
- // 화면 open시와 초기화 버튼 클릭시 화면 초기화 기능을 수행한다.
- function fInitialize() {
- fEnableInsertButton();
- fEnableInsertButton2();
- model.removeNodeset("/root/main/masterscholexp/scholexplist");
- model.removeNodeset("/root/main/detailscholexp/scholexpdetaillist");
- model.resetInstanceNode("/root/send");
- model.resetInstanceNode("/root/main/item");
- model.resetInstanceNode("/root/main/detailitem");
-
- fSetDate();
- model.refresh();
- }
-
- function fSetDate() {
- var curDate = getCurrentDate().toDate();
- var curyymm=curDate.getDateFormat('YYYYMM')
- model.setValue("/root/send/search/payappyy", curDate.getDateFormat('YYYY'));
- var mm=curyymm.substring(4,6);
- if(mm=='01' ||mm=='02'||mm=='03'){
- model.setValue("/root/send/search/paymm","03");
- cmb_paymm_d.value='03';
- }else if(mm=='04' ||mm=='05'||mm=='06'){
- model.setValue("/root/send/search/paymm","06");
- cmb_paymm_d.value='06';
- }else if(mm=='07' ||mm=='08'||mm=='09'){
- model.setValue("/root/send/search/paymm","09");
- cmb_paymm_d.value='09';
- }else if(mm=='10' ||mm=='11'||mm=='12'){
- model.setValue("/root/send/search/paymm","12");
- cmb_paymm_d.value='12';
- }
- ipt_payappmm.value=cmb_payappyy.value+cmb_paymm.value;
- model.setValue("/root/main/detailitem/payappyy", curDate.getDateFormat('YYYY'));
- ipt_payappmm_check.value=cmb_payappyy.value+cmb_paymm.value;
-
- model.setValue("/root/main/detailitem/scholexppayyymm", curDate.getDateFormat('yyyy-mm'));
- ipt_scholexppayyymm.value=cmb_payappyy_d.value+cmb_paymm_d.value;
- model.refresh();
- }
-
- function fEnableInsertButton() {
- btn_insert.disabled = false;
- btn_update.disabled = true;
- ipt_chldrnresdnrgst1_i.disabled = false;
- ipt_chldrnresdnrgst2_i.disabled = false;
- }
-
- function fEnableInsertButton2() {
- btn_insert2.disabled = false;
- btn_update2.disabled = true;
- ipt_scholexppayyymm.disabled = false;
- cmb_payappyy_d.disabled = false;
- cmb_paymm_d.disabled = false;
- cmb_qurtyy.disabled = false;
- }
-
- function fEnableUpdateButton() {
- btn_insert.disabled = true;
- btn_update.disabled = false;
- ipt_chldrnresdnrgst1_i.disabled = true;
- ipt_chldrnresdnrgst2_i.disabled = true;
- }
-
- function fEnableUpdateButton2() {
- btn_insert2.disabled = true;
- btn_update2.disabled = false;
- ipt_scholexppayyymm.disabled = true;
- cmb_payappyy_d.disabled = true;
- cmb_paymm_d.disabled = true;
- cmb_qurtyy.disabled = true;
- }
-
- function fdoubleCheck(str){
- var chldrnres=ipt_chldrnresdnrgst1_i.value+ipt_chldrnresdnrgst2_i.value;
- var scholexppayyymm_i=ipt_scholexppayyymm.value;
- var qurtyy_i = cmb_qurtyy.value;
- var scholflagdetail_i= cmb_scholflagdetail.value;
- var schoolyy_i= ipt_schoolyy_d.value;
- var stdyabrdyn_i= chk_stdyabrdyn_d.value;
-
- if(str=="master"){
- for(var i=1;i<=grd_scholexplist.rows-1;i++){
- var chldrnresdnrgst=model.getValue(grd_scholexplist.attribute("nodeset")+"["+i+"]/chldrnresdnrgst");
- if(chldrnres ==chldrnresdnrgst){
- messageBox("이미 가입된 자녀","E008");
- return false;
- }
- }
- }else{
- for(var i=grd_scholexpdetaillist.fixedRows ;i<=grd_scholexpdetaillist.rows;i++){
- var scholexppayyymm=model.getValue(grd_scholexpdetaillist.attribute("nodeset")+"["+(i-1)+"]/scholexppayyymm");
- var chldrnresdnrgst=model.getValue(grd_scholexpdetaillist.attribute("nodeset")+"["+(i-1)+"]/chldrnresdnrgst");
- var qurtyy=model.getValue(grd_scholexpdetaillist.attribute("nodeset")+"["+(i-1)+"]/qurtyy");
- var schoolyy=model.getValue(grd_scholexpdetaillist.attribute("nodeset")+"["+(i-1)+"]/schoolyy");
- var scholflag=model.getValue(grd_scholexpdetaillist.attribute("nodeset")+"["+(i-1)+"]/scholflag");
- var schoolnm=model.getValue(grd_scholexpdetaillist.attribute("nodeset")+"["+(i-1)+"]/schoolnm");
- var stdyabrdyn=model.getValue(grd_scholexpdetaillist.attribute("nodeset")+"["+(i-1)+"]/stdyabrdyn");
-
- if(qurtyy==qurtyy_i && chldrnresdnrgst==chldrnres && scholflag==scholflagdetail_i && schoolyy==schoolyy_i && stdyabrdyn==stdyabrdyn_i){
- var schoolyy_d=ipt_schoolyy_d.value;
- var qurtyy_d=cmb_qurtyy.label;
- var scholflagnm_d=cmb_scholflagdetail.label;
- var ret = messageBox(scholflagnm_d+" "+schoolyy_d+"학년 "+qurtyy_d+" 신청이","E006");
- return false;
- }
- }
- }
- return true;
- }
-
- function fnullCheck(str){
- if(str=="master"){
- if(ipt_chldrnresdnrgst1_i.value=="" || ipt_chldrnresdnrgst2_i.value==""){
- messageBox("자녀주민번호는","I003");
- return false;
- }
- if(!isRequiredControls("ipt_emplno_i","ipt_chldrnnm_i","ipt_schoolyy",
- "cmb_scholflag","ipt_schoolnm","rdo_bngschoolstat"))return false;
- }else{
- if(!isRequiredControls("ipt_scholexppayyymm","cmb_scholflagdetail",
- "cmb_qurtyy","ipt_scholexppayamt"))return false;
- }
- return true;
- }
-
- function fChangeGridValue(cur_row) {
- var chldrnresdnrgstnm=ipt_chldrnresdnrgst1_i.value+"-"+ipt_chldrnresdnrgst2_i.value;
- var chldrnresdnrgst=ipt_chldrnresdnrgst1_i.value+ipt_chldrnresdnrgst2_i.value;
- model.setValue("/root/main/masterscholexp/scholexplist[" + cur_row + "]/chldrnresdnrgstnm",chldrnresdnrgstnm);
- model.setValue("/root/main/masterscholexp/scholexplist[" + cur_row + "]/chldrnresdnrgst",chldrnresdnrgst);
- model.setValue("/root/main/masterscholexp/scholexplist[" + cur_row + "]/scholflagnm",cmb_scholflag.label); //학력구분명
- model.setValue("/root/main/masterscholexp/scholexplist[" + cur_row + "]/bngschoolstatnm",rdo_bngschoolstat.label);
-
- ipt_schoolyy_d.value=ipt_schoolyy.value;
- cmb_scholflagdetail.value=cmb_scholflag.value;
- //chk_stdyabrdyn_d.value=chk_stdyabrdyn.value;
- //chk_sekjbngschoolyn_d.value=chk_sekjbngschoolyn.value;
- ipt_sbjnmdetail.value=ipt_sbjnm.value;
-
- }
-
- function fChangeGridValueDetail(cur_row) {
- var cur_m_row = grd_scholexplist.row; // 행 번호 가져오기
- var chldrnresdnrgst=grd_scholexplist.valueMatrix(cur_m_row, grd_scholexplist.colRef("chldrnresdnrgst"));
- var schoolnm=grd_scholexplist.valueMatrix(cur_m_row, grd_scholexplist.colRef("schoolnm"));
- var emplno=grd_scholexplist.valueMatrix(cur_m_row, grd_scholexplist.colRef("emplno"));
- grd_scholexpdetaillist.valueMatrix(cur_row,grd_scholexpdetaillist.colRef("chldrnresdnrgst"))=chldrnresdnrgst;
- grd_scholexpdetaillist.valueMatrix(cur_row,grd_scholexpdetaillist.colRef("emplno"))=emplno;
- grd_scholexpdetaillist.valueMatrix(cur_row,grd_scholexpdetaillist.colRef("schoolnm"))=schoolnm;
- grd_scholexpdetaillist.valueMatrix(cur_row,grd_scholexpdetaillist.colRef("scholexppayyymm"))= ipt_scholexppayyymm.value;
- grd_scholexpdetaillist.valueMatrix(cur_row,grd_scholexpdetaillist.colRef("scholflag"))=cmb_scholflagdetail.value;
- grd_scholexpdetaillist.valueMatrix(cur_row,grd_scholexpdetaillist.colRef("qurtyy"))=cmb_qurtyy.value;
- grd_scholexpdetaillist.valueMatrix(cur_row,grd_scholexpdetaillist.colRef("schoolyy"))=ipt_schoolyy_d.value;
- grd_scholexpdetaillist.valueMatrix(cur_row,grd_scholexpdetaillist.colRef("stdyabrdyn"))=chk_stdyabrdyn_d.value;
- grd_scholexpdetaillist.valueMatrix(cur_row,grd_scholexpdetaillist.colRef("sekjbngschoolyn"))=chk_sekjbngschoolyn_d.value;
- grd_scholexpdetaillist.valueMatrix(cur_row,grd_scholexpdetaillist.colRef("spclschoolyn"))=chk_spclschoolyn.value;
- grd_scholexpdetaillist.valueMatrix(cur_row,grd_scholexpdetaillist.colRef("admischoolamt"))=ipt_admischoolamt.value;
- grd_scholexpdetaillist.valueMatrix(cur_row,grd_scholexpdetaillist.colRef("scho"))=ipt_scho.value;
- grd_scholexpdetaillist.valueMatrix(cur_row,grd_scholexpdetaillist.colRef("asctfeereliztpln"))=ipt_asctfeereliztpln.value;
- grd_scholexpdetaillist.valueMatrix(cur_row,grd_scholexpdetaillist.colRef("sbjnm"))=ipt_sbjnmdetail.value;
- grd_scholexpdetaillist.valueMatrix(cur_row,grd_scholexpdetaillist.colRef("cmt"))=ipt_cmt.value;
- grd_scholexpdetaillist.valueMatrix(cur_row,grd_scholexpdetaillist.colRef("stdasctfee"))=ipt_stdasctfee.value;
- grd_scholexpdetaillist.valueMatrix(cur_row,grd_scholexpdetaillist.colRef("scholexppayamt"))=ipt_scholexppayamt.value;
- grd_scholexpdetaillist.valueMatrix(cur_row,grd_scholexpdetaillist.colRef("payappmm"))=ipt_scholexppayyymm.value;
-
- var payadmischoolamt=ipt_payadmischoolamt.value ;
- var payscho=ipt_payscho.value ;
- var payasctfeereliztpln=ipt_payasctfeereliztpln.value ;
- var paystdasctfee =ipt_paystdasctfee.value ;
- var payamt=ipt_payamt.value ;
- if(payadmischoolamt ==""){
- grd_scholexpdetaillist.valueMatrix(cur_row,grd_scholexpdetaillist.colRef("payadmischoolamt"))=0;
- }else{
- grd_scholexpdetaillist.valueMatrix(cur_row,grd_scholexpdetaillist.colRef("payadmischoolamt"))=payadmischoolamt;
- }
-
- if(payscho ==""){
- grd_scholexpdetaillist.valueMatrix(cur_row,grd_scholexpdetaillist.colRef("payscho"))=0;
- } else{
- grd_scholexpdetaillist.valueMatrix(cur_row,grd_scholexpdetaillist.colRef("payscho"))=payscho;
- }
- if(payasctfeereliztpln ==""){
- grd_scholexpdetaillist.valueMatrix(cur_row,grd_scholexpdetaillist.colRef("payasctfeereliztpln"))=0;
- }else{
- grd_scholexpdetaillist.valueMatrix(cur_row,grd_scholexpdetaillist.colRef("payasctfeereliztpln"))=payasctfeereliztpln;
- }
-
- if(paystdasctfee ==""){
- grd_scholexpdetaillist.valueMatrix(cur_row,grd_scholexpdetaillist.colRef("paystdasctfee"))='0';
- }else{
- grd_scholexpdetaillist.valueMatrix(cur_row,grd_scholexpdetaillist.colRef("paystdasctfee"))=paystdasctfee;
- }
-
- if(payamt ==""){
- grd_scholexpdetaillist.valueMatrix(cur_row,grd_scholexpdetaillist.colRef("payamt"))='0';
-
- }else{
- grd_scholexpdetaillist.valueMatrix(cur_row,grd_scholexpdetaillist.colRef("payamt"))=payamt;
- }
-
- if(rdo_psnworkapryn.value==""){
- grd_scholexpdetaillist.valueMatrix(cur_row,grd_scholexpdetaillist.colRef("psnworkapryn"))='N';
- }else{
- rdo_psnworkapryn.value= grd_scholexpdetaillist.valueMatrix(cur_row,grd_scholexpdetaillist.colRef("psnworkapryn"));
- }
- if(rdo_payappyn.value==""){
- grd_scholexpdetaillist.valueMatrix(cur_row,grd_scholexpdetaillist.colRef("payappyn"))='N';
- }else{
- rdo_payappyn.value= grd_scholexpdetaillist.valueMatrix(cur_row,grd_scholexpdetaillist.colRef("payappyn"));
- }
- // model.setValue("/root/main/detailscholexp/scholexpdetaillist[" + cur_row + "]/qurtyynm",cmb_qurtyy.label);
- }
- function ftotPayAmt(){
- var scho = 0;
- var admischoolamt=0;
- var asctfeereliztpln=0;
- var stdasctfee=0;
- var scholexppayamt=0;
- if(ipt_scho.value!=""){
- scho=parseInt(ipt_scho.value);
- }
- if(ipt_admischoolamt.value!=""){
- admischoolamt=parseInt(ipt_admischoolamt.value);
- }
- if(ipt_asctfeereliztpln.value!=""){
- asctfeereliztpln=parseInt(ipt_asctfeereliztpln.value);
- }
- if(ipt_stdasctfee.value!=""){
- stdasctfee=parseInt(ipt_stdasctfee.value);
- }
- //scholexppayamt=parseInt(scho)+parseInt(admischoolamt)+parseInt(asctfeereliztpln)+parseInt(stdasctfee);
- scholexppayamt=scho+admischoolamt+asctfeereliztpln+stdasctfee;
- ipt_scholexppayamt.value=scholexppayamt;
- }
-
- function fpayAmtDelValue(){
- totPayAmt=parseInt(ipt_scho.value)+parseInt(ipt_admischoolamt.value)+parseInt(ipt_asctfeereliztpln.value)+parseInt(ipt_stdasctfee.value);
- if(ftotPayAmt != ipt_scholexppayamt.value){
- ipt_scho.value="";
- ipt_admischoolamt.value="";
- ipt_asctfeereliztpln.value="";
- ipt_stdasctfee.value="";
- }
- }
-
- function fmasterSelect(cur_row){
- if(grd_scholexplist.row ==-1){
- alert("학자금대상 자녀를 먼저 입력하세요.");
- return false;
- }
- return true;
- }
- function fPrint() {
- exeReportPreview("RPRPA00600", "XMLSTR", "");
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body style="margin-left:8; margin-right:8; ">
- <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">학자금신청</caption>
- </group>
- <group id="group2" scroll="auto" style="left:0px; top:38px; width:1195px; height:744px; ">
- <line id="line6" class="line_3" style="x1:0px; y1:733px; x2:1195px; y2:733px; "/>
- <line id="line1" class="line_2" style="x1:0px; y1:709px; x2:1195px; y2:709px; "/>
- <line id="line9" class="line_2" style="x1:0px; y1:685px; x2:1195px; y2:685px; "/>
- <line id="line10" class="line_3" style="x1:0px; y1:95px; x2:1195px; y2:95px; "/>
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:10px; width:1195px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
- <line id="line13" class="line_4" style="x1:1109px; y1:16px; x2:1109px; y2:38px; "/>
- <line id="line204" class="line_2" style="x1:0px; y1:322px; x2:1195px; y2:322px; "/>
- <caption id="caption283" class="tit_2" style="left:5px; top:280px; width:118px; height:13px; ">등록 및 수정사항</caption>
- <line id="line203" class="line_1" style="x1:0px; y1:295px; x2:1195px; y2:295px; "/>
- <line id="line2" class="line_3" style="x1:0px; y1:346px; x2:1195px; y2:346px; "/>
- <button id="btn_excelsave" class="btn2_letter4" style="left:1130px; top:100px; width:64px; height:19px; ">
- <caption>엑셀저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var fileName = window.fileDialog("save", ",", false, "excel", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
-
- if (fileName != "") {
- grd_scholexplist.saveExcel(fileName, "SheetName", true, true, "", "");
- }
- ]]>
- </script>
- </button>
- <caption id="caption16" class="search_name" style="left:260px; top:19px; width:86px; height:17px; ">사원번호 :</caption>
- <caption id="caption2" class="search_name" style="left:560px; top:19px; width:123px; height:17px; ">자녀주민번호 :</caption>
- <input id="ipt_chldrnresdnrgst1" ref="/root/send/search/chldrnresdnrgst1" class="input_default" maxlength="6" style="left:675px; top:18px; width:80px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- inputEnterKey("btn_search", "DOMActivate");
- ]]>
- </script>
- </input>
- <input id="ipt_chldrnresdnrgst2" ref="/root/send/search/chldrnresdnrgst2" class="input_default" maxlength="7" style="left:778px; top:18px; width:80px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- inputEnterKey("btn_search", "DOMActivate");
- ]]>
- </script>
- </input>
- <caption id="caption309" style="left:756px; top:19px; width:16px; height:17px; font-weight:bold; text-align:center; vertical-align:bottom; ">~</caption>
- <caption id="caption3" class="search_name" style="left:869px; top:19px; width:83px; height:17px; ">자 녀 명 :</caption>
- <input id="ipt_chldrnnm" ref="/root/send/search/chldrnnm" class="input_default" maxlength="10" style="left:951px; top:18px; width:79px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- inputEnterKey("btn_search", "DOMActivate");
- ]]>
- </script>
- </input>
- <line id="line3" class="line_1" style="x1:0px; y1:68px; x2:1195px; y2:68px; "/>
- <caption id="caption14" class="tit_2" style="left:5px; top:106px; width:165px; height:13px; ">학자금지급대상 자녀</caption>
- <line id="line4" class="line_1" style="x1:0px; y1:121px; x2:1195px; y2:121px; "/>
- <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; ">
- <col ref="emplno" visibility="hidden"/>
- <col ref="chldrnresdnrgstnm" style="text-align:center; "/>
- <col ref="chldrnnm" style="text-align:center; "/>
- <col ref="scholflagnm"/>
- <col ref="schoolnm"/>
- <col ref="schoolyy" style="text-align:center; "/>
- <col ref="sbjnm" style="text-align:center; "/>
- <col ref="lesnfixyearpd" style="text-align:center; "/>
- <col checkvalue="Y,N" ref="stdyabrdyn" type="checkbox"/>
- <col checkvalue="Y,N" ref="sekjbngschoolyn" type="checkbox"/>
- <col ref="bngschoolstatnm" style="text-align:center; "/>
- <col ref="tmpabsnschooldd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="rtnschooldd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="scholflag" visibility="hidden"/>
- <col ref="chldrnresdnrgst1" visibility="hidden"/>
- <col ref="chldrnresdnrgst2" visibility="hidden"/>
- <col ref="chldrnresdnrgst" visibility="hidden"/>
- <col ref="bngschoolstat" visibility="hidden"/>
- <col ref="payappmm" visibility="hidden"/>
- <script type="javascript" ev:event="onrowchanged">
- <![CDATA[
- model.resetInstanceNode("/root/main/detailitem");
- fEnableInsertButton2();
- var cur_row = grd_scholexplist.row;
- if ( cur_row > 0 ) {
- fEnableUpdateButton();
-
- var curDate = getCurrentDate().toDate();
- var curyymm=curDate.getDateFormat('YYYYMM')
- model.setValue("/root/send/search/payappyy", curDate.getDateFormat('YYYY'));
- var mm=curyymm.substring(4,6);
- if(mm=='01' ||mm=='02'||mm=='03'){
- cmb_paymm.value='03';
- cmb_paymm_d.value='03';
- }else if(mm=='04' ||mm=='05'||mm=='06'){
- cmb_paymm.value='06';
- cmb_paymm_d.value='06';
- }else if(mm=='07' ||mm=='08'||mm=='09'){
- cmb_paymm.value='09';
- cmb_paymm_d.value='09';
- }else if(mm=='10' ||mm=='11'||mm=='12'){
- cmb_paymm.value='12';
- cmb_paymm_d.value='12';
- }
- ipt_payappmm.value=cmb_payappyy.value+cmb_paymm.value;
- model.setValue("/root/main/detailitem/payappyy", curDate.getDateFormat('YYYY'));
- ipt_payappmm_check.value=cmb_payappyy.value+cmb_paymm.value;
-
- model.setValue("/root/main/detailitem/scholexppayyymm", curDate.getDateFormat('yyyy-mm'));
- ipt_scholexppayyymm.value=cmb_payappyy_d.value+cmb_paymm_d.value;
-
- model.copyNode("/root/main/item","/root/main/masterscholexp/scholexplist["+cur_row+"]");
- model.refresh();
- ipt_schoolyy_d.value=ipt_schoolyy.value;
- cmb_scholflagdetail.value=cmb_scholflag.value;
- //chk_stdyabrdyn_d.value=chk_stdyabrdyn.value;
- //chk_sekjbngschoolyn_d.value=chk_sekjbngschoolyn.value;
- ipt_sbjnmdetail.value=ipt_sbjnm.value;
- }
- misfMsterDetailRetrieve();
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if (grd_scholexplist.colAttribute(grd_scholexplist.col,"ref") == "stdyabrdyn" ) {
- var stdyabrdyn = grd_scholexplist.valueMatrix(grd_scholexplist.row, grd_scholexplist.colRef("stdyabrdyn"));
- model.setValue("/root/main/item/stdyabrdyn",stdyabrdyn);
- }
- if (grd_scholexplist.colAttribute(grd_scholexplist.col,"ref") == "sekjbngschoolyn" ) {
- var sekjbngschoolyn = grd_scholexplist.valueMatrix(grd_scholexplist.row, grd_scholexplist.colRef("sekjbngschoolyn"));
- model.setValue("/root/main/item/sekjbngschoolyn",sekjbngschoolyn);
- }
- ]]>
- </script>
- </datagrid>
- <caption id="caption23" class="tit_2" style="left:5px; top:357px; width:108px; height:13px; ">세부현황</caption>
- <caption id="caption26" class="tit_2" style="left:5px; top:643px; width:118px; height:13px; ">등록 및 수정사항</caption>
- <line id="line7" class="line_1" style="x1:0px; y1:372px; x2:1195px; y2:372px; "/>
- <line id="line8" class="line_1" style="x1:0px; y1:658px; x2:1195px; y2:658px; "/>
- <input id="ipt_jobrespnm" ref="/root/empllist/jobrespnm" class="input_default" disabled="true" style="left:550px; top:75px; width:147px; height:19px; "/>
- <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; "/>
- <input id="ipt_prfshipnm" ref="/root/empllist/prfshipnm" class="input_default" disabled="true" style="left:1017px; top:75px; width:177px; height:19px; "/>
- <caption id="caption10" class="cell_1" style="left:466px; top:73px; width:82px; height:23px; vertical-align:middle; ">직책</caption>
- <caption id="caption12" class="cell_1" style="left:699px; top:73px; width:82px; height:23px; vertical-align:middle; ">임용일</caption>
- <caption id="caption13" class="cell_1" style="left:933px; top:73px; width:82px; height:23px; vertical-align:middle; ">교/직구분</caption>
- <caption id="caption4" class="cell_1" style="left:0px; top:73px; width:82px; height:23px; vertical-align:middle; ">근무부서</caption>
- <caption id="caption5" class="cell_1" style="left:233px; top:73px; width:82px; height:23px; vertical-align:middle; ">근무기관</caption>
- <input id="ipt_dutteamnm" ref="/root/empllist/dutteamnm" class="input_default" disabled="true" style="left:84px; top:75; width:147px; height:19px; "/>
- <input id="ipt_dutplceinstnm" ref="/root/empllist/dutplceinstnm" class="input_default" disabled="true" style="left:317px; top:75px; width:147px; height:19px; "/>
- <button id="btn_excelsavedetail" class="btn2_letter4" style="left:1130px; top:351px; width:64px; height:19px; ">
- <caption>엑셀저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var fileName = window.fileDialog("save", ",", false, "excel", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
-
- if (fileName != "") {
- grd_scholexpdetaillist.saveExcel(fileName, "SheetName", true, true, "", "");
- }
- ]]>
- </script>
- </button>
- <input id="ipt_tmpabsnschooldd" ref="/root/main/item/tmpabsnschooldd" class="input_s_essential" inputtype="date" style="left:1100px; top:301px; width:85px; height:19px; "/>
- <caption id="caption20" class="cell_1" style="left:1015px; top:300px; width:82px; height:23px; vertical-align:middle; ">휴학일자</caption>
- <caption id="caption21" class="cell_1" style="left:1015px; top:324px; width:82px; height:23px; vertical-align:middle; ">복학일자</caption>
- <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; ">
- <choices>
- <itemset nodeset="/root/init/radio1">
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- </select1>
- <input id="ipt_chldrnresdnrgst1_i" ref="/root/main/item/chldrnresdnrgst1" class="input_essential" maxlength="6" style="left:84px; top:302px; width:80px; height:19px; "/>
- <caption id="caption15" style="left:167px; top:303px; width:16px; height:17px; font-weight:bold; ">~</caption>
- <input id="ipt_chldrnresdnrgst2_i" ref="/root/main/item/chldrnresdnrgst2" class="input_essential" maxlength="7" style="left:183px; top:302px; width:80px; height:19px; "/>
- <caption id="cap_chldrnnm_i" class="cell_1" style="left:270px; top:300px; width:82px; height:23px; vertical-align:middle; ">자녀명</caption>
- <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; "/>
- <select1 id="ipt_schoolyy" ref="/root/main/item/schoolyy" class="combo_default" appearance="minimal" style="left:631px; top:302px; width:66px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption11" class="cell_1" style="left:705px; top:300px; width:82px; height:23px; vertical-align:middle; ">학과</caption>
- <input id="ipt_sbjnm" ref="/root/main/item/sbjnm" class="input_default" maxlength="30" style="left:790px; top:301px; width:215px; height:19px; "/>
- <caption id="cap_scholflag" class="cell_1" style="left:0px; top:324px; width:82px; height:23px; vertical-align:middle; ">학력구분</caption>
- <select1 id="cmb_scholflag" ref="/root/main/item/scholflag" class="combo_default" appearance="minimal" style="left:84px; top:326px; width:180px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/scholflaglist">
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var scholflag= cmb_scholflag.value;
- if(scholflag =='02' || scholflag =='03' ||scholflag =='04' ){
- cmb_lesnfixyearpd.value='3';
- }else if(scholflag =='05'){
- cmb_lesnfixyearpd.value='4';
- }
- ]]>
- </script>
- </select1>
- <caption id="cap_schoolnm" class="cell_1" style="left:270px; top:324px; width:82px; height:23px; vertical-align:middle; ">학교명</caption>
- <input id="ipt_schoolnm" ref="/root/main/item/schoolnm" class="input_default" maxlength="30" style="left:356px; top:326px; width:180px; height:19px; "/>
- <caption id="caption7" class="cell_1" style="left:545px; top:324px; width:82px; height:23px; vertical-align:middle; ">수업년한</caption>
- <select1 id="cmb_lesnfixyearpd" ref="/root/main/item/lesnfixyearpd" class="combo_default" appearance="minimal" style="left:631px; top:326px; width:66px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <caption id="cap_schoolyy" class="cell_1" style="left:545px; top:300px; width:82px; height:23px; vertical-align:middle; ">학년</caption>
- <input id="ipt_rtnschooldd" ref="/root/main/item/rtnschooldd" class="input_s_essential" inputtype="date" style="left:1101px; top:325px; width:85px; height:19px; "/>
- <caption id="caption8" class="cell_1" style="left:0px; top:300px; width:82px; height:23px; vertical-align:middle; ">주민번호</caption>
- <caption id="cap_bngschoolstat" class="cell_1" style="left:705px; top:324px; width:82px; height:23px; vertical-align:middle; ">재학상태</caption>
- <caption id="cap_scholexppayamt" class="cell_1" style="left:266px; top:711px; width:82px; height:23px; vertical-align:middle; ">합계액</caption>
- <caption id="caption31" class="cell_1" style="left:0px; top:687px; width:82px; height:23px; vertical-align:middle; ">입학금</caption>
- <caption id="caption32" class="cell_1" style="left:719px; top:711px; width:82px; height:23px; vertical-align:middle; ">승인여부</caption>
- <caption id="caption22" class="cell_1" style="left:0px; top:711px; width:82px; height:23px; vertical-align:middle; ">학생회비</caption>
- <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; ">
- <choices>
- <itemset nodeset="/root/init/checkbox3">
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- </select>
- <select1 id="cmb_qurtyy" ref="/root/main/detailitem/qurtyy" class="combo_default" appearance="minimal" style="left:609px; top:665px; width:108px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/combo1">
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- </select1>
- <caption id="cap_qurtyy" class="cell_1" style="left:525px; top:663px; width:82px; height:23px; vertical-align:middle; ">분기</caption>
- <select1 id="cmb_scholflagdetail" ref="/root/main/detailitem/scholflag" class="combo_default" appearance="minimal" style="left:350px; top:665px; width:173px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/scholflaglist">
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- </select1>
- <caption id="cap_scholflagdetail" class="cell_1" style="left:266px; top:663px; width:82px; height:23px; vertical-align:middle; ">학력구분</caption>
- <caption id="caption27" class="cell_1" style="left:525px; top:687px; width:82px; height:23px; vertical-align:middle; ">기성회비</caption>
- <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; ">
- <script type="javascript" ev:event="DOMFocusOut">
- <![CDATA[
- fpayAmtDelValue();
- ]]>
- </script>
- </input>
- <caption id="caption28" class="cell_1" style="left:266px; top:687px; width:82px; height:23px; vertical-align:middle; ">수업료</caption>
- <input id="ipt_cmt" ref="/root/main/detailitem/cmt" class="input_default" maxlength="100" style="left:1030px; top:688px; width:150px; height:19px; "/>
- <caption id="cap_scholexppayyymm" class="cell_1" style="left:0px; top:663px; width:82px; height:23px; vertical-align:middle; ">지급요청년월</caption>
- <input id="ipt_stdyabrdyn" ref="/root/main/item/stdyabrdyn" class="input_essential" visibility="hidden" style="left:970px; top:270px; width:30px; height:19px; "/>
- <button id="btn_search" class="btn1_letter2" navindex="8" style="left:1124px; top:16px; width:56px; height:22px; text-align:left; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var emplno=ipt_emplno.value;
- if(emplno ==""){
- messageBox("사원번호는","I003");
- }
- misfMsterDetailRetrieve();
- model.refresh();
- ]]>
- </script>
- </button>
- <button id="btn_update" class="btn2_letter2" navindex="13" style="left:1096px; top:273px; width:42px; height:19px; ">
- <caption>수정</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if (!fnullCheck('master')) return;
- var cur_row = grd_scholexplist.row; // 행 번호 가져오기
- if (cur_row > 0) {
- // 그리드에 추가
- model.copyNode("/root/main/masterscholexp/scholexplist["+cur_row+"]","/root/main/item");
- //messageBox(cmb_inst_i.label.elementName);
- //alert(cmb_inst_i.label);
- // 그리드의 레이블을 변경한다.
- fChangeGridValue(cur_row);
- //grd_educlist.cellStyle("background-image", cur_row, 1) = "../../../com/commonweb/images/icon_u.gif";
- grd_scholexplist.addStatus(cur_row,"update"); // 행을 업데이트 상태로 변경
- model.refresh();
- }
- ]]>
- </script>
- </button>
- <button id="btn_clear" class="btn2_letter3" navindex="14" style="left:1141px; top:273px; width:53px; height:19px; ">
- <caption>지우기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fEnableInsertButton();
- model.resetInstanceNode("/root/main/item");
- model.refresh();
- ipt_emplno_i.value=ipt_emplno_s.value;
- ]]>
- </script>
- </button>
- <button id="btn_insert" class="btn2_letter2" navindex="12" style="left:1051px; top:273px; width:42px; height:19px; ">
- <caption>추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if (!fdoubleCheck("master")) return;
- if (!fnullCheck("master")) return;
- var updtdata = getGridUpdateData(grd_scholexplist);
- if (updtdata != "" ) {
- var cur_b_row = grd_scholexplist.row;
- chldrnnm=model.getValue(grd_scholexplist.attribute("nodeset")+"["+cur_b_row+"]/chldrnnm");
- if(grd_scholexpdetaillist.rows-1 ==0){
- messageBox(chldrnnm+"님의 세부현황을 ","C001");
- return;
- }
- var save_val=messageBox("변경된 자료가 존재 합니다. ", "Q002");
- if (save_val == "6") {
- btn_save.dispatch("DOMActivate");
- }
- }
- grd_scholexplist.addItem(); // 입력할 행 추가.
- var cur_row = grd_scholexplist.row; // 추가된 행 번호 가져오기
- // 그리드에 추가
- model.copyNode("/root/main/masterscholexp/scholexplist["+cur_row+"]","/root/main/item");
- fChangeGridValue(cur_row); // 그리드의 레이블을 변경한다.
- fEnableUpdateButton();
- model.refresh();
- ]]>
- </script>
- </button>
- <button id="btn_update2" class="btn2_letter2" navindex="13" style="left:1096px; top:637px; width:42px; height:19px; ">
- <caption>수정</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if (!fnullCheck('detail')) return;
- var cur_row = grd_scholexpdetaillist.row; // 행 번호 가져오기
- check_apryn = grd_scholexpdetaillist.valueMatrix(cur_row,grd_scholexpdetaillist.colRef("psnworkapryn"));
- if(check_apryn=='Y'){
- messageBox("승인된 건은 수정","E001");
- return;
- }
- if (cur_row > 0) {
- // 그리드에 추가
- // model.copyNode("/root/main/detailscholexp/scholexpdetaillist["+cur_row+"]","/root/main/detailitem");
- // 그리드의 레이블을 변경한다.
- fChangeGridValueDetail(cur_row);
- //grd_educlist.cellStyle("background-image", cur_row, 1) = "../../../com/commonweb/images/icon_u.gif";
- grd_scholexpdetaillist.addStatus(cur_row,"update"); // 행을 업데이트 상태로 변경
- model.refresh();
- }
- ]]>
- </script>
- </button>
- <button id="btn_delete2" class="btn2_letter3" navindex="14" style="left:1141px; top:637px; width:53px; height:19px; ">
- <caption>지우기</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fEnableInsertButton2();
- ipt_pnsworkaprvdd.disabled=true;
- model.resetInstanceNode("/root/main/detailitem");
- model.refresh();
- ipt_emplno_d.value=ipt_emplno_s.value;
- ]]>
- </script>
- </button>
- <button id="btn_insert2" class="btn2_letter2" navindex="12" style="left:1051px; top:637px; width:42px; height:19px; ">
- <caption>추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var cur_m_row = grd_scholexplist.row;
- if(!fmasterSelect(cur_m_row)) return;
- if (!fdoubleCheck('detail')) return;
- if (!fnullCheck('detail')) return;
- submit("TRRPA00603");
- var payappyn=model.getValue("/root/temp/payappyn");
- if(payappyn=='Y'){
- messageBox("마감된 월은 학자금 신청을 ","E001");
- return;
- }
- model.refresh();
- grd_scholexpdetaillist.addRow(); // 입력할 행 추가.
- var cur_row = grd_scholexpdetaillist.row; // 추가된 행 번호 가져오기
- // 그리드에 추가
- fChangeGridValueDetail(cur_row); // 그리드의 레이블을 변경한다.
- // fEnableUpdateButton2();
- //model.refresh();
- ]]>
- </script>
- </button>
- <input id="ipt_emplnm" ref="/root/empllist/emplnm" class="input_essential" disabled="true" navindex="21" style="left:440px; top:18px; width:105px; height:19px; "/>
- <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; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- /* 인사정보 Validation Check
- misfValidationCheck(Validation 종류(부서코드, 공통코드, 우편번호...), 공통코드군, 자료를 받을 Instance Node(콤마로 분류해서 넘기면됨)) */
- fInitialize();
- var recv_list = "emplno,emplnm,dutplceinstnm,dutteamnm,jobrespnm,entcodd,prfshipnm";
- rpbfValidationCheck("EMPLNO", recv_list);
-
- ipt_emplno_s.value=ipt_emplno.value;
- ipt_emplno_i.value=ipt_emplno.value;
- ipt_emplno_d.value=ipt_emplno.value;
- btn_search.dispatch("DOMActivate");
- ]]>
- </script>
- </input>
- <button id="btn_emplsearch" class="icon_search" disabled="true" style="left:420px; top:20px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- /* 사원번호 Help 화면 Open
- misfOpenPopUpList(화면종류Code, OPEN하는 Control, 공통코드, 리턴받을 Instance명) */
- fInitialize();
- var recv_list = "emplno,emplnm,dutplceinstnm,dutteamnm,jobrespnm,entcodd,prfshipnm";
- rpbfOpenPopUpList("SPRPB00101", ipt_emplno, recv_list,"","N");
-
- ipt_emplno_s.value=ipt_emplno.value;
- ipt_emplno_i.value=ipt_emplno.value;
- ipt_emplno_d.value=ipt_emplno.value;
- btn_search.dispatch("DOMActivate");
- ]]>
- </script>
- </button>
- <caption id="caption33" class="cell_1" style="left:945px; top:686px; width:82px; height:23px; vertical-align:middle; ">비고</caption>
- <caption id="caption34" class="cell_1" style="left:945px; top:711px; width:82px; height:23px; vertical-align:middle; ">승인일자</caption>
- <caption id="caption35" class="cell_1" style="left:525px; top:711px; width:82px; height:23px; vertical-align:middle; ">급여반영여부</caption>
- <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; ">
- <choices>
- <itemset nodeset="/root/init/radio2">
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- var rgstaprvVal=rdo_psnworkapryn.value;
- if(rgstaprvVal=="Y"){
- ipt_pnsworkaprvdd.disabled=false;
- ipt_pnsworkaprvdd.value=mis_to_day();
- }else{
- ipt_pnsworkaprvdd.disabled=true;
- ipt_pnsworkaprvdd.value="";
- }
- ]]>
- </script>
- </select1>
- <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; "/>
- <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; ">
- <choices>
- <itemset nodeset="/root/init/radio2">
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- </select1>
- <input id="ipt_emplno_i" ref="/root/main/item/emplno" class="input_essential" visibility="hidden" style="left:713px; top:269px; width:100px; height:19px; "/>
- <input id="ipt_emplno_d" ref="/root/main/detailitem/emplno" class="input_essential" visibility="hidden" style="left:460px; top:638px; width:30px; height:19px; "/>
- <input id="ipt_chldrnresdnrgst_d" ref="/root/main/detailitem/chldrnresdnrgst" class="input_essential" visibility="hidden" style="left:370px; top:638px; width:30px; height:19px; "/>
- <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; ">
- <choices>
- <itemset nodeset="/root/init/checkbox1">
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- </select>
- <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; ">
- <choices>
- <itemset nodeset="/root/init/checkbox2">
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- </select>
- <input id="ipt_schoolnm_d" ref="/root/main/detailitem/schoolnm" class="input_essential" visibility="hidden" style="left:410px; top:638px; width:30px; height:19px; "/>
- <input id="ipt_appdd" ref="/root/main/detailitem/appdd" class="input_essential" visibility="hidden" style="left:495px; top:638px; width:30px; height:19px; "/>
- <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; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- ipt_payappmm_check.value=ipt_scholexppayyymm.value;
- var mm=ipt_scholexppayyymm.value.substring(4,6);
- if(mm=='01' ||mm=='02'||mm=='03'){
- cmb_qurtyy.value='1';
- }else if(mm=='04' ||mm=='05'||mm=='06'){
- cmb_qurtyy.value='2';
- }else if(mm=='07' ||mm=='08'||mm=='09'){
- cmb_qurtyy.value='3';
- }else if(mm=='10' ||mm=='11'||mm=='12'){
- cmb_qurtyy.value='4';
- }
- ]]>
- </script>
- </input>
- <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; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- ftotPayAmt();
- ]]>
- </script>
- </input>
- <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; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- ftotPayAmt();
- ]]>
- </script>
- </input>
- <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; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- ftotPayAmt();
- ]]>
- </script>
- </input>
- <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; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- ftotPayAmt();
- ]]>
- </script>
- </input>
- <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; "/>
- <button id="btn_deletemast" class="btn2_letter3" style="left:1074px; top:351px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var cur_row = grd_scholexpdetaillist.row; // 행 번호 가져오기
- var check_apryn=grd_scholexpdetaillist.valueMatrix(cur_row,grd_scholexpdetaillist.colRef("psnworkapryn"));
-
- if(check_apryn=='Y'){
- messageBox("승인된 건은 삭제","E001");
- return;
- }
- grd_scholexpdetaillist.addStatus(grd_scholexpdetaillist.row,"delete");
- fEnableInsertButton2();
- model.refresh();
- //misfGridIUD(grd_scholexpdetaillist, "D");
- ]]>
- </script>
- </button>
- <button id="btn_deletedetail" class="btn2_letter3" style="left:1075px; top:100px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- misfGridIUD(grd_scholexplist, "D");
- fEnableInsertButton();
- ]]>
- </script>
- </button>
- <input id="ipt_payappmm_check" ref="/root/send/appcheck/payappmm" class="input_essential" visibility="hidden" style="left:300px; top:635px; width:40px; height:19px; "/>
- <caption id="caption1" class="cell_1" style="left:719px; top:663px; width:82px; height:23px; vertical-align:middle; ">학년</caption>
- <select1 id="ipt_schoolyy_d" ref="/root/main/detailitem/schoolyy" class="combo_default" appearance="minimal" style="left:803px; top:665px; width:82px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <caption id="cap_emplno_i" visibility="hidden" style="left:655px; top:269px; width:82px; height:23px; vertical-align:middle; ">사원번호 :</caption>
- <input id="input1" ref="/root/main/detailitem/payappmm" class="input_essential" visibility="hidden" style="left:540px; top:640px; width:30px; height:19px; "/>
- <caption id="caption9" class="search_name" style="left:25px; top:20px; width:86px; height:17px; ">지급년월 :</caption>
- <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; "/>
- <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; ">
- <col ref="instnm"/>
- <col ref="deptnm"/>
- <col ref="emplnm"/>
- <col ref="rregno"/>
- <col ref="emplno"/>
- <col ref="chldrnnm"/>
- <col ref="chldrnresdnrgst"/>
- <col ref="scholexppayyymm" format="yyyy-mm" style="text-align:center; "/>
- <col ref="schoolyy" style="text-align:center; "/>
- <col ref="qurtyy" style="text-align:center; "/>
- <col ref="schoolnm"/>
- <col ref="scholexppayamt" format="#,###" style="text-align:right; "/>
- <col ref="admischoolamt" format="#,###" style="text-align:right; "/>
- <col ref="scho" format="#,###" style="text-align:right; "/>
- <col ref="asctfeereliztpln" format="#,###" style="text-align:right; "/>
- <col ref="stdasctfe" format="#,###" style="text-align:right; "/>
- </datagrid>
- <caption id="caption17" class="cell_1" style="left:720px; top:687px; width:82px; height:23px; vertical-align:middle; ">학과</caption>
- <input id="ipt_sbjnmdetail" ref="/root/main/detailitem/sbjnm" class="input_default" maxlength="30" style="left:805px; top:689px; width:135px; height:19px; "/>
- <multilinegrid id="grd_scholexpdetaillist" nodeset="/root/main/detailscholexp/scholexpdetaillist" caption="사원번호^자녀주민번호^지급년월^학년^분기^학교명^입학금^수업료^기성회비^학생회비^합계금액^특목학교
여부^해외유학
여부^성의교정
여부^비고^승인
여부^지급
여부^신청일자^승인일자^학력구분^지급년월^학과명|사원번호^자녀주민번호^지급년월^학년^분기^학교명^급여지급금액^급여지급금액^급여지급금액^급여지급금액^급여지급금액^특목학교
여부^해외유학
여부^성의교정
여부^비고^승인
여부^지급
여부^신청일자^승인일자^학력구분^지급년월^학과명" 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; ">
- <row>
- <col ref="emplno" rowspan="2" visibility="hidden"/>
- <col ref="chldrnresdnrgst" rowspan="2" format="999999-9999999"/>
- <col ref="scholexppayyymm" rowspan="2"/>
- <col ref="schoolyy" rowspan="2" style="text-align:center; "/>
- <col ref="qurtyy" rowspan="2" style="text-align:center; "/>
- <col ref="schoolnm" rowspan="2"/>
- <col ref="admischoolamt" format="#,###" style="text-align:right; "/>
- <col ref="scho" format="#,###" style="text-align:right; "/>
- <col ref="asctfeereliztpln" format="#,###" style="text-align:right; "/>
- <col ref="stdasctfee" format="#,###" style="text-align:right; "/>
- <col ref="scholexppayamt" format="#,###" style="text-align:right; "/>
- <col checkvalue="Y,N" disabled="true" ref="spclschoolyn" rowspan="2" type="checkbox" style="text-align:center; "/>
- <col checkvalue="Y,N" disabled="true" ref="stdyabrdyn" rowspan="2" type="checkbox" style="text-align:center; "/>
- <col checkvalue="Y,N" disabled="true" ref="sekjbngschoolyn" rowspan="2" type="checkbox" style="text-align:center; "/>
- <col ref="cmt" rowspan="2"/>
- <col ref="psnworkapryn" rowspan="2" style="text-align:center; "/>
- <col ref="payappyn" rowspan="2" style="text-align:center; "/>
- <col ref="appdd" rowspan="2" visibility="hidden"/>
- <col ref="pnsworkaprvdd" rowspan="2" visibility="hidden"/>
- <col ref="scholflag" rowspan="2" visibility="hidden"/>
- <col ref="payappmm" rowspan="2" visibility="hidden"/>
- <col ref="sbjnm" rowspan="2" visibility="hidden"/>
- <col ref="oldscholflag" rowspan="2" visibility="hidden"/>
- <col ref="oldschoolyy" rowspan="2" visibility="hidden"/>
- </row>
- <row>
- <col ref="payadmischoolamt" format="#,###" style="text-align:right; "/>
- <col ref="payscho" format="#,###" style="text-align:right; "/>
- <col ref="payasctfeereliztpln" format="#,###" style="text-align:right; "/>
- <col ref="paystdasctfee" format="#,###" style="text-align:right; "/>
- <col ref="payamt" format="#,###" style="text-align:right; "/>
- </row>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- var cur_row = grd_scholexpdetaillist.row;
- // if ( cur_row > 0 ) {
- fEnableUpdateButton2();
- ipt_scholexppayyymm.value = grd_scholexpdetaillist.valueMatrix(cur_row,grd_scholexpdetaillist.colRef("scholexppayyymm"));
- cmb_payappyy_d.value = grd_scholexpdetaillist.valueMatrix(cur_row,grd_scholexpdetaillist.colRef("scholexppayyymm")).substr(0,4);
- cmb_paymm_d.value = grd_scholexpdetaillist.valueMatrix(cur_row,grd_scholexpdetaillist.colRef("scholexppayyymm")).substr(4,6);
- cmb_scholflagdetail.value = grd_scholexpdetaillist.valueMatrix(cur_row,grd_scholexpdetaillist.colRef("scholflag"));
- cmb_qurtyy.value = grd_scholexpdetaillist.valueMatrix(cur_row,grd_scholexpdetaillist.colRef("qurtyy"));
- ipt_schoolyy_d.value = grd_scholexpdetaillist.valueMatrix(cur_row,grd_scholexpdetaillist.colRef("schoolyy"));
- if(grd_scholexpdetaillist.valueMatrix(cur_row,grd_scholexpdetaillist.colRef("stdyabrdyn")) =='Y'){
- chk_stdyabrdyn_d.value ='Y';
- }else{
- chk_stdyabrdyn_d.value ='';
- }
- if(grd_scholexpdetaillist.valueMatrix(cur_row,grd_scholexpdetaillist.colRef("sekjbngschoolyn")) =='Y'){
- chk_sekjbngschoolyn_d.value ='Y';
- }else{
- chk_sekjbngschoolyn_d.value ='';
- }
- if(grd_scholexpdetaillist.valueMatrix(cur_row,grd_scholexpdetaillist.colRef("spclschoolyn")) =='Y'){
- chk_spclschoolyn.value ='Y';
- }else{
- chk_spclschoolyn.value ='';
- }
- //chk_stdyabrdyn_d.value = grd_scholexpdetaillist.valueMatrix(cur_row,grd_scholexpdetaillist.colRef("stdyabrdyn"));
- //chk_sekjbngschoolyn_d.value = grd_scholexpdetaillist.valueMatrix(cur_row,grd_scholexpdetaillist.colRef("sekjbngschoolyn"));
- //chk_spclschoolyn.value = grd_scholexpdetaillist.valueMatrix(cur_row,grd_scholexpdetaillist.colRef("spclschoolyn"));
- ipt_admischoolamt.value = grd_scholexpdetaillist.valueMatrix(cur_row,grd_scholexpdetaillist.colRef("admischoolamt"));
- ipt_scho.value = grd_scholexpdetaillist.valueMatrix(cur_row,grd_scholexpdetaillist.colRef("scho"));
- ipt_asctfeereliztpln.value = grd_scholexpdetaillist.valueMatrix(cur_row,grd_scholexpdetaillist.colRef("asctfeereliztpln"));
- ipt_sbjnmdetail.value = grd_scholexpdetaillist.valueMatrix(cur_row,grd_scholexpdetaillist.colRef("sbjnm"));
- ipt_cmt.value = grd_scholexpdetaillist.valueMatrix(cur_row,grd_scholexpdetaillist.colRef("cmt"));
- ipt_stdasctfee.value = grd_scholexpdetaillist.valueMatrix(cur_row,grd_scholexpdetaillist.colRef("stdasctfee"));
- ipt_scholexppayamt.value = grd_scholexpdetaillist.valueMatrix(cur_row,grd_scholexpdetaillist.colRef("scholexppayamt"));
- ipt_scholexppayyymm.value = grd_scholexpdetaillist.valueMatrix(cur_row,grd_scholexpdetaillist.colRef("payappmm"));
- ipt_payadmischoolamt.value = grd_scholexpdetaillist.valueMatrix(cur_row,grd_scholexpdetaillist.colRef("payadmischoolamt"));
- ipt_payadmischoolamt.value = grd_scholexpdetaillist.valueMatrix(cur_row,grd_scholexpdetaillist.colRef("payadmischoolamt"));
- ipt_payscho.value = grd_scholexpdetaillist.valueMatrix(cur_row,grd_scholexpdetaillist.colRef("payscho"));
- ipt_payasctfeereliztpln.value = grd_scholexpdetaillist.valueMatrix(cur_row,grd_scholexpdetaillist.colRef("payasctfeereliztpln"));
- ipt_paystdasctfee.value = grd_scholexpdetaillist.valueMatrix(cur_row,grd_scholexpdetaillist.colRef("paystdasctfee"));
- ipt_payamt.value = grd_scholexpdetaillist.valueMatrix(cur_row,grd_scholexpdetaillist.colRef("payamt"));
- rdo_psnworkapryn.value = grd_scholexpdetaillist.valueMatrix(cur_row,grd_scholexpdetaillist.colRef("psnworkapryn"));
- rdo_payappyn.value = grd_scholexpdetaillist.valueMatrix(cur_row,grd_scholexpdetaillist.colRef("payappyn"));
- ipt_pnsworkaprvdd.value = grd_scholexpdetaillist.valueMatrix(cur_row,grd_scholexpdetaillist.colRef("pnsworkaprvdd"));
- model.refresh();
- // }
- grd_scholexplist.dispatch("onmouseup");
- ]]>
- </script>
- </multilinegrid>
- <input id="ipt_payadmischoolamt" ref="/root/main/detailitem/payadmischoolamt" class="input_essential" visibility="hidden" style="left:640px; top:635px; width:30px; height:19px; "/>
- <input id="ipt_payscho" ref="/root/main/detailitem/payscho" class="input_essential" visibility="hidden" style="left:680px; top:635px; width:30px; height:19px; "/>
- <input id="ipt_payasctfeereliztpln" ref="/root/main/detailitem/payasctfeereliztpln" class="input_essential" visibility="hidden" style="left:720px; top:635px; width:30px; height:19px; "/>
- <input id="ipt_paystdasctfee" ref="/root/main/detailitem/paystdasctfee" class="input_essential" visibility="hidden" style="left:755px; top:635px; width:30px; height:19px; "/>
- <input id="ipt_payamt" ref="/root/main/detailitem/payamt" class="input_essential" visibility="hidden" style="left:795px; top:635px; width:30px; height:19px; "/>
- <select1 id="cmb_payappyy" ref="/root/send/search/payappyy" class="combo_default" appearance="minimal" style="left:110px; top:20px; width:70px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- ipt_payappmm.value=cmb_payappyy.value+cmb_paymm.value;
- ]]>
- </script>
- </select1>
- <select1 id="cmb_paymm" ref="/root/send/search/paymm" class="combo_default" appearance="minimal" style="left:185px; top:20px; width:55px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/payappmmlist">
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- ipt_payappmm.value=cmb_payappyy.value+cmb_paymm.value;
- ]]>
- </script>
- </select1>
- <select1 id="cmb_paymm_d" ref="/root/main/detailitem/paymm" class="combo_default" appearance="minimal" style="left:160px; top:665px; width:55px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/payappmmlist">
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- ipt_scholexppayyymm.value=cmb_payappyy_d.value+cmb_paymm_d.value;
- ]]>
- </script>
- </select1>
- <select1 id="cmb_payappyy_d" ref="/root/main/detailitem/payappyy" class="combo_default" appearance="minimal" style="left:85px; top:665px; width:70px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- ipt_scholexppayyymm.value=cmb_payappyy_d.value+cmb_paymm_d.value;
- ]]>
- </script>
- </select1>
- <input id="input2" ref="/root/main/detailitem/oldschoolyy" class="input_essential" visibility="hidden" style="left:875px; top:635px; width:30px; height:19px; "/>
- <input id="input3" ref="/root/main/detailitem/oldscholflag" class="input_essential" visibility="hidden" style="left:835px; top:635px; width:30px; height:19px; "/>
- <input id="ipt_sekjbngschoolyn" ref="/root/main/item/sekjbngschoolyn" class="input_essential" visibility="hidden" style="left:1005px; top:270px; width:30px; height:19px; "/>
- </group>
- <group id="grp_btn" scroll="auto" style="left:0px; top:12px; width:1195px; height:27px; ">
- <button id="btn_move" class="btn3_letter4" visibility="hidden" style="left:175px; top:3px; width:80px; height:22px; ">
- <caption>화면이동</caption>
- </button>
- <line id="line11" class="line_6" style="x1:0; y1:25; x2:1195; y2:25; "/>
- <button id="btn_init" class="btn4_letter3" style="left:1069px; top:3; width:68px; height:22px; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var updtdata = getGridUpdateData(grd_scholexplist);
- if (updtdata != "" ) {
- var ret = messageBox("그리드에 작업 중인 내용이 있습니다. 초기화 작업을","Q003");
- if (ret != 6) { // not OK
- return;
- }
- }
- fInitialize();
- ipt_emplno_i.value=ipt_emplno.value;
- ipt_emplno_d.value=ipt_emplno.value;
- ]]>
- </script>
- </button>
- <button id="btn_save" class="btn4_letter2" style="left:1139px; top:3; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var updtdata = getGridUpdateData(grd_scholexplist);
- var updtdata2 = getGridUpdateData(grd_scholexpdetaillist);
-
- var message = '';
-
- if (updtdata == "" && updtdata2 =="") {
- messageBox("변경된 데이터가","I004");
- return;
- }
- model.setValue("/root/main/detailitem/chldrnresdnrgst", grd_scholexplist.valueMatrix(grd_scholexplist.row, grd_scholexplist.colRef("chldrnresdnrgstnm")));
- submit("TRRPA00605");
- if( model.getValue("/root/msglist/dupllist/emplnm") == '') {
- misfSave("TXRPA00601");
- model.resetInstanceNode("/root/main/detailitem");
- }
- else {
- if(grd_scholexpdetaillist.rowStatus(grd_scholexpdetaillist.row) == 1 ) {
- for(var i = 1; ; i++ ) {
- if( model.getValue("/root/msglist/dupllist["+i+"]/emplnm") != '' ) {
- message = model.getValue("/root/msglist/message");
- message = message + model.getValue("/root/msglist/dupllist["+i+"]/emplnm") +"("+ model.getValue("/root/msglist/dupllist["+i+"]/emplno") +")님 께서 "
- + model.getValue("/root/msglist/dupllist["+i+"]/appdd") +"에 이미 신청하셨습니다.\n";
- model.setValue("/root/msglist/message", message);
- }
- else {
- break;
- }
- }
- alert(model.getValue("/root/msglist/message"));
- model.setValue("/root/msglist/message",'');
- }
- else {
- misfSave("TXRPA00601");
- model.resetInstanceNode("/root/main/detailitem");
- }
- }
- ]]>
- </script>
- </button>
- <button id="button3" class="btn6_letter8" style="left:940px; top:3px; width:128px; height:22px; ">
- <caption>학자금신청서출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- submit("TRRPA00604");
- if(grd_reqscholexplist.rows >1){
- fPrint();
- }else{
- messageBox("학자금 신청내역이 ","I004");
- }
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|