123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627 |
- <?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>
- <gvnoffcorddetl>
- <gvnoffcorddetllist/>
- </gvnoffcorddetl>
- <gvnoffcorddetldata>
- <gvnoffcorddetllist/>
- </gvnoffcorddetldata>
- <masterscholexp>
- <scholexplist>
- <emplno/>
- <emplnm/>
- <dutdeptnm/>
- <chldrnresdnrgstnm/>
- <chldrnnm/>
- <scholexppayyymm/>
- <qurtyy/>
- <scholflagnm/>
- <schoolnm/>
- <schoolyy/>
- <scholexppayamt/>
- <appdd/>
- <psnworkapryn/>
- <paydeducretendyn/>
- <payappyn/>
- <chldrnresdnrgst/>
- <instcd/>
- </scholexplist>
- </masterscholexp>
- <detailscholexp>
- <scholexpdetaillist>
- <emplno/>
- <chldrnresdnrgst/>
- <scholexppayyymm/>
- <qurtyynm/>
- <qurtyy/>
- <scholflagnm/>
- <schoolnm/>
- <schoolyy/>
- <scholexppayamt/>
- <spclschoolyn/>
- <admischoolamt/>
- <scho/>
- <asctfeereliztpln/>
- <stdasctfee/>
- <cmt/>
- <psnworkapryn/>
- <payappyn/>
- <stdyabrdyn/>
- <sekjbngschoolyn/>
- <appdd/>
- <psnworkaprdd/>
- <scholflag/>
- </scholexpdetaillist>
- </detailscholexp>
- </main>
- <send>
- <masterscholexp>
- <emplno/>
- <chldrnresdnrgst/>
- <payappmm/>
- </masterscholexp>
- <search>
- <payappmm/>
- <chldrnresdnrgst1/>
- <chldrnresdnrgst2/>
- <chldrnnm/>
- <emplno/>
- <psnworkapryn/>
- <chldrnresdnrgst/>
- <dutinstcd/>
- <emplnm/>
- </search>
- <savelist>
- <scholexplist/>
- <workgbn/>
- <payappmm/>
- </savelist>
- <payappsend>
- <instcd/>
- <payym/>
- <payitemcd/>
- </payappsend>
- </send>
- <init>
- <radio1>
- <label>예</label>
- <value>Y</value>
- <label>아니오</label>
- <value>N</value>
- </radio1>
- <totcount/>
- </init>
- <temp>
- <payappyn/>
- <paytargetyn/>
- <paycreatyn/>
- <sumyn/>
- </temp>
- </root>
- </instance>
- <script type="javascript">
- <![CDATA[
- var GVN_TARGET_NODE = "/root/main/gvnoffcorddetldata";
- var GVN_SOURCE_NODE = "/root/main/gvnoffcorddetl";
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fInitialize();
- btn_save.disabled = !(checkAuth("X"));
- misfGridInit(grd_scholexplist);
- misfGridInit(grd_scholexpdetaillist);
- rpafMsterDetailSet(grd_scholexplist,null, "TRRPA02001" ,"Y");
- rpafMsterDetailSet(grd_scholexpdetaillist,grd_scholexplist, "TRRPA00602","Y" );
- rpaComboInstBase(cmb_instcd,getUserInfo("dutplceinstcd"),"Y");
- var instcd = getUserInfo("dutplceinstcd");
- cmb_instcd.value=instcd;
- misfGetUserAuth();
- if(DUTY_WELF_YN =='Y'){
- cmb_instcd.disabled = false;
- }
- model.refresh();
- ]]>
- </script>
- <submission id="TRRPA00602" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/masterscholexp" resultref="/root/main/detailscholexp"/>
- <submission id="TRRPA02001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/search" resultref="/root/main/masterscholexp"/>
- <submission id="TXRPA02001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savelist" resultref="/root/main/masterscholexp"/>
- <submission id="TRRPA00603" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/search" resultref="/root/temp"/>
- <submission id="TXRWZ00303" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/payappsend" resultref="/root/temp"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
- <script type="javascript" src="../../../mis/pubwelfmngtweb/js/RPS001.js"/>
- <script type="javascript" src="../../../mis/humtrafactmngtweb/js/RPB001.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../mis/insurancemngtweb/js/RPA001.js"/>
- <script type="javascript">
- <![CDATA[
- // 화면 open시와 초기화 버튼 클릭시 화면 초기화 기능을 수행한다.
- function fInitialize() {
- model.removeNodeset("/root/main/masterscholexp/scholexplist");
- model.removeNodeset("/root/main/detailscholexp/scholexpdetaillist");
- model.removeNodeset("/root/main/gvnoffcorddetl/gvnoffcorddetllist");
- model.resetInstanceNode("/root/send");
- model.resetInstanceNode("/root/main/gvnoffcorddetldata/gvnoffcorddetllist");
- //btn_donecancel.disabled=true;
- //btn_creatdone.disabled=true;
- //btn_save.disabled=true;
- model.refresh();
- var curDate = getCurrentDate().toDate();
- model.setValue("/root/send/search/payappmm", curDate.getDateFormat('YYYYMM'));
- }
-
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body guideline="1,1350;1,1349;" 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; ">
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:10px; width:1195px; height:35px; "/>
- <line id="line13" class="line_4" style="x1:1109px; y1:16px; x2:1109px; y2:38px; "/>
- <button id="btn_excelsave" class="btn2_letter4" style="left:1130px; top:48px; 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);
- }
- ]]>
- </script>
- </button>
- <caption id="caption16" class="search_name" style="left:435px; top:20px; width:86px; height:17px; ">사원번호 :</caption>
- <caption id="caption2" class="search_name" visibility="hidden" style="left:620px; top:50px; width:86px; height:17px; ">주민번호 :</caption>
- <input id="ipt_chldrnresdnrgst1" ref="/root/send/search/chldrnresdnrgst1" class="input_default" visibility="hidden" maxlength="6" style="left:704px; top:49px; width:70px; 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" visibility="hidden" maxlength="7" style="left:792px; top:49px; width:70px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- inputEnterKey("btn_search", "DOMActivate");
- ]]>
- </script>
- </input>
- <caption id="caption309" visibility="hidden" style="left:776px; top:51px; width:16px; height:17px; font-weight:bold; text-align:center; vertical-align:bottom; ">~</caption>
- <caption id="caption3" class="search_name" style="left:720px; top:19px; width:83px; height:17px; ">자 녀 명 :</caption>
- <input id="ipt_chldrnnm" ref="/root/send/search/chldrnnm" class="input_default" imemode="hangul" style="left:802px; top:18px; width:80px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- inputEnterKey("btn_search", "DOMActivate");
- ]]>
- </script>
- </input>
- <caption id="caption14" class="tit_2" style="left:5px; top:54px; width:191px; height:13px; ">학자금지급대상 현황</caption>
- <line id="line4" class="line_1" style="x1:0px; y1:69px; x2:1195px; y2:69px; "/>
- <datagrid id="grd_scholexpdetaillist" nodeset="/root/main/detailscholexp/scholexpdetaillist" caption="사원번호^자녀주민번호^신청년월^자녀명^지급년월^학력구분^학년^분기^학교명^입학금^수업료^기성회비^학생회비^합계금액^해외유학여부^특수학교여부^비고^승인여부^급여반영여부^해외유학여부^성의교정여부^신청일자^승인일자^학력코드" colsep="^" colwidth="24, 25, 70, 62, 60, 81, 45, 45, 109, 70, 70, 70, 70, 70, 89, 81, 95, 64, 76, 87, 49, 50, 47, 49" dataheight="25" ellipsis="true" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" tooltip="true" style="left:0px; top:514px; width:1195px; height:221px; ">
- <col ref="emplno" visibility="hidden"/>
- <col ref="chldrnresdnrgst" visibility="hidden"/>
- <col ref="scholexppayyymm" visibility="hidden" format="yyyy-mm" style="text-align:center; "/>
- <col ref="chldrnnm" style="text-align:center; "/>
- <col ref="payappmm" format="yyyy-mm" style="text-align:center; "/>
- <col ref="scholflagnm"/>
- <col ref="schoolyy" style="text-align:center; "/>
- <col ref="qurtyy" style="text-align:center; "/>
- <col ref="schoolnm"/>
- <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; "/>
- <col checkvalue="Y,N" disabled="true" ref="stdyabrdyn" type="checkbox"/>
- <col checkvalue="Y,N" disabled="true" ref="spclschoolyn" type="checkbox" style="text-align:center; "/>
- <col ref="cmt"/>
- <col ref="psnworkapryn" style="text-align:center; "/>
- <col ref="payappyn" style="text-align:center; "/>
- <col ref="stdyabrdyn" visibility="hidden"/>
- <col ref="sekjbngschoolyn" visibility="hidden"/>
- <col ref="appdd" visibility="hidden"/>
- <col ref="psnworkaprdd" visibility="hidden"/>
- <col ref="scholflag" visibility="hidden"/>
- </datagrid>
- <caption id="caption23" class="tit_2" style="left:5px; top:494px; width:113px; height:13px; ">학자금 지급이력</caption>
- <line id="line7" class="line_1" style="x1:0px; y1:509px; x2:1195px; y2:509px; "/>
- <button id="button6" class="btn2_letter4" style="left:1130px; top:488px; 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);
- }
- ]]>
- </script>
- </button>
- <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 payappmm=ipt_payappmm.value;
- ipt_chldrnresdnrgst.value=ipt_chldrnresdnrgst1.value+ ipt_chldrnresdnrgst2.value;
- if(payappmm ==""){
- messageBox("지급년월은","I003");
- return;
- }
- misfMsterDetailRetrieve();
- var totcount=0;
- for(i = grd_scholexplist.fixedRows ; i < grd_scholexplist.rows ; i++ ){
- var paydeducretendyn=model.getValue(grd_scholexplist.attribute("nodeset")+"["+(i-1)+"]/paydeducretendyn");
- if(paydeducretendyn =='Y'){
- misfSetReadOnlyCol(grd_scholexplist, "psnworkapryn", true, i);
- }else{
- misfSetReadOnlyCol(grd_scholexplist, "psnworkapryn", false, i);
- }
- totcount=totcount+1;
- }
- totcount= totcount;
- model.setValue("/root/init/totcount",totcount);
- model.refresh();
-
- ]]>
- </script>
- </button>
- <datagrid id="grd_gvnoffcorddetllist" nodeset="/root/main/gvnoffcorddetl/gvnoffcorddetllist" visibility="hidden" caption="사번^성명^기관^부서^직책명^입사일^교직구분" colsep="^" colwidth="68, 89, 88, 68, 68,90,90" dataheight="25" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" style="left:30px; top:575px; width:185px; height:81px; ">
- <col ref="emplno" type="output"/>
- <col ref="emplnm" type="output"/>
- </datagrid>
- <input id="ipt_emplnm" ref="/root/send/search/emplnm" class="input_default" navindex="21" imemode="hangul" style="left:615px; top:19px; width:90px; height:19px; "/>
- <input id="ipt_emplno" ref="/root/send/search/emplno" class="input_default" navindex="20" style="left:520px; top:19px; width:69px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var recv_list = "emplno,emplnm";
- rpbfValidationCheck("EMPLNO", recv_list);
- model.refresh();
-
- ]]>
- </script>
- </input>
- <button id="btn_emplsearch" class="icon_search" style="left:595px; top:23px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var recv_list = "emplno,emplnm";
- rpbfOpenPopUpList("SPRPB00101", ipt_emplno, recv_list,"","N");
- model.refresh();
- // fInitialize()
- ]]>
- </script>
- </button>
- <input id="ipt_payappmm" ref="/root/send/search/payappmm" class="input_s_essential" inputtype="date" format="yyyy-mm" style="left:100; top:18; width:100px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- //ipt_payappmm_s.value=ipt_payappmm.value;
- //if(ipt_payappmm_s.value !=""){
- // btn_search.dispatch("DOMActivate");
- //}
-
- var instcd = cmb_instcd.value;
- if( getStringLength(ipt_payappmm.value) == "6" ) {
- //model.removeNodeset(cmb_instcd.attribute("ref"));
- //model.makeNode("/root/send/search/dutinstcd");
- misfComboInstCdListMulti("cmb_instcd",ipt_payappmm.value,"","Y");
- cmb_instcd.value = instcd;
- model.refresh();
- }
- ]]>
- </script>
- </input>
- <caption id="caption1" class="search_name" style="left:15px; top:19; width:86px; height:17px; ">지급년월 :</caption>
- <caption id="caption4" class="search_name" style="left:893px; top:20px; width:86px; height:17px; ">승인여부 :</caption>
- <select1 id="rdo_psnworkapryn" ref="/root/send/search/psnworkapryn" class="radio_search" appearance="full" cols="2" overflow="visible" style="left:978px; top:20px; width:90px; 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_chldrnresdnrgst" ref="/root/send/search/chldrnresdnrgst" class="input_default" visibility="hidden" style="left:485px; top:50px; width:25px; height:19px; "/>
- <input id="ipt_workgbn" ref="/root/send/savelist/workgbn" class="input_default" navindex="20" visibility="hidden" style="left:550px; top:50px; width:26px; height:19px; "/>
- <input id="ipt_payappmm_s" ref="/root/send/savelist/payappmm" class="input_default" visibility="hidden" style="left:450px; top:50px; width:25px; height:19px; "/>
- <multilinegrid id="grd_scholexplist" nodeset="/root/main/masterscholexp/scholexplist" caption="사원번호^사원명^기관^자녀주민번호^학력구분코드^학력구분^학년^분기^구분^입학금^수업료^기성회비^학생회비^합계금액^지급년월^유학
여부^승인
여부^마감
여부^지급
여부^비고^신청년월|사원번호^사원명^근무부서^자녀명^학력구분코드^학교명^학과^학과^구분^입학금^수업료^기성회비^학생회비^합계금액^지급년월^유학
여부^승인
여부^마감
여부^지급
여부^비고^신청년월" colsep="^" colwidth="75, 67, 100, 91, 29, 126, 46, 48, 69, 67, 64, 63, 64, 64, 58, 37, 32, 35, 35, 99, 100" ellipsis="true" rowheader="update" rowsep="|" tooltip="true" mergecellsfixedrows="bycolrec" style="left:0px; top:74px; width:1194px; height:400px; ">
- <row>
- <col ref="emplno" rowspan="2" style="text-align:center; "/>
- <col ref="emplnm" rowspan="2" style="text-align:center; "/>
- <col ref="instnm" style="text-align:center; "/>
- <col ref="chldrnresdnrgst" format="999999-9999999" style="text-align:center; "/>
- <col ref="scholflag" rowspan="2" visibility="hidden"/>
- <col ref="scholflagnm" style="text-align:center; "/>
- <col ref="schoolyy" style="text-align:center; "/>
- <col ref="qurtyy" style="text-align:center; "/>
- <col ref="amtgbn1" style="text-align:center; "/>
- <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 ref="payappmm" rowspan="2" format="yyyy-mm" style="text-align:center; "/>
- <col checkvalue="Y,N" disabled="true" ref="stdyabrdyn" rowspan="2" type="checkbox"/>
- <col checkvalue="Y,N" ref="psnworkapryn" rowspan="2" type="checkbox" style="text-align:center; "/>
- <col ref="paydeducretendyn" rowspan="2" style="text-align:center; "/>
- <col ref="payappyn" rowspan="2" style="text-align:center; "/>
- <col ref="cmt" rowspan="2" type="input"/>
- <col ref="scholexppayyymm" rowspan="2" visibility="hidden"/>
- <col ref="oldpsnworkapryn" rowspan="2" visibility="hidden"/>
- </row>
- <row>
- <col ref="dutdeptnm" style="text-align:center; "/>
- <col ref="chldrnnm" style="text-align:center; "/>
- <col ref="schoolnm" style="text-align:center; "/>
- <col colspan="2" ref="sbjnm" style="text-align:center; "/>
- <col ref="amtgbn2" style="text-align:center; "/>
- <col ref="payadmischoolamt" type="input" format="#,###" style="text-align:right; "/>
- <col ref="payscho" type="input" format="#,###" style="text-align:right; "/>
- <col ref="payasctfeereliztpln" type="input" format="#,###" style="text-align:right; "/>
- <col ref="paystdasctfee" type="input" format="#,###" style="text-align:right; "/>
- <col ref="payamt" type="output" format="#,###" style="text-align:right; "/>
- </row>
- <script type="javascript" ev:event="onrowchanged">
- <![CDATA[
- var cur_row=grd_scholexplist.row;
- var emplno= grd_scholexplist.valueMatrix(cur_row,grd_scholexplist.colRef("emplno"));
- var chldrnresdnrgst = grd_scholexplist.valueMatrix(cur_row,grd_scholexplist.colRef("chldrnresdnrgst"));
- var payappmm = grd_scholexplist.valueMatrix(cur_row,grd_scholexplist.colRef("payappmm"));
- model.setValue("/root/send/masterscholexp/emplno",emplno);
- model.setValue("/root/send/masterscholexp/chldrnresdnrgst",chldrnresdnrgst);
- model.setValue("/root/send/masterscholexp/payappmm",payappmm);
- submit("TRRPA00602");
- model.refresh();
-
- grd_scholexplist.dispatch("onmouseup");
-
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var deduamt =0;
- var payadmischoolamt = grd_scholexplist.valueMatrix(grd_scholexplist.row, grd_scholexplist.colRef("payadmischoolamt")) ;
- var payscho = grd_scholexplist.valueMatrix(grd_scholexplist.row, grd_scholexplist.colRef("payscho")) ;
- var payasctfeereliztpln = grd_scholexplist.valueMatrix(grd_scholexplist.row, grd_scholexplist.colRef("payasctfeereliztpln")) ;
- var paystdasctfee = grd_scholexplist.valueMatrix(grd_scholexplist.row, grd_scholexplist.colRef("paystdasctfee")) ;
- if (grd_scholexplist.col== 28 || grd_scholexplist.col== 29 ||grd_scholexplist.col== 30 || grd_scholexplist.col== 31) {
- deduamt =parseFloat(payadmischoolamt)+parseFloat(payscho)+parseFloat(payasctfeereliztpln)+parseFloat(paystdasctfee);
- grd_scholexplist.valueMatrix(grd_scholexplist.row, grd_scholexplist.colRef("payamt"))=deduamt;
- }
- grd_scholexplist.dispatch("onmouseup");
- ]]>
- </script>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- model.removenode("/root/temp/source");
- model.makeNode("/root/temp/source");
- model.makeValue("/root/temp/source/emplno",grd_scholexplist.valueMatrix(grd_scholexplist.row, grd_scholexplist.colRef("emplno")) );
- model.makeValue("/root/temp/source/emplnm",grd_scholexplist.valueMatrix(grd_scholexplist.row, grd_scholexplist.colRef("emplnm")) );
- modal("SMRPA00600","","","","","/root/temp/source", "/root/target" );
- ]]>
- </script>
- </multilinegrid>
- <caption id="cap_instcd" class="search_name" style="left:220px; top:20px; width:70px; height:17px; ">기 관 :</caption>
- <select1 id="cmb_instcd" ref="/root/send/search/dutinstcd" class="combo_s_essential" appearance="minimal" disabled="true" style="left:285px; top:18px; width:135px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption5" style="left:172px; top:49px; width:95px; height:20px; font-weight:bold; color:#0000ff; ">* 조회건수:</caption>
- <output id="output1" ref="/root/init/totcount" style="left:242px; top:49px; width:110px; height:19px; font-weight:bold; color:#0000ff; "/>
- <button id="button1" class="btn2_letter4" style="left:1064px; top:48px; width:64px; height:19px; ">
- <caption>전체취소</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var updtdata = getGridUpdateData(grd_scholexplist);
- if (updtdata != "") {
- var ret = messageBox("그리드에 작업 중인 내용이 있습니다. 저장후","C002");
- return;
- }
-
- for (var i = grd_scholexplist.fixedRows; i < grd_scholexplist.rows; i++ ) {
-
- grd_scholexplist.valueMatrix(i, grd_scholexplist.colRef("psnworkapryn")) = 'N';
- if(grd_scholexplist.valueMatrix(i, grd_scholexplist.colRef("oldpsnworkapryn"))!=grd_scholexplist.valueMatrix(i, grd_scholexplist.colRef("psnworkapryn"))){
- grd_scholexplist.addStatus(i,"update");
- }else if(grd_scholexplist.valueMatrix(i, grd_scholexplist.colRef("oldpsnworkapryn"))==grd_scholexplist.valueMatrix(i, grd_scholexplist.colRef("psnworkapryn"))){
- grd_scholexplist.rowStatus(i) =0;
- }
-
- }
- ]]>
- </script>
- </button>
- <button id="button12" class="btn2_letter4" style="left:997px; top:48px; width:64px; height:19px; ">
- <caption>전체선택</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var updtdata = getGridUpdateData(grd_scholexplist);
- if (updtdata != "") {
- var ret = messageBox("그리드에 작업 중인 내용이 있습니다. 저장후","C002");
- return;
- }
-
- for (var i = grd_scholexplist.fixedRows; i < grd_scholexplist.rows; i++ ) {
-
- grd_scholexplist.valueMatrix(i, grd_scholexplist.colRef("psnworkapryn")) = 'Y';
- if(grd_scholexplist.valueMatrix(i, grd_scholexplist.colRef("oldpsnworkapryn"))!=grd_scholexplist.valueMatrix(i, grd_scholexplist.colRef("psnworkapryn"))){
- grd_scholexplist.addStatus(i,"update");
- }else if(grd_scholexplist.valueMatrix(i, grd_scholexplist.colRef("oldpsnworkapryn"))==grd_scholexplist.valueMatrix(i, grd_scholexplist.colRef("psnworkapryn"))){
- grd_scholexplist.rowStatus(i) =0;
- }
-
- }
-
- ]]>
- </script>
- </button>
- </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:0px; top:3; 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:824px; top:3px; 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();
- ]]>
- </script>
- </button>
- <button id="btn_save" class="btn4_letter2" style="left:1136px; top:3px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var updtdata = getGridUpdateData(grd_scholexplist);
-
- if (updtdata == "" ) {
- messageBox("변경된 데이터가","I004");
- return;
- }
- var retMes = messageBox(" ", "Q002");
- if ( retMes != 6) {
- return;
- }
- submit("TRRPA00603");
- var payappyn=model.getValue("/root/temp/payappyn");
- if(payappyn=='Y'){
- messageBox("급여이체가 완료된 자료는 수정 할 수 ","E001");
- return;
- }
- ipt_workgbn.value="A";
- if(ipt_workgbn.value =="A"){
- misfSave("TXRPA02001");
- }
-
- btn_search.dispatch("DOMActivate");
- model.refresh();
- ]]>
- </script>
- </button>
- <button id="btn_donecancel" class="btn4_letter4" visibility="visible" style="left:974px; top:3px; width:80px; height:22px; ">
- <caption>마감취소</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var retMes = messageBox("자료를 마감을", "Q007");
- if ( retMes != 6) {
- return;
- }
- submit("TRRPA00603");
- var payappyn =model.getValue("/root/temp/payappyn");
- if(payappyn =='Y'){
- messageBox("급여이체가 완료된 건은 취소","E001");
- return;
- }
- ipt_workgbn.value="F";
- if(ipt_workgbn.value =="F"){
- for(i=1;i < grd_scholexplist.rows;i++){
- grd_scholexplist.addStatus(i,"update");
- }
- misfSave("TXRPA02001")
- }
- btn_search.dispatch("DOMActivate");
- model.refresh();
- ]]>
- </script>
- </button>
- <button id="btn_creatdone" class="btn4_letter4" visibility="visible" style="left:893px; top:3px; width:80px; height:22px; ">
- <caption>자료마감</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var retMes = messageBox("자료를 마감을", "Q004");
- if ( retMes != 6) {
- return;
- }
- ipt_workgbn.value="C";
- if(ipt_workgbn.value =="C"){
- for(i=1;i < grd_scholexplist.rows;i++){
- grd_scholexplist.addStatus(i,"update");
- }
- misfSave("TXRPA02001");
- }
- btn_search.dispatch("DOMActivate");
- model.refresh();
- ]]>
- </script>
- </button>
- <button id="button2" class="btn4_letter4" style="left:1055px; top:3px; width:80px; height:22px; ">
- <caption>급여이체</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(!isRequiredControls("ipt_telym","cmb_instcd"))return;
- var retMes = messageBox("급여이체를 ", "Q004");
- if ( retMes != 6) {
- return;
- }
- submit("TRRPA00603");
-
- var sumyn= model.getValue("/root/temp/sumyn");
- var payappyn =model.getValue("/root/temp/payappyn");
- var paytargetyn = model.getValue("/root/temp/paytargetyn");
- var paycreatyn = model.getValue("/root/temp/paycreatyn");
- if(sumyn !='Y'){
- messageBox("이체할 자료가 ","I004");
- return;
- }
- if(paycreatyn =='N'){
- messageBox("자료마감이 완료되지 않아 급여이체를 ","E001");
- return;
- }
- if(paytargetyn !='Y'){
- messageBox("급여대상자가 생성되지 않아 급여이체를","E001");
- return;
- }
- if(payappyn =='Y'){
- messageBox("급여이체 자료가 이미","I001");
- return;
- }
- var instcd = getUserInfo("dutplceinstcd");
- var payym = model.getValue("/root/send/search/payappmm");
- var payitemcd = "10490";
- model.setValue("/root/send/payappsend/instcd",instcd);
- model.setValue("/root/send/payappsend/payym",payym);
- model.setValue("/root/send/payappsend/payitemcd",payitemcd);
-
-
- misfSave("TXRWZ00303");
- if (model.getValue(gvErrorMsgPath + "/type") != "error"){
- messageBox("급여이체작업이","I001");
- misfMsterDetailRetrieve();
- }
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|