123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMPIF71100" position="absolute 0 0 1205 761" titletext="청구및입금내역조회(산재장부)" oninit="SMPIF71100_oninit" onload="SMPIF71100_onload">
- <Layouts>
- <Layout>
- <Div position="absolute 1 13 1197 757" id="grp_biz" scrollbars="autoboth" anchor="all">
- <Layouts>
- <Layout>
- <Button position="absolute 966 52 1019 71" id="button3" class="btn2" text="행카피" anchor="top right" onclick="grp_biz_button3_onclick"/>
- <Button position="absolute 1020 52 1114 71" id="button4" class="btn7" text="Open Excel" anchor="top right" onclick="grp_biz_button4_onclick"/>
- <Button position="absolute 912 52 965 71" id="button5" class="btn2" text="열카피" anchor="top right" onclick="grp_biz_button5_onclick"/>
- <Shape position="absolute 0 71 1195 77" linetype="horizontal" id="line27" class="line_1" style="strokepen:3 solid #33bbbbff;" anchor="left top right"/>
- <Div position="absolute 0 11 1194 46" align="align:center top;" id="group5" class="div_SA" anchor="left top right">
- <Layouts>
- <Layout>
- <Button position="absolute 1123 7 1179 29" id="button1" class="btn1" text="조회" anchor="top right" onclick="grp_biz_group5_button1_onclick"/>
- <Shape position="absolute 1105 7 1111 28" linetype="vertical" id="line26" class="line_4" anchor="top right"/>
- <Static text="~" position="absolute 294 10 309 25" id="caption31" anchor="default"/>
- <Radio position="absolute 78 8 193 25" id="rdo_termflag" columncount="3" rowcount="1" codecolumn="codecolumn" datacolumn="datacolumn" anchor="default" onitemchanged="grp_biz_group5_rdo_termflag_onitemchanged">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">clamym</Col>
- <Col id="datacolumn">청구월</Col>
- </Row>
- <Row>
- <Col id="codecolumn">uncoym</Col>
- <Col id="datacolumn">미수월</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- <Static text="내원유형 :" position="absolute 465 9 555 26" id="caption67" class="search_name" anchor="default"/>
- <Static text="구분 :" position="absolute 20 9 80 26" id="caption38" class="search_name" anchor="default"/>
- <Radio position="absolute 548 7 683 24" id="rdo_ioflag" columncount="3" rowcount="1" codecolumn="codecolumn" datacolumn="datacolumn" anchor="default">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">A</Col>
- <Col id="datacolumn">전체</Col>
- </Row>
- <Row>
- <Col id="codecolumn">I</Col>
- <Col id="datacolumn">입원</Col>
- </Row>
- <Row>
- <Col id="codecolumn">O</Col>
- <Col id="datacolumn">외래</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- <cp_monthCal id="ipt_fromdd" titletext="monthCalendar" taborder="1" text="cp_monthCal00" scrollbars="none" position="absolute 209 6 287 32" anchor="default"/>
- <cp_monthCal id="ipt_todd" titletext="monthCalendar" taborder="2" text="cp_monthCal00" scrollbars="none" position="absolute 310 7 388 33" anchor="default"/>
- </Layout>
- </Layouts>
- </Div>
- <Static text="청구 및 입금 내역 목록" position="absolute 0 55 162 77" id="cap_title" class="tit_2" anchor="default"/>
- <Grid position="absolute 0 76 1195 741" id="grd_clamdepospeclist" class="datagrid2" binddataset="ds_main_clamdepospeclist" anchor="all" oncellclick="grp_biz_grd_clamdepospeclist_oncellclick" onkeydown="grp_biz_grd_clamdepospeclist_onkeydown" cellsizingtype="col">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="22"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="62"/>
- <Column size="62"/>
- <Column size="70"/>
- <Column size="50"/>
- <Column size="70"/>
- <Column size="100"/>
- <Column size="50"/>
- <Column size="100"/>
- <Column size="70"/>
- <Column size="100"/>
- <Column size="80"/>
- <Column size="78"/>
- <Column size="60"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="70"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="61"/>
- <Column size="100"/>
- <Column size="66"/>
- <Column size="100"/>
- <Column size="100"/>
- </Columns>
- <Rows>
- <Row size="33" 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="실청구액"/>
- <Cell col="21" text="실삭감액"/>
- <Cell col="22" text="삭감율"/>
- <Cell col="23" text="결손액"/>
- <Cell col="24" text="반송 건수"/>
- <Cell col="25" text="반송액"/>
- <Cell col="26" text="미보완 건수"/>
- <Cell col="27" text="미보완 청구액"/>
- <Cell col="28" text="미수금"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" expr="currow+1"/>
- <Cell col="1" displaytype="expr:utlf_isNull(clamym) ? 'normal' : 'date'" text="bind:clamym" mask="expr:utlf_isNull(clamym) ? '' : 'yyyy-MM'"/>
- <Cell col="2" displaytype="expr:utlf_isNull(uncoym) ? 'normal' : 'date'" text="bind:uncoym" mask="expr:utlf_isNull(uncoym) ? '' : 'yyyy-MM'"/>
- <Cell col="3" text="bind:ioflag"/>
- <Cell col="4" text="bind:insukind"/>
- <Cell col="5" text="bind:clamflag"/>
- <Cell col="6" text="bind:clamdg"/>
- <Cell col="7" text="bind:acptno"/>
- <Cell col="8" style="align:left middle;" text="bind:acptdd"/>
- <Cell col="9" displaytype="number" text="bind:clcnt"/>
- <Cell col="10" displaytype="number" style="align:left middle;" text="bind:clclamamt"/>
- <Cell col="11" text="bind:judgdg"/>
- <Cell col="12" style="align:left middle;" text="bind:depodd"/>
- <Cell col="13" displaytype="number" style="align:left middle;" text="bind:depoamt"/>
- <Cell col="14" style="align:left middle;" text="bind:jrdecicnt"/>
- <Cell col="15" displaytype="number" text="bind:jrdeciamt"/>
- <Cell col="16" displaytype="number" style="align:left middle;" text="bind:rtnscheamt"/>
- <Cell col="17" displaytype="number" style="align:left middle;" text="bind:rtnamt"/>
- <Cell col="18" displaytype="number" style="align:left middle;" text="bind:realcnt"/>
- <Cell col="19" displaytype="number" style="align:left middle;" text="bind:realclamamt"/>
- <Cell col="20" displaytype="number" style="align:left middle;" text="bind:realcutamt"/>
- <Cell col="21" displaytype="number" style="align:left middle;" text="bind:realcutrate"/>
- <Cell col="22" displaytype="number" style="align:left middle;" text="bind:lostamt"/>
- <Cell col="23" displaytype="number" style="align:left middle;" text="bind:sendcnt"/>
- <Cell col="24" displaytype="number" style="align:left middle;" text="bind:sendclamamt"/>
- <Cell col="25" displaytype="number" style="align:left middle;" text="bind:unclamcnt"/>
- <Cell col="26" displaytype="number" style="align:left middle;" text="bind:unclamamt"/>
- <Cell col="27" displaytype="number" style="align:left middle;" text="bind:uncoamt"/>
- <Cell col="28" displaytype="number" style="align:left middle;"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Button position="absolute 858 52 911 71" id="button10" class="btn2" text="셀카피" anchor="top right" onclick="grp_biz_button10_onclick"/>
- <Button position="absolute 1115 52 1195 71" id="button12" class="btn7" text="엑셀저장" anchor="top right" onclick="grp_biz_button12_onclick"/>
- </Layout>
- </Layouts>
- </Div>
- <Static id="caption6" text="청구 및 입금 내역 조회(산재장부)" class="tit_1" position="absolute 1 0 249 23"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_main_clamdepospeclist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="clamym" type="STRING"/>
- <Column id="uncoym" type="STRING"/>
- <Column id="ioflag" type="STRING"/>
- <Column id="insukind" type="STRING"/>
- <Column id="clamflag" type="STRING"/>
- <Column id="clamdg" type="STRING"/>
- <Column id="acptno" type="STRING"/>
- <Column id="acptdd" type="STRING"/>
- <Column id="clcnt" type="STRING"/>
- <Column id="clclamamt" type="STRING"/>
- <Column id="judgdg" type="STRING"/>
- <Column id="depodd" type="STRING"/>
- <Column id="depoamt" type="STRING"/>
- <Column id="jrdecicnt" type="STRING"/>
- <Column id="jrdeciamt" type="STRING"/>
- <Column id="rtnscheamt" type="STRING"/>
- <Column id="rtnamt" type="STRING"/>
- <Column id="realcnt" type="STRING"/>
- <Column id="realclamamt" type="STRING"/>
- <Column id="realcutamt" type="STRING"/>
- <Column id="realcutrate" type="STRING"/>
- <Column id="lostamt" type="STRING"/>
- <Column id="sendcnt" type="STRING"/>
- <Column id="sendclamamt" type="STRING"/>
- <Column id="unclamcnt" type="STRING"/>
- <Column id="unclamamt" type="STRING"/>
- <Column id="uncoamt" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="termflag" type="STRING" size="256"/>
- <Column id="fromdd" type="STRING" size="256"/>
- <Column id="todd" type="STRING" size="256"/>
- <Column id="ioflag" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="termflag">clamym</Col>
- <Col id="fromdd"/>
- <Col id="todd"/>
- <Col id="ioflag">A</Col>
- </Row>
- </Rows>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="grp_biz.group5.rdo_termflag" propid="value" datasetid="ds_send" columnid="termflag"/>
- <BindItem id="item1" compid="grp_biz.group5.rdo_ioflag" propid="value" datasetid="ds_send" columnid="ioflag"/>
- </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 SMPIF71100_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj);
- }
- function SMPIF71100_onload(obj:Form, e:LoadEventInfo)
- {
- grp_biz.group5.ipt_fromdd.setCallEvent("fn_cp_monthCal00");
- grp_biz.group5.ipt_todd.setCallEvent("fn_cp_monthCal01");
-
- fInitialize();
- }
- function fInitialize()
- {
- ds_send.setColumn(0, "todd", utlf_getCurrentDate().toDate().getDateFormat("YYYYMM"));
- ds_send.setColumn(0, "fromdd", utlf_getCurrentDate().toDate().getAddDate(-90).getDateFormat("YYYYMM"));
-
- grp_biz.group5.ipt_todd.setData(utlf_getCurrentDate().toDate().getDateFormat("YYYYMM"));
- grp_biz.group5.ipt_fromdd.setData(utlf_getCurrentDate().toDate().getAddDate(-90).getDateFormat("YYYYMM"));
-
- ds_main_clamdepospeclist.clearData();
- }
- function fn_cp_monthCal00()
- {
- var month = grp_biz.group5.ipt_fromdd.getData();
-
- ds_send.setColumn(0, "fromdd", month);
- ds_send.setColumn(0, "todd", month);
-
- grp_biz.group5.ipt_todd.setData(month);
- }
- function fn_cp_monthCal01()
- {
- var month = grp_biz.group5.ipt_todd.getData();
-
- ds_send.setColumn(0, "todd", month);
- }
- function grp_biz_group5_button1_onclick(obj:Button, e:ClickEventInfo)
- {
- var oParam = {};
- oParam.id = "TRPIF71101";
- oParam.service = "clamuncoapp.ClamUnco";
- oParam.method = "reqGetClamDepoSpecSanJaeBooks";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_main_clamdepospeclist=gridclamdepospeclist";
- oParam.async = false;
- //oParam.callback = "cf_TRPIF71101";
- tranf_submit(oParam);
- }
- function grp_biz_button10_onclick(obj:Button, e:ClickEventInfo)
- {
- col = "N";
- grp_biz.grd_clamdepospeclist.selecttype = "multiarea";
- }
- function grp_biz_button5_onclick(obj:Button, e:ClickEventInfo)
- {
- col = "Y";
- grp_biz.grd_clamdepospeclist.selecttype = "multiarea";
- }
- function grp_biz_button3_onclick(obj:Button, e:ClickEventInfo)
- {
- col = "N";
- grp_biz.grd_clamdepospeclist.selecttype = "multirow";
- }
- function grp_biz_button4_onclick(obj:Button, e:ClickEventInfo)
- {
- system.execShell("excel");
- }
- function grp_biz_button12_onclick(obj:Button, e:ClickEventInfo)
- {
- var today = new Date();
-
- var yy = today.getYear()+"";
- var mm = today.getMonth()+1;
- var dd = today.getDate();
-
- var title = "";
- if(mm < 10)
- {
- mm = "0" + mm;
- }
- else
- {
- mm = mm + "";
- }
-
- if(dd < 10)
- {
- dd = "0" + dd;
- }
- else
- {
- dd = dd + "";
- }
- var tmp = yy + mm + dd;
- var title = "반송재청구장부(자보)_"+tmp;
-
- if (ds_main_clamdepospeclist.rowcount < 1)
- {
- return;
- }
- else
- {
- grdf_exportExcel(grp_biz.grd_clamdepospeclist, title, "see");
- }
- }
- function grp_biz_group5_rdo_termflag_onitemchanged(obj:Radio, e:ItemChangeEventInfo)
- {
- ds_send.setColumn(0, "fromdd", "");
- ds_send.setColumn(0, "todd", "");
-
- grp_biz.group5.ipt_fromdd.setData("");
- grp_biz.group5.ipt_todd.setData("");
-
- grp_biz.group5.ipt_fromdd.setFocus();
- }
- function grp_biz_grd_clamdepospeclist_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 grp_biz_grd_clamdepospeclist_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>
|