123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486 |
- <?xml version="1.0" encoding="utf-8" standalone="no"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMPAS00153" position="absolute 0 0 1200 770" titletext="수혈 청구 현황" oninit="SMPAS00153_oninit" onload="SMPAS00153_onload">
- <Layouts>
- <Layout>
- <Div id="grp_sea" taborder="7" position="absolute 0 24 1195 64" class="div_SA" anchor="left top right">
- <Layouts>
- <Layout>
- <Static id="caption3" text="청구일 :" class="search_name" position="absolute 10 10 86 27"/>
- <Calendar id="ipt_clmm" taborder="1" class="input_search" position="absolute 79 10 149 29" style="align:center middle;" mask="yyyy-mm" autoselect="true" dateformat="yyyy-MM" value="null" editformat="yyyy-MM" onchanged="grp_sea_ipt_clmm_onchanged"/>
- <Combo id="cmb_claimdd" taborder="2" innerdataset="@ds_hidden_daylist_dayinfo" codecolumn="claimdd" datacolumn="claimdd_f" class="combo_search" position="absolute 159 10 249 29" columncount="-1" rowcount="-1" onitemchanged="grp_sea_cmb_claimdd_onitemchanged"/>
- <Static id="caption2" text="조회구분 :" class="search_name" position="absolute 280 12 367 29"/>
- <Static id="cap_srchflag" position="absolute 362 10 407 29" style="background:#ffffffff;border:1 solid darkgray darkgray;color:#707070ff;align:center;" class="input_search"/>
- <Static id="caption1" text="기간 :" class="search_name" position="absolute 425 12 486 29" enable="true"/>
- <Static id="cap_dd" position="absolute 482 10 632 29" style="background:#ffffffff;border:1 solid darkgray darkgray;color:#707070ff;align:center;" class="input_search"/>
- <Static id="caption8" text="진료형태 :" class="search_name" position="absolute 650 12 736 29" enable="true"/>
- <Static id="cap_ordtype" position="absolute 732 10 772 29" style="background:#ffffffff;border:1 solid darkgray darkgray;color:#707070ff;align:center;" class="input_search"/>
- <Static id="caption10" text="입금구분 :" class="search_name" position="absolute 790 12 876 29" enable="true"/>
- <Static id="cap_depoflag" position="absolute 872 10 932 29" style="background:#ffffffff;border:1 solid darkgray darkgray;color:#707070ff;align:center;" class="input_search"/>
- <Static id="caption6" text="등록번호 :" class="search_name" position="absolute 950 12 1036 29" enable="true"/>
- <Static id="cap_pid" position="absolute 1032 10 1087 29" style="background:#ffffffff;border:1 solid darkgray darkgray;color:#707070ff;align:center;" class="input_search"/>
- <Button id="btn_search" taborder="3" text="조회" class="btn1" position="absolute 1125 10 1181 32" anchor="top right" onclick="grp_sea_btn_search_onclick"/>
- <Shape id="line13" linetype="vertical" position="absolute 1110 8 1113 35" anchor="top right" style="border: solid #FFD799 #FFD799;"/>
- </Layout>
- </Layouts>
- </Div>
- <Static id="cap_title" class="tit_1" position="absolute 0 0 157 25" text="수혈 청구 현황"/>
- <Static id="cap_grid" class="tit_2" position="absolute 0 74 80 95" style="" text="조회 내역"/>
- <Shape id="line2" class="line_10" linetype="horizontal" position="absolute 0 88 1195 99" style="" anchor="left top right" onclick="line2_onclick"/>
- <Grid id="grd_bldc" binddataset="ds_main_bldclist_bldcinfo" position="absolute 0 95 1195 760" style="" autoenter="select" cellsizingtype="col" anchor="all">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="25"/>
- <Column size="54"/>
- <Column size="44"/>
- <Column size="94"/>
- <Column size="44"/>
- <Column size="39"/>
- <Column size="0"/>
- <Column size="54"/>
- <Column size="30"/>
- <Column size="30"/>
- <Column size="73"/>
- <Column size="27"/>
- <Column size="34"/>
- <Column size="64"/>
- <Column size="0"/>
- <Column size="44"/>
- <Column size="34"/>
- <Column size="34"/>
- <Column size="73"/>
- <Column size="68"/>
- <Column size="74"/>
- <Column size="73"/>
- <Column size="72"/>
- <Column size="68"/>
- <Column size="30"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- <Row size="24" band="summ"/>
- </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="insukind"/>
- <Cell col="7" text="보험유형"/>
- <Cell col="8" text="기관"/>
- <Cell col="9" text="본인"/>
- <Cell col="10" text="수혈일자"/>
- <Cell col="11" text="D"/>
- <Cell col="12" text="ABO"/>
- <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"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" expr="currow+1"/>
- <Cell col="1" style="background:BIND(background);background2:BIND(background);" text="bind:pid" suppress="1" suppressalign="middle,over"/>
- <Cell col="2" style="background:BIND(background);background2:BIND(background);" text="bind:hngnm" suppress="2" suppressalign="middle,over"/>
- <Cell col="3" style="background:BIND(background);background2:BIND(background);" text="bind:rrgstno" suppress="3" suppressalign="middle,over"/>
- <Cell col="4" style="background:BIND(background);background2:BIND(background);" text="bind:cardcnt" suppress="4" suppressalign="middle,over"/>
- <Cell col="5" style="background:BIND(background);background2:BIND(background);" text="bind:ordtypenm" suppress="5" suppressalign="middle,over"/>
- <Cell col="6" style="background:BIND(background);background2:BIND(background);" text="bind:insukind"/>
- <Cell col="7" style="background:BIND(background);background2:BIND(background);" text="bind:insukindnm" suppress="6" suppressalign="middle,over"/>
- <Cell col="8" style="background:BIND(background);background2:BIND(background);" text="bind:corpactaddrate" suppress="7" suppressalign="middle,over"/>
- <Cell col="9" style="background:BIND(background);background2:BIND(background);" text="bind:payownbrate" suppress="8" suppressalign="middle,over"/>
- <Cell col="10" style="background:BIND(background);background2:BIND(background);" text="bind:appdd"/>
- <Cell col="11" style="background:BIND(background_apprsn);background2:BIND(background_apprsn);" text="bind:apprsn"/>
- <Cell col="12" style="background:BIND(background);background2:BIND(background);" text="bind:abocnt"/>
- <Cell col="13" style="background:BIND(background);background2:BIND(background);" text="bind:grupcalcscorcd"/>
- <Cell col="14" style="background:BIND(background);background2:BIND(background);" text="bind:bldabbrgb"/>
- <Cell col="15" style="align:left top;padding:5 2 3 1;background:BIND(background);background2:BIND(background);" text="bind:bldnm" wordwrap="word"/>
- <Cell col="16" style="background:BIND(background);background2:BIND(background);" text="bind:bldvol"/>
- <Cell col="17" displaytype="number" style="align:center middle;background:BIND(background);background2:BIND(background);" text="bind:totalcnt"/>
- <Cell col="18" displaytype="number" style="background:BIND(background);background2:BIND(background);" text="bind:totalamt"/>
- <Cell col="19" displaytype="number" style="background:BIND(background);background2:BIND(background);" text="bind:discamt"/>
- <Cell col="20" style="background:BIND(background);background2:BIND(background);" text="bind:dschdd"/>
- <Cell col="21" displaytype="date" style="background:BIND(background);background2:BIND(background);" text="bind:rcptexecdd" calendardisplaynulltype="nulltext"/>
- <Cell col="22" displaytype="date" style="background:BIND(background);background2:BIND(background);" text="bind:depodd" calendardisplaynulltype="nulltext"/>
- <Cell col="23" displaytype="number" style="background:BIND(background);background2:BIND(background);" text="bind:depoamt"/>
- <Cell col="24" displaytype="checkbox" edittype="checkbox" text="bind:depoflag" expr="expr:depoflag == 'true' || depoflag == '1' ? 1 : 0"/>
- </Band>
- <Band id="summary">
- <Cell/>
- <Cell col="1" colspan="16" style="background:#ffffa0ff;background2:#ffffa0ff;font:arial,9,bold;" text="합계" taborder="undefined"/>
- <Cell col="17" displaytype="number" style="background:#ffffa0ff;background2:#ffffa0ff;font:arial,9,bold;" text="expr:getSum('totalcnt')"/>
- <Cell col="18" displaytype="number" style="background:#ffffa0ff;background2:#ffffa0ff;font:arial,9,bold;" text="expr:getSum('totalamt')"/>
- <Cell col="19" displaytype="number" style="background:#ffffa0ff;background2:#ffffa0ff;font:arial,9,bold;" text="expr:getSum('discamt')"/>
- <Cell col="20" style="background:#ffffa0ff;background2:#ffffa0ff;font:arial,9,bold;"/>
- <Cell col="21" style="background:#ffffa0ff;background2:#ffffa0ff;font:arial,9,bold;"/>
- <Cell col="22" style="background:#ffffa0ff;background2:#ffffa0ff;font:arial,9,bold;"/>
- <Cell col="23" displaytype="number" style="background:#ffffa0ff;background2:#ffffa0ff;font:arial,9,bold;" text="expr:getSum('depoamt')"/>
- <Cell col="24" style="background:#ffffa0ff;background2:#ffffa0ff;font:arial,9,bold;"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Button id="btn_print1" class="btn6" position="absolute 1087 71 1140 90" text="출력" onclick="btn_print1_onclick" anchor="top right"/>
- <Button id="btn_excel1" class="btn7" position="absolute 1141 71 1195 90" text="엑셀" onclick="btn_excel1_onclick" anchor="top right"/>
- <Static id="caption4" position="absolute 95 75 230 89" style="" text="( : Dump된 헌혈증 )"/>
- <Shape id="rectangle1" type="rectangle" position="absolute 103 74 118 89" style="fillbrush:solid transparent true;background:#9fc93cff;border:1 solid #ffffffff ;"/>
- </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="clmm" type="STRING" size="256"/>
- <Column id="claimdd" type="STRING" size="256"/>
- <Column id="srchcond" type="STRING" size="256"/>
- <Column id="fromdd" type="STRING" size="256"/>
- <Column id="todd" type="STRING" size="256"/>
- <Column id="ordtype" type="STRING" size="256"/>
- <Column id="depoflag" type="STRING" size="256"/>
- <Column id="pid" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="clmm"/>
- <Col id="claimdd"/>
- <Col id="srchcond"/>
- <Col id="fromdd"/>
- <Col id="todd"/>
- <Col id="ordtype"/>
- <Col id="depoflag"/>
- <Col id="pid"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_bldclist_bldcinfo" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_main_bldclist_bldcinfo_oncolumnchanged">
- <ColumnInfo>
- <Column id="instcd" type="STRING" size="256" sumtext="기관코드"/>
- <Column id="pidno" type="STRING" size="256" sumtext="일련번호"/>
- <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
- <Column id="hngnm" type="STRING" size="256" sumtext="환자명"/>
- <Column id="rrgstno" type="STRING" size="256" sumtext="주민등록번호"/>
- <Column id="cardcnt" type="STRING" size="256" sumtext="헌혈증매수"/>
- <Column id="ordtype" type="STRING" size="256" sumtext="진료형태"/>
- <Column id="ordtypenm" type="STRING" size="256" sumtext="진료형태"/>
- <Column id="insukind" type="STRING" size="256" sumtext="보험유형"/>
- <Column id="insukindnm" type="STRING" size="256" sumtext="보험유형"/>
- <Column id="corpactaddrate" type="STRING" size="256" sumtext="의료기관종별가산률"/>
- <Column id="payownbrate" type="STRING" size="256" sumtext="환자본인부담률"/>
- <Column id="appdd" type="STRING" size="256" sumtext="수혈일자"/>
- <Column id="abocnt" type="STRING" size="256" sumtext="ABO혈청검사횟수"/>
- <Column id="grupcalcscorcd" type="STRING" size="256" sumtext="그룹수가코드"/>
- <Column id="bldabbrgb" type="STRING" size="256" sumtext="헌혈증구분"/>
- <Column id="bldnm" type="STRING" size="256" sumtext="혈액명"/>
- <Column id="bldvol" type="STRING" size="256" sumtext="용량"/>
- <Column id="totalcnt" type="INT" size="256" sumtext="수혈수량"/>
- <Column id="totalamt" type="INT" size="256" sumtext="수혈비용"/>
- <Column id="discamt" type="INT" size="256" sumtext="청구금액"/>
- <Column id="orddd" type="STRING" size="256" sumtext="입원/진료일"/>
- <Column id="dschdd" type="STRING" size="256" sumtext="퇴원/진료일"/>
- <Column id="rcptexecdd" type="STRING" size="256" sumtext="수납일"/>
- <Column id="depodd" type="STRING" size="256" sumtext="입금일"/>
- <Column id="depoamt" type="INT" size="256" sumtext="입금금액"/>
- <Column id="depoflag" type="STRING" size="256" sumtext="청구여부"/>
- <Column id="bldno" type="STRING" size="256" sumtext="수혈번호 목록"/>
- <Column id="apprsn" type="STRING" size="256" sumtext="적용사유(D:Dump)"/>
- <Column id="background" type="STRING" size="256"/>
- <Column id="background_apprsn" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_hidden_daylist_dayinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="claimdd" type="STRING" size="256" sumtext="청구일"/>
- <Column id="claimdd_f" type="STRING" size="256" sumtext="청구일(포맷팅)"/>
- <Column id="srchstr" type="STRING" size="256" sumtext="검색조건"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_prtlist_prtinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="instcd" type="STRING" size="256" sumtext="기관코드"/>
- <Column id="pidno" type="STRING" size="256" sumtext="일련번호"/>
- <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
- <Column id="hngnm" type="STRING" size="256" sumtext="환자명"/>
- <Column id="rrgstno" type="STRING" size="256" sumtext="주민등록번호"/>
- <Column id="cardcnt" type="STRING" size="256" sumtext="헌혈증매수"/>
- <Column id="ordtypenm" type="STRING" size="256" sumtext="진료형태"/>
- <Column id="insukind" type="STRING" size="256" sumtext="보험유형"/>
- <Column id="insukindnm" type="STRING" size="256" sumtext="보험유형"/>
- <Column id="corpactaddrate" type="STRING" size="256" sumtext="의료기관종별가산률"/>
- <Column id="payownbrate" type="STRING" size="256" sumtext="환자본인부담률"/>
- <Column id="appdd" type="STRING" size="256" sumtext="수혈일자"/>
- <Column id="abocnt" type="STRING" size="256" sumtext="ABO혈청검사횟수"/>
- <Column id="grupcalcscorcd" type="STRING" size="256" sumtext="그룹수가코드"/>
- <Column id="bldabbrgb" type="STRING" size="256" sumtext="헌혈증구분"/>
- <Column id="bldnm" type="STRING" size="256" sumtext="혈액명"/>
- <Column id="bldvol" type="STRING" size="256" sumtext="용량"/>
- <Column id="totalcnt" type="STRING" size="256" sumtext="수혈수량"/>
- <Column id="cntsum" type="STRING" size="256" sumtext="수혈수량합계"/>
- <Column id="totalamt" type="STRING" size="256" sumtext="수혈비용"/>
- <Column id="discamt" type="STRING" size="256" sumtext="청구금액"/>
- <Column id="orddd" type="STRING" size="256" sumtext="입원/진료일"/>
- <Column id="dschdd" type="STRING" size="256" sumtext="퇴원/진료일"/>
- <Column id="rcptexecdd" type="STRING" size="256" sumtext="수납일"/>
- <Column id="depodd" type="STRING" size="256" sumtext="입금일"/>
- <Column id="depoamt" type="STRING" size="256" sumtext="입금금액"/>
- <Column id="depoflag" type="STRING" size="256" sumtext="청구여부"/>
- <Column id="sumflag" type="STRING" size="256" sumtext="합산여부"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_ptlist_ptinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="pidno" type="STRING" size="256" sumtext="환자별일련번호"/>
- <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
- <Column id="hngnm" type="STRING" size="256" sumtext="환자명"/>
- <Column id="ordtypenm" type="STRING" size="256" sumtext="진료형태"/>
- <Column id="appdd" type="STRING" size="256" sumtext="수혈일자"/>
- <Column id="totalcnt" type="STRING" size="256" sumtext="수혈수량"/>
- <Column id="discamt" type="STRING" size="256" sumtext="청구금액"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_bldnolist_bldnoinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
- <Column id="hngnm" type="STRING" size="256" sumtext="환자명"/>
- <Column id="cnt" type="STRING" size="256" sumtext="수혈수량"/>
- <Column id="bldno" type="STRING" size="256" sumtext="혈액번호 목록"/>
- </ColumnInfo>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="grp_sea.ipt_clmm" propid="value" datasetid="ds_send" columnid="clmm"/>
- <BindItem id="item1" compid="grp_sea.cmb_claimdd" propid="value" datasetid="ds_send" columnid="claimdd"/>
- </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::PAM.xjs';
- include 'pam_pamcomnxp::PAM001.xjs';
- function SMPAS00153_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj);
- }
- function SMPAS00153_onload(obj:Form, e:LoadEventInfo)
- {
- grdf_initGrid(grd_bldc);
-
- ds_send.setColumn(0, "clmm", String(utlf_getCurrentDate()).substr(0, 6));
-
- var oParam = {};
- oParam.id = "TRPAS00154";
- oParam.service = "rcptteamstatsapp.rcptTeamOrdStats";
- oParam.method = "reqGetBldcClamDays";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_hidden_daylist_dayinfo=day";
- oParam.async = false;
- //oParam.callback = "cf_TRPAS00154";
- tranf_submit(oParam);
- if(ds_hidden_daylist_dayinfo.rowcount > 0)
- {
- grp_sea.cmb_claimdd.index = parseInt(ds_hidden_daylist_dayinfo.rowcount-1);
- frmf_inputEnterKey("grp_sea.cmb_claimdd", "onitemchanged", new ItemChangeEventInfo );
- }
- }
- function grp_sea_cmb_claimdd_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
- {
- var arr = String(ds_hidden_daylist_dayinfo.lookup("claimdd", obj.value, "srchstr")).split("|");
- var srchflag = "";
-
- switch (arr[0])
- {
- case "appdd" : srchflag = "실시일"; break;
- case "orddd" : srchflag = "진료일"; break;
- case "rcptexecdd" : srchflag = "수납일"; break;
- case "depodd" : srchflag = "입금일"; break;
- default : break;
- }
-
- grp_sea.cap_srchflag.text = srchflag;
- grp_sea.cap_dd.text = String(utlf_transNullToEmpty(arr[1])).substr(0, 4) + "-" + String(utlf_transNullToEmpty(arr[1])).substr(4, 2) + "-"
- + String(utlf_transNullToEmpty(arr[1])).substr(6, 2) + " ~ " + String(utlf_transNullToEmpty(arr[2])).substr(0, 4) + "-"
- + String(utlf_transNullToEmpty(arr[2])).substr(4, 2) + "-" + String(utlf_transNullToEmpty(arr[2])).substr(6, 2);
-
- var ordtype = "";
- switch (arr[3])
- {
- case "T" : ordtype = "전체"; break;
- case "I" : ordtype = "입원"; break;
- case "O" : ordtype = "외래"; break;
- default : break;
- }
-
- grp_sea.cap_ordtype.text = ordtype;
-
- var depoflag = "";
- switch (arr[4])
- {
- case "T" : depoflag = "전체"; break;
- case "Y" : depoflag = "입금완료"; break;
- case "N" : depoflag = "미입금"; break;
- default : break;
- }
-
- grp_sea.cap_depoflag.text = depoflag;
-
- grp_sea.cap_pid.text = utlf_transNullToEmpty(arr[5]);
-
- ds_send.setColumn(0, "srchcond", arr[0]);
- ds_send.setColumn(0, "fromdd", arr[1]);
- ds_send.setColumn(0, "todd", arr[2]);
- ds_send.setColumn(0, "ordtype", arr[3]);
- ds_send.setColumn(0, "depoflag", arr[4]);
- ds_send.setColumn(0, "pid", arr[5]);
- }
- function grp_sea_ipt_clmm_onchanged(obj:Calendar, e:ChangeEventInfo)
- {
- ds_send.setColumn(0, "clmm", String(obj.value).substr(0,6));
-
- var oParam = {};
- oParam.id = "TRPAS00154";
- oParam.service = "rcptteamstatsapp.rcptTeamOrdStats";
- oParam.method = "reqGetBldcClamDays";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_hidden_daylist_dayinfo=day";
- oParam.async = false;
- //oParam.callback = "cf_TRPAS00154";
- tranf_submit(oParam);
- grp_sea.cmb_claimdd.index = parseInt(ds_hidden_daylist_dayinfo.rowcount-1);
- frmf_inputEnterKey("grp_sea.cmb_claimdd", "onitemchanged", new ItemChangeEventInfo );
- }
- function grp_sea_btn_search_onclick(obj:Button, e:ClickEventInfo)
- {
- ds_main_prtlist_prtinfo.clearData();
- ds_main_ptlist_ptinfo.clearData();
- ds_main_bldclist_bldcinfo.clearData();
-
- var oParam = {};
- oParam.id = "TRPAS00155";
- oParam.service = "rcptteamstatsapp.rcptTeamOrdStats";
- oParam.method = "reqGetBldcClamList";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_main_bldclist_bldcinfo=bldc ds_main_prtlist_prtinfo=prt ds_main_ptlist_ptinfo=pt ds_main_bldnolist_bldnoinfo=bldno";
- oParam.async = false;
- //oParam.callback = "cf_TRPAS00155";
- tranf_submit(oParam);
-
- var path = ds_main_bldclist_bldcinfo;
- var cnt = path.rowcount;
- var prevPid = path.getColumn(0, "pid");
- var color = "#dcffdc";
- var sRow = 0;
- var samcolor = "#dcffdc";
-
- for (var i = 0; i < cnt; i++)
- {
- var pid = path.getColumn(i, "pid");
-
- if(pid != prevPid)
- {
- dsf_makeValue(path, "background", "string", color, sRow);
- dsf_makeValue(path, "background_apprsn", "string", color, sRow);
-
- prevPid = pid;
- sRow = i;
-
- color = (color == "transparent") ? "#dcffdc" : "transparent";
- }
-
- if (i == parseInt(cnt-1))
- {
- dsf_makeValue(path, "background", "string", color, sRow);
- dsf_makeValue(path, "background_apprsn", "string", color, sRow);
- }
- }
-
- for (var i = 0; i < cnt; i++)
- {
- // 1.0 background 방식과 달라서 추가한 내용 merge 된 background 색상 지정
- if(utlf_isNull(path.getColumn(i, "background")))
- {
- path.setColumn(i, "background", path.getColumn(parseInt(i-1), "background"));
- path.setColumn(i, "background_apprsn", path.getColumn(parseInt(i-1), "background_apprsn"));
- }
-
- if (path.getColumn(i, "apprsn") == "D")
- {
- dsf_makeValue(path, "background_apprsn", "string", "#9FC93C", sRow);
- }
- }
- }
- function btn_print1_onclick(obj:Button, e:ClickEventInfo)
- {
- var objDOM = rptf_createDOM();
- rptf_setNodeListToDOM(objDOM, "/root/send", ds_send);
- rptf_setNodeListToDOM(objDOM, "/root/main/ptlist/ptinfo", ds_main_ptlist_ptinfo);
- var objParam = new Object();
- objParam.xml_data_XML1 = objDOM.documentElement.source;
- var option = null;
- rptf_exeReportPreview30(["RPPAS00155"],[objParam], option);
-
- var objDOM = rptf_createDOM();
- rptf_setNodeListToDOM(objDOM, "/root/main/prtlist/prtinfo", ds_main_prtlist_prtinfo);
- var objParam = new Object();
- objParam.xml_data_XML1 = objDOM.documentElement.source;
- var option = null;
- rptf_exeReportPreview30(["RPPAS00154"],[objParam], option);
-
- var objDOM = rptf_createDOM();
- rptf_setNodeListToDOM(objDOM, "/root/send", ds_send);
- rptf_setNodeListToDOM(objDOM, "/root/main/bldnolist/bldnoinfo", ds_main_bldnolist_bldnoinfo);
- var objParam = new Object();
- objParam.xml_data_XML1 = objDOM.documentElement.source;
- var option = null;
- rptf_exeReportPreview30(["RPPAS00156"],[objParam], option);
- }
- function btn_excel1_onclick(obj:Button, e:ClickEventInfo)
- {
- var clmm = ds_send.getColumn(0, "clmm");
- grdf_exportExcel(grd_bldc, "수혈청구현황_"+ clmm + "-" + todd, "수혈청구현황", "true", "", "");
-
- sysf_messageBox("엑셀 저장이 완료되었습니다.", "I999");
- }
- function ds_main_bldclist_bldcinfo_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
- {
- if(e.columnid == "depoflag")
- {
- obj.setColumn(e.row, "depoflag", (e.newvalue == "true" || e.newvalue == 1) ? "true" : "false");
- }
- }
- ]]></Script>
- </Form>
- </FDL>
|