123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327 |
- <?xml version="1.0" encoding="utf-8" standalone="no"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SPPIJ02402" position="absolute 0 0 1070 610" titletext="" onload="SPPIJ02402_onload">
- <Layouts>
- <Layout>
- <Static id="caption1" text="수정 내역" class="tit_2" position="absolute 5 10 91 25"/>
- <Shape id="line1" class="line_1" position="absolute 0 28 1070 32" style="strokepen:3 solid #33bbbbff;"/>
- <Grid id="grd_mechlist" taborder="1" binddataset="ds_main_list1_clod" useinputpanel="false" position="absolute 0 31 1070 610">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="25"/>
- <Column size="30"/>
- <Column size="30"/>
- <Column size="70"/>
- <Column size="19"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="170"/>
- <Column size="100"/>
- <Column size="30"/>
- <Column size="30"/>
- <Column size="30"/>
- <Column size="25"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="110"/>
- <Column size="30"/>
- <Column size="30"/>
- <Column size="30"/>
- <Column size="25"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="110"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell rowspan="2" taborder="undefined"/>
- <Cell col="1" colspan="2" text="항목" taborder="undefined"/>
- <Cell col="3" rowspan="2" text="처방일자" taborder="undefined"/>
- <Cell col="4" rowspan="2" text="G" taborder="undefined"/>
- <Cell col="5" rowspan="2" text="그룹수가" taborder="undefined"/>
- <Cell col="6" rowspan="2" text="수가코드" taborder="undefined"/>
- <Cell col="7" rowspan="2" text="EDI코드" taborder="undefined"/>
- <Cell col="8" rowspan="2" text="한글명" taborder="undefined"/>
- <Cell col="9" rowspan="2" text="수정사유" taborder="undefined"/>
- <Cell col="10" colspan="7" text="수정처방(심사후)" taborder="undefined"/>
- <Cell col="17" colspan="7" text="원처방(심사전)" taborder="undefined"/>
- <Cell col="24" colspan="2" text="차액" taborder="undefined"/>
- <Cell col="26" rowspan="2" text="처방번호" taborder="undefined"/>
- <Cell col="27" text="목"/>
- <Cell col="28" text="처방일자"/>
- <Cell col="29" text="G"/>
- <Cell col="30" text="그룹수가"/>
- <Cell col="31" text="수가코드"/>
- <Cell col="32" text="EDI코드"/>
- <Cell col="33" text="한글명"/>
- <Cell col="34" text="수정사유"/>
- <Cell col="35" text="급비"/>
- <Cell col="36" text="산정"/>
- <Cell col="37" text="선택"/>
- <Cell col="38" text="NO"/>
- <Cell col="39" text="총진료비"/>
- <Cell col="40" text="본인총액"/>
- <Cell col="41" text="시행일시"/>
- <Cell col="42" text="급비"/>
- <Cell col="43" text="산정"/>
- <Cell col="44" text="선택"/>
- <Cell col="45" text="NO"/>
- <Cell col="46" text="총진료비"/>
- <Cell col="47" text="본인총액"/>
- <Cell col="48" text="시행일시"/>
- <Cell col="49" text="총진료비"/>
- <Cell col="50" text="본인총액"/>
- <Cell col="51" text="처방번호"/>
- <Cell row="1" col="1" text="항"/>
- <Cell row="1" col="2" text="목"/>
- <Cell row="1" col="10" text="급비"/>
- <Cell row="1" col="11" text="산정"/>
- <Cell row="1" col="12" text="선택"/>
- <Cell row="1" col="13" text="NO"/>
- <Cell row="1" col="14" text="총진료비"/>
- <Cell row="1" col="15" text="본인총액"/>
- <Cell row="1" col="16" text="시행일시"/>
- <Cell row="1" col="17" text="급비"/>
- <Cell row="1" col="18" text="산정"/>
- <Cell row="1" col="19" text="선택"/>
- <Cell row="1" col="20" text="NO"/>
- <Cell row="1" col="21" text="총진료비"/>
- <Cell row="1" col="22" text="본인총액"/>
- <Cell row="1" col="23" text="시행일시"/>
- <Cell row="1" col="24" text="총진료비"/>
- <Cell row="1" col="25" text="본인총액"/>
- <Cell row="1" col="27"/>
- <Cell row="1" col="28"/>
- <Cell row="1" col="29"/>
- <Cell row="1" col="30"/>
- <Cell row="1" col="31"/>
- <Cell row="1" col="32"/>
- <Cell row="1" col="33"/>
- <Cell row="1" col="34"/>
- <Cell row="1" col="35"/>
- <Cell row="1" col="36"/>
- <Cell row="1" col="37"/>
- <Cell row="1" col="38"/>
- <Cell row="1" col="39"/>
- <Cell row="1" col="40"/>
- <Cell row="1" col="41"/>
- <Cell row="1" col="42"/>
- <Cell row="1" col="43"/>
- <Cell row="1" col="44"/>
- <Cell row="1" col="45"/>
- <Cell row="1" col="46"/>
- <Cell row="1" col="47"/>
- <Cell row="1" col="48"/>
- <Cell row="1" col="49"/>
- <Cell row="1" col="50"/>
- <Cell row="1" col="51"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" expr="expr:currow + 1"/>
- <Cell col="1" style="align:center middle;" text="bind:item1"/>
- <Cell col="2" style="align:center middle;" text="bind:item2"/>
- <Cell col="3" style="align:center middle;" text="bind:prcpdd"/>
- <Cell col="4" style="align:center middle;" text="bind:grupflag"/>
- <Cell col="5" style="align:left middle;" text="bind:grupcalcscorcd"/>
- <Cell col="6" style="align:left middle;" text="bind:snglcalcscorcd"/>
- <Cell col="7" style="align:left middle;" text="bind:basecd"/>
- <Cell col="8" style="align:left middle;" text="bind:hngnm" wordwrap="char"/>
- <Cell col="9" style="align:left middle;" text="bind:judgadjtresncd"/>
- <Cell col="10" displaytype="combo" style="align:center middle;" text="bind:aftpayflag" combodataset="ds_static_payflag" combocodecol="value" combodatacol="label"/>
- <Cell col="11" style="align:center middle;" text="bind:aftestmcd" wordwrap="char"/>
- <Cell col="12" style="align:center middle;" text="bind:aftspecyn"/>
- <Cell col="13" style="align:center middle;" text="bind:aftnochgyn"/>
- <Cell col="14" displaytype="number" style="align:right middle;" text="bind:afttotordamt" mask="9,999"/>
- <Cell col="15" displaytype="number" style="align:right middle;" text="bind:afttotownbamt" mask="9,999"/>
- <Cell col="16" displaytype="date" style="align:center middle;" text="bind:aftexecdd" mask="yyyy-MM-dd hh:mm" calendardisplaynulltype="none"/>
- <Cell col="17" displaytype="combo" style="align:center middle;" text="bind:bfrpayflag" combodataset="ds_static_payflag" combocodecol="value" combodatacol="label"/>
- <Cell col="18" style="align:center middle;" text="bind:bfrestmcd" wordwrap="char"/>
- <Cell col="19" style="align:center middle;" text="bind:bfrspecyn"/>
- <Cell col="20" style="align:center middle;" text="bind:bfrnochgyn"/>
- <Cell col="21" displaytype="number" text="bind:bfrtotordamt" mask="9,999"/>
- <Cell col="22" displaytype="number" text="bind:bfrtotownbamt" mask="9,999"/>
- <Cell col="23" displaytype="date" style="align:center middle;" text="bind:bfrexecdd" mask="yyyy-MM-dd hh:mm" calendardisplaynulltype="none"/>
- <Cell col="24" displaytype="number" text="bind:diftotordamt" mask="9,999"/>
- <Cell col="25" displaytype="number" text="bind:diftotownbamt" mask="9,999"/>
- <Cell col="26" style="align:center middle;" text="bind:prcpno"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Button id="btn_excel" taborder="2" text="엑셀저장" onclick="grp_biz_btn_excel_onclick" class="btn2" position="absolute 1002 3 1066 22"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_send_data1" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="indd" type="STRING" size="256"/>
- <Column id="cretno" type="STRING" size="256"/>
- <Column id="insukind" type="STRING" size="256"/>
- <Column id="fromdd" type="STRING" size="256"/>
- <Column id="todd" type="STRING" size="256"/>
- <Column id="payflag" type="STRING" size="256"/>
- <Column id="item1" type="STRING" size="256"/>
- <Column id="item2" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="pid"/>
- <Col id="indd"/>
- <Col id="cretno"/>
- <Col id="insukind"/>
- <Col id="fromdd"/>
- <Col id="todd"/>
- <Col id="payflag"/>
- <Col id="item1"/>
- <Col id="item2"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_static_payflag" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="label" type="STRING" size="256"/>
- <Column id="value" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="label">급</Col>
- <Col id="value">0</Col>
- </Row>
- <Row>
- <Col id="label">100</Col>
- <Col id="value">1</Col>
- </Row>
- <Row>
- <Col id="label">비</Col>
- <Col id="value">2</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_list1_clod" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="item1" type="STRING" size="256" sumtext="항"/>
- <Column id="item2" type="STRING" size="256" sumtext="목"/>
- <Column id="prcpdd" type="STRING" size="256" sumtext="처방일자"/>
- <Column id="grupflag" type="STRING" size="256" sumtext="G"/>
- <Column id="grupcalcscorcd" type="STRING" size="256" sumtext="그룹수가"/>
- <Column id="snglcalcscorcd" type="STRING" size="256" sumtext="수가코드"/>
- <Column id="basecd" type="STRING" size="256" sumtext="EDI코드"/>
- <Column id="hngnm" type="STRING" size="256" sumtext="한글명"/>
- <Column id="judgadjtresncd" type="STRING" size="256" sumtext="심사조정사유"/>
- <Column id="aftpayflag" type="STRING" size="256" sumtext="(심사후)급비"/>
- <Column id="aftestmcd" type="STRING" size="256" sumtext="(심사후)산정"/>
- <Column id="aftspecyn" type="STRING" size="256" sumtext="(심사후)선택"/>
- <Column id="aftnochgyn" type="STRING" size="256" sumtext="(심사후)NO"/>
- <Column id="afttotordamt" type="STRING" size="256" sumtext="(심사후)총진료비"/>
- <Column id="afttotownbamt" type="STRING" size="256" sumtext="(심사후)본인총액"/>
- <Column id="aftexecdd" type="STRING" size="256" sumtext="(심사후)시행일시"/>
- <Column id="bfrpayflag" type="STRING" size="256" sumtext="(심사전)급비"/>
- <Column id="bfrestmcd" type="STRING" size="256" sumtext="(심사전)산정"/>
- <Column id="bfrspecyn" type="STRING" size="256" sumtext="(심사전)선택"/>
- <Column id="bfrnochgyn" type="STRING" size="256" sumtext="(심사전)NO"/>
- <Column id="bfrtotordamt" type="STRING" size="256" sumtext="(심사전)총진료비"/>
- <Column id="bfrtotownbamt" type="STRING" size="256" sumtext="(심사전)본인총액"/>
- <Column id="bfrexecdd" type="STRING" size="256" sumtext="(심사전)시행일시"/>
- <Column id="diftotordamt" type="STRING" size="256" sumtext="(차액)총진료비"/>
- <Column id="diftotownbamt" type="STRING" size="256" sumtext="(차액)본인총액"/>
- <Column id="prcpno" type="STRING" size="256" sumtext="처방번호"/>
- </ColumnInfo>
- </Dataset>
- </Objects>
- <Bind/>
- <Script type="xscript4.0"><![CDATA[//=======================================================================================
- // Lib Include
- //---------------------------------------------------------------------------------------
- include 'com_commonxp::comm_main.xjs';
- var arErrorCode = new HashArray();
- //=======================================================================================
- // Local methods
- //---------------------------------------------------------------------------------------
- /**
- * 화면을 초기화한다.
- * @return {[type]} [description]
- */
- function fInitialize() {
- // 부모 폼을 가져온다.
- var parentForm = this.getOwnerFrame().form;
- // 1. opener 에서 key 데이터를 받는다.
- ds_send_data1.setColumn(0, "pid", parentForm.frmf_getParameter("SPPIJ02400_pid"));
- ds_send_data1.setColumn(0, "indd", parentForm.frmf_getParameter("SPPIJ02400_indd"));
- ds_send_data1.setColumn(0, "cretno", parentForm.frmf_getParameter("SPPIJ02400_cretno"));
- ds_send_data1.setColumn(0, "insukind", parentForm.frmf_getParameter("SPPIJ02400_insukind"));
- ds_send_data1.setColumn(0, "fromdd", parentForm.frmf_getParameter("SPPIJ02400_fromdd"));
- ds_send_data1.setColumn(0, "todd", parentForm.frmf_getParameter("SPPIJ02400_todd"));
- ds_send_data1.setColumn(0, "payflag", parentForm.frmf_getParameter("SPPIJ02400_payflag"));
- ds_send_data1.setColumn(0, "item1", parentForm.frmf_getParameter("SPPIJ02400_item1"));
- ds_send_data1.setColumn(0, "item2", parentForm.frmf_getParameter("SPPIJ02400_item2"));
- // 2. 그리드 초기화
- ds_main_list1_clod.clearData();
- // 3. 심사전후 차액상세 금액을 조회한다.
- if (utlf_transNullToEmpty(ds_send_data1.getColumn(0, "pid")) != "") {
- ds_main_list1_clod.clearData();
- var oParam = {};
- oParam.id = "TRPIJ02402";
- oParam.service = "bfjudgapp.InJudgDifAmt";
- oParam.method = "reqGetInJudgDetlDifAmtList";
- oParam.inds = "req=ds_send_data1";
- oParam.outds = "ds_main_list1_clod=clod";
- oParam.async = false;
- //oParam.callback = "cf_TRPIJ02402";
- tranf_submit(oParam);
- ds_main_list1_clod.keystring = 'S:+item1+item2+prcpdd+prcpno';
- }
- }
- /**
- * submit 후 호출 될 공통 콜백
- * @param {[type]} sSvcId [description]
- * @param {[type]} nErrorCode [description]
- * @param {[type]} sErrorMsg [description]
- * @return {Function} [description]
- */
- function callback(sSvcId, nErrorCode, sErrorMsg){
- arErrorCode.push(sSvcId, nErrorCode);
- }
- //=======================================================================================
- // Events
- //---------------------------------------------------------------------------------------
- /**
- * onload 이벤트 발생 시 호출
- * @param {[type]} obj:Form [description]
- * @param {[type]} e:LoadEventInfo [description]
- */
- function SPPIJ02402_onload(obj: Form, e: LoadEventInfo) {
- frmf_initForm(obj);
-
- //oOpener = frmf_getoOpener();
- }
- /**
- * 엑셀저장 버튼 클릭 이벤트
- * @param {[type]} obj: Button [description]
- * @param {[type]} e: ClickEventInfo [description]
- * @return {[type]} [description]
- */
- function grp_biz_btn_excel_onclick(obj: Button, e: ClickEventInfo) {
- grdf_exportExcel(grd_mechlist, "excel", "SheetName", true, "", "user", false);
- sysf_messageBox("EXCEL 저장이 완료되었습니다.", "I999");
- }]]></Script>
- </Form>
- </FDL>
|