123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229 |
- <?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>Untitle</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <list>
- <paydeducdlist>
- <paydeducd/>
- <paydedunm/>
- <paydeduflag/>
- <payflag/>
- <dedurateamt/>
- <fixflag/>
- <payspecsumpos/>
- <fstgstrid/>
- <fstgstdt/>
- <lastupdtrid/>
- <lastupdtdt/>
- </paydeducdlist>
- </list>
- <paydedu>
- <paydedulist/>
- </paydedu>
- </main>
- <send>
- <paydedukind>
- <getcond/>
- <fixyn/>
- </paydedukind>
- <save>
- <paydedulist/>
- </save>
- </send>
- <init/>
- <save>
- <paydedulist/>
- </save>
- <hidden>
- <temp/>
- </hidden>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- misfGridInit(grd_paydedulist);
-
- misfMsterDetailSet(grd_paydedulist, null, "TRRWC00201" ,"Y");
-
- // misfComboComCdList("Z0007",cmb_fixflag);
- misfGridComboComCdList("Z0007",grd_paydedulist,"paydeduflag");
-
-
- model.refresh();
- ]]>
- </script>
- <submission id="TRRWC00201" ref="/root/send/paydedukind" method="post" mediatype="application/x-www-form-urlencoded" resultref="/root/main/paydedu"/>
- <submission id="TXRWC00201" ref="/root/send/save" method="post" mediatype="application/x-www-form-urlencoded" replace="instance" resultref="/root/hidden/temp"/>
- </model>
- <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">
- <![CDATA[
- // 화면 open시와 초기화 버튼 클릭시 화면 초기화 기능을 수행한다.
- function fInitialize() {
- model.removeNodeset("/root/main/list/paydeducdlist");
- model.resetInstanceNode("/root/send");
-
-
- var default_paydedukind = model.getValue("/root/main/list/paydeducdlist[1]/value");
- model.setValue("/root/send/paydedukind",default_paydedukind);
- model.refresh();
- }
-
-
- function fmessageprc() {
- model.removeNodeset("/root/hidden/temp/message");
- model.duplicate("/root/hidden/temp","/root/recv/list/message");
- model.refresh();
- }
-
- function fgridsetting() {
- model.setValue("/root/main/list/paydeducdlist[" + datagrid1.row + "]/paydedu",model.getValue("/root/send/paydedukind"));
- model.setValue("/root/main/list/paydeducdlist[" + datagrid1.row + "]/oldpaydedu",model.getValue("/root/send/paydedukind"));
- }
-
- function fgridinirow() {
- if(datagrid1.rows > 0){
- datagrid1.row = 1;
- }
- }
- ]]>
- </script>
- </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:1195px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
- <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[
- misfMsterDetailRetrieve();
- ]]>
- </script>
- </button>
- <line id="line13" class="line_4" style="x1:1110px; y1:16px; x2:1110px; y2:38px; "/>
- <input id="ipt_cond" ref="/root/send/paydedukind/getcond" class="input_search" style="left:100px; top:18px; width:245px; height:19px; "/>
- <caption id="caption3" class="search_name" style="left:15px; top:19px; width:86px; height:17px; ">검색조건 :</caption>
- <caption id="caption2" class="search_name" style="left:395px; top:19px; width:119px; height:17px; ">고정/변동구분 :</caption>
- <caption id="caption5" class="tit_2" style="left:5px; top:55px; width:157px; height:13px; ">지급/공제 코드</caption>
- <line id="line2" class="line_1" style="x1:0px; y1:70px; x2:1195px; y2:70px; "/>
- <datagrid id="grd_paydedulist" nodeset="/root/main/paydedu/paydedulist" caption="지급/공제코드^지급/공제명칭^지급/공제구분^급여지급구분^율/금액^고정/변동구분^급여지급내역 집계위치^급여지급내역 집계위치명^최초등록자ID^최초등록일시^ 최종수정자ID^ 최종수정일시|지급/공제코드^지급/공제명칭^지급/공제구분^급여지급구분^율/금액^고정/변동구분^급여지급내역 집계위치^급여지급내역 집계위치명^최초등록자ID^최초등록일시^ 최종수정자ID^ 최종수정일시" colwidth="170, 134, 129, 131, 116, 107, 82, 286, 0, 0, 0, 0" dataheight="25" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" colsep="^" style="left:0px; top:75px; width:1195px; height:659px; ">
- <col ref="paydeducd" type="input"/>
- <col ref="paydedunm" type="input"/>
- <col id="paydeduflag" ref="paydeduflag" type="combo">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </col>
- <col id="payflag" ref="payflag" type="combo">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </col>
- <col ref="dedurateamt" type="input" style="left:584px; top:23px; width:170px; height:23px; "/>
- <col id="fixyn" ref="fixyn" type="checkbox" checkvalue="Y,N">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </col>
- <col ref="payspecsumpos" type="inputbutton"/>
- <col ref="payitemcdnm" type="input"/>
- <col ref="fstgstrid"/>
- <col ref="fstgstdt"/>
- <col ref="lastupdtrid"/>
- <col ref="lastupdtdt"/>
- <script type="javascript" ev:event="onbuttonclick">
- <![CDATA[
- if (grd_paydedulist.colAttribute(grd_paydedulist.col,"ref") == "payspecsumpos" ) { //급여지급내역집계위치
- var recv_list = "payspecsumpos,payitemcdnm";
- misfOpenPopUpList("03", grd_paydedulist,"Z0007", recv_list);
- }
- ]]>
- </script>
- </datagrid>
- <button id="btn_savepaydedulistexcel" 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 != "")
- {
- // datagrid1.saveText(fileName);
- grd_paydedulist.saveExcel(fileName);
- }
- ]]>
- </script>
- </button>
- <button id="btn_grddelpaydedulist" class="btn2_letter3" style="left:1074px; top:49px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- misfGridIUD(grd_paydedulist, "D");
- ]]>
- </script>
- </button>
- <button id="btn_grdaddpaydedulist" class="btn2_letter3" style="left:1018px; top:49px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- misfGridIUD(grd_paydedulist, "A");
-
- //fgridsetting();
- //model.setFocus("datagrid1");
- ]]>
- </script>
- </button>
- <select1 id="rdo_fixyn" ref="/root/send/paydedukind/fixyn" overflow="visible" appearance="full" cols="2" cellspacing="10" style="left:515px; top:20px; width:145px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>고 정</label>
- <value>Y</value>
- </item>
- <item>
- <label>변 동</label>
- <value>N</value>
- </item>
- </choices>
- </select1>
- </group>
- <group id="grp_btn" scroll="auto" style="left:0px; top:12; width:1195px; height:27px; ">
- <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[
- misfSave("TXRWC00201");
- ]]>
- </script>
- </button>
- <button id="button35" class="btn4_letter3" style="left:1069px; top:3px; width:68px; height:22px; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //fInitialize();
- misfGridInit(grd_paydedulist);
- ]]>
- </script>
- </button>
- <line id="line1" class="line_6" style="x1:0; y1:25; x2:1195; y2:25; "/>
- </group>
- </xhtml:body>
- </xhtml:html>
|