123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.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>
- <clubmemblist>
- <numno/>
- <payinstnm/>
- <cmntnm/>
- <emplno/>
- <emplnm/>
- <jobposnm/>
- <prtnjobpos/>
- <reglmbrgrdenm/>
- <rgstdd/>
- <secssdd/>
- <rgstaprv/>
- <cmt/>
- <dutplceinstnm/>
- <reglmbrgrde/>
- <workgbn/>
- <ownitrd/>
- <cmntcd/>
- <rgstaprvdd/>
- <rgstaprvnm/>
- <rgstaprvid/>
- <dutplceinst/>
- <posdeptnm/>
- <posdeptcd/>
- <jobrespcd/>
- <jobrespnm/>
- <jobposcd/>
- <jobposnm/>
- <cmninstcd/>
- <seqno/>
- <paydeducretyn/>
- <payinst/>
- </clubmemblist>
- <item>
- <posdeptnm/>
- <emplnm/>
- <emplno/>
- <prtnjobpos/>
- <rgstaprv/>
- <rgstdd/>
- <secssdd/>
- <cmt/>
- <ownitrd/>
- <cmntcd/>
- <cmntnm/>
- <jobposnm/>
- <jobposcd/>
- <dutplceinst/>
- <dutplceinstnm/>
- <posdeptcd/>
- <jobrespcd/>
- <jobrespnm/>
- <rgstaprvnm/>
- <rgstaprvdd/>
- <rgstaprvid/>
- <workgbn/>
- <reglmbrgrde/>
- <reglmbrgrdenm/>
- <payinstnm/>
- <cmninstcd/>
- <seqno/>
- <paydeducretyn/>
- <payinst/>
- </item>
- <clubempl>
- <clubempllist/>
- </clubempl>
- <countlist>
- <memcnt/>
- </countlist>
- </main>
- <init>
- <radio1>
- <label>전체</label>
- <value/>
- <label>예</label>
- <value>Y</value>
- <label>아니오</label>
- <value>N</value>
- </radio1>
- <radio2>
- <label>예</label>
- <value>Y</value>
- <label>아니오</label>
- <value>N</value>
- </radio2>
- <combo1>
- <label>정회원</label>
- <value>1</value>
- <label>준회원</label>
- <value>0</value>
- </combo1>
- <regclubcodelist/>
- </init>
- <send>
- <cmntcd_s/>
- <emplno/>
- <emplnm/>
- <secss_s/>
- <clubmemblist/>
- <secssdd/>
- <cmntcd/>
- <emplno/>
- <workgbn/>
- <cmninstcd/>
- </send>
- <temp>
- <checklist>
- <paydeducretyn/>
- <memdatayn/>
- </checklist>
- </temp>
- </root>
- </instance>
- <script type="javascript">
- <![CDATA[
- var GVN_TARGET_NODE = "/root/main/clubempldata";
- var GVN_SOURCE_NODE = "/root/main/clubempl";
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fInitialize();
-
- submit("TRRPA00405");
-
- misfGetUserAuth();
-
- cmb_instcd.disabled = true;
- cmb_cmntcd_s.disabled = true;
-
- if(DUTY_PAY_YN == 'Y'){
- cmb_instcd.disabled = false;
- cmb_cmntcd_s.disabled = false;
- misfComboClubCdList(getUserInfo("dutplceinstcd"),cmb_cmntcd_s,"Y");
- }else{
- if(getUserInfo("dutplcecd") == '4030100000'){ // 재무팀 (?)
- cmb_cmntcd_s.disabled = false;
- misfComboClubCdList(getUserInfo("dutplceinstcd"),cmb_cmntcd_s,"Y");
- }else{
- if(model.getValue("/root/init/regclubcodelist/cmntcd") == ''){ // 회장/총무인클럽이 없는경우
- messageBox('권한이 없습니다.','');
- misfComboClubCdList(getUserInfo("dutplceinstcd"),cmb_cmntcd_s,"Y");
- btn_init.disabled = true;
- btn_delete.disabled = true;
- btn_save.disabled = true;
- btn_search.disabled = true;
- }else{
- misfComboClubCdList(getUserInfo("dutplceinstcd"),cmb_cmntcd_s,"",getUserInfo("userid")); // 회장/총무인것만 콤보박스에
- cmb_cmntcd_s.disabled = false;
- }
- }
- }
-
- misfGridInit(grd_clubmemblist);
- misfMsterDetailSet(grd_clubmemblist,null,"TRRPA01701","Y");
-
- misfComboComCdList("Z0007",cmb_instcd,"Y");
- misfComboComCdList("Z0007",cmb_instcd_d,"");
- misfComboComCdList("Z0007",cmb_posinstcd,"");
-
- model.setValue("/root/send/cmninstcd" , getUserInfo("dutplceinstcd"));
- model.setValue("/root/main/item/cmninstcd" , getUserInfo("dutplceinstcd"));
- model.setValue("/root/main/item/payinst" , getUserInfo("dutplceinstcd"));
-
- misfComboClubCdList(getUserInfo("dutplceinstcd"),cmb_cmntcd,"");
-
- /*
- misfGridInit(grd_clubmemblist);
- btn_save.disabled = !(checkAuth("X"));
- misfMsterDetailSet(grd_clubmemblist,null,"TRRPA01701","Y");
- // 공통코드 바인딩 silver
-
- misfComboComCdList("Z0007",cmb_instcd,"Y");
- misfComboComCdList("Z0007",cmb_instcd_d,"");
- misfComboComCdList("Z0007",cmb_posinstcd,"");
-
- model.setValue("/root/send/cmninstcd" , getUserInfo("dutplceinstcd"));
- model.setValue("/root/main/item/cmninstcd" , getUserInfo("dutplceinstcd"));
- model.setValue("/root/main/item/payinst" , getUserInfo("dutplceinstcd"));
-
- // misfComboClubCdList(getUserInfo("dutplceinstcd"),cmb_cmntcd_s,"Y");
- misfComboClubCdList(getUserInfo("dutplceinstcd"),cmb_cmntcd,"");
-
- // btn_search.dispatch("DOMActivate");
- */
- ]]>
- </script>
- <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="../../../mis/humtrafactmngtweb/js/RPB001.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript">
- <![CDATA[
-
- // 화면 open시와 초기화 버튼 클릭시 화면 초기화 기능을 수행한다.
- function fInitialize() {
- fEnableInsertButton();
- model.removeNodeset("/root/main/clubmemblist");
- model.removeNodeset("/root/main/clubempl/clubempllist");
- model.resetInstanceNode("root/main/countlist");
- model.resetInstanceNode("/root/send");
- model.resetInstanceNode("/root/main/item");
- model.refresh();
- var curdate = getCurrentDate();
- var cvtdate = curdate.toDate("YYYYMMDD");
- ipt_rgstdd.value=cvtdate.getAddDate(0,"M").getDateFormat("YYYYMMDD");
- cmd_reglmbrgrde.value='1';
- rdo_rgstaprv.value ='Y';
- ipt_rgstaprvnm.value = getUserInfo("usernm");
- ipt_rgstaprvdd.value = cvtdate.getAddDate(0,"M").getDateFormat("YYYYMMDD");
- }
-
- function fEnableInsertButton() {
- btn_insert.disabled = false;
- btn_update.disabled = true;
- }
- function fEnableUpdateButton() {
- btn_insert.disabled = true;
- btn_update.disabled = false;
- ipt_rgstaprvdd.disabled=true;
- }
-
-
- function fChangeGridValue(cur_row) {
- var cmninstcd= getUserInfo("dutplceinstcd");
- //model.setValue("/root/main/clubmemblist[" + cur_row + "]/cmninstcd",cmninstcd);
- model.setValue("/root/main/clubmemblist[" + cur_row + "]/cmntnm",cmb_cmntcd.label); //단체명
- model.setValue("/root/main/clubmemblist[" + cur_row + "]/cmntcd",cmb_cmntcd.value); //단체코드
- if(rdo_rgstaprv.value==""){
- model.setValue("/root/main/clubmemblist[" + cur_row + "]/rgstaprv","N");
- }else{
- model.setValue("/root/main/clubmemblist[" + cur_row + "]/rgstaprv",rdo_rgstaprv.value);
- }
- if(ipt_rgstdd.value==""){
- model.setValue("/root/main/clubmemblist[" + cur_row + "]/rgstdd",mis_to_day());
- }
- model.setValue("/root/main/clubmemblist[" + cur_row + "]/reglmbrgrdenm",cmd_reglmbrgrde.label);
- model.setValue("/root/main/clubmemblist[" + cur_row + "]/reglmbrgrde",cmd_reglmbrgrde.value);
- model.setValue("/root/main/clubmemblist[" + cur_row + "]/workgbn","rpadmemb");
- }
- function fdoubleCheck(){
-
- var double_check_cmntcd="";
- var double_check_emplno="";
-
- for(var i =1 ; i < grd_clubmemblist.rows; i++)
- {
-
- double_check_cmntcd=model.getValue(grd_clubmemblist.attribute("nodeset")+"["+i+"]/cmntcd");
- double_check_emplno=model.getValue(grd_clubmemblist.attribute("nodeset")+"["+i+"]/emplno");
- double_check_paydeducretyn=model.getValue(grd_clubmemblist.attribute("nodeset")+"["+i+"]/paydeducretyn");
- if( double_check_cmntcd== cmb_cmntcd.value && double_check_emplno== ipt_emplno.value){
- messageBox("동호회 가입이","E006");
- return false;
- }
- }
- return true;
- }
- function fsecssddCheck(){
- var secssVal = ipt_secssdd.value;
- var restVal = ipt_rgstdd.value;
- if(parseInt(secssVal) < parseInt(restVal)){
- messageBox("탈퇴일자는 가입일자 ","E012");
- //alert("탈퇴일자는 가입일자보다 작을수 없습니다.");
- return false;
- }
- return true;
- }
-
- ]]>
- </script>
- <submission id="TRRPA01701" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/clubmemblist"/>
- <submission id="TXRPA01701" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/item"/>
- <submission id="TRRPA01702" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/countlist"/>
- <submission id="TRRPA02702" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/item" resultref="/root/temp"/>
- <submission id="TRRPA00405" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init"/>
- </model>
- </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="line204" class="line_2" style="x1:0px; y1:637px; x2:1195px; y2:637px; "/>
- <line id="line2" class="line_3" style="x1:0px; y1:733px; x2:1195px; y2:733px; "/>
- <line id="line1" class="line_2" style="x1:0px; y1:685px; x2:1195px; y2:685px; "/>
- <line id="line205" class="line_2" style="x1:0px; y1:661px; x2:1195px; y2:661px; "/>
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:10px; width:1195px; height:35px; "/>
- <caption id="caption2" class="search_name" style="left:230px; top:20px; width:91px; height:17px; ">동호회명 :</caption>
- <button id="btn_search" class="btn1_letter2" style="left:1125px; top:16px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var updtdata = getGridUpdateData(grd_clubmemblist);
-
- if ( updtdata != "" ) {
- var ret = messageBox("그리드에 작업 중인 내용이 있습니다. 조회 작업을","Q003");
- if (ret != 6) { // not OK
- return;
- }
- }
-
- submit("TRRPA01701");
- ]]>
- </script>
- </button>
- <line id="line13" class="line_4" style="x1:1110px; y1:16px; x2:1110px; y2:38px; "/>
- <caption id="caption278" class="tit_2" style="left:5px; top:54px; width:127px; height:13px; ">동호회 회원 현황</caption>
- <line id="line207" class="line_1" style="x1:0px; y1:69px; x2:1195px; y2:69px; "/>
- <datagrid id="grd_clubmemblist" nodeset="/root/main/clubmemblist" caption="순번^급여기관^동호회명^사원번호^성명^부서^직위^동아리직위^회원등급^가입일자^탈퇴일자^가입승인^비고^caption1^caption2^caption3^caption4^caption5^caption6^caption7^caption8^caption9^caption10^caption11^caption12^caption13^caption14^caption15^caption16^caption17^caption18^caption19" colsep="^" colwidth="52, 110, 148, 70, 70, 125, 79, 98, 60, 75, 75, 70, 119, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0" dataheight="25" ellipsis="true" explorerbar="sortshow" rowheader="update" rowheight="25" rowsep="|" tooltip="true" style="left:0px; top:74px; width:1195px; height:510px; ">
- <col ref="numno" style="padding-left:5; "/>
- <col ref="payinstnm"/>
- <col ref="cmntnm"/>
- <col ref="emplno"/>
- <col ref="emplnm"/>
- <col ref="posdeptnm"/>
- <col ref="jobposnm"/>
- <col ref="prtnjobpos"/>
- <col ref="reglmbrgrdenm" style="text-align:center; "/>
- <col ref="rgstdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="secssdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col checkvalue="Y,N" disabled="true" ref="rgstaprv" type="checkbox"/>
- <col ref="cmt"/>
- <col ref="dutplceinstnm" visibility="hidden"/>
- <col ref="reglmbrgrde" visibility="hidden"/>
- <col ref="workgbn" visibility="hidden"/>
- <col ref="ownitrd" visibility="hidden"/>
- <col ref="cmntcd" visibility="hidden"/>
- <col ref="rgstaprvdd" visibility="hidden"/>
- <col ref="rgstaprvnm" visibility="hidden"/>
- <col ref="rgstaprvid" visibility="hidden"/>
- <col ref="dutplceinst" visibility="hidden"/>
- <col ref="posdeptnm" visibility="hidden"/>
- <col ref="posdeptcd" visibility="hidden"/>
- <col ref="jobrespcd" visibility="hidden"/>
- <col ref="jobrespnm" visibility="hidden"/>
- <col ref="jobposcd" visibility="hidden"/>
- <col ref="cmninstcd" visibility="hidden"/>
- <col ref="seqno" visibility="hidden"/>
- <col ref="paydeducretyn" visibility="hidden"/>
- <col ref="payinst" visibility="hidden"/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- var cur_row = grd_clubmemblist.row;
- if ( cur_row > 0 ) {
- fEnableUpdateButton();
- model.copyNode("/root/main/item","/root/main/clubmemblist["+cur_row+"]");
- model.refresh();
- }
- ipt_emplno.disabled =true;
- cmb_cmntcd.disabled=true;
- cmb_instcd_d.disabled=true;
-
- ]]>
- </script>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_clubmemblist.gridToInstance();
- ]]>
- </script>
- </datagrid>
- <line id="line206" class="line_2" style="x1:0px; y1:710px; x2:280px; y2:710px; "/>
- <caption id="cap_emplno" class="cell_1" style="left:0px; top:615px; width:82px; height:23px; ">사번</caption>
- <caption id="caption283" class="tit_2" style="left:5px; top:595px; width:118px; height:13px; ">등록 및 수정사항</caption>
- <caption id="cap_instcd_d" class="cell_1" style="left:0px; top:639px; width:82px; height:23px; ">동호회기관</caption>
- <caption id="caption12" class="cell_1" style="left:0px; top:687px; width:82px; height:47px; ">자기소개</caption>
- <line id="line203" class="line_1" style="x1:0px; y1:610px; x2:1195px; y2:610px; "/>
- <caption id="caption5" class="search_name" style="left:466px; top:19px; width:85px; height:17px; ">사 번 :</caption>
- <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_clubmemblist.saveExcel(fileName, "SheetName", true, true, "", "");
- }
- ]]>
- </script>
- </button>
- <input id="ipt_emplno_s" ref="/root/send/emplno" class="input_default" style="left:552px; top:18px; width:75px; height:19px; "/>
- <input id="ipt_name_s" ref="/root/send/emplnm" class="input_default" style="left:650px; top:18px; width:100px; height:19px; "/>
- <input id="ipt_emplno" ref="/root/main/item/emplno" class="input_essential" style="left:84px; top:616px; width:62px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var recv_list = "emplno,emplnm,payinst,dutplceinst,dutplceinstnm,posdeptcd,posdeptnm,jobrespcd,jobrespnm,jobposcd,jobposnm" ;
- rpbfValidationCheck("EMPLNO", recv_list);
- var posinstcd = model.getValue("/root/main/item/payinst");
- model.setValue("/root/main/item/payinst",posinstcd);
- model.refresh();
- ]]>
- </script>
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- inputEnterKey("ipt_emplno", "xforms-value-changed");
- ]]>
- </script>
- </input>
- <button id="btn_emplsearch" class="icon_search" style="left:151px; top:618px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- /* 사원번호 Help 화면 Open
- misfOpenPopUpList(화면종류Code, OPEN하는 Control, 공통코드, 리턴받을 Instance명) */
- var recv_list = "emplno,emplnm,payinst,dutplceinst,dutplceinstnm,posdeptcd,posdeptnm,jobrespcd,jobrespnm,jobposcd,jobposnm";
-
- rpbfOpenPopUpList("SPRPB00101", ipt_emplno, recv_list,"","N");
- var posinstcd = model.getValue("/root/main/item/payinst");
- model.refresh();
- ]]>
- </script>
- </button>
- <input id="ipt_emplnm" ref="/root/main/item/emplnm" class="input_default" disabled="true" style="left:172px; top:616px; width:111px; height:19px; "/>
- <input id="ipt_dutplceinst" ref="/root/main/item/dutplceinst" visibility="hidden"/>
- <input id="ipt_dutplceinstnm" ref="/root/main/item/dutplceinstnm" visibility="hidden"/>
- <input id="ipt_posdeptnm" ref="/root/main/item/dutplceinstnm" visibility="hidden"/>
- <input id="ipt_jobrespcd" ref="/root/main/item/jobrespcd" visibility="hidden"/>
- <input id="ipt_jobrespnm" ref="/root/main/item/jobrespnm" visibility="hidden"/>
- <input id="ipt_jobposcd" ref="/root/main/item/jobposcd" visibility="hidden"/>
- <input id="ipt_jobposnm" ref="/root/main/item/jobposnm" class="input_default" disabled="true" style="left:553px; top:617px; width:112px; height:19px; "/>
- <caption id="caption20" class="cell_1" style="left:285px; top:615px; width:74px; height:23px; ">급여기관</caption>
- <caption id="caption21" class="cell_1" style="left:477px; top:639px; width:74px; height:23px; ">승인여부</caption>
- <caption id="cap_reglmbrgrde" class="cell_1" style="left:972px; top:615px; width:74px; height:23px; ">회원등급</caption>
- <caption id="caption3" class="cell_1" style="left:477px; top:615px; width:74px; height:23px; ">직위</caption>
- <caption id="caption4" class="cell_1" style="left:667px; top:615px; width:74px; height:23px; ">동아리직위</caption>
- <caption id="caption1" class="search_name" style="left:758px; top:19px; width:86px; height:17px; ">탈퇴여부 :</caption>
- <select1 id="cmb_cmntcd_s" ref="/root/send/cmntcd_s" class="combo_s_essential" appearance="minimal" style="left:315px; top:19px; width:145px; height:19px; ">
- <choices>
- <itemset nodeset="/root/main/init">
- <label ref="cnstnm"/>
- <value ref="cnstcd"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="rdo_secss_s" ref="/root/send/secss_s" class="radio_search" appearance="full" cellspacing="5" cols="3" overflow="visible" style="left:843px; top:19px; width:167px; 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_rgstdd" ref="/root/main/item/rgstdd" class="input_default" inputtype="date" style="left:361px; top:640px; width:114px; height:19px; "/>
- <input id="ipt_secssdd" ref="/root/main/item/secssdd" class="input_default" inputtype="date" style="left:361px; top:665px; width:114px; height:19px; "/>
- <input id="ipt_prtnjobpos" ref="/root/main/item/prtnjobpos" class="input_default" style="left:743px; top:616px; width:227px; height:19px; "/>
- <input id="ipt_cmt" ref="/root/main/item/cmt" class="input_default" maxlength="100" style="left:555px; top:665px; width:638px; height:19px; "/>
- <textarea id="ipt_pwnitrd" ref="/root/main/item/ownitrd" maxlength="100" style="left:84px; top:689px; width:1109px; height:43px; "/>
- <input id="ipt_workgbn" ref="/root/send/workgbn" visibility="hidden"/>
- <input id="ipt_paydeducretyn" ref="/root/main/item/paydeducretyn" visibility="hidden"/>
- <button id="but_prsdempno_s" class="icon_search" style="left:631px; top:20px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- var recv_list = "emplno,emplnm" ;
- rpbfOpenPopUpList("SPRPB00101", ipt_emplno_s , recv_list,"","N");
-
- model.refresh();
- ]]>
- </script>
- </button>
- <datagrid id="grd_clubempllist" nodeset="/root/main/clubempl/clubempllist" visibility="hidden" caption="사번^성명^주민번호^소속부서^부서명^근무부서^근무부서명^팀^유닛^직군^직열^직종^직위^직책" colsep="^" colwidth="68, 58, 100, 100, 91, 100, 100, 100, 100, 100, 100, 100, 100, 100" dataheight="25" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" style="left:390px; top:490px; width:465px; height:83px; ">
- <col class="text_center" ref="emplno"/>
- <col class="text_center" ref="emplnm"/>
- <col class="text_center" ref="posinstcd"/>
- <col class="text_center" ref="posinstnm"/>
- <col class="text_center" ref="dutplceinst"/>
- <col class="text_center" ref="dutplceinstnm"/>
- <col class="text_center" ref="posdeptcd" visibility="hidden"/>
- <col class="text_center" ref="posdeptnm"/>
- <col class="text_center" ref="jobrespcd" visibility="hidden"/>
- <col class="text_center" ref="jobrespnm" style="left:210px; top:23px; width:120px; height:23px; "/>
- <col class="text_center" ref="jobposcd" visibility="hidden"/>
- <col class="text_center" ref="jobposnm"/>
- </datagrid>
- <caption id="caption10" class="cell_1" style="left:972px; top:639px; width:74px; height:23px; ">승인자</caption>
- <select1 id="rdo_rgstaprv" ref="/root/main/item/rgstaprv" class="radio_search" appearance="full" cols="2" overflow="visible" style="left:553px; top:643px; width:112; 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_rgstaprv.value;
- if(rgstaprvVal=="Y"){
- ipt_rgstaprvdd.disabled=false;
- ipt_rgstaprvnm.value=getUserInfo("usernm");
- var curdate = getCurrentDate();
- var cvtdate = curdate.toDate("YYYYMMDD");
- ipt_rgstaprvdd.value=cvtdate.getAddDate(0,"M").getDateFormat("YYYYMMDD");
- }else{
- ipt_rgstaprvdd.disabled=true;
- ipt_rgstaprvdd.value="";
- ipt_rgstaprvnm.value="";
- ipt_rgstaprvid.value="";
- }
- ]]>
- </script>
- </select1>
- <caption id="cap_rgstdd" class="cell_1" style="left:285px; top:639px; width:74px; height:23px; ">가입일자</caption>
- <select1 id="cmb_cmntcd" ref="/root/main/item/cmntcd" class="combo_s_essential" appearance="minimal" style="left:84px; top:665px; width:199px; height:19px; ">
- <choices>
- <itemset>
- <label ref="cmntnm"/>
- <value ref="cmntcd"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption13" class="cell_1" style="left:0px; top:663px; width:82px; height:23px; ">동호회</caption>
- <caption id="caption7" class="cell_1" style="left:667px; top:639px; width:74px; height:23px; ">승인일자</caption>
- <input id="ipt_rgstaprvnm" ref="/root/main/item/rgstaprvnm" class="input_default" style="left:1048px; top:641px; width:145px; height:19px; "/>
- <input id="ipt_rgstaprvid" ref="/root/main/item/rgstaprvid" visibility="hidden"/>
- <caption id="caption14" class="cell_1" style="left:285px; top:663px; width:74px; height:23px; ">탈퇴일자</caption>
- <input id="ipt_rgstaprvdd" ref="/root/main/item/rgstaprvdd" class="input_default" disabled="true" inputtype="date" style="left:743px; top:640px; width:113; height:19px; "/>
- <input id="ipt_workgbn2" ref="/root/main/item/workgbn" visibility="hidden"/>
- <input id="ipt_seqno" ref="/root/main/item/seqno" visibility="hidden"/>
- <input id="ipt_memcnt" ref="/root/main/countlist/memcnt" visibility="hidden" style="left:985px; top:20px; width:110px; height:19px; "/>
- <select1 id="cmb_instcd" ref="/root/send/cmninstcd" class="combo_default" appearance="minimal" style="left:87px; top:18px; width:133px; height:19px; ">
- <choices>
- <itemset nodeset="/root/main/init">
- <label ref="cnstnm"/>
- <value ref="cnstcd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var instcd = model.getValue(cmb_instcd.attribute("ref"));
- misfComboClubCdList(instcd,cmb_cmntcd_s,"Y");
- model.refresh();
- ]]>
- </script>
- </select1>
- <caption id="caption8" class="search_name" style="left:15px; top:19px; width:85px; height:17px; ">기 관 :</caption>
- <caption id="caption9" class="cell_1" style="left:477px; top:663px; width:74px; height:23px; ">비고</caption>
- <select1 id="cmb_instcd_d" ref="/root/main/item/cmninstcd" class="combo_s_essential" appearance="minimal" style="left:84px; top:640px; width:199px; height:19px; ">
- <choices>
- <itemset nodeset="/root/main/init">
- <label ref="cnstnm"/>
- <value ref="cnstcd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var instcd = model.getValue(cmb_instcd_d.attribute("ref"));
- misfComboClubCdList(instcd,cmb_cmntcd,"");
- model.refresh();
- ]]>
- </script>
- </select1>
- <select1 id="cmb_posinstcd" ref="/root/main/item/payinst" class="combo_s_essential" appearance="minimal" style="left:361px; top:616px; width:114px; height:19px; ">
- <choices>
- <itemset nodeset="/root/main/init">
- <label ref="cnstnm"/>
- <value ref="cnstcd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var instcd = model.getValue(cmb_instcd_d.attribute("ref"));
- misfComboClubCdList(instcd,cmb_cmntcd,"");
- model.refresh();
- ]]>
- </script>
- </select1>
- <input id="ipt_payinst" ref="/root/main/item/payinst" class="input_default" disabled="true" visibility="hidden" style="left:575px; top:590px; width:114px; 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:0px; 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:1011px; top:3px; width:68px; height:22px; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var updtdata = getGridUpdateData(grd_clubmemblist);
- if (updtdata != "" ) {
- var ret = messageBox("그리드에 작업 중인 내용이 있습니다. 초기화 작업을","Q003");
- if (ret != 6) { // not OK
- return;
- }
- }
- fInitialize();
- ipt_emplno.disabled =false;
- cmb_cmntcd.disabled=false;
- ]]>
- </script>
- </button>
- <button id="btn_delete" class="btn4_letter2" style="left:1081px; top:3px; width:56px; height:22px; ">
- <caption>삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- misfGridIUD(grd_clubmemblist,"D");
- model.refresh();
- ]]>
- </script>
- </button>
- <button id="btn_save" class="btn4_letter2" style="left:1139px; top:3px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var updtdata = getGridUpdateData(grd_clubmemblist);
- if (updtdata == "" ) {
- messageBox("변경된 데이터가","I004");
- return;
- }
-
- var null_check1 = "";
- var null_chech2 = "";
-
- for(var i=1;i<=grd_clubmemblist.rows-1;i++) {
- null_check1 = model.getValue(grd_clubmemblist.attribute("nodeset")+"["+i+"]/cmntcd");
- null_check2 = model.getValue(grd_clubmemblist.attribute("nodeset")+"["+i+"]/emplno");
-
- null_check3 = model.getValue(grd_clubmemblist.attribute("nodeset")+"["+i+"]/paydeducretyn");
- var status=grd_clubmemblist.rowStatus(i);
- if(status=="2"||status=="4"){
- if(null_check3 =='Y'){
- messageBox("급여생성이 완료된 회원은 수정","E001");
- return;
- }
- }
-
- if(null_check1 =="") {
- messageBox("사원번호는","I003");
- return;
- } else if(null_check2 == "") {
- messageBox(" 단체코드는","I003");
- return;
- }
- }
- misGetDouList("TRRPA01702");
- if(ipt_memcnt.value !="" && ipt_memcnt.value != "0" ){
- messageBox("동호회 가입이","E006");
- return;
- }else{
-
- misfSave("TXRPA01701");
- }
- ]]>
- </script>
- </button>
- </group>
- <button id="btn_update" class="btn2_letter2" navindex="13" style="left:1096px; top:627px; width:42px; height:19px; ">
- <caption>수정</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(!isRequiredControls("ipt_emplno","cmb_cmntcd", "cmd_reglmbrgrde","ipt_rgstdd"))return;
- if(!fsecssddCheck()) return;
- var secssdd = ipt_secssdd.value;
- var emplno = ipt_emplno.value;
- var cmntcd = cmb_cmntcd.value;
- if(secssdd !=''){
- model.setValue("/root/send/secssdd",secssdd);
- model.setValue("/root/send/emplno",emplno);
- model.setValue("/root/send/cmntcd",cmntcd);
- model.setValue("/root/send/workgbn","R");
- submit("TRRPA02702");
- var paydeducretyn= model.getValue("/root/temp/checklist/paydeducretyn");
-
- if(paydeducretyn =='Y'){
- messageBox("탈퇴월의 급여생성이 완료되어 수정 할수 ","I004");
- return;
- }
- }
-
- var cur_row = grd_clubmemblist.row; // 행 번호 가져오기
- if (cur_row > 0) {
- // 그리드에 추가
- model.setValue("/root/main/item/payinstnm",cmb_posinstcd.label);
- model.copyNode("/root/main/clubmemblist["+cur_row+"]","/root/main/item");
-
- // 그리드의 레이블을 변경한다.
- fChangeGridValue(cur_row);
-
- grd_clubmemblist.addStatus(cur_row,"update"); // 행을 업데이트 상태로 변경
- model.refresh();
-
- }
- ]]>
- </script>
- </button>
- <button id="btn_clear" class="btn2_letter3" navindex="14" style="left:1141px; top:627px; width:53px; height:19px; ">
- <caption>지우기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fEnableInsertButton();
- ipt_rgstaprvdd.disabled=true;
- ipt_rgstaprvnm.disabled=true;
- model.resetInstanceNode("/root/main/item");
- model.refresh();
- ipt_emplno.disabled = false;
- cmb_cmntcd.disabled = false;
- cmb_instcd_d.disabled = false;
- var curdate = getCurrentDate();
- var cvtdate = curdate.toDate("YYYYMMDD");
-
- ipt_rgstdd.value=cvtdate.getAddDate(0,"M").getDateFormat("YYYYMMDD");
- cmd_reglmbrgrde.value='1';
- rdo_rgstaprv.value ='Y';
- ipt_rgstaprvnm.value = getUserInfo("usernm");
- ipt_rgstaprvdd.value = cvtdate.getAddDate(0,"M").getDateFormat("YYYYMMDD");
-
- ]]>
- </script>
- </button>
- <button id="btn_insert" class="btn2_letter2" navindex="12" style="left:1051px; top:627px; width:42px; height:19px; ">
- <caption>추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if (!fdoubleCheck()) return;
- if(!isRequiredControls("ipt_emplno","cmb_instcd_d","cmb_cmntcd", "cmd_reglmbrgrde","ipt_rgstdd"))return;
- if(!fsecssddCheck()) return;
- var emplno = ipt_emplno.value;
- var cmntcd = cmb_cmntcd.value;
- model.setValue("/root/main/item/secssdd",'');
- model.setValue("/root/main/item/workgbn","R");
- submit("TRRPA02702");
-
- var memdatayn =model.getValue("/root/temp/checklist/memdatayn");
-
- if(memdatayn =='Y'){
- messageBox(cmb_cmntcd.label +"동호회 가입이 ","E006");
- return;
- }
-
- grd_clubmemblist.addrow(); // 입력할 행 추가.
- var cur_row = grd_clubmemblist.row; // 추가된 행 번호 가져오기
- // 그리드에 추가
- model.setValue("/root/main/item/payinstnm",cmb_posinstcd.label);
- model.copyNode("/root/main/clubmemblist["+cur_row+"]","/root/main/item");
- fChangeGridValue(cur_row); // 그리드의 레이블을 변경한다.
- model.resetInstanceNode("/root/main/item");
- model.refresh();
-
- var cmninstcd = grd_clubmemblist.valueMatrix(cur_row,grd_clubmemblist.colRef("cmninstcd"));
- var cmntcd = grd_clubmemblist.valueMatrix(cur_row,grd_clubmemblist.colRef("cmntcd"));
- var curdate = getCurrentDate();
- var cvtdate = curdate.toDate("YYYYMMDD");
- model.setValue("/root/main/item/cmninstcd",cmninstcd);
- model.setValue("/root/main/item/cmntcd",cmntcd);
- rdo_rgstaprv.value ='Y';
- ipt_rgstaprvnm.value = getUserInfo("usernm");
- ipt_rgstaprvdd.value = cvtdate.getAddDate(0,"M").getDateFormat("YYYYMMDD");
- model.setValue("/root/main/item/rgstdd",cvtdate.getAddDate(0,"M").getDateFormat("YYYYMMDD"));
- cmd_reglmbrgrde.value = '1';
- model.refresh();
- ]]>
- </script>
- </button>
- <select1 id="cmd_reglmbrgrde" ref="/root/main/item/reglmbrgrde" appearance="minimal" style="left:1048px; top:654px; width:145px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/combo1">
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- </select1>
- </xhtml:body>
- </xhtml:html>
|