123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMPIF71500" position="absolute 0 0 1199 756" titletext="미수현황(자보)" onload="SMPIF71500_onload" oninit="SMPIF71500_oninit">
- <Layouts>
- <Layout>
- <Div position="absolute 1 13 1196 750" id="grp_biz" scrollbars="autoboth" anchor="all">
- <Layouts>
- <Layout>
- <Div position="absolute 0 11 1194 75" align="align:center top;" id="grp_sea" class="div_SA" anchor="left top right">
- <Layouts>
- <Layout>
- <Button position="absolute 1115 23 1171 45" id="button1" class="btn1" text="조회" anchor="top right" onclick="grp_biz_grp_sea_button1_onclick"/>
- <Shape position="absolute 1092 22 1098 44" linetype="vertical" id="line13" class="line_4" anchor="top right"/>
- <Static text="~" position="absolute 226 9 241 29" id="caption3" anchor="default"/>
- <Calendar position="absolute 135 9 221 28" id="ipt_fromdd" class="input_search" mask="yyyy-mm" anchor="default" dateformat="yyyy-MM" value="null" editformat="yyyy-MM" onchanged="grp_biz_grp_sea_ipt_fromdd_onchanged"/>
- <Calendar position="absolute 241 9 326 28" id="ipt_todd" class="input_search" mask="yyyy-mm" anchor="default" dateformat="yyyy-MM" value="null" editformat="yyyy-MM"/>
- <Radio position="absolute 432 4 577 27" id="radio1" class="radio_search" columncount="3" 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>
- <Static text="내원 유형" position="absolute 347 9 433 26" id="caption7" class="search_name" anchor="default"/>
- <Static text="손 보 사" position="absolute 347 35 435 52" id="caption8" class="search_name" anchor="default"/>
- <Combo position="absolute 433 34 599 53" id="cmb_insucmpymark" class="combo_search" innerdataset="@ds_init_U0001list_U0001" datacolumn="nm" codecolumn="cd" anchor="default"/>
- <Radio position="absolute 704 6 877 26" id="rdo_endyn" class="radio_search" columncount="3" 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">Y</Col>
- <Col id="datacolumn">완료</Col>
- </Row>
- <Row>
- <Col id="codecolumn">N</Col>
- <Col id="datacolumn">미완료</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- <Static text="종결 여부" position="absolute 623 9 739 26" id="caption11" class="search_name" anchor="default"/>
- <Static text="기간:" position="absolute 15 9 75 26" id="cap_depodd" class="search_name" anchor="default"/>
- <Static text="미납금액" position="absolute 624 35 708 52" id="cap_uncoamt" class="search_name" anchor="default" visible="false"/>
- <MaskEdit position="absolute 703 33 792 52" id="ipt_uncoamt" class="input_search" taborder="20" mask="#,###" anchor="default" onkeydown="grp_biz_grp_sea_ipt_uncoamt_onkeydown" visible="false"/>
- <Radio position="absolute 62 4 122 59" id="rdo_srchflag" columncount="1" codecolumn="codecolumn" datacolumn="datacolumn" anchor="default" onitemchanged="grp_biz_grp_sea_rdo_srchflag_onitemchanged">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">M</Col>
- <Col id="datacolumn">청구월</Col>
- </Row>
- <Row>
- <Col id="codecolumn">D</Col>
- <Col id="datacolumn">청구일</Col>
- </Row>
- <Row>
- <Col id="codecolumn">DD</Col>
- <Col id="datacolumn">심결일</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- </Layout>
- </Layouts>
- </Div>
- <Tab position="absolute 0 80 1194 719" id="switch1" class="sw_box" anchor="all" onchanged="grp_biz_switch1_onchanged">
- <Tabpages>
- <Tabpage text="청구월별 미수현황" id="case1">
- <Layouts>
- <Layout>
- <Grid position="absolute 0 1 1191 598" id="datagrid1" binddataset="ds_main_list_datagrid1" anchor="all" cellsizingtype="col">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="74"/>
- <Column size="74"/>
- <Column size="154"/>
- <Column size="90"/>
- <Column size="80"/>
- <Column size="60"/>
- <Column size="136"/>
- <Column size="80"/>
- <Column size="100"/>
- <Column size="80"/>
- <Column size="74"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="0"/>
- <Column size="60"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- <Row size="24" band="summ"/>
- </Rows>
- <Band id="head">
- <Cell text="청구월"/>
- <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="정산차수"/>
- </Band>
- <Band id="body">
- <Cell displaytype="date" text="bind:clamym" mask="yyyy-MM"/>
- <Cell col="1" text="bind:clamdg"/>
- <Cell col="2" displaytype="combo" edittype="combo" style="align:center middle;" text="bind:instcmpymark" combodataset="ds_init_U0001list_U0001" combocodecol="cd" combodatacol="nm" enable="false"/>
- <Cell col="3" text="bind:pid"/>
- <Cell col="4" text="bind:patnm"/>
- <Cell col="5" text="bind:ioflag"/>
- <Cell col="6" text="bind:patrrgstno"/>
- <Cell col="7" displaytype="date" text="bind:acptdd" mask="yyyy-MM-dd"/>
- <Cell col="8" displaytype="number" text="bind:clamamt"/>
- <Cell col="9" displaytype="date" text="bind:notidd" mask="yyyy-MM-dd"/>
- <Cell col="10" displaytype="number" text="bind:deciamt"/>
- <Cell col="11" displaytype="number" text="bind:uncoamt"/>
- <Cell col="12" displaytype="number" text="bind:interestamt"/>
- <Cell col="13" text="bind:acdacptno"/>
- <Cell col="14" text="bind:dg"/>
- </Band>
- <Band id="summary">
- <Cell/>
- <Cell col="1"/>
- <Cell col="2"/>
- <Cell col="3"/>
- <Cell col="4"/>
- <Cell col="5"/>
- <Cell col="6" style="color:#0000ffff;color2:#0000ffff;" text="총합계"/>
- <Cell col="7"/>
- <Cell col="8" displaytype="number" style="align:right middle;color:#0000ffff;color2:#0000ffff;" text="expr:getSum('clamamt')"/>
- <Cell col="9"/>
- <Cell col="10"/>
- <Cell col="11" displaytype="number" style="align:right middle;color:#0000ffff;color2:#0000ffff;" text="expr:getSum('uncoamt')"/>
- <Cell col="12" displaytype="number" style="align:right middle;color:#0000ffff;color2:#0000ffff;" text="expr:getSum('interestamt')"/>
- <Cell col="13"/>
- <Cell col="14"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- </Tabpage>
- <Tabpage text="자보 미완납현황" id="case2">
- <Layouts>
- <Layout>
- <Grid position="absolute 0 1 1191 598" id="datagrid2" binddataset="ds_main_list_datagrid2" anchor="all" cellsizingtype="col">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="72"/>
- <Column size="48"/>
- <Column size="146"/>
- <Column size="90"/>
- <Column size="64"/>
- <Column size="60"/>
- <Column size="114"/>
- <Column size="81"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="81"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="150"/>
- <Column size="0"/>
- <Column size="56"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- <Row size="24" band="summ"/>
- </Rows>
- <Band id="head">
- <Cell text="청구월"/>
- <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 displaytype="date" text="bind:clamym" mask="yyyy-MM"/>
- <Cell col="1" text="bind:clamdg"/>
- <Cell col="2" displaytype="combo" edittype="combo" style="align:center middle;" text="bind:instcmpymark" combodataset="ds_init_U0001list_U0001" combocodecol="cd" combodatacol="nm" enable="false"/>
- <Cell col="3" text="bind:pid"/>
- <Cell col="4" text="bind:patnm"/>
- <Cell col="5" text="bind:ioflag"/>
- <Cell col="6" text="bind:patrrgstno"/>
- <Cell col="7" displaytype="date" text="bind:acptdd" mask="yyyy-MM-dd"/>
- <Cell col="8" displaytype="expr:notidd == '-' ? 'normal' : 'date'" text="bind:notidd" mask="expr:notidd == '-' ? '' : 'yyyy-MM-dd'"/>
- <Cell col="9" displaytype="number" text="bind:clamamt"/>
- <Cell col="10" displaytype="number" text="bind:deciamt"/>
- <Cell col="11" displaytype="number" text="bind:adjtamt"/>
- <Cell col="12" displaytype="number" text="bind:aprvamt"/>
- <Cell col="13" displaytype="number" text="bind:depoamt"/>
- <Cell col="14" displaytype="number" text="bind:uncoamt"/>
- <Cell col="15" displaytype="number" text="bind:interestamt"/>
- <Cell col="16" style="align:left middle;" text="bind:rem"/>
- <Cell col="17" text="bind:acdacptno"/>
- <Cell col="18" text="bind:dg"/>
- </Band>
- <Band id="summary">
- <Cell/>
- <Cell col="1"/>
- <Cell col="2"/>
- <Cell col="3"/>
- <Cell col="4"/>
- <Cell col="5"/>
- <Cell col="6" style="color:#0000ffff;color2:#0000ffff;" text="총합계"/>
- <Cell col="7"/>
- <Cell col="8"/>
- <Cell col="9" displaytype="number" style="align:right middle;color:#0000ffff;color2:#0000ffff;" text="expr:getSum('clamamt')"/>
- <Cell col="10"/>
- <Cell col="11" displaytype="number" style="align:right middle;color:#0000ffff;color2:#0000ffff;" text="expr:getSum('adjtamt')"/>
- <Cell col="12" displaytype="number" style="align:right middle;color:#0000ffff;color2:#0000ffff;" text="expr:getSum('aprvamt')"/>
- <Cell col="13" displaytype="number" style="align:right middle;color:#0000ffff;color2:#0000ffff;" text="expr:getSum('depoamt')"/>
- <Cell col="14" displaytype="number" style="align:right middle;color:#0000ffff;color2:#0000ffff;" text="expr:getSum('uncoamt')"/>
- <Cell col="15" displaytype="number" style="align:right middle;color:#0000ffff;color2:#0000ffff;" text="expr:getSum('interestamt')"/>
- <Cell col="16"/>
- <Cell col="17"/>
- <Cell col="18"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- </Tabpage>
- </Tabpages>
- </Tab>
- <Button position="absolute 1138 80 1194 102" id="button93" class="btn6" text="출력" anchor="top right" onclick="grp_biz_button93_onclick"/>
- <Button position="absolute 1056 80 1136 102" id="button12" class="btn7" text="엑셀저장" anchor="top right" onclick="grp_biz_button12_onclick"/>
- <Button position="absolute 1004 80 1055 102" id="button2" class="btn6" text="출력" anchor="top right" onclick="grp_biz_button2_onclick"/>
- </Layout>
- </Layouts>
- </Div>
- <Div position="absolute 1 720 1196 748" id="group1" scrollbars="autoboth" anchor="left right bottom">
- <Layouts>
- <Layout>
- <Button position="absolute 1136 1 1192 23" id="button45" class="btn4" text="닫기" anchor="right bottom" onclick="group1_button45_onclick"/>
- </Layout>
- </Layouts>
- </Div>
- <Static id="caption6" text="미수현황(자보)" class="tit_1" position="absolute 1 0 249 23"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="fromdd" type="STRING" size="256"/>
- <Column id="todd" type="STRING" size="256"/>
- <Column id="certno" type="STRING" size="256"/>
- <Column id="ioflag" type="STRING" size="256"/>
- <Column id="endyn" type="STRING" size="256"/>
- <Column id="uncoamt" type="STRING" size="256"/>
- <Column id="selectflag" type="STRING" size="256"/>
- <Column id="srchflag" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="fromdd"/>
- <Col id="todd"/>
- <Col id="certno"/>
- <Col id="ioflag">A</Col>
- <Col id="endyn">A</Col>
- <Col id="uncoamt">1000</Col>
- <Col id="selectflag"/>
- <Col id="srchflag">M</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_P0268list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_init_U0001list_U0001" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="cd" type="STRING" size="256"/>
- <Column id="nm" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="cd"/>
- <Col id="nm"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_hidden_tmp_orddeptcd_orddeptcdlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_hidden_tmp_orddeptcd_orddeptcdlist2" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_hidden_tmp_orddrid" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_hidden_tmp_orddrid2" 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_main_list_datagrid1" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="clamym" type="STRING" size="256" sumtext="청구월"/>
- <Column id="clamdg" type="STRING" size="256" sumtext="청구차수"/>
- <Column id="instcmpymark" type="STRING" size="256" sumtext="손보사id"/>
- <Column id="instcmpymarknm" type="STRING" size="256" sumtext="손보사id"/>
- <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
- <Column id="patnm" type="STRING" size="256" sumtext="수진자명"/>
- <Column id="ioflag" type="STRING" size="256" sumtext="내원유형"/>
- <Column id="patrrgstno" type="STRING" size="256" sumtext="주민번호"/>
- <Column id="acptdd" type="STRING" size="256" sumtext="청구일자"/>
- <Column id="clamamt" type="STRING" size="256" sumtext="청구액"/>
- <Column id="uncoamt" type="STRING" size="256" sumtext="미수액"/>
- <Column id="interestamt" type="STRING" size="256" sumtext="지연이자"/>
- <Column id="hospnm" type="STRING" size="256" sumtext="병원명"/>
- <Column id="acdacptno" type="STRING" size="256" sumtext="사고접수번호"/>
- <Column id="deciamt" type="STRING" size="256" sumtext="심결액"/>
- <Column id="notidd" type="STRING" size="256" sumtext="심결일"/>
- <Column id="dg" type="STRING" size="256" sumtext="정산창수"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_list_datagrid2" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="clamym" type="STRING" size="256" sumtext="청구월"/>
- <Column id="clamdg" type="STRING" size="256" sumtext="청구차수"/>
- <Column id="instcmpymark" type="STRING" size="256" sumtext="손보사id"/>
- <Column id="instcmpymarknm" type="STRING" size="256" sumtext="손보사id"/>
- <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
- <Column id="patnm" type="STRING" size="256" sumtext="수진자명"/>
- <Column id="ioflag" type="STRING" size="256" sumtext="내원유형"/>
- <Column id="patrrgstno" type="STRING" size="256" sumtext="주민번호"/>
- <Column id="acptdd" type="STRING" size="256" sumtext="청구일자"/>
- <Column id="clamamt" type="STRING" size="256" sumtext="청구액"/>
- <Column id="adjtamt" type="STRING" size="256" sumtext="조정액"/>
- <Column id="aprvamt" type="STRING" size="256" sumtext="동의액"/>
- <Column id="depoamt" type="STRING" size="256" sumtext="입금액"/>
- <Column id="uncoamt" type="STRING" size="256" sumtext="미수액"/>
- <Column id="interestamt" type="STRING" size="256" sumtext="지연이자"/>
- <Column id="rem" type="STRING" size="256" sumtext="비고"/>
- <Column id="acdacptno" type="STRING" size="256" sumtext="사고접수번호"/>
- <Column id="deciamt" type="STRING" size="256" sumtext="심결액"/>
- <Column id="notidd" type="STRING" size="256" sumtext="심결일"/>
- <Column id="dg" type="STRING" size="256" sumtext="정산창수"/>
- </ColumnInfo>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="grp_biz.grp_sea.rdo_srchflag" propid="value" datasetid="ds_send" columnid="srchflag"/>
- <BindItem id="item1" compid="grp_biz.grp_sea.ipt_fromdd" propid="value" datasetid="ds_send" columnid="fromdd"/>
- <BindItem id="item2" compid="grp_biz.grp_sea.ipt_todd" propid="value" datasetid="ds_send" columnid="todd"/>
- <BindItem id="item3" compid="grp_biz.grp_sea.radio1" propid="value" datasetid="ds_send" columnid="ioflag"/>
- <BindItem id="item4" compid="grp_biz.grp_sea.cmb_insucmpymark" propid="value" datasetid="ds_send" columnid="certno"/>
- <BindItem id="item5" compid="grp_biz.grp_sea.rdo_endyn" propid="value" datasetid="ds_send" columnid="endyn"/>
- <BindItem id="item6" compid="grp_biz.grp_sea.ipt_uncoamt" propid="value" datasetid="ds_send" columnid="uncoamt"/>
- </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";
- function SMPIF71500_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj);
- }
- function SMPIF71500_onload(obj:Form, e:LoadEventInfo)
- {
- grdf_initGrid(grp_biz.switch1.case1.datagrid1);
- grdf_initGrid(grp_biz.switch1.case2.datagrid2);
- if (frmf_checkOpener())
- {
- ds_temp.copyData(arg_ds_send);
-
- ds_send.setColumn(0, "fromdd", ds_temp.getColumn(0, "fromdd"));
- ds_send.setColumn(0, "todd", ds_temp.getColumn(0, "todd"));
- ds_send.setColumn(0, "fromdd", ds_temp.getColumn(0, "fromdd"));
- ds_send.setColumn(0, "todd", ds_temp.getColumn(0, "todd"));
- ds_send.setColumn(0, "fromdd", ds_temp.getColumn(0, "fromdd"));
- ds_send.setColumn(0, "todd", ds_temp.getColumn(0, "todd"));
- }
- else
- {
- ds_send.setColumn(0, "fromdd", utlf_getCurrentDate().substr(0,6));
- ds_send.setColumn(0, "todd", utlf_getCurrentDate().substr(0,6));
- }
-
- var arrParam = [ {dsNm: "ds_init_P0268list", cdGrpId: "P0268"}]
-
- appf_getCodeList(arrParam);
-
- grp_biz.switch1.tabindex = 0;
-
- var oParam = {};
- oParam.id = "TRPIF70305";
- oParam.service = "clamuncoapp.ClamUnco";
- oParam.method = "reqGetInsuComp";
- oParam.inds = "";
- oParam.outds = "ds_init_U0001list_U0001=U0001";
- oParam.async = false;
- oParam.callback = "cf_TRPIF70305";
- tranf_submit(oParam);
-
- var oParam = {};
- oParam.id = "TRPID20309";
- oParam.service = "aftjudgapp.InAftJudgTrgtMan";
- oParam.method = "reqGetDeptCDDrID";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_hidden_tmp_orddeptcd_orddeptcdlist=orddeptcd ds_hidden_tmp_orddeptcd_orddeptcdlist2=orddeptcd2 ds_hidden_tmp_orddrid=orddrid ds_hidden_tmp_orddrid2=orddrid2";
- oParam.async = false;
- //oParam.callback = "cf_TRPID20309";
- tranf_submit(oParam);
- }
- function cf_TRPIF70305(sSvcId, nErrorCode, sErrorMsg)
- {
- if(nErrorCode < 0)
- {
- return;
- }
- else
- {
- ds_init_U0001list_U0001.insertRow(0);
- ds_init_U0001list_U0001.setColumn(0, "nm", "전체");
-
- grp_biz.grp_sea.cmb_insucmpymark.index = 0;
- }
- }
- function grp_biz_grp_sea_rdo_srchflag_onitemchanged(obj:Radio, e:ItemChangeEventInfo)
- {
- if (ds_send.getColumn(0, "srchflag"))
- {
- ds_send.setColumn(0, "fromdd", String(ds_send.getColumn(0, "fromdd")).substr(0,6));
- ds_send.setColumn(0, "todd", String(ds_send.getColumn(0, "fromdd")).substr(0,6));
-
- grp_biz.grp_sea.ipt_fromdd.dateformat = "yyyy-MM";
- grp_biz.grp_sea.ipt_fromdd.editformat = "yyyy-MM";
-
- grp_biz.grp_sea.ipt_todd.dateformat = "yyyy-MM";
- grp_biz.grp_sea.ipt_todd.editformat = "yyyy-MM";
- }
- else
- {
- grp_biz.grp_sea.ipt_fromdd.dateformat = "yyyy-MM-dd";
- grp_biz.grp_sea.ipt_fromdd.editformat = "yyyy-MM-dd";
-
- grp_biz.grp_sea.ipt_todd.dateformat = "yyyy-MM-dd";
- grp_biz.grp_sea.ipt_todd.editformat = "yyyy-MM-dd";
- }
- }
- function grp_biz_grp_sea_ipt_uncoamt_onkeydown(obj:MaskEdit, e:KeyEventInfo)
- {
- if(e.keycode == 13)
- {
- fGetOutAftJudgTrgtManList("docuSrch");
- }
- }
- function fGetOutAftJudgTrgtManList()
- {
- var patunitsrch1 = ds_send.getColumn(0, "patunitsrch1");
- ds_send.setColumn(0, "patunitsrch1", patunitsrch1);
-
- if(utlf_isNull(patunitsrch1))
- {
- ds_send.setColumn(0, "patunitsrch2", "");
- }
- else if (patunitsrch1.isNumber())
- {
- ds_send.setColumn(0, "patunitsrch2", "pidSrch");
- }
- else
- {
- if (String(patunitsrch1).length > 1)
- {
- ds_send.setColumn(0, "patunitsrch2", "nmSrch");
- }
- else
- {
- ds_send.setColumn(0, "patunitsrch2", "");
-
- sysf_messageBox("환자단위조회시 검색할 환자이름은 2글자 이상", "C001");
- return;
- }
- }
- }
- function grp_biz_grp_sea_button1_onclick(obj:Button, e:ClickEventInfo)
- {
- ds_send.setColumn(0, "selectflag", grp_biz.switch1.tabindex);
-
- if(grp_biz.switch1.tabindex == 0)
- {
- ds_send.setColumn(0, "uncoamt", "");
- }
-
- var oParam = {};
- oParam.id = "TRPIF71501";
- oParam.service = "clamuncoapp.ClamUnco";
- oParam.method = "reqGetUncoStatAutmbInsu";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_main_list_datagrid1=datagrid1 ds_main_list_datagrid2=datagrid2";
- oParam.async = false;
- //oParam.callback = "cf_TRPIF71501";
- tranf_submit(oParam);
- }
- function grp_biz_grp_sea_ipt_fromdd_onchanged(obj:Calendar, e:ChangeEventInfo)
- {
- var date = obj.value;
-
- if(ds_send.getColumn(0, "srchflag") == "M")
- {
- ds_send.setColumn(0, "fromdd", String(date).substr(0,6));
- }
- else
- {
- ds_send.setColumn(0, "fromdd", date);
- }
- }
- function grp_biz_switch1_onchanged(obj:Tab, e:TabIndexChangeEventInfo)
- {
- if(obj.tabindex == 0)
- {
- grp_biz.grp_sea.cap_uncoamt.visible = false;
- grp_biz.grp_sea.ipt_uncoamt.visible = false;
- }
- else
- {
- grp_biz.grp_sea.cap_uncoamt.visible = true;
- grp_biz.grp_sea.ipt_uncoamt.visible = true;
- }
- }
- function grp_biz_button2_onclick(obj:Button, e:ClickEventInfo)
- {
- if(grp_biz.switch1.tabindex == 0)
- {
- var objDOM = rptf_createDOM(); // DOM 객체 설정
- rptf_setNodeListToDOM(objDOM, "/root/main/list/datagrid1", ds_main_list_datagrid1);
- rptf_setNodeListToDOM(objDOM, "/root/send", ds_send);
-
- var objParam = new Object();
- objParam.xml_data_XML1 = objDOM.documentElement.source;
- var option =// "open=1;save=1;directprint=0;printdialog=0;print=1;zoom=0;";
- rptf_exeReportPreview30(["RPPIF71500"],[objParam], option);
- }
- else if(grp_biz.switch1.tabindex == 1)
- {
- var objDOM = rptf_createDOM(); // DOM 객체 설정
- rptf_setNodeListToDOM(objDOM, "/root/main/list/datagrid2", ds_main_list_datagrid2);
- rptf_setNodeListToDOM(objDOM, "/root/send", ds_send);
-
- var objParam = new Object();
- objParam.xml_data_XML1 = objDOM.documentElement.source;
- var option =// "open=1;save=1;directprint=0;printdialog=0;print=1;zoom=0;";
- rptf_exeReportPreview30(["RPPIF71510"],[objParam], option);
- }
- }
- function grp_biz_button12_onclick(obj:Button, e:ClickEventInfo)
- {
- if(grp_biz.switch1.tabindex == 0)
- {
- if(ds_main_list_datagrid1.rowcount == 0)
- {
- sysf_messageBox("엑셀저장할 내역이", "I004");
- }
- else
- {
- grdf_exportExcel(grp_biz.switch1.case1.datagrid1, "청구월별 미수현황", "see");
- }
- }
- else if(grp_biz.switch1.tabindex == 1)
- {
- if(ds_main_list_datagrid2.rowcount == 0)
- {
- sysf_messageBox("엑셀저장할 내역이", "I004");
- }
- else
- {
- grdf_exportExcel(grp_biz.switch1.case2.datagrid2, "자보 미납현황", "see");
- }
- }
- }
- function group1_button45_onclick(obj:Button, e:ClickEventInfo)
- {
- this.close();
- }
- function grp_biz_button93_onclick(obj:Button, e:ClickEventInfo)
- {
- this.print();
- }
- ]]></Script>
- </Form>
- </FDL>
|