123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMRAD02600" position="absolute 0 0 1200 780" titletext="입금의뢰명세서(결재용)" oninit="SMRAD02600_oninit" onload="SMRAD02600_onload">
- <Layouts>
- <Layout>
- <Div position="absolute 0 0 1195 23" id="group1">
- <Layouts>
- <Layout>
- <Static text="입금의뢰명세서(결재용)" position="absolute 0 0 175 23" id="caption6" class="tit_1" anchor="default"/>
- </Layout>
- </Layouts>
- </Div>
- <Div position="absolute 0 40 1195 780" id="group2" scrollbars="autoboth">
- <Layouts>
- <Layout>
- <Grid position="absolute 190 155 1080 627" id="grd_grntpsn1" binddataset="ds_main_grnt_grntlist1">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="20" band="left"/>
- <Column size="55"/>
- <Column size="113"/>
- <Column size="91"/>
- <Column size="110"/>
- <Column size="167"/>
- <Column size="109"/>
- <Column size="192"/>
- <Column size="187"/>
- </Columns>
- <Rows>
- <Row size="24" 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="비고"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" expr="expr:currow + 1"/>
- <Cell col="1" text="bind:flagseq"/>
- <Cell col="2" text="bind:custnm"/>
- <Cell col="3" text="bind:bankman"/>
- <Cell col="4" text="bind:banknm"/>
- <Cell col="5" text="bind:bankno"/>
- <Cell col="6" displaytype="number" text="bind:amtgive" mask="#,###"/>
- <Cell col="7" text="bind:rmrk"/>
- <Cell col="8" text="bind:bigo"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Shape id="roundrect1" type="roundrectangle" position="absolute 0 10 1193 45"/>
- <Button position="absolute 1130 17 1186 39" id="btn_search" class="btn1" text="조회" onclick="group2_btn_search_onclick"/>
- <Shape position="absolute 1117 10 1123 44" linetype="vertical" id="line13" class="line_4"/>
- <Static text="소속기관 :" position="absolute 40 19 126 36" id="cap_payinst" class="search_name"/>
- <Combo position="absolute 121 18 246 37" id="cmb_instcd" class="combo_s_essential" enable="false"/>
- <Static text="작성일 :" position="absolute 291 18 366 35" id="caption22" class="search_name"/>
- <Calendar position="absolute 360 18 474 37" align="align:center middle;" id="ipt_payym" class="input_default" mask="yyyy-mm-dd" autoselect="true"/>
- <Static text="입금의뢰명세내역" position="absolute 0 53 209 69" id="caption28" class="tit_2"/>
- <Shape position="absolute 2 69 1192 75" linetype="horizontal" id="line193" class="line_10"/>
- <Button position="absolute 1122 46 1186 65" id="btn_savegrntpsn1excel" class="btn2" text="엑셀저장" onclick="group2_btn_savegrntpsn1excel_onclick"/>
- <Div id="group3" taborder="1" position="absolute 0 73 1195 740" style="background:white;"/>
- </Layout>
- </Layouts>
- </Div>
- <Div position="absolute 0 13 1195 38" id="grp_btn" scrollbars="autoboth"/>
- </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="fromdd" type="STRING" size="256" sumtext="시작일자"/>
- <Column id="instcd" type="STRING" size="256" sumtext="기관코드"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_grnt_grntlist1" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_main_grnt_grntlist1_oncolumnchanged">
- <ColumnInfo>
- <Column id="gb" type="STRING" size="256" sumtext="구분"/>
- <Column id="gubun" type="STRING" size="256" sumtext="구분명"/>
- <Column id="ymdgive" type="STRING" size="256" sumtext="적용일자"/>
- <Column id="amtgive" type="STRING" size="256" sumtext="지급액"/>
- <Column id="custnm" type="STRING" size="256" sumtext="거래처"/>
- <Column id="rmrk" type="STRING" size="256" sumtext="적요"/>
- <Column id="banknm" type="STRING" size="256" sumtext="은행명"/>
- <Column id="bankno" type="STRING" size="256" sumtext="계좌번호"/>
- <Column id="bankman" type="STRING" size="256" sumtext="예금주"/>
- <Column id="flagseq" type="STRING" size="256" sumtext="지출번호"/>
- <Column id="title" type="STRING" size="256" sumtext="타이틀"/>
- <Column id="title2" type="STRING" size="256" sumtext="타이틀"/>
- <Column id="title3" type="STRING" size="256" sumtext="타이틀"/>
- <Column id="bigo" type="STRING" size="256" sumtext="비고"/>
- </ColumnInfo>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="group2.cmb_instcd" propid="value" datasetid="ds_send" columnid="instcd"/>
- <BindItem id="item1" compid="group2.ipt_payym" propid="value" datasetid="ds_send" columnid="fromdd"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name : 경대 의료정보시스템
- * Job Name : mis_slipxp -> SMRAD02600
- * Creator : yjh
- * Make Date : 2018-03-16
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2018-03-16 yjh TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- //=======================================================================================
- // Lib Include
- //---------------------------------------------------------------------------------------
- include "com_commonxp::comm_main.xjs";
- include "mis_miscommonxp::MIS.xjs";
- //=======================================================================================
- // Global Form Variable
- //---------------------------------------------------------------------------------------
- //=======================================================================================
- // Function
- //---------------------------------------------------------------------------------------
- //=======================================================================================
- // Event
- //---------------------------------------------------------------------------------------
- /****************************************************************************************
- * Components : Form
- * Components ID : SMRAD02600
- * Event : oninit
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 화면 처음 초기화시
- ****************************************************************************************/
- function SMRAD02600_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj); //폼 초기화
- }
- /****************************************************************************************
- * Components : Form
- * Components ID : SMRAD02600
- * Event : onload
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 화면 로딩 완료시
- ****************************************************************************************/
- function SMRAD02600_onload(obj:Form, e:LoadEventInfo)
- {
- misfComboInstCdListMulti("group2.cmb_instcd",utlf_getCurrentDate(),"","N");
- //makeReportPreview(0,110,1195,650);
-
- var today = utlf_getCurrentDate();
- var cur_yymm = parseInt(today.substring(0, 6));
-
- ds_send.setColumn(0, "fromdd", today);
- group2.cmb_instcd.value = sysf_getUserInfo("dutplceinstcd");
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : btn_search
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 조회버튼 클릭시
- ****************************************************************************************/
- function group2_btn_search_onclick(obj:Button, e:ClickEventInfo)
- {
- var oParam = {};
- oParam.id = "TRRAD02601";
- oParam.service = "slipapp.AccBook";
- oParam.method = "reqGetIbkeumGyulList";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_main_grnt_grntlist1=grntlist1";
- oParam.async = false;
- //oParam.callback = "cf_TRRAD02601";
- tranf_submit(oParam);
-
- var objDOM = rptf_createDOM(); // DOM 객체 설정
- rptf_setNodeListToDOM(objDOM, "root/main/grnt/grntlist1", ds_main_grnt_grntlist1); // 데이터셋
-
- var objParam = new Object();
- objParam.xml_data_XML1 = objDOM.documentElement.source; // 최상의노드 XML 스트링 추출
-
- var option = "open=1;save=1;directprint=0;print=1;zoom=0;";
-
- rptf_exeReportPreview30(["RPRAD02601"],[objParam], option, "", "group2.group3");
- }
- /****************************************************************************************
- * Components : Dataset
- * Components ID : ds_main_grnt_grntlist1
- * Event : oncolumnchanged
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 데이터셋 값 변경시
- ****************************************************************************************/
- function ds_main_grnt_grntlist1_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
- {
- if (grd_grntpsn1.colAttribute(grd_grntpsn1.col,"ref") == "flag"){
- Maxseq();
- }
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : btn_savegrntpsn1excel
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 엑셀저장버튼 클릭시
- ****************************************************************************************/
- function group2_btn_savegrntpsn1excel_onclick(obj:Button, e:ClickEventInfo)
- {
- //if( group2.grd_grntpsn1.rowcount > 0 ){
- grdf_exportExcel(group2.grd_grntpsn1, "excel", "sheetname", false, "", "user", false);
- // } else {
- // sysf_messageBox("조회된 데이터가 ", "I004");
- // return;
- // }
- }
- ]]></Script>
- </Form>
- </FDL>
|