123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614 |
- <?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>
- <credasctnload>
- <credasctnloadlist/>
- </credasctnload>
- <list01>
- <gridsummary/>
- </list01>
- <list02>
- <return>
- <jryn/>
- </return>
- </list02>
- </main>
- <send>
- <attach>
- <file/>
- </attach>
- <title/>
- <jobkind/>
- <delflag/>
- <jrflag/>
- <savelist>
- <credasctnloadlist/>
- </savelist>
- <searchlist>
- <notiym/>
- <emplno/>
- <emplnm/>
- <instcd/>
- <nondedu/>
- <dutinstcd/>
- </searchlist>
- <payappsend>
- <instcd/>
- <payym/>
- <payitemcd/>
- <cancelyn/>
- </payappsend>
- </send>
- <temp>
- <cnt/>
- <doduyn/>
- <payappyn/>
- <hidden/>
- </temp>
- <init>
- </init>
- </root>
- </instance>
- <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="../../../mis/paybnusmngtweb/js/RWP001.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fInitialize();
- misfGridInit(grd_credasctnloadlist);
- misfGridInit(grd_attach);
- misfMsterDetailSet(grd_credasctnloadlist, null, "TRRPA07301" ,"Y");
- misfComboComCdList('Z0007', cmb_instcd,"Y");
- //misfComboComCdList('Z0007', grd_credasctnloadlist.instcd,"");
- misfComboInstCdListMulti("grd_credasctnloadlist.instcd",getCurrentDate(),"","Y");
- // misfComboCopyItemSet(cmb_instcd, "", grd_credasctnloadlist, "instcd");
- model.setValue(cmb_instcd.attribute("ref"), getUserInfo("dutplceinstcd"));
- model.setValue("/root/send/searchlist/dutinstcd", getUserInfo("dutplceinstcd"));
-
- model.refresh();
- //화면 권한 설정
- btn_save.disabled = !(checkAuth("X"));
- model.setFocus("ipt_notiym");
- ]]>
- </script>
- <submission id="TRRPA07301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/searchlist" resultref="/root/main/credasctnload"/>
- <submission id="TXRPA07301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savelist" resultref="/root/temp"/>
- <submission id="TRRPA07302" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/searchlist" resultref="/root/temp"/>
- <submission id="TXRPA07302" mediatype="multipart/form-data" method="form-data-post" ref="/root/send" resultref="/root/main/list01"/>
- <submission id="TXRPA07303" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/searchlist" resultref="/root/temp"/>
- <submission id="TXRWZ00303" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/payappsend" resultref="/root/temp/hidden"/>
- </model>
- <script type="javascript">
- <![CDATA[
- // 화면 open시와 초기화 버튼 클릭시 화면 초기화 기능을 수행한다.
- function fInitialize() {
- model.removeNodeset("/root/main/credasctnloadlist");
- model.removeNodeset("/root/main/list/filelist");
- model.resetInstanceNode("/root/send");
- model.refresh();
- var curDate = getCurrentDate().toDate();
- model.setValue("/root/send/searchlist/notiym", curDate.getDateFormat('YYYYMM'));
- }
-
- /** 왼쪽 공백 제거 */
- function funcLtrim( str ) {
- var src = new String( str );
- var tmp = new String();
- var i,firstnum, len = src.length;
-
- for(i = 0;i < len ;i++) {
- tmp = src.substring(i,i+1);
- if (tmp != ' ' ) {
- firstnum = i;
- break;
- }
- }
- tmp = src.substring(firstnum);
- return tmp;
- }
- var fso=new ActiveXObject("Scripting.FileSystemObject");
- function fCsvUpload() {
- var maxsize = upload1.attribute("filesize");
- //var files = window.fileDialog("open", "|", true);
- //var filename = window.fileDialog("open", "|", true,dirPath + fileName, "txt", "All File(*.*)|*.*");
- var filename = window.fileDialog("open", ",", false, "", "txt", "Text Files(*.txt)|*.txt|All Files (*.*)|*.*");
- var filelist = filename.split("|");
- model.removeNodeset("/root/main/list/filelist");
- model.removeNodeset("/root/send/attach");
- //타이틀을 획득한다.
- var s = new String(filelist[filelist.length-1]);
- var ss = s.split("\\");
- if(filename !=""){
- if (!fso.FileExists(filename)) {
- fso.CreateTextFile(filename,true);
- }
- var ts=fso.OpenTextFile(filename,1);
- var i=0;
- while (!ts.AtEndOfStream) {
- i++;
- strData = ts.ReadLine();
- ts.Close();
- if(!fIsValidate(strData))return;
- if(i == 1)break;
- } //end of while
- //var notiym = strData.substring(3, 6);
- //model.setValue("/root/send/searchlist/notiym", notiym);
-
- submit("TRRPA07302");
- var doduyn = ipt_doduyn.value;
- doduyn = "N";
-
- if(doduyn =='Y'){
- messageBox("["+cmb_instcd.label+"] 해당월의 자료가 ","E006");
- return;
- }else{
- //작업 전 row를 추가 >파일명 유/무에 따른 분기>
- for(var i = 0 ; i < filelist.length ; i++ ){
- grd_attach.addRow(false);
-
- if(filelist[i] == ""){
- //alert(grd_attach.rows - 1);
- grd_attach.removeRow(false);
- grd_attach.refresh();
- }
- else{
- grd_attach.valueMatrix(grd_attach.rows - 1, 0) = filelist[i];
- //파일크기('tfHelper.checkFileSize' 참조)
- var fileCnt = upload1.getFileCount();
- var lastIndex = fileCnt - 1;
- var fileSize = upload1.getFileSize(lastIndex);
- grd_attach.textmatrix(grd_attach.rows - 1,1) = fileSize;
-
- if (!checkFileSize(upload1)){
- grd_attach.removeItem();
- messageBox("파일 크기가 최대치("+maxsize+"Byte)를", "E003");
- return;
- }
- }
- }
- openLoadingBar("파일업로드 작업중입니다... ") ;
- submit("TXRPA07302");
-
- closeLoadingBar();
- if (model.getValue(gvErrorMsgPath + "/type") != "error"){
- messageBox("작업이","I002");
- btn_search.dispatch("DOMActivate");
- }
-
- }
- }
- }
-
- //=============================================================================================
- // 전환할 Line의 유효성 검사
- //=============================================================================================
- function fIsValidate(strData) {
- if(lvGetByteSize(strData) == 109) { //레코드길이 100 bytes
- var notiymStr=model.getValue("/root/send/searchlist/notiym");
- var notiym =notiymStr.substring(1,6);
-
- //작업 년월을 비교한다.
- if(strData.substring(1, 6) != notiym) {
- messageBox("선택한 파일의 년월과 입력한 년월 값이 ", "E004");
- return false;
- }
- }
- return true;
- }
-
- /**
- * @group : lvString 확장
- * @ver : 2004.07.29 (KUHDEV-0002)
- * @by : LeeHJ.
- * @---------------------------------------------------
- * @type : function
- * @access : public
- * @desc : 파라미터 값의 Byte 크기를 리턴
- * @param : N/A
- * @return : 파라미터 값의 Byte 크기
- * @---------------------------------------------------
- */
- function lvGetByteSize(strData)
- {
- var tcount = 0;
-
- var tmpStr = new String(strData);
- var temp = tmpStr.length;
-
- var onechar;
- for ( k=0; k<temp; k++ )
- {
- onechar = tmpStr.charAt(k);
- if (escape(onechar).length > 4) {
- tcount += 2;
- }
- else {
- tcount += 1;
- }
- }
- return tcount;
- }
-
- ]]>
- </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:500px; 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:1194px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
- <caption id="caption2" class="search_name" style="left:16px; top:19px; width:65px; height:17px; ">년 월 :</caption>
- <button id="btn_search" class="btn1_letter2" style="left:1120px; top:19px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(!isRequiredControls("ipt_notiym"))return;
-
- misfMsterDetailRetrieve();
-
- // if(chkdedu.value== "Y"){
- // grd_credasctnloadlist.colDisabled(2) =false;
- // grd_credasctnloadlist.colDisabled(3) =false;
- // grd_credasctnloadlist.colDisabled(7) =false;
- // }else{
- // grd_credasctnloadlist.colDisabled(2) =true;
- // grd_credasctnloadlist.colDisabled(3) =true;
- // grd_credasctnloadlist.colDisabled(7) =true;
- // }
-
- ]]>
- </script>
- </button>
- <line id="line207" class="line_1" style="x1:0px; y1:69px; x2:1194px; y2:69px; "/>
- <datagrid id="grd_credasctnloadlist" nodeset="/root/main/credasctnload/credasctnloadlist" caption="기관^사원번호^성명^근무상태^퇴직일자^출자금^적금^자립예금^자유저축예금^대출원금^대출이자^기타금액^합계^급여적용여부^급여기관코드^순번^조정금액^합계^년월|기관^사원번호^성명^근무상태^퇴직일자^출자금^적금^자립예금^자유저축예금^대출원금^대출이자^기타금액^합계^급여적용여부^급여기관코드^순번^조정금액^합계^년월" colsep="^" colwidth="116, 74, 79, 92, 81, 87, 83, 79, 86, 88, 76, 73, 85, 47, 30, 21, 28, 27, 33" dataheight="25" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" style="left:0px; top:74px; width:1194px; height:640px; ">
- <col id="instcd" disabled="true" ref="instcd" type="combo">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </col>
- <col ref="emplno" type="inputbutton" _key="true"/>
- <col ref="emplnm"/>
- <col ref="preststatnm"/>
- <col ref="retiredd" format="yyyy-mm-dd"/>
- <col ref="invstamt" type="input" format="(-)#,###" style="text-align:right; vertical-align:middle; "/>
- <col ref="installamt" type="input" format="(-)#,###" style="text-align:right; vertical-align:middle; "/>
- <col ref="selfsaveamt" type="input" format="(-)#,###" style="text-align:right; vertical-align:middle; "/>
- <col ref="freesaveamt" type="input" format="(-)#,###" style="text-align:right; vertical-align:middle; "/>
- <col ref="loanprincamt" type="input" format="(-)#,###" style="text-align:right; vertical-align:middle; "/>
- <col ref="loanamt" type="input" format="(-)#,###" style="text-align:right; vertical-align:middle; "/>
- <col ref="etcamt" type="input" format="(-)#,###" style="text-align:right; vertical-align:middle; "/>
- <col ref="credasctnamt" type="output" format="(-)#,###" style="text-align:right; vertical-align:middle; "/>
- <col ref="payappyn" style="text-align:center; "/>
- <col ref="payinst" visibility="hidden"/>
- <col ref="seqno" visibility="hidden"/>
- <col ref="adjtamt" type="input" visibility="hidden" format="(-)#,###" style="text-align:right; "/>
- <col ref="totcredasctnamt" visibility="hidden" format="(-)#,###" style="text-align:right; "/>
- <col ref="notiym" visibility="hidden" format="yyyy-mm" style="text-align:center; "/>
- <script type="javascript" ev:event="onentercell">
- <![CDATA[
- // if(grd_credasctnloadlist.valueMatrix(grd_credasctnloadlist.row, grd_credasctnloadlist.colRef("payappyn")) == "Y")
- // {
- // messageBox("급여적용되었으므로 수정" ,"E001");
- // misfSetReadOnlyCol(grd_credasctnloadlist,"emplno,adjtamt,credasctnamt",true);
- // }
- ]]>
- </script>
- <script type="javascript" ev:event="onbuttonclick">
- <![CDATA[
- var cur_row=grd_credasctnloadlist.row;
- if (grd_credasctnloadlist.colAttribute(grd_credasctnloadlist.col,"ref") == "emplno" ) { //계산기준코드
- var recv_list = "emplno,emplnm,payinst,preststatnm,retiredd";
-
- rpbfOpenPopUpList("SPRPB00101", grd_credasctnloadlist, recv_list,"","Y");
- grd_credasctnloadlist.valueMatrix(cur_row,grd_credasctnloadlist.colRef("instcd"))=grd_credasctnloadlist.valueMatrix(cur_row,grd_credasctnloadlist.colRef("payinst"));
- model.refresh();
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_credasctnloadlist.gridToInstance();
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var adjtamt = grd_credasctnloadlist.valueMatrix(grd_credasctnloadlist.row,grd_credasctnloadlist.colRef("adjtamt"));
- var credasctnamt = grd_credasctnloadlist.valueMatrix(grd_credasctnloadlist.row,grd_credasctnloadlist.colRef("credasctnamt"));
- grd_credasctnloadlist.valueMatrix(grd_credasctnloadlist.row,grd_credasctnloadlist.colRef("totcredasctnamt")) =parseInt(adjtamt)+parseInt(credasctnamt);
- ]]>
- </script>
- <script type="javascript" ev:event="onrowchanged">
- <![CDATA[
- if(grd_credasctnloadlist.valueMatrix(grd_credasctnloadlist.row, grd_credasctnloadlist.colRef("payappyn")) == "Y")
- {
- //messageBox("급여적용되었으므로 수정" ,"E001");
- misfSetReadOnlyCol(grd_credasctnloadlist,"emplno,adjtamt,invstamt,installamt,selfsaveamt,freesaveamt,loanprincamt,loanamt,etcamt",true);
- }
- else
- {
- misfSetReadOnlyCol(grd_credasctnloadlist,"emplno,adjtamt,invstamt,installamt,selfsaveamt,freesaveamt,loanprincamt,loanamt,etcamt",false);
- }
- ]]>
- </script>
- </datagrid>
- <input id="ipt_notiym" ref="/root/send/searchlist/notiym" class="input_s_essential" inputtype="date" format="yyyy-mm" style="left:83px; top:19px; width:74px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var instcd = cmb_instcd.value;
- if( getStringLength(ipt_notiym.value) == "6" ) {
- model.removeNodeset(cmb_instcd.attribute("ref"));
- model.makeNode("/root/send/searchlist/instcd");
- misfComboInstCdListMulti("cmb_instcd",ipt_notiym.value,"","Y");
- cmb_instcd.value = instcd;
- model.refresh();
- }
- ]]>
- </script>
- </input>
- <caption id="caption9" class="tit_2" style="left:10px; top:54px; width:179px; height:14px; ">신협공제</caption>
- <button id="btn_upload" class="btn5_letter5" style="left:1048px; top:48px; width:75px; height:19px; ">
- <caption>파일업로드</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(!isRequiredControls("ipt_notiym"))return;
- fCsvUpload();
- ]]>
- </script>
- </button>
- <caption id="caption5" class="search_name" style="left:393px; top:20px; width:65px; height:17px; ">사 번 :</caption>
- <input id="ipt_emplno" ref="/root/send/searchlist/emplno" class="input_search" imemode="hangul" style="left:463px; top:19px; width:85px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
-
- var recv_list = "emplno,emplnm" ;
- rpbfValidationCheck("EMPLNO", recv_list);
- model.refresh();
-
- ]]>
- </script>
- </input>
- <select1 id="cmb_instcd" ref="/root/send/searchlist/instcd" class="combo_s_essential" appearance="minimal" style="left:259px; top:19px; width:121px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <input id="ipt_doduyn" ref="/root/temp/doduyn" visibility="hidden"/>
- <upload id="upload1" nodeset="/root/send/attach/file" ext="zip" filecount="5" filesize="41943040" validate="true" style="left:95px; top:45px; width:25px; height:20px; "/>
- <datagrid id="grd_attach" nodeset="/root/send/attach" class="datagrid1" visibility="hidden" caption="File Name^File Size" colsep="^" colwidth="403, 93" dataheight="23" ellipsis="true" focuscolor="#b9e5fb" mergecellsfixedrows="bycolrec" rowheight="23" rowsep="|" style="left:75px; top:180px; width:505px; height:69px; ">
- <col ref="file" style="text-align:center; "/>
- <col ref="filesize" format="#,###" style="text-align:right; "/>
- </datagrid>
- <button id="btn_exceldetail" class="btn2_letter4" style="left:1125px; 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_credasctnloadlist.saveExcel(fileName, "SheetName", true, true, "", "");
- }
- ]]>
- </script>
- </button>
- <caption id="caption1" class="search_name" style="left:188px; top:20px; width:101px; height:17px; ">기 관 :</caption>
- <button id="btn_emplno" class="icon_search" style="left:552px; top:21px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- var recv_list = "emplno,emplnm" ;
- rpbfOpenPopUpList("SPRPB00101", ipt_emplno, recv_list,"1","N");
-
- model.refresh();
- ]]>
- </script>
- </button>
- <input id="ipt_emplnm" ref="/root/send/searchlist/emplnm" class="input_default" imemode="hangul" style="left:570px; top:19px; width:99px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- inputEnterKey("btn_search", "DOMActivate");
- ]]>
- </script>
- </input>
- <select id="chkdedu" ref="/root/send/searchlist/nondedu" overflow="visible" appearance="full" style="left:690px; top:21px; width:55px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>비공제</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- <button id="btn_grddelfamylist" class="btn2_letter3" visibility="hidden" style="left:920px; top:50px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var cur_row =grd_credasctnloadlist.row;
- var rowStatus=grd_credasctnloadlist.rowStatus(cur_row);
- /* if(rowStatus =='0' || rowStatus =='2'){
- grd_famylist.valueMatrix(cur_row, grd_famylist.colRef("delynaftupdt")) ="Y";
- grd_famylist.valueMatrix(cur_row, grd_famylist.colRef("datachgbn"))='D';
- grd_famylist.addStatus(cur_row,"update");
- }else{*/
- misfGridIUD(grd_credasctnloadlist, "D");
- // }
-
- ]]>
- </script>
- </button>
- <button id="btn_grdaddfamylist" class="btn2_letter3" visibility="hidden" style="left:985px; top:48px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- misfGridIUD(grd_credasctnloadlist, "A");
- var cur_row=grd_credasctnloadlist.row;
- grd_credasctnloadlist.valueMatrix(cur_row,grd_credasctnloadlist.colRef("payappyn")) ='N';
- grd_credasctnloadlist.valueMatrix(cur_row,grd_credasctnloadlist.colRef("adjtamt")) ='0';
-
-
- ]]>
- </script>
- </button>
- </group>
- <group id="grp_btn" scroll="auto" style="left:0px; top:12px; width:1195px; height:27px; ">
- <button id="btn_save" class="btn4_letter2" visibility="visible" style="left:1130px; top:2px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var updtdata = getGridUpdateData(grd_credasctnloadlist);
- if (updtdata == "" ) {
- messageBox("변경된 데이터가","I004");
- return;
- }
-
- if(!checkKeyColumn("grd_credasctnloadlist"))return;
- var retMes = messageBox("자료를 저장하시겠습니까?", "Q999");
- if ( retMes != 6) {
- return;
- }
-
- // submit("TRRPA07302");
- // var payappyn =model.getValue("/root/temp/payappyn");
- // if(payappyn == "Y"){
- // messageBox("급여이체가 완료된 자료는 저장","E001");
- // return;
- // }
-
- misfSave("TXRPA07301");
- btn_search.dispatch("DOMActivate")
- ]]>
- </script>
- </button>
- <button id="btn_init" class="btn4_letter3" style="left:814px; top:2px; width:68px; height:22px; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var updtdata = getGridUpdateData(grd_credasctnloadlist);
- if (updtdata != "") {
- var ret = messageBox("그리드에 작업 중인 내용이 있습니다. 초기화 작업을","Q003");
- if (ret != 6) { // not OK
- return;
- }
- }
- fInitialize();
- ]]>
- </script>
- </button>
- <line id="line9" class="line_6" style="x1:0; y1:25; x2:673; y2:25; "/>
- <button id="button2" class="btn4_letter4" style="left:883px; top:2px; width:80px; height:22px; ">
- <caption>자료삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- var retMes = messageBox("["+cmb_instcd.label+"] 자료를 삭제하시겠습니까?", "Q999");
- if ( retMes != 6) {
- return;
- }
-
- submit("TRRPA07302");
- var doduyn= model.getValue("/root/temp/doduyn");
- var payappyn =model.getValue("/root/temp/payappyn");
-
- if(payappyn == "Y"){
- messageBox("급여이체가 완료된 자료는 삭제 할 수 ","I004");
- return;
- }
-
- submit("TXRPA07303");
- ipt_doduyn.value="";
- misfGridInit(grd_credasctnloadlist);
- ]]>
- </script>
- </button>
- <button id="btn_payapp" class="btn4_letter4" style="left:1049px; top:2px; width:80px; height:22px; ">
- <caption>급여이체</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- var retMes = messageBox("자료를 급여이체하시겠습니까?", "Q999");
- if ( retMes != 6) {
- return;
- }
-
- // submit("TRRPA07302");
- // var doduyn= model.getValue("/root/temp/doduyn");
- // var payappyn =model.getValue("/root/temp/payappyn");
- //
- // if(doduyn !='Y'){
- // messageBox("이체할 자료가 ","I004");
- // return;
- // }
-
- // if(payappyn =='Y'){
- // messageBox("급여이체 자료가 이미","I001");
- // return;
- // }
- var instcd = getUserInfo("dutplceinstcd");
- var payym = model.getValue("/root/send/searchlist/notiym");
- var payitemcd = "60200";
- model.setValue("/root/send/payappsend/instcd",instcd);
- model.setValue("/root/send/payappsend/payym",payym);
- model.setValue("/root/send/payappsend/payitemcd",payitemcd);
- model.setValue("/root/send/payappsend/cancelyn","N");
-
-
- submit("TXRWZ00303");
- if (model.getValue(gvErrorMsgPath + "/type") != "error"){
- messageBox("급여이체작업이","I001");
- misfMsterDetailRetrieve();
- }
- ]]>
- </script>
- </button>
- <button id="btn_canpayapp" class="btn4_letter4" style="left:967px; top:2px; width:80px; height:22px; ">
- <caption>이체취소</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- var retMes = messageBox("급여 이체 취소 하시겠습니까?", "Q999");
- if ( retMes != 6) {
- return;
- }
-
- var instcd = getUserInfo("dutplceinstcd");
- var payym = model.getValue("/root/send/searchlist/notiym");
- var payitemcd = "60200";
- model.setValue("/root/send/payappsend/instcd",instcd);
- model.setValue("/root/send/payappsend/payym",payym);
- model.setValue("/root/send/payappsend/payitemcd",payitemcd);
- model.setValue("/root/send/payappsend/cancelyn","Y");
-
-
- submit("TXRWZ00303");
- if (model.getValue(gvErrorMsgPath + "/type") != "error"){
- messageBox("급여 이체 취소 작업이","I001");
- misfMsterDetailRetrieve();
- }
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|