123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230 |
- <?xml version="1.0" encoding="utf-8" standalone="no"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml" />
- <Form id="SPPAS01441" position="absolute 0 0 900 800" titletext="미수환자세부리스트" onload="SPPAS01441_onload">
- <Layouts>
- <Layout>
- <Div id="group1" position="absolute 0 0 895 13" style="">
- <Layouts>
- <Layout>
- <Static id="caption6" class="tit_1" position="absolute 0 0 189 14" style="" text="미수환자세부 리스트" />
- </Layout>
- </Layouts>
- </Div>
- <Shape id="roundrect8" anchor="default" class="roundrect_search" type="roundrectangle" position="absolute 0 25 895 60" style="" />
- <Shape id="line11" class="line_1" linetype="horizontal" position="absolute 5 15 895 18" style="" anchor="default" />
- <Button id="btn_excel" class="btn1_letter4" visible="true" position="absolute 715 30 795 52" style="background:_gradation URL(../../.._com_commonweb_images_btn1_letter4.gif) ;" text="EXCEL" onclick="btn_excel_onclick" />
- <Button id="button2" class="btn6_letter4" taborder="3" position="absolute 805 30 885 52" style="" text="화면닫기" onclick="button2_onclick" />
- <Static id="caption13" class="search_name" position="absolute 5 34 365 51" style="" />
- <Grid id="datagrid1" binddataset="ds_main_result_resultlist" position="absolute 7 85 895 785" style="">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="47" />
- <Column size="82" />
- <Column size="87" />
- <Column size="80" />
- <Column size="100" />
- <Column size="100" />
- <Column size="100" />
- <Column size="102" />
- <Column size="167" />
- </Columns>
- <Rows>
- <Row size="24" 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="입금" />
- <Cell col="7" text="미수금잔액" />
- <Cell col="8" text="계정명" />
- </Band>
- <Band id="body">
- <Cell text="bind:ordnum" />
- <Cell col="1" text="bind:pid" />
- <Cell col="2" text="bind:hngnm" />
- <Cell col="3" text="bind:insukind" />
- <Cell col="4" text="bind:preamt" />
- <Cell col="5" text="bind:addamt" />
- <Cell col="6" text="bind:subamt" />
- <Cell col="7" text="bind:totamt" />
- <Cell col="8" text="bind:unconm" />
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Shape id="line1" class="line_1" linetype="horizontal" position="absolute 5 65 895 68" style="" anchor="default" />
- <Static id="caption1" position="absolute 440 35 705 50" style="" text="조회되는 데이타가 많을시 조회되지 않을수 있음" />
- </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="monthdd" type="STRING" size="256" />
- <Column id="insukind" type="STRING" size="256" />
- <Column id="ordtype" type="STRING" size="256" />
- <Column id="monthgubun" type="STRING" size="256" />
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="header" type="STRING" size="256" />
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_result" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="resultlist" type="STRING" size="256" />
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="resultlist"></Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_source" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="monthdd" type="STRING" size="256" />
- <Column id="insukind" type="STRING" size="256" />
- <Column id="ordtype" type="STRING" size="256" />
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="monthdd"></Col>
- <Col id="insukind"></Col>
- <Col id="ordtype"></Col>
- </Row>
- </Rows>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="caption13" propid="value" datasetid="ds_main" columnid="header" />
- </Bind>
- <Script type="xscript4.0"><![CDATA[function SPPAS01441_onload(obj:Form, e:LoadEventInfo) {
- frmf_initForm(obj);
- //grdf_initGrid(grd_XXX);
- //grdf_setGridSort(grd_XXX);
- //grdf_setRowTypeIcon(grd_XXX, 0_컬럼위치값);
- if (frmf_checkOpener()){ //팝업화면으로 사용될 때
- var strmonthdd = ds_source.getColumn(0, "monthdd");
- var strinsukind = ds_source.getColumn(0, "insukind");
- var strordtype = ds_source.getColumn(0, "ordtype");
- var strmonthgubun=ds_source.getColumn(0, "monthgubun");
- if((strmonthdd !="") && (strinsukind!="") && (strordtype!=""))
- {
- fSearch(strmonthdd,strinsukind,strordtype,strmonthgubun);
- }
- }
- }
- function fSearch(monthdd,insukind,ordtype,monthgubun){
- var strmonthdd=monthdd;
- var strinsukind=insukind;
- var strordtype=ordtype;
- var strmonthgubun=monthgubun;
- var strheader="";
- ds_send.setColumn( 0, "monthdd",strmonthdd);
- ds_send.setColumn( 0, "insukind",strinsukind);
- ds_send.setColumn( 0, "ordtype",strordtype);
- ds_send.setColumn( 0, "monthgubun",strmonthgubun);
- ds_main_result_resultlist.clearData(); ds_main_result_resultlist.addRow();
- // if(submit("TRPAS01444")){
- var oParam = {};
- oParam.id = "TRPAS01444";
- oParam.service = "planteamstatsapp.planTeamOrdStats";
- oParam.method = "reqGetOwnUncoDetailList";
- oParam.inds = "req=ds_";
- oParam.outds = "ds_=resultlist";
- oParam.async = false;
- oParam.callback = "cf_TRPAS01444";
- tranf_submit(oParam);
- /*
- function cf_TRPAS01444(sSvcId, nErrorCode, sErrorMsg) {
- if(nErrorCode < 0) return;
- }
- function cf_TRPAS01444(sSvcId, nErrorCode, sErrorMsg) {
- arErrorCode.push(sSvcId, nErrorCode);
- }
- arErrorCode.pop("TRPAS01444") > -1
- arErrorCode.pop("TRPAS01444") < 0
- */
- if( ds_main_result_resultlist_pid.rowcount;> 0 ){
- //
- //model.refresh();
- }else{
- ds_main_resultlist.clearData(); ds_main_resultlist.addRow();
- sysf_messageBox("데이타가 존재하지 않습니다.", "E999", "");
- }
- if(strmonthgubun=="K")
- {
- strheader= strmonthdd.substr(0,6) +" 당월말";
- }else if( strmonthgubun=="T")
- {
- strheader= strmonthdd.substr(0,6) + " 당월증가_감소";
- }else
- {
- strheader= strmonthdd.substr(0,6) +" 전월말";
- }
- ds_main.setColumn( 0, "header",strheader);
- //model.refresh();
- }
- }
- include '../../.._com_commonweb_js_common.js'
- include '../../.._com_commonweb_js_tfHelper.js'
- include '../../.._com_commonweb_js_utilHelper.js'
- include '../../.._com_commonweb_js_dateHelper.js'
- include '../../.._com_basiccodeweb_js_ZBC001.js'
- include '../../.._pam_pamcomnweb_js_PAM.js'
- include '../../.._pam_opatmngtweb_js_PMOCOM.js'
- function btn_excel_onclick(obj:Button, e:ClickEventInfo) {
- if (ds_main_result_resultlist_pid.rowcount;> 0)
- {
- var strtitle= ds_main.getColumn(0, "header");
- var fileName = window.fileDialog("save", ",", false, "의료미수금세부환자현황("+strtitle+")", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
- datagrid1.saveExcel(fileName, "의료미수금세부환자현황(("+strtitle+")", false, false, "", "", false);
- }
- // var fileName = window.fileDialog("save", ",", false, "본인부담 의료미수금 현황_발생년도별("+year+")", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
- // grd_year.saveExcel(fileName, "본인부담 의료미수금 현황_발생년도별("+year+")", false, false, "", "", false);
- }
- function button2_onclick(obj:Button, e:ClickEventInfo) {
- model.close();
- }
- ]]></Script>
- </Form>
- </FDL>
|