123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMPIF30130" position="absolute 0 0 1205 700" titletext="반송관리" oninit="SMPIF30130_oninit" onload="SMPIF30130_onload">
- <Layouts>
- <Layout>
- <Div position="absolute 0 0 1194 669" id="group3" scrollbars="autoboth">
- <Layouts>
- <Layout>
- <Static text="반송관리" position="absolute 1 5 135 27" id="caption1" class="tit_2"/>
- <Shape position="absolute 0 21 1194 27" linetype="horizontal" id="line1" class="line_1" style="strokepen:3 solid #33bbbbff;"/>
- <Grid position="absolute 0 26 1194 663" id="grd_pirhrsnd" class="datagrid2" binddataset="ds_main_list00_gridpirhrsnd00" oncellclick="group3_grd_pirhrsnd_oncellclick" onkeydown="group3_grd_pirhrsnd_onkeydown" cellsizingtype="col">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="30"/>
- <Column size="0"/>
- <Column size="39"/>
- <Column size="60"/>
- <Column size="70"/>
- <Column size="45"/>
- <Column size="30"/>
- <Column size="30"/>
- <Column size="70"/>
- <Column size="70"/>
- <Column size="50"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="90"/>
- <Column size="100"/>
- <Column size="56"/>
- <Column size="60"/>
- <Column size="110"/>
- <Column size="80"/>
- <Column size="50"/>
- <Column size="50"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="35" band="head"/>
- <Row size="24"/>
- </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="No"/>
- <Cell col="7" text="재청구 생성여부"/>
- <Cell col="8" text="재청구일자"/>
- <Cell col="9" text="진료과"/>
- <Cell col="10" colspan="2" text="반송사유" taborder="undefined"/>
- <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="진료의"/>
- <Cell col="29"/>
- </Band>
- <Band id="body">
- <Cell text="bind:clamym"/>
- <Cell col="1" text="bind:decoseq"/>
- <Cell col="2" text="bind:instcd"/>
- <Cell col="3" text="bind:acptno"/>
- <Cell col="4" text="bind:clamno"/>
- <Cell col="5" text="bind:judgdg"/>
- <Cell col="6" text="bind:rsndseqno"/>
- <Cell col="7" displaytype="normal" edittype="none" text="bind:reclamyn"/>
- <Cell col="8" displaytype="date" text="bind:reclamym" mask="yyyy-MM"/>
- <Cell col="9" text="bind:orddeptcd"/>
- <Cell col="10" text="bind:adjtresn1"/>
- <Cell col="11" text="bind:adjtresn2"/>
- <Cell col="12" text="bind:docuseqno"/>
- <Cell col="13" text="bind:pid"/>
- <Cell col="14" displaytype="normal" style="align:right middle;" text="bind:patnm"/>
- <Cell col="15" displaytype="number" text="bind:clmcstotamt"/>
- <Cell col="16" displaytype="number" text="bind:clclamamt"/>
- <Cell col="17" displaytype="number" text="bind:clownbmaxexamt"/>
- <Cell col="18" displaytype="number" text="bind:clsuppamt"/>
- <Cell col="19" displaytype="number" text="bind:clhandicaprfund"/>
- <Cell col="20" displaytype="number" text="bind:clsubtamt"/>
- <Cell col="21" text="bind:insukind"/>
- <Cell col="22" text="bind:patrrgstno"/>
- <Cell col="23" text="bind:insdnm"/>
- <Cell col="24" text="bind:corpmark"/>
- <Cell col="25" style="align:left middle;" text="bind:corpmarknm"/>
- <Cell col="26" text="bind:abdresncd"/>
- <Cell col="27" style="align:right middle;" text="bind:judgrid"/>
- <Cell col="28" text="bind:orddrid"/>
- <Cell col="29" text="bind:clamdg"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Button position="absolute 1114 2 1194 21" id="button12" class="btn7" text="엑셀저장" onclick="group3_button12_onclick"/>
- <Button position="absolute 1019 2 1113 21" id="button7" class="btn7" text="Open Excel" onclick="group3_button7_onclick"/>
- <Button position="absolute 910 2 963 21" id="button10" class="btn2" text="열카피" onclick="group3_button10_onclick"/>
- <Button position="absolute 965 2 1018 21" id="button11" class="btn2" text="행카피" onclick="group3_button11_onclick"/>
- <Button position="absolute 855 2 908 21" id="button13" class="btn2" text="셀카피" onclick="group3_button13_onclick"/>
- <Button position="absolute 743 2 796 21" id="fixedcolsbtn" class="btn5" text="틀고정" onclick="group3_fixedcolsbtn_onclick"/>
- <Button position="absolute 797 2 853 21" id="button3" class="btn5" text="틀해제" onclick="group3_button3_onclick"/>
- </Layout>
- </Layouts>
- </Div>
- <Div position="absolute 4 659 1198 686" id="group2" scrollbars="autoboth">
- <Layouts>
- <Layout width="1194" height="27">
- <Button position="absolute 1133 5 1189 27" id="button1" class="btn4" text="닫기" anchor="default" onclick="group2_button1_onclick"/>
- </Layout>
- </Layouts>
- </Div>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_send_sendlnk" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_send_sendlist00" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="acptno" type="STRING" size="256"/>
- <Column id="clamno" type="STRING" size="256"/>
- <Column id="instcd" type="STRING" size="256"/>
- <Column id="judgdg" type="STRING" size="256"/>
- <Column id="screenflag" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_list00_gridpirhrsnd00" 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="decoseq" type="STRING" size="256" sumtext="미수일련번호"/>
- <Column id="instcd" type="STRING" size="256" sumtext="기관코드"/>
- <Column id="acptno" type="STRING" size="256" sumtext="접수번호"/>
- <Column id="clamno" type="STRING" size="256" sumtext="청구번호"/>
- <Column id="judgdg" type="STRING" size="256" sumtext="심사차수"/>
- <Column id="rsndseqno" type="STRING" size="256" sumtext="순번"/>
- <Column id="reclamyn" type="STRING" size="256" sumtext="재청구여부"/>
- <Column id="reclamym" type="STRING" size="256" sumtext="재청구월"/>
- <Column id="adjtresn1" type="STRING" size="256" sumtext="반송사유1"/>
- <Column id="adjtresn2" type="STRING" size="256" sumtext="반송사유2"/>
- <Column id="orddeptcd" 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="clmcstotamt" type="STRING" size="256" sumtext="청구총진료비"/>
- <Column id="clclamamt" type="STRING" size="256" sumtext="청구액"/>
- <Column id="clownbmaxexamt" type="STRING" size="256" sumtext="청구상한액"/>
- <Column id="clsuppamt" type="STRING" size="256" sumtext="청구지원금"/>
- <Column id="clhandicaprfund" type="STRING" size="256" sumtext="청구장애인"/>
- <Column id="clsubtamt" type="STRING" size="256" sumtext="대불금"/>
- <Column id="insukind" type="STRING" size="256" sumtext="보험유형"/>
- <Column id="patrrgstno" type="STRING" size="256" sumtext="환자주민번호"/>
- <Column id="insdnm" type="STRING" size="256" sumtext="피보험자"/>
- <Column id="corpmark" type="STRING" size="256" sumtext="기관기호"/>
- <Column id="corpmarknm" type="STRING" size="256" sumtext="기관명"/>
- <Column id="abdresncd" type="STRING" size="256" sumtext="부제기사유코드"/>
- <Column id="judgrid" type="STRING" size="256" sumtext="심사자"/>
- <Column id="orddrid" type="STRING" size="256" sumtext="주치의"/>
- <Column id="clamdg" type="STRING" size="256" sumtext="청구차수"/>
- <Column id="pidsn" type="STRING" size="256" sumtext="등록번호순번"/>
- </ColumnInfo>
- </Dataset>
- </Objects>
- <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 SMPIF30130_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj);
- }
- function SMPIF30130_onload(obj:Form, e:LoadEventInfo)
- {
- grdf_setToolTipBind(group3.grd_pirhrsnd);
-
- if(frmf_checkOpener())
- {
- ds_send_sendlnk.copyData(arg_ds_send_sendlnk);
- }
-
- if(ds_send_sendlnk.getColumn(0, "insukind") == "11")
- {
- group3.grd_pirhrsnd.setFormatColProperty(20, "size", 0);
- }
- else
- {
- group3.grd_pirhrsnd.setFormatColProperty(17, "size", 0);
- group3.grd_pirhrsnd.setFormatColProperty(18, "size", 0);
- }
-
- ds_send_sendlist00.setColumn(0, "acptno", ds_send_sendlnk.getColumn(0, "acptno"));
- ds_send_sendlist00.setColumn(0, "clamno", ds_send_sendlnk.getColumn(0, "clamno"));
- ds_send_sendlist00.setColumn(0, "judgdg", ds_send_sendlnk.getColumn(0, "judgdg"));
- ds_send_sendlist00.setColumn(0, "instcd", ds_send_sendlnk.getColumn(0, "instcd"));
- ds_send_sendlist00.setColumn(0, "screenflag", ds_send_sendlnk.getColumn(0, "screenflag"));
- var oParam = {};
- oParam.id = "TRPIF30131";
- oParam.service = "clamuncoapp.ClamUnco";
- oParam.method = "reqGetPirhrsnd01";
- oParam.inds = "req=ds_send_sendlist00";
- oParam.outds = "ds_main_list00_gridpirhrsnd00=gridpirhrsnd00";
- oParam.async = false;
- //oParam.callback = "cf_TRPIF30131";
- tranf_submit(oParam);
- ds_main_list00_gridpirhrsnd00.rowposition = -1;
- }
- function group3_fixedcolsbtn_onclick(obj:Button, e:ClickEventInfo)
- {
- for(var i = 4; i < 15; i++)
- {
- group3.grd_pirhrsnd.setCellProperty("Body", i, "celltype", "head");
- group3.grd_pirhrsnd.setCellProperty("Body", 14, "align", "center middle");
- }
- }
- function group3_button3_onclick(obj:Button, e:ClickEventInfo)
- {
- for(var i = 4; i < 15; i++)
- {
- group3.grd_pirhrsnd.setCellProperty("Body", i, "celltype", "body");
- group3.grd_pirhrsnd.setCellProperty("Body", 14, "align", "right middle");
- }
- }
- function group3_button13_onclick(obj:Button, e:ClickEventInfo)
- {
- col = "N";
-
- group3.grd_pirhrsnd.selecttype = "multiarea";
- }
- function group3_button10_onclick(obj:Button, e:ClickEventInfo)
- {
- col = "Y";
-
- group3.grd_pirhrsnd.selecttype = "multiarea";
- }
- function group3_button11_onclick(obj:Button, e:ClickEventInfo)
- {
- col = "N";
-
- group3.grd_pirhrsnd.selecttype = "multirow";
- }
- function group3_button7_onclick(obj:Button, e:ClickEventInfo)
- {
- system.execShell("excel");
- }
- function group3_button12_onclick(obj:Button, e:ClickEventInfo)
- {
- var rows = ds_main_list00_gridpirhrsnd00.rowcount;
-
- for(var i = 0; i < rows; i++)
- {
- var temp1 = ds_main_list00_gridpirhrsnd00.getColumn(i, "clamno");
- var temp3 = "'" + temp1
-
- ds_main_list00_gridpirhrsnd00.setColumn(i, "clamno", temp3);
-
- }
-
- var today = new Date();
-
- var yy = today.getYear() + "";
- var mm = today.getMonth() + 1;
- var dd = today.getDate();
-
- 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_main_list00_gridpirhrsnd00.rowcount == 0)
- {
- sysf_messageBox("엑셀저장할 내역이", "I004"); ///엑셀저장할 내역이 없습니다.
- }
- else
- {
- grdf_exportExcel(group3.grd_pirhrsnd, "반송관리_"+tmp, "see");
- }
- }
- function group3_grd_pirhrsnd_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 group3_grd_pirhrsnd_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");
- }
- }
- }
- function group2_button1_onclick(obj:Button, e:ClickEventInfo)
- {
- this.close();
- }
- ]]></Script>
- </Form>
- </FDL>
|