123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312 |
- <?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>
- <truncpayempl>
- <truncpayempllist/>
- </truncpayempl>
- </main>
- <send>
- <truncpayempl>
- <basedd/>
- <instcd/>
- <deptcd/>
- <deptnm/>
- <emplno/>
- <emplnm/>
- <truncflag/>
- </truncpayempl>
- <save>
- <truncpayempllist/>
- </save>
- </send>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- misfGridInit(grd_truncpayempllist);
-
- misfMsterDetailSet(grd_truncpayempllist, null, "TRRWP03301" ,"Y");
-
- var curdate = getCurrentDate();
- model.setValue(ipt_basedd.attribute("ref") , curdate.substr(0, 8));
-
- misfComboInstCdListMulti("cmb_instcd",getCurrentDate(),"","N");
- //misfComboComCdListMulti("R0365","grd_truncpayempllist.truncflag");
-
- model.setValue(cmb_instcd.attribute("ref") , getUserInfo("dutplceinstcd"));
-
- if (getUserInfo("dutplceinstcd") == "001") {
- cmb_instcd.disabled = false;
- }
- else {
- cmb_instcd.disabled = true;
- }
-
- // misfGetUserAuth();
- //
- // if (DUTY_PAY_YN == "Y" ) {
- // cmb_instcd.disabled = false;
- // }
- // else {
- // cmb_instcd.disabled = true;
- // }
-
- model.refresh();
- model.setFocus("cmb_instcd");
- ]]>
- </script>
- <submission id="TRRWP03301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/truncpayempl" resultref="/root/main/truncpayempl"/>
- <submission id="TXRWP03301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save" resultref="/root/hidden/temp"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
- <script type="javascript" src="../../../mis/humtrafactmngtweb/js/RPB001.js"/>
- <script type="javascript" src="../../../mis/paybnusmngtweb/js/RWP001.js"/>
- </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:38; width:1195px; height:744px; ">
- <line id="line9" class="line_1" style="x1:0px; y1:69px; x2:1193px; y2:69px; "/>
- <caption id="caption34" class="tit_2" style="left:6px; top:52px; width:186px; height:14px; ">상여 대상자 List</caption>
- <group id="grp_sea" style="left:0px; top:10; width:1195px; height:35px; vertical-align:top; ">
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1195px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
- <button id="btn_search" class="btn1_letter2" navindex="4" style="left:1124px; top:7px; width:56px; height:22px; text-align:left; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- misfMsterDetailRetrieve();
-
-
- ]]>
- </script>
- </button>
- <line id="line5" class="line_4" style="x1:1109px; y1:7px; x2:1109px; y2:29px; border-color:#ffe4bb; border-left-style:solid; "/>
- <input id="ipt_basedd" ref="/root/send/truncpayempl/basedd" class="input_default" inputtype="date" format="yyyy-mm-dd" style="left:79px; top:8px; width:96px; height:19px; text-align:center; vertical-align:middle; "/>
- <caption id="cap_payym" class="search_name" style="left:10px; top:8px; width:70px; height:17px; ">기준일:</caption>
- <select1 id="cmb_instcd" ref="/root/send/truncpayempl/instcd" class="combo_s_essential" disabled="true" appearance="minimal" style="left:239px; top:8px; width:146px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- btn_search.dispatch("DOMActivate");
- ]]>
- </script>
- </select1>
- <caption id="cap_instcd" class="search_name" style="left:185px; top:8px; width:61px; height:17px; ">기관:</caption>
- <caption id="caption3" class="search_name" style="left:689px; top:8px; width:63px; height:17px; ">사번 :</caption>
- <button id="btn_emplno" class="icon_search" style="left:827px; top:8px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- var recv_list = "emplno,emplnm" ;
- rpbfOpenPopUpList("SPRPB00101", ipt_emplnos, recv_list,"","N");
-
- model.refresh();
-
- if (model.getValue(ipt_emplnos.attribute("ref")).length > 0) {
- btn_search.dispatch("DOMActivate");
- }
- ]]>
- </script>
- </button>
- <input id="ipt_emplnos" ref="/root/send/truncpayempl/emplno" class="input_default" style="left:750px; top:8px; width:72px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- if (ipt_emplnos.currentText != null && ipt_emplnos.currentText != "" ) {
- inputEnterKey("ipt_emplnos", "xforms-value-changed");
- }
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
-
- var recv_list = "emplno,emplnm" ;
- rpbfValidationCheck("EMPLNO", recv_list);
- model.refresh();
-
- if (model.getValue(ipt_emplnos.attribute("ref")).length > 0) {
- btn_search.dispatch("DOMActivate");
- }
-
- ]]>
- </script>
- </input>
- <input id="ipt_emplnms" ref="/root/send/truncpayempl/emplnm" class="input_default" style="left:846px; top:8px; width:65px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- if (ipt_emplnms.currentText != null && ipt_emplnms.currentText != "" ) {
- inputEnterKey("ipt_emplnms", "xforms-value-changed");
- }
- ]]>
- </script>
- <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>
- <caption id="caption2" class="search_name" style="left:399px; top:8px; width:61px; height:17px; ">부서:</caption>
- <input id="ipt_deptnm" ref="/root/send/truncpayempl/deptnm" class="input_default" style="left:560px; top:8px; width:114px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- misfValidationCheck("02", "", "deptcd,deptnm" );
- model.refresh();
- ]]>
- </script>
- </input>
- <button id="btn_deptcd" class="icon_search" style="left:539px; top:8px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var recv_list = "deptcd,deptnm";
- var instcd = cmb_instcd.value;
- rpbfOpenDeptCdHelp(ipt_deptcd,recv_list,instcd,"instcd");
- model.refresh();
- ]]>
- </script>
- </button>
- <input id="ipt_deptcd" ref="/root/send/truncpayempl/deptcd" class="input_default" style="left:455px; top:8px; width:79px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- misfValidationCheck("02", "", "deptcd,deptnm" );
- model.refresh();
- ]]>
- </script>
- </input>
- <select1 id="cmb_truncflag" ref="/root/send/truncpayempl/truncflag" class="combo_s_essential" appearance="minimal" style="left:975px; top:8px; width:95px; height:19px; ">
- <choices>
- <item>
- <label>[전체]</label>
- <value/>
- </item>
- <item>
- <label>미적용</label>
- <value>01</value>
- </item>
- <item>
- <label>백원끝전</label>
- <value>02</value>
- </item>
- <item>
- <label>천원끝전</label>
- <value>03</value>
- </item>
- <item>
- <label>만원끝전</label>
- <value>04</value>
- </item>
- <item>
- <label>정액</label>
- <value>05</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- btn_search.dispatch("DOMActivate");
- ]]>
- </script>
- </select1>
- <caption id="caption1" class="search_name" style="left:921px; top:8px; width:61px; height:17px; ">구분:</caption>
- </group>
- <datagrid id="grd_truncpayempllist" nodeset="/root/main/truncpayempl/truncpayempllist" caption="사원번호^성명^부서^교직구분^직군^직위^직급^호봉^적용구분^금액^checkyn|사원번호^성명^부서^교직구분^직군^직위^직급^호봉^적용구분^금액^checkyn" colsep="^" colwidth="105, 104, 185, 131, 122, 117, 92, 63, 133, 100, 30" dataheight="25" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" rowsep="|" style="left:0px; top:75px; width:1193px; height:665px; ">
- <col ref="emplno" style="text-align:center; vertical-align:middle; "/>
- <col ref="emplnm"/>
- <col ref="deptnm"/>
- <col ref="prfshipflagnm"/>
- <col ref="grupjoblnnm"/>
- <col ref="jobposnm"/>
- <col ref="jobgradnm"/>
- <col ref="payclsnm"/>
- <col ref="truncflag" type="combo">
- <choices>
- <item>
- <label>미적용</label>
- <value>01</value>
- </item>
- <item>
- <label>백원끝전</label>
- <value>02</value>
- </item>
- <item>
- <label>천원끝전</label>
- <value>03</value>
- </item>
- <item>
- <label>만원끝전</label>
- <value>04</value>
- </item>
- <item>
- <label>정액</label>
- <value>05</value>
- </item>
- </choices>
- </col>
- <col ref="calcrestamt" type="input" format="#,###" style="text-align:right; vertical-align:middle; "/>
- <col ref="checkyn" visibility="hidden"/>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_truncpayempllist.gridToInstance();
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if (grd_truncpayempllist.col == grd_truncpayempllist.colRef("truncflag")) {
- if (grd_truncpayempllist.valueMatrix(grd_truncpayempllist.row, grd_truncpayempllist.colRef("truncflag")) != "05" ) {
-
- grd_truncpayempllist.valueMatrix(grd_truncpayempllist.row, grd_truncpayempllist.colRef("calcrestamt")) = 0;
- }
- }
- ]]>
- </script>
- </datagrid>
- <button id="btn_saveexcel" class="btn2_letter4" style="left:1130px; top:49px; width:64px; height:19px; ">
- <caption>엑셀저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var fileName = window.fileDialog ("save", ",", false, "excel", "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
- if (fileName != "")
- {
- grd_truncpayempllist.saveExcel(fileName);
- }
- ]]>
- </script>
- </button>
- </group>
- <group id="grp_btn" scroll="auto" style="left:0; top:12; width:1195px; height:27px; ">
- <button id="btn_save" class="btn4_letter2" style="left:1124px; top:3px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- misfSave("TXRWP03301");
- btn_search.dispatch("DOMActivate");
- ]]>
- </script>
- </button>
- <line id="line4" class="line_6" style="x1:0; y1:25; x2:1195; y2:25; "/>
- </group>
- </xhtml:body>
- </xhtml:html>
|