123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMRWP22110" position="absolute 0 0 1196 786" titletext="급여지급 내역 확인" onload="SMRWP22110_onload">
- <Layouts>
- <Layout>
- <Div position="absolute 0 25 1195 65" align="align:center top;" id="btn_madd" class="div_SA" anchor="left top right">
- <Layouts>
- <Layout/>
- </Layouts>
- </Div>
- <Static id="caption6" text="급여 지급 내역 확인" class="tit_1" position="absolute 0 0 243 25"/>
- <Shape id="line12" linetype="vertical" class="line_4" position="absolute 1059 35 1065 57" anchor="top right"/>
- <Button id="btn_search" taborder="1" text="조회" class="btn1" position="absolute 1072 35 1128 57" anchor="top right" onclick="btn_search_onclick"/>
- <Static id="caption1" text="사원번호 :" class="search_name" position="absolute 15 38 101 55"/>
- <Edit id="ipt_emplnm" taborder="2" class="input_search" enable="false" position="absolute 200 36 350 55"/>
- <Button id="btn_emplno" taborder="3" class="icon_search" enable="false" position="absolute 180 38 196 54" onclick="btn_emplno_onclick"/>
- <Edit id="ipt_emplno" taborder="4" class="input_search" enable="false" position="absolute 106 36 176 55" onkeydown="ipt_emplno_onkeydown"/>
- <Button id="button1" taborder="5" text="저장" class="btn4" position="absolute 1131 35 1187 57" anchor="top right" onclick="button1_onclick"/>
- <Static id="caption21" text="급여 지급 내역 확인 리스트" class="tit_2" position="absolute 0 76 405 97"/>
- <Shape id="line16" class="line_10" position="absolute 0 92 1195 98" anchor="left top right"/>
- <Grid id="grd_paychklist" taborder="6" binddataset="ds_main_payinfo_paychklist" useinputpanel="false" position="absolute 0 97 1195 784" anchor="all">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="25" band="left"/>
- <Column size="60"/>
- <Column size="70"/>
- <Column size="50"/>
- <Column size="110"/>
- <Column size="90"/>
- <Column size="80"/>
- <Column size="0"/>
- <Column size="70"/>
- <Column size="70"/>
- <Column size="0"/>
- <Column size="100"/>
- <Column size="0"/>
- <Column size="100"/>
- <Column size="85"/>
- <Column size="85"/>
- <Column size="85"/>
- <Column size="0"/>
- <Column size="60"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" text="사번"/>
- <Cell col="2" text="이름"/>
- <Cell col="3" text="기관"/>
- <Cell col="4" text="부서"/>
- <Cell col="5" text="직종"/>
- <Cell col="6" text="직급"/>
- <Cell col="7" text="직위"/>
- <Cell col="8" text="급여지급월"/>
- <Cell col="9" text="급여지급일"/>
- <Cell col="10" text="급여구분"/>
- <Cell col="11" text="급여구분"/>
- <Cell col="12" text="급여항목"/>
- <Cell col="13" text="급여항목"/>
- <Cell col="14" text="기지급금액"/>
- <Cell col="15" text="재정산금액"/>
- <Cell col="16" text="차액"/>
- <Cell col="17" text="정산대상여부"/>
- <Cell col="18" text="확인여부"/>
- </Band>
- <Band id="body">
- <Cell celltype="head"/>
- <Cell col="1" text="bind:emplno"/>
- <Cell col="2" text="bind:name"/>
- <Cell col="3" displaytype="combo" edittype="combo" text="bind:instcd" combodataset="ds_cmb_instcd" combocodecol="value" combodatacol="label"/>
- <Cell col="4" text="bind:deptnm"/>
- <Cell col="5" text="bind:jobkindnm"/>
- <Cell col="6" text="bind:jobgradnm"/>
- <Cell col="7" text="bind:jobposnm"/>
- <Cell col="8" text="bind:payym" mask="@@@@-@@"/>
- <Cell col="9" text="bind:paydd" mask="@@@@-@@-@@"/>
- <Cell col="10" text="bind:saldfrayflag"/>
- <Cell col="11" text="bind:saldfrayflagnm"/>
- <Cell col="12" text="bind:payitemcd"/>
- <Cell col="13" text="bind:payitemnm"/>
- <Cell col="14" displaytype="number" text="bind:payitemamt"/>
- <Cell col="15" displaytype="number" text="bind:newpayamt"/>
- <Cell col="16" displaytype="number" text="bind:chaamt"/>
- <Cell col="17" text="bind:chkflag"/>
- <Cell col="18" displaytype="checkbox" edittype="checkbox" text="bind:magamflag" expr="expr:(magamflag=="Y"||magamflag==1)?1:0"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Button id="btn_excsave" taborder="7" text="엑셀저장" class="btn7" position="absolute 1115 70 1195 92" anchor="top right" onclick="btn_excsave_onclick"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_main_payinfo_paychklist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="emplno" type="STRING"/>
- <Column id="name" type="STRING"/>
- <Column id="instcd" type="STRING"/>
- <Column id="deptnm" type="STRING"/>
- <Column id="jobkindnm" type="STRING"/>
- <Column id="jobgradnm" type="STRING"/>
- <Column id="jobposnm" type="STRING"/>
- <Column id="payym" type="STRING"/>
- <Column id="paydd" type="STRING"/>
- <Column id="saldfrayflag" type="STRING"/>
- <Column id="saldfrayflagnm" type="STRING"/>
- <Column id="payitemcd" type="STRING"/>
- <Column id="payitemnm" type="STRING"/>
- <Column id="payitemamt" type="STRING"/>
- <Column id="newpayamt" type="STRING"/>
- <Column id="chaamt" type="STRING"/>
- <Column id="chkflag" type="STRING"/>
- <Column id="magamflag" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_send_search" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_send_search_oncolumnchanged">
- <ColumnInfo>
- <Column id="emplno" type="STRING" size="256"/>
- <Column id="emplnm" type="STRING" size="256"/>
- <Column id="payym" type="STRING" size="256"/>
- <Column id="paydd" type="STRING" size="256"/>
- <Column id="saldfrayflag" type="STRING" size="256"/>
- <Column id="payitemcd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="emplno"/>
- <Col id="emplnm"/>
- <Col id="payym"/>
- <Col id="paydd"/>
- <Col id="saldfrayflag"/>
- <Col id="payitemcd"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_send_saveinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_init" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_temp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_cmbauth" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_cmb_instcd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="label" type="STRING" size="256"/>
- <Column id="value" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="label">본원</Col>
- <Col id="value">031</Col>
- </Row>
- <Row>
- <Col id="label">칠곡</Col>
- <Col id="value">032</Col>
- </Row>
- </Rows>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="ipt_emplno" propid="value" datasetid="ds_send_search" columnid="emplno"/>
- <BindItem id="item1" compid="ipt_emplnm" propid="value" datasetid="ds_send_search" columnid="emplnm"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name :
- * Job Name :
- * Creator :
- * Make Date : 2017-06-19
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2017-06-19 Live Converter TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- //=======================================================================================
- // Lib Include
- //---------------------------------------------------------------------------------------
- include "com_commonxp::comm_main.xjs";
- include "mis_miscommonxp::MIS.xjs";
- include "mis_miscommonxp::RSZ001.xjs";
- include "mis_humtrafactmngtxp::RPB001.xjs";
- //include "mis_purcbasexp::SMRFE00200.xjs";
- //=======================================================================================
- // Global Form Variable
- //---------------------------------------------------------------------------------------
- var arErrorCode = new HashArray();
- //=======================================================================================
- // Function
- //---------------------------------------------------------------------------------------
- /****************************************************************************************
- * Argument : N/A
- * Description : 초기화
- ****************************************************************************************/
-
- //=======================================================================================
- // Event
- //---------------------------------------------------------------------------------------
- /****************************************************************************************
- * Components : Form
- * Description : 화면 처음 초기화시 폼초기화
- ****************************************************************************************/
- function SMRWP22100_onload(obj:Form, e:LoadEventInfo)
- {
- frmf_initForm(obj); // 폼 초기화
- grdf_setRowTypeIcon(grd_paychklist, 0); // 그리드 상태 표시
-
- sysf_messageBox("★ [확인여부] 체크 후 저장 필수 ★", "I999");
- misfGetUserAuth();
- if(DUTY_PAY_YN == "Y"){
- ipt_emplno.enable = true;
- ipt_emplnm.enable = true;
- btn_emplno.enable = true;
- } else {
- ipt_emplno.enable = false;
- ipt_emplnm.enable = false;
- btn_emplno.enable = false;
- }
- ds_send_search.setColumn( 0, "emplno", sysf_getUserInfo("userid"));
- ds_send_search.setColumn( 0, "emplnm", sysf_getUserInfo("usernm"));
- ds_send_search.setColumn( 0, "payym", '201601');
- ds_send_search.setColumn( 0, "paydd", '20160115');
- ds_send_search.setColumn( 0, "saldfrayflag", '1');
- ds_send_search.setColumn( 0, "payitemcd", '10460');
- }
- /****************************************************************************************
- * Components : Edit
- * Description : 사원번호 입력 검색
- ****************************************************************************************/
- function ipt_emplno_onkeydown(obj:Edit, e:KeyEventInfo)
- {
- if(e.keycode == 13)
- {
- if(ds_send_search.getColumn(0,"emplno") == obj.text) return;
- obj.updateToDataset();
- }
- }
- /****************************************************************************************
- * Components : Dataset
- * Description : 사원번호 입력 검색
- ****************************************************************************************/
- function ds_send_search_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
- {
- if(e.columnid == "emplno") {
- ipt_emplno.value = e.newvalue;
- ipt_emplno.setFocus();
-
- rpbfValidationCheck("EMPLNO", "emplno,emplnm");
-
- if(!utlf_isNull(ds_send_search.getColumn(0,"emplnm"))) btn_search.click();
- }
- }
- /****************************************************************************************
- * Components : Button
- * Description : 사원번호 검색 팝업
- ****************************************************************************************/
- function btn_emplno_onclick(obj:Button, e:ClickEventInfo)
- {
- rpbfOpenPopUpList("SPRPB00101", ipt_emplno, "emplno,emplnm", "", "N");
- if(!utlf_isNull(ds_send.getColumn(0,"emplnm"))) btn_search.click();
- }
- /****************************************************************************************
- * Components : Button
- * Description : 조회
- ****************************************************************************************/
- function btn_search_onclick(obj:Button, e:ClickEventInfo)
- {
- misfGridInit(grd_paychklist);
-
- var oParam = {};
- oParam.id = "TRRWP22111";
- oParam.service = "paybnusmngtapp.PayCalcMngt";
- oParam.method = "reqGetPayChkInfoList";
- oParam.inds = "req=ds_send_search";
- oParam.outds = "ds_main_payinfo_paychklist=paychklist";
- oParam.async = true;
- //oParam.callback = "cf_TRRWP22111";
- tranf_submit(oParam);
- }
- /****************************************************************************************
- * Components : Button
- * Description : 저장
- ****************************************************************************************/
- function button1_onclick(obj:Button, e:ClickEventInfo)
- {
- dsf_createDs("ds_send_saveinfo");
- var dsUpdate = grdf_getGridUpdateData(grd_famylist, "all");
- grdf_setStatusColumn(dsUpdate, "status");
- ds_send_saveinfo.copyData(dsUpdate, true);
- var oParam = {};
- oParam.id = "TXRWP22111";
- oParam.service = "paybnusmngtapp.PayCalcMngt";
- oParam.method = "reqSetPayChkInfoList";
- oParam.inds = "saveinfo=ds_send_saveinfo";
- oParam.outds = "";
- oParam.async = false;
- //oParam.callback = "cf_TXRWP22111";
- tranf_submit(oParam);
- btn_search.click();
- }
- /****************************************************************************************
- * Components : Button
- * Description : 엑셀저장
- ****************************************************************************************/
- function btn_excsave_onclick(obj:Button, e:ClickEventInfo)
- {
- misfSaveExcel(grd_paychklist);
- }
- ]]></Script>
- </Form>
- </FDL>
|