123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341 |
- <?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>SMRWD00900_개인별월별공제내역조회</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <list>
- <telempl>
- <telempllist/>
- </telempl>
- </list>
- </main>
- <send>
- <telempl>
- <instcd/>
- <telym/>
- <appidflag/>
- <telcostflag/>
- <dutdeptcd/>
- <dutdeptnm/>
- <emplno/>
- <emplnm/>
- <workgbn/>
- <sumyn/>
- </telempl>
- <payappsend>
- <instcd/>
- <payym/>
- <payitemcd/>
- </payappsend>
- </send>
- <temp>
- <checklist>
- <creatyn/>
- <sumyn/>
- <payappyn/>
- <installsumyn/>
- </checklist>
- </temp>
- <paytemp/>
- </root>
- </instance>
- <!--<bind id="winqty" ref="/root/main/list/telempl/telempllist/telamt" calculate="../telmnt *../mntcost"/>-->
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- misfGridInit(grd_telempl);
- misfMsterDetailSet(grd_telempl,null, "TRRWD01201" ,"N");
- misfComboComCdList("R0299",cmb_appidflag,"Y");
- misfComboComCdList("R0300",cmb_telcostflag,"Y");
- misfComboInstCdListMulti("cmb_instcd",getCurrentDate(),"","N");
- var curdate = getCurrentDate();
- var cvtdate = curdate.toDate("YYYYMM");
-
- model.setValue(ipt_telym.attribute("ref") , cvtdate.getAddDate(-1,"M").getDateFormat("YYYYMM"));
- model.setValue(cmb_instcd.attribute("ref") , getUserInfo("dutplceinstcd"));
- grd_telempl.subtotalposition = "after";
-
- model.refresh();
- ]]>
- </script>
- <submission id="TRRWD01201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/telempl" resultref="/root/main/list/telempl"/>
- <submission id="TXRWD01201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/telempl" resultref="/root/temp"/>
- <submission id="TRRWD01202" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/telempl" resultref="/root/temp"/>
- <submission id="TXRWZ00303" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/payappsend" resultref="/root/paytemp"/>
- </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="../../../mis/miscommonweb/js/MIS.js"/>
- <script type="javascript" src="../../../mis/paybaseinfomngtweb/js/RWC001.js"/>
- <script type="javascript" src="../../../mis/humtrafactmngtweb/js/RPB001.js"/>
- </xhtml:head>
- <xhtml:body>
- <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:38; width:1195px; height:744px; ">
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:10px; width:1194px; height:60px; background-color:#fffbf2; border-color:#ffd799; "/>
- <button id="btn_search" class="btn1_letter2" style="left:1128px; top:25px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- misfMsterDetailRetrieve();
- for(var i=grd_telempl.fixedRows; i<grd_telempl.rows; i++){
-
- if (grd_telempl.valueMatrix(i, grd_telempl.colRef("telcostflag"))=='02') {
- grd_telempl.rowstyle(i, "data", "background-color") = "#ffff99";
-
- }else {
- grd_telempl.rowstyle(i, "data", "background-color") = "#ffffff";
- }
- }
- //grd_telempl.subtotal("clear", 0, 0);
- //grd_telempl.subtotal("sum",grd_telempl.colRef("dutplcedeptnm") , grd_telempl.colRef("telamt"), "format:#,###; ", "background-color:#ffff99; font-weight:bold; ", 1, "합계");
- //grd_telempl.subtotal("sum",grd_telempl.colRef("dutplcedeptnm") , grd_telempl.colRef("telcnt"), "format:#,###; ", "background-color:#ffff99; font-weight:bold; ", 1, "합계");
- ]]>
- </script>
- </button>
- <line id="line13" class="line_4" style="x1:1121px; y1:16px; x2:1121px; y2:61px; "/>
- <line id="line1" class="line_1" style="x1:0px; y1:96px; x2:1194px; y2:96px; "/>
- <datagrid id="grd_telempl" nodeset="/root/main/list/telempl/telempllist" caption="신청인구분^사번^성명^소속기관^부서^통화구분^통화수^금액^집계여부^급여반영여부^통화구분코드" colsep="^" colwidth="93, 98, 118, 143, 149, 100, 105, 137, 103, 92, 100" dataheight="25" ellipsis="true" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" tooltip="true" style="left:0px; top:101px; width:1194px; height:627px; ">
- <col ref="appidflagnm" style="text-align:center; "/>
- <col ref="emplno" style="text-align:center; "/>
- <col ref="emplnm" style="text-align:center; "/>
- <col ref="instnm"/>
- <col ref="dutplcedeptnm"/>
- <col ref="telcostflagnm" style="text-align:center; "/>
- <col ref="telcnt" style="text-align:center; "/>
- <col ref="telamt" format="#,###" style="text-align:right; "/>
- <col ref="sumyn" style="text-align:center; "/>
- <col ref="paytransyn" style="text-align:center; "/>
- <col ref="telcostflag" visibility="hidden"/>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_telempl.gridToInstance();
- ]]>
- </script>
- </datagrid>
- <select1 id="cmb_telcostflag" ref="/root/send/telempl/telcostflag" class="combo_default" appearance="minimal" style="left:100px; top:45px; width:119px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <select1 id="cmb_instcd" ref="/root/send/telempl/instcd" class="combo_s_essential" appearance="minimal" style="left:100px; top:16px; width:120px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <select1 id="cmb_appidflag" ref="/root/send/telempl/appidflag" class="combo_default" appearance="minimal" style="left:365px; top:45px; width:100px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption1" class="search_name" style="left:265px; top:45px; width:106px; height:17px; ">신청인구분 :</caption>
- <button id="btn_dutdeptcd" class="icon_search" style="left:663px; top:46px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var recv_list = "dutdeptcd,dutdeptnm";
- rpbfOpenDeptCdHelp(ipt_dutdeptnm,recv_list);
- model.refresh();
- ]]>
- </script>
- </button>
- <caption id="caption3" class="search_name" style="left:10px; top:18px; width:93px; height:17px; ">기 관 :</caption>
- <input id="ipt_dutdeptnm" ref="/root/send/telempl/dutdeptnm" class="input_default" style="left:684px; top:45px; width:110px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- misfValidationCheck("02", "", "dutdeptcd,deptnm" );
- model.refresh();
- ]]>
- </script>
- </input>
- <caption id="caption4" class="search_name" style="left:10px; top:45px; width:106px; height:17px; ">통화구분:</caption>
- <caption id="caption5" class="search_name" style="left:495px; top:45px; width:70px; height:17px; ">부 서 :</caption>
- <input id="ipt_dutdeptcd" ref="/root/send/telempl/dutdeptcd" class="input_default" style="left:570px; top:45px; width:90px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- misfValidationCheck("02", "", "dutdeptcd,deptnm" );
- model.refresh();
- ]]>
- </script>
- </input>
- <button id="btn_emplno" class="icon_search" style="left:663px; top:20px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- var recv_list = "emplno,emplnm" ;
- rpbfOpenPopUpList("SPRPB00101", ipt_emplnos, recv_list,"1","N");
-
- model.refresh();
-
- ]]>
- </script>
- </button>
- <caption id="caption7" class="search_name" style="left:495px; top:20px; width:70px; height:17px; ">사 번 :</caption>
- <input id="ipt_emplnos" ref="/root/send/telempl/emplno" class="input_default" style="left:570px; top:20px; width:90px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
-
- var recv_list = "emplno,emplnm" ;
- rpbfValidationCheck("EMPLNO", recv_list);
- model.refresh();
-
- ]]>
- </script>
- </input>
- <input id="ipt_emplnms" ref="/root/send/telempl/emplnm" class="input_default" style="left:684px; top:20px; width:110px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
-
- var recv_list = "emplno,emplnm" ;
- rpbfValidationCheck("EMPLNM", recv_list);
-
- model.refresh();
-
- if (model.getValue(ipt_emplnos.attribute("ref")).length > 0) {
- btn_search.dispatch("DOMActivate");
- }
- ]]>
- </script>
- </input>
- <input id="ipt_telym" ref="/root/send/telempl/telym" class="input_s_essential" inputtype="date" format="yyyy-mm" style="left:366px; top:17px; width:100px; height:19px; "/>
- <caption id="cap_telym" class="search_name" style="left:265px; top:17px; width:93px; height:17px; ">통 화 월 :</caption>
- <button id="btn_exceldetail" class="btn2_letter4" style="left:1120px; top:74px; 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_telempl.saveExcel(fileName, "SheetName", true, true, "", "");
- }
- ]]>
- </script>
- </button>
- </group>
- <group id="grp_btn" scroll="auto" style="left:0px; top:12; width:1195px; height:27px; ">
- <line id="line9" class="line_6" style="x1:0; y1:25; x2:1195; y2:25; "/>
- <button id="button35" class="btn4_letter3" style="left:829px; top:4px; width:68px; height:22px; ">
- <caption>초기화</caption>
- </button>
- <button id="button36" class="btn4_letter6" style="left:898px; top:4px; width:104px; height:22px; ">
- <caption>집계자료생성</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(!isRequiredControls("ipt_telym"))return;
- var retMes = messageBox("집계자료를 생성 하시겠습니까?", "Q999");
- if ( retMes != 6) {
- return;
- }
- submit("TRRWD01202");
- var creatyn=model.getValue("/root/temp/checklist/creatyn");
- var sumyn= model.getValue("/root/temp/checklist/sumyn");
- var payappyn =model.getValue("/root/temp/checklist/payappyn");
-
- if(creatyn!='Y'){
- messageBox("집계할 자료가 ","I004");
- return;
- }
- if(sumyn =='Y'){
- messageBox("집계이체 자료가 이미","I001");
- return;
- }
- model.setValue("/root/send/telempl/workgbn","C");
- model.setValue("/root/send/telempl/sumyn","Y");
- misfSave("TXRWD01201");
- if (model.getValue(gvErrorMsgPath + "/type") != "error")misfMsterDetailRetrieve();
- ]]>
- </script>
- </button>
- <button id="button1" class="btn4_letter6" style="left:1004px; top:4px; width:104px; height:22px; ">
- <caption>집계자료취소</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(!isRequiredControls("ipt_telym"))return;
- var retMes = messageBox("집계자료를 취소하시겠습니까?", "Q999");
- if ( retMes != 6) {
- return;
- }
- submit("TRRWD01202");
- var sumyn= model.getValue("/root/temp/checklist/sumyn");
- var payappyn =model.getValue("/root/temp/checklist/payappyn");
-
- // if(sumyn !='Y'){
- // messageBox("취소할 자료가 ","I004");
- // return;
- // }
- if(payappyn =='Y'){
- messageBox("급여이체가 완료된 자료는 취소 할수 ","I004");
- return;
- }
- model.setValue("/root/send/telempl/workgbn","D");
- model.setValue("/root/send/telempl/sumyn","N");
- misfSave("TXRWD01201");
- if (model.getValue(gvErrorMsgPath + "/type") != "error")misfMsterDetailRetrieve();
- ]]>
- </script>
- </button>
- <button id="button2" class="btn4_letter4" style="left:1109px; top:4px; width:80px; height:22px; ">
- <caption>급여이체</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(!isRequiredControls("ipt_telym"))return;
- var retMes = messageBox("자료를 급여이체하시겠습니까?", "Q999");
- if ( retMes != 6) {
- return;
- }
- submit("TRRWD01202");
- var sumyn= model.getValue("/root/temp/checklist/sumyn");
- var payappyn =model.getValue("/root/temp/checklist/payappyn");
- var installsumyn=model.getValue("/root/temp/checklist/installsumyn");
- if(sumyn !='Y'){
- messageBox("이체할 자료가 ","I004");
- return;
- }
- if(installsumyn =='N'){
- messageBox("집계자료가 생성되지 않았습니다. 급여이체를 할 수 ","I004");
- return;
- }
- if(payappyn =='Y'){
- messageBox("급여이체 자료가 이미","I001");
- return;
- }
-
- var instcd = getUserInfo("dutplceinstcd");
- var payym = model.getValue("root/send/telempl/telym");
- var payitemcd = "60230";
- 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>
|