123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMPIF72100" position="absolute 0 0 1204 765" titletext="반송재청구장부(산재)" oninit="SMPIF72100_oninit" onload="SMPIF72100_onload">
- <Layouts>
- <Layout>
- <Div position="absolute 1 13 1196 750" id="group4" scrollbars="autoboth" anchor="all">
- <Layouts>
- <Layout>
- <Div position="absolute 0 11 1194 71" align="align:center top;" id="group5" class="div_SA" anchor="left top right">
- <Layouts>
- <Layout>
- <Button position="absolute 1123 20 1179 42" id="button1" class="btn1" text="조회" anchor="top right" onclick="group4_group5_button1_onclick"/>
- <Shape position="absolute 1105 12 1111 49" linetype="vertical" id="line26" class="line_4" anchor="top right"/>
- <Static text="~" position="absolute 296 11 311 26" id="caption31" anchor="default"/>
- <Radio position="absolute 83 8 198 25" id="rdo_termflag" columncount="3" rowcount="1" codecolumn="codecolumn" datacolumn="datacolumn" anchor="default" onitemchanged="group4_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 425 8 515 25" id="caption67" class="search_name" anchor="default"/>
- <Static text="완료여부 :" position="absolute 780 8 870 25" id="caption22" class="search_name" anchor="default"/>
- <Static text="심사자 :" position="absolute 13 36 88 53" id="caption38" class="search_name" anchor="default"/>
- <Static text="진료과 :" position="absolute 425 35 500 52" id="caption39" class="search_name" anchor="default"/>
- <Static text="환자단위조회 :" position="absolute 780 35 892 52" id="caption40" class="search_name" anchor="default"/>
- <Combo position="absolute 85 34 175 53" id="cmb_judgrid" class="combo_search" codecolumn="codecolumn" datacolumn="datacolumn" anchor="default">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">combo2</Col>
- <Col id="datacolumn">combo2</Col>
- </Row>
- </Rows>
- </Dataset>
- </Combo>
- <Combo position="absolute 505 33 645 52" id="cmb_orddeptcd" class="combo_search" innerdataset="ds_init_cmb_orddeptcd" datacolumn="cdnm" codecolumn="cdid" anchor="default"/>
- <Radio position="absolute 505 6 640 23" 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>
- <Radio position="absolute 867 7 1036 24" id="rdo_endyn" 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">Y</Col>
- <Col id="datacolumn">완료</Col>
- </Row>
- <Row>
- <Col id="codecolumn">N</Col>
- <Col id="datacolumn">미완료</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- <Edit position="absolute 886 33 976 52" id="ipt_patunitsrch" class="input_search" anchor="default" onkeydown="group4_group5_ipt_patunitsrch_onkeydown"/>
- <Static text="구분 :" position="absolute 13 9 73 26" id="caption1" class="search_name" anchor="default"/>
- <Button id="btn_srchchoicd" taborder="1" class="icon_search" position="absolute 976 32 996 52" anchor="default" onclick="group4_group5_btn_srchchoicd_onclick"/>
- <cp_monthCal id="ipt_fromdd" titletext="monthCalendar" taborder="2" text="cp_monthCal00" scrollbars="none" position="absolute 215 7 291 32" anchor="default"/>
- <cp_monthCal id="ipt_todd" titletext="monthCalendar" taborder="3" text="cp_monthCal00" scrollbars="none" position="absolute 312 7 388 32" anchor="default"/>
- </Layout>
- </Layouts>
- </Div>
- <Shape position="absolute 0 101 1194 107" linetype="horizontal" id="line28" class="line_1" style="strokepen:3 solid #33bbbbff;" anchor="left top right"/>
- <Static text="반송전체" position="absolute 0 85 74 107" id="caption37" class="tit_2" anchor="default"/>
- <Grid position="absolute 0 106 1194 736" id="grd_procsendspec" class="datagrid2" binddataset="ds_main_list01_gridsendreclambookspec" anchor="all" oncellclick="group4_grd_procsendspec_oncellclick" onkeydown="group4_grd_procsendspec_onkeydown" cellsizingtype="col">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="23"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="40"/>
- <Column size="60"/>
- <Column size="40"/>
- <Column size="70"/>
- <Column size="50"/>
- <Column size="99"/>
- <Column size="72"/>
- <Column size="59"/>
- <Column size="72"/>
- <Column size="114"/>
- <Column size="80"/>
- <Column size="82"/>
- <Column size="87"/>
- <Column size="80"/>
- <Column size="92"/>
- <Column size="85"/>
- <Column size="47"/>
- <Column size="51"/>
- <Column size="70"/>
- <Column size="80"/>
- <Column size="60"/>
- <Column size="80"/>
- <Column size="147"/>
- </Columns>
- <Rows>
- <Row size="31" 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="비고"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" expr="currow+1"/>
- <Cell col="1" displaytype="date" text="bind:clamym" mask="yyyy-MM"/>
- <Cell col="2" displaytype="combo" edittype="combo" text="bind:clamflag" combodataset="ds_init_P0121list" combocodecol="cdid" combodatacol="cdnm"/>
- <Cell col="3" text="bind:clamdg"/>
- <Cell col="4" displaytype="expr:uncoym == '-' ? 'normal' : 'date'" text="bind:uncoym" mask="expr:uncoym == '-' ? '' : 'yyyy-MM'"/>
- <Cell col="5" text="bind:ioflag"/>
- <Cell col="6" text="bind:insukind"/>
- <Cell col="7" text="bind:docuseqno"/>
- <Cell col="8" text="bind:pid"/>
- <Cell col="9" text="bind:patnm"/>
- <Cell col="10" text="bind:judgrid"/>
- <Cell col="11" displaytype="combo" edittype="combo" text="bind:reteresn" combodataset="ds_init_P0242list" combocodecol="cdid" combodatacol="cdnm"/>
- <Cell col="12" text="bind:reteresnrem"/>
- <Cell col="13" displaytype="number" text="bind:clclamamt"/>
- <Cell col="14" text="bind:reclamyn"/>
- <Cell col="15" text="bind:abdresncd"/>
- <Cell col="16" displaytype="number" text="bind:repletclamdifamt"/>
- <Cell col="17" text="bind:difamtgenrresn"/>
- <Cell col="18" displaytype="expr:utlf_isNull(repletclamym) ? 'normal' : 'date'" text="bind:repletclamym" mask="expr:utlf_isNull(repletclamym) ? '' : 'yyyy-MM'"/>
- <Cell col="19" text="bind:repletclamdg"/>
- <Cell col="20" text="bind:repletjudgrid"/>
- <Cell col="21" displaytype="expr:utlf_isNull(repletacptdd) ? 'normal' : 'date'" text="bind:repletacptdd" mask="expr:utlf_isNull(repletacptdd) ? '' : 'yyyy-MM-dd'"/>
- <Cell col="22" displaytype="number" text="bind:repletclamamt"/>
- <Cell col="23" text="bind:resendyn"/>
- <Cell col="24" displaytype="number" text="bind:repletjrrealcutamt"/>
- <Cell col="25" style="align:left middle;" text="bind:rem"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Button position="absolute 814 82 856 101" id="button26" class="btn2" visible="false" text="저장" anchor="top right"/>
- <Button position="absolute 965 82 1018 101" id="button3" class="btn2" text="행카피" anchor="top right" onclick="group4_button3_onclick"/>
- <Button position="absolute 1019 82 1113 101" id="button4" class="btn7" text="Open Excel" anchor="top right" onclick="group4_button4_onclick"/>
- <Button position="absolute 911 82 964 101" id="button5" class="btn2" text="열카피" anchor="top right" onclick="group4_button5_onclick"/>
- <Button position="absolute 857 82 910 101" id="button10" class="btn2" text="셀카피" anchor="top right" onclick="group4_button10_onclick"/>
- <Button position="absolute 1114 82 1194 101" id="button12" class="btn7" text="엑셀저장" anchor="top right" onclick="group4_button12_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="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"/>
- <Column id="judgrid" type="STRING" size="256"/>
- <Column id="endyn" type="STRING" size="256"/>
- <Column id="orddeptcd" type="STRING" size="256"/>
- <Column id="patunitsrch1" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="termflag">clamym</Col>
- <Col id="fromdd"/>
- <Col id="todd"/>
- <Col id="ioflag">A</Col>
- <Col id="judgrid"/>
- <Col id="endyn"/>
- <Col id="orddeptcd"/>
- <Col id="patunitsrch1"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_P0121list" 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_init_P0114list" 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_init_P0242list" 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_list01_gridsendreclambookspec" 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="clamflag" type="STRING" size="256" sumtext="청구형태"/>
- <Column id="clamdg" type="STRING" size="256" sumtext="청구차수"/>
- <Column id="uncoym" type="STRING" size="256" sumtext="미수월"/>
- <Column id="ioflag" type="STRING" size="256" sumtext="내원유형"/>
- <Column id="insukind" type="STRING" size="256" sumtext="산재유형"/>
- <Column id="docuseqno" type="STRING" size="256" sumtext="명일련"/>
- <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
- <Column id="patnm" type="STRING" size="256" sumtext="수진자"/>
- <Column id="judgrid" type="STRING" size="256" sumtext="심사자"/>
- <Column id="reteresn" type="STRING" size="256" sumtext="사유"/>
- <Column id="reteresnrem" type="STRING" size="256" sumtext="사유설명"/>
- <Column id="clclamamt" type="STRING" size="256" sumtext="청구액"/>
- <Column id="reclamyn" type="STRING" size="256" sumtext="재청구여부"/>
- <Column id="abdresncd" type="STRING" size="256" sumtext="부제기사유"/>
- <Column id="repletclamdifamt" type="STRING" size="256" sumtext="보완원청구액"/>
- <Column id="difamtgenrresn" type="STRING" size="256" sumtext="차액발생사유"/>
- <Column id="repletclamym" type="STRING" size="256" sumtext="보완청구연월"/>
- <Column id="repletclamdg" type="STRING" size="256" sumtext="재청구차수"/>
- <Column id="repletjudgrid" type="STRING" size="256" sumtext="보완심사자"/>
- <Column id="repletacptdd" type="STRING" size="256" sumtext="보완청구일자"/>
- <Column id="repletclamamt" type="STRING" size="256" sumtext="청구액"/>
- <Column id="resendyn" type="STRING" size="256" sumtext="재청구여부"/>
- <Column id="repletjrrealcutamt" type="STRING" size="256" sumtext="실삭감액"/>
- <Column id="rem" type="STRING" size="256" sumtext="비고"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_hidden_sppmc02500_cond" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="srchcond" type="STRING" size="256"/>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="hngnm" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_patinfolist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="group4.group5.rdo_termflag" propid="value" datasetid="ds_send" columnid="termflag"/>
- <BindItem id="item3" compid="group4.group5.rdo_ioflag" propid="value" datasetid="ds_send" columnid="ioflag"/>
- <BindItem id="item4" compid="group4.group5.rdo_endyn" propid="value" datasetid="ds_send" columnid="endyn"/>
- <BindItem id="item5" compid="group4.group5.ipt_patunitsrch" propid="value" datasetid="ds_send" columnid="patunitsrch1"/>
- <BindItem id="item6" compid="group4.group5.cmb_orddeptcd" propid="value" datasetid="ds_send" columnid="orddeptcd"/>
- <BindItem id="item7" compid="group4.group5.cmb_judgrid" propid="value" datasetid="ds_send" columnid="judgrid"/>
- <BindItem id="item1" compid="group4.group5.ipt_fromdd" propid="text" datasetid="ds_send" columnid="fromdd"/>
- </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 SMPIF72100_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj);
- }
- function SMPIF72100_onload(obj:Form, e:LoadEventInfo)
- {
- var arrParam = [{dsNm: "ds_init_P0114list", cdGrpId: "P0114"}
- ,{dsNm: "ds_init_P0242list", cdGrpId: "P0242"}
- ,{dsNm: "ds_init_P0121list", cdGrpId: "P0121"}]
-
- appf_getCodeList(arrParam);
-
- group4.group5.ipt_fromdd.setCallEvent("fn_cp_monthCal00");
- group4.group5.ipt_todd.setCallEvent("fn_cp_monthCal01");
-
- ds_send.setColumn(0, "fromdd", String(utlf_getCurrentDate()).substr(0,6));
- ds_send.setColumn(0, "todd", String(utlf_getCurrentDate()).substr(0,6));
-
- group4.group5.ipt_fromdd.setFocus();
- }
- function fn_cp_monthCal00()
- {
- var month = group4.group5.ipt_fromdd.getData();
-
- ds_send.setColumn(0, "fromdd", month);
- ds_send.setColumn(0, "todd", month);
-
- group4.group5.ipt_todd.setData(month);
- }
- function fn_cp_monthCal01()
- {
- var month = group4.group5.ipt_todd.getData();
-
- ds_send.setColumn(0, "todd", month);
- }
- function group4_group5_rdo_termflag_onitemchanged(obj:Radio, e:ItemChangeEventInfo)
- {
- ds_send.setColumn(0, "fromdd", "");
- ds_send.setColumn(0, "todd", "");
-
- group4.group5.ipt_fromdd.setData("");
- group4.group5.ipt_todd.setData("");
-
- group4.group5.ipt_fromdd.setFocus();
- }
- function group4_group5_ipt_patunitsrch_onkeydown(obj:Edit, e:KeyEventInfo)
- {
- if(e.keycode == 13)
- {
- if(obj.value > 1)
- {
- ds_send.setColumn(0, "patunitsrch1", obj.value);
-
- fPatTypeSrch();
- }
- }
- }
- function group4_group5_btn_srchchoicd_onclick(obj:Button, e:ClickEventInfo)
- {
- fPatTypeSrch();
- }
- function fPatTypeSrch()
- {
- var ipt_pid = ds_send.getColumn(0, "patunitsrch1");
-
- if (ipt_pid)
- {
- if(ipt_pid.isNumber())
- {
- ds_hidden_sppmc02500_cond.setColumn(0, "srchcond", "1");
- ds_hidden_sppmc02500_cond.setColumn(0, "pid", ipt_pid);
- }
- else
- {
- ds_hidden_sppmc02500_cond.setColumn(0, "srchcond", "2");
- ds_hidden_sppmc02500_cond.setColumn(0, "hngnm", ipt_pid);
- }
- }
- else
- {
- ds_hidden_sppmc02500_cond.clearData();
- ds_hidden_sppmc02500_cond.addRow();
- }
- var objArg = new Object();
- objArg.arg_ds_send= ds_hidden_sppmc02500_cond;
-
- frmf_modal("SPPMC02500", "SPPMC02500", objArg, "", "", "", "", "", "", "", "", "", "M");
- if (!utlf_isNull(ipt_pid))
- {
- if(ipt_pid.isNumber())
- {
- var srch_pid = ds_patinfolist.getColumn(0, "pid");
- ds_send.setColumn(0, "patunitsrch1", srch_pid);
- }
- else
- {
- var srch_pid = ds_patinfolist.getColumn(0, "hngnm");
- ds_send.setColumn(0, "patunitsrch1", srch_pid);
- }
- }
- else
- {
- var srch_pid = ds_patinfolist.getColumn(0, "pid");
- ds_send.setColumn(0, "patunitsrch1", srch_pid);
- }
- fGetInAftJudgTrgtManList();
- }
- function fGetInAftJudgTrgtManList()
- {
- 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 (patunitsrch1.length > 1)
- {
- ds_send.setColumn(0, "patunitsrch2", "nmSrch");
- }
- else
- {
- ds_send.setColumn(0, "patunitsrch2", "");
-
- sysf_messageBox("환자단위조회시 검색할 환자이름은 2글자 이상", "C001"); ///환자단위조회시 검색할 환자이름은 2글자 이상 입력하십시오.
- return;
- }
- }
- }
- function group4_group5_button1_onclick(obj:Button, e:ClickEventInfo)
- {
- if(utlf_isNull(ds_send.getColumn(0, "fromdd")) || utlf_isNull(ds_send.getColumn(0, "todd")))
- {
- sysf_messageBox("시작일자 또는 종료일자를 입력해 주세요", "E999", "");
- return false;
- }
-
- var oParam = {};
- oParam.id = "TRPIF72101";
- oParam.service = "clamuncoapp.ClamUnco";
- oParam.method = "reqGetSendReClamBookSpecSanJae";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_main_list01_gridsendreclambookspec=gridsendreclambookspec";
- oParam.async = false;
- //oParam.callback = "cf_TRPIF72101";
- tranf_submit(oParam);
- }
- function group4_button10_onclick(obj:Button, e:ClickEventInfo)
- {
- col = "N";
- group4.grd_procsendspec.selecttype = "multiarea";
- }
- function group4_button5_onclick(obj:Button, e:ClickEventInfo)
- {
- col = "Y";
- group4.grd_procsendspec.selecttype = "multiarea";
- }
- function group4_button3_onclick(obj:Button, e:ClickEventInfo)
- {
- col = "N";
- group4.grd_procsendspec.selecttype = "multirow";
- }
- function group4_button4_onclick(obj:Button, e:ClickEventInfo)
- {
- system.execShell("excel");
- }
- function group4_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;
- if(ds_send.getColumn(0, "insukind") == "00")
- {
- title = "반송재청구장부(전체)_"+tmp;
- }
- else
- {
- title = "반송재청구장부(보험)_"+tmp;
- }
-
- if (ds_main_list01_gridsendreclambookspec.rowcount < 1)
- {
- return;
- }
- else
- {
- grdf_exportExcel(group4.grd_procsendspec, title, "see");
- }
- }
- function group4_grd_procsendspec_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_procsendspec_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>
|