123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMPIE02100" position="absolute 0 0 1207 782" titletext="산재개산지급결정통지서(I040)조회" oninit="SMPIE02100_oninit" onload="SMPIE02100_onload">
- <Layouts>
- <Layout>
- <Div position="absolute 0 757 1195 768" id="grp_btn" scrollbars="autoboth">
- <Layouts>
- <Layout>
- <Shape position="absolute 0 0 1194 6" linetype="horizontal" id="line32" class="line_6" anchor="all"/>
- </Layout>
- </Layouts>
- </Div>
- <Div position="absolute 0 13 1195 757" id="group4" scrollbars="autoboth" anchor="all">
- <Layouts>
- <Layout width="1195" height="744">
- <Static text="I040" position="absolute 1 80 178 102" id="caption36" class="tit_2"/>
- <Shape position="absolute 0 96 1194 102" linetype="horizontal" id="line27" class="line_1" style="strokepen:3 solid #33bbbbff;" anchor="left top right"/>
- <Button position="absolute 1115 77 1195 96" id="button12" class="btn7" text="엑셀저장" onclick="group4_button12_onclick" anchor="top right"/>
- <Grid position="absolute 0 101 1194 743" id="grd_i040" binddataset="ds_main_grid_gridlisti040_i040" onrbuttondown="group4_grd_i040_onrbuttondown" oncellclick="group4_grd_i040_oncellclick" onkeydown="group4_grd_i040_onkeydown" anchor="all" cellsizingtype="col">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="20"/>
- <Column size="80"/>
- <Column size="65"/>
- <Column size="70"/>
- <Column size="100"/>
- <Column size="90"/>
- <Column size="70"/>
- <Column size="100"/>
- <Column size="75"/>
- <Column size="75"/>
- <Column size="75"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="80"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="200"/>
- <Column size="200"/>
- </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="공제총액"/>
- <Cell col="19" text="개산지급률 결정사유"/>
- <Cell col="20" text="통지사항"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" expr="currow+1"/>
- <Cell col="1" text="bind:acptno"/>
- <Cell col="2" text="bind:dg"/>
- <Cell col="3" displaytype="date" text="bind:docuno" mask="yyyy/MM"/>
- <Cell col="4" text="bind:healcareinstcd"/>
- <Cell col="5" text="bind:cmpyflag"/>
- <Cell col="6" text="bind:sendno"/>
- <Cell col="7" text="bind:clamno"/>
- <Cell col="8" displaytype="date" text="bind:acptdd" mask="yyyy/MM/dd"/>
- <Cell col="9" displaytype="date" text="bind:notidd" mask="yyyy/MM/dd"/>
- <Cell col="10" displaytype="date" text="bind:paydd" mask="yyyy/MM/dd"/>
- <Cell col="11" displaytype="number" text="bind:clamamt"/>
- <Cell col="12" displaytype="number" text="bind:calctrgtamt"/>
- <Cell col="13" displaytype="number" text="bind:calcpayamt"/>
- <Cell col="14" text="bind:calcpayrt"/>
- <Cell col="15" displaytype="number" text="bind:calcrlpayamt"/>
- <Cell col="16" displaytype="number" text="bind:incmtax"/>
- <Cell col="17" displaytype="number" text="bind:resdntax"/>
- <Cell col="18" displaytype="number" text="bind:dedutotamt"/>
- <Cell col="19" text="bind:calcpayrtdeciresn"/>
- <Cell col="20" text="bind:notifact"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Div position="absolute 0 11 1194 71" align="align:center top;" id="group5" class="div_SA" anchor="left top right">
- <Layouts>
- <Layout>
- <Static text="통지일자 :" position="absolute 12 22 98 39" id="cap_toacptym" class="search_name" anchor="default"/>
- <Calendar position="absolute 94 21 179 40" id="ipt_fromnotidd" class="input_search" dateformat="yyyy-MM-dd" value="null" anchor="default"/>
- <Static text="~" position="absolute 184 24 199 39" id="caption31" anchor="default"/>
- <Calendar position="absolute 198 21 283 40" id="ipt_tonotidd" class="input_search" anchor="default"/>
- <Static text="사업구분 :" position="absolute 811 23 901 40" id="caption34" class="search_name" anchor="default"/>
- <Combo position="absolute 894 21 994 40" id="cmb_cmpyflag" class="combo_search" innerdataset="@ds_init_P0504list" datacolumn="cdnm" codecolumn="cdid" anchor="default"/>
- <Static text="청구번호 :" position="absolute 335 23 425 40" id="caption35" class="search_name" anchor="default"/>
- <Edit position="absolute 420 21 520 40" id="ipt_clamno" class="input_search" anchor="default"/>
- <Static text="접수번호 :" position="absolute 569 23 659 40" id="caption30" class="search_name" anchor="default"/>
- <Edit position="absolute 654 21 754 40" id="ipt_acptno" class="input_search" anchor="default"/>
- <Shape position="absolute 1105 7 1111 54" linetype="vertical" id="line26" class="line_4" anchor="top right"/>
- <Button position="absolute 1123 19 1179 41" id="btn_research" class="btn1" text="조회" onclick="group4_group5_btn_research_onclick" anchor="top right"/>
- </Layout>
- </Layouts>
- </Div>
- <Button position="absolute 1006 77 1059 96" id="button10" class="btn2" text="열카피" onclick="group4_button10_onclick" anchor="top right"/>
- <Button position="absolute 1061 77 1114 96" id="button11" class="btn2" text="행카피" onclick="group4_button11_onclick" anchor="top right"/>
- <Button position="absolute 951 77 1004 96" id="button13" class="btn2" text="셀카피" onclick="group4_button13_onclick" anchor="top right"/>
- </Layout>
- </Layouts>
- </Div>
- <Static id="caption6" text="산재개산지급결정통지서(I040)조회" class="tit_1" position="absolute 1 0 329 23"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="fromnotidd" type="STRING" size="256"/>
- <Column id="tonotidd" type="STRING" size="256"/>
- <Column id="clamno" type="STRING" size="256"/>
- <Column id="acptno" type="STRING" size="256"/>
- <Column id="cmpyflag" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_P0504list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cdnm" type="STRING" size="256"/>
- <Column id="cdid" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_grid_gridlisti040_i040" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="acptno" type="STRING" size="256" sumtext="접수번호"/>
- <Column id="dg" type="STRING" size="256" sumtext="차수"/>
- <Column id="docuno" type="STRING" size="256" sumtext="서식번호"/>
- <Column id="healcareinstcd" type="STRING" size="256" sumtext="청구기관코드"/>
- <Column id="cmpyflag" type="STRING" size="256" sumtext="사업구분"/>
- <Column id="sendno" type="STRING" size="256" sumtext="발송번호"/>
- <Column id="clamno" type="STRING" size="256" sumtext="청구번호"/>
- <Column id="acptdd" type="STRING" size="256" sumtext="접수일자"/>
- <Column id="notidd" type="STRING" size="256" sumtext="통지일자"/>
- <Column id="paydd" type="STRING" size="256" sumtext="지급일자"/>
- <Column id="clamamt" type="STRING" size="256" sumtext="청구액"/>
- <Column id="calctrgtamt" type="STRING" size="256" sumtext="개산대상금액"/>
- <Column id="calcpayamt" type="STRING" size="256" sumtext="개산지급액"/>
- <Column id="calcpayrt" type="STRING" size="256" sumtext="개산지급율"/>
- <Column id="calcrlpayamt" type="STRING" size="256" sumtext="실지급액"/>
- <Column id="incmtax" type="STRING" size="256" sumtext="소득세"/>
- <Column id="resdntax" type="STRING" size="256" sumtext="주민세"/>
- <Column id="dedutotamt" type="STRING" size="256" sumtext="공제총액"/>
- <Column id="calcpayrtdeciresn" type="STRING" size="256" sumtext="개산지급률결정사유"/>
- <Column id="notifact" type="STRING" size="256" sumtext="통지사항"/>
- </ColumnInfo>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="group4.group5.ipt_fromnotidd" propid="value" datasetid="ds_send" columnid="fromnotidd"/>
- <BindItem id="item1" compid="group4.group5.ipt_tonotidd" propid="value" datasetid="ds_send" columnid="tonotidd"/>
- <BindItem id="item2" compid="group4.group5.ipt_clamno" propid="value" datasetid="ds_send" columnid="clamno"/>
- <BindItem id="item3" compid="group4.group5.ipt_acptno" propid="value" datasetid="ds_send" columnid="acptno"/>
- <BindItem id="item4" compid="group4.group5.cmb_cmpyflag" propid="value" datasetid="ds_send" columnid="cmpyflag"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name :
- * Job Name :
- * Creator :
- * Make Date : 2016-05-24
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2016-05-24 Live Converter TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- include "com_commonxp::comm_main.xjs";
- include "pam_pamcomnxp::PAM001.xjs";
- include "pam_pamcomnxp::PAM.xjs";
- var col = "N";
- function SMPIE02100_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj);
- }
- function SMPIE02100_onload(obj:Form, e:LoadEventInfo)
- {
- CommCode_Load();
- fInitialize();
- }
- function CommCode_Load()
- {
- var arrParam = [{dsNm: "ds_init_P0504list", cdGrpId: "P0504"}]
-
- appf_getCodeList(arrParam);
-
- ds_init_P0504list.insertRow(0);
- }
- // 초기화
- function fInitialize()
- {
- var today = utlf_getCurrentDate();
-
- ds_send.setColumn(0, "fromnotidd", today);
- ds_send.setColumn(0, "tonotidd", today);
-
- ds_send.setColumn(0, "clamno", "");
- ds_send.setColumn(0, "acptno", "");
-
- ds_send.setColumn(0, "cmpyflag", "-");
- group4.group5.ipt_fromnotidd.setFocus();
- }
-
-
- function group4_group5_btn_research_onclick(obj:Button, e:ClickEventInfo)
- {
- if ((utlf_isNull(ds_send.getColumn(0, "fromnotidd")) && utlf_isNull(ds_send.getColumn(0, "clamno")) && utlf_isNull(ds_send.getColumn(0, "acptno"))) ||
- (utlf_isNull(ds_send.getColumn(0, "tonotidd")) && utlf_isNull(ds_send.getColumn(0, "clamno")) && utlf_isNull(ds_send.getColumn(0, "acptno"))))
- {
- sysf_messageBox("[기간 ]또는 [청구번호/접수번호]를","C001");
- }
- else
- {
- var oParam = {};
- oParam.id = "TRPIE02001";
- oParam.service = "edimngtapp.EdiMngt";
- oParam.method = "reqGetInduCsJudgSpecRept401";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_main_grid_gridlisti040_i040=i040";
- oParam.async = false;
- //oParam.callback = "cf_TRPIE02001";
- tranf_submit(oParam);
- }
- }
- function group4_button12_onclick(obj:Button, e:ClickEventInfo)
- {
- var today = utlf_getCurrentDate();
-
- if(ds_main_grid_gridlisti040_i040.rowcount == 0)
- {
- sysf_messageBox("엑셀저장할 내역이", "I004"); ///엑셀저장할 내역이 없습니다.
- }
- else
- {
- grdf_exportExcel(group4.grd_i040, "I040-산재개산지급통지서_"+today, "see");
- }
- }
- function group4_button13_onclick(obj:Button, e:ClickEventInfo)
- {
- col = "N";
- group4.grd_i040.selecttype = "multiarea";
- }
- function group4_button10_onclick(obj:Button, e:ClickEventInfo)
- {
- col = "Y";
- group4.grd_i040.selecttype = "multiarea";
- }
- function group4_button11_onclick(obj:Button, e:ClickEventInfo)
- {
- col = "N";
- group4.grd_i040.selecttype = "multirow";
- }
- function group4_grd_i040_oncellclick(obj:Grid, e:GridClickEventInfo)
- {
- var lv_nAreaStartRow;
- var lv_nAreaEndRow;
- var lv_nAreaStartCol;
- var lv_nAreaEndCol;
- if(col == "Y")
- {
- lv_nAreaStartRow = 0;
- lv_nAreaEndRow = parseInt(obj.rowcount-1);
- lv_nAreaStartCol = parseInt(obj.currentcol);
- lv_nAreaEndCol = parseInt(obj.currentcol);
-
- grdf_initGridStyle(obj);
-
- for(var nRow = lv_nAreaStartRow; nRow <= lv_nAreaEndRow; nRow++)
- {
- for(var nCell = lv_nAreaStartCol; nCell <= lv_nAreaEndCol; nCell++)
- {
- obj.setCellProperty("body",nCell,"background","#FFE7E5");
- obj.setCellProperty("body",nCell,"background2","#FFE7E5");
- }
- }
- }
- else
- {
- grdf_initGridStyle(obj);
- }
- }
- function group4_grd_i040_onkeydown(obj:Grid, e:KeyEventInfo)
- {
- if(col == "Y")
- {
- var CONST_SEPARATOR = " "; //컬럼별 구분자
- var lv_oBindDs = eval(obj.binddataset);
- var lv_sColID;
- var lv_sVal;
- var lv_sClipboard = "";
- var lv_nAreaStartRow;
- var lv_nAreaEndRow;
- var lv_nAreaStartCol;
- var lv_nAreaEndCol;
-
- if(obj.selecttype == "multiarea")
- {
- lv_nAreaStartRow = 0;
- lv_nAreaEndRow = parseInt(obj.rowcount-1);
- lv_nAreaStartCol = parseInt(obj.currentcol);
- lv_nAreaEndCol = parseInt(obj.currentcol);
- }
-
- for(var nRow = lv_nAreaStartRow; nRow <= lv_nAreaEndRow; nRow++)
- {
- for(var nCell = lv_nAreaStartCol; nCell <= lv_nAreaEndCol; nCell++)
- {
- lv_sColID = obj.getCellProperty("body",nCell,"text");
- lv_sVal = obj.getCellValue(nRow,nCell);
- lv_sClipboard = lv_sClipboard + lv_sVal + CONST_SEPARATOR;
- }
- lv_sClipboard = lv_sClipboard.substr(0,lv_sClipboard.length-1);
- lv_sClipboard = lv_sClipboard +String.fromCharCode(10);
- }
- lv_sClipboard = lv_sClipboard.substr(0,lv_sClipboard.length-1);
-
- iv_sClipboard = lv_sClipboard;
-
- system.setClipboard("CF_TEXT",lv_sClipboard);
- }
- else
- {
- if (e.ctrlKey == true && e.keycode == 67 )
- {
- grdf_clipboardCopy(obj, "PAM");
- }
- }
- }
- ]]></Script>
- </Form>
- </FDL>
|