123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMMNH04100" position="absolute 0 0 1204 636" titletext="은행계좌관리" oninit="SMMNH04100_oninit" onload="SMMNH04100_onload">
- <Layouts>
- <Layout>
- <Div position="absolute 0 0 1195 627" id="group5" anchor="all">
- <Layouts>
- <Layout>
- <Grid position="absolute 0 36 1189 621" id="grd_bankacntlist" taborder="7" binddataset="ds_main_bankacntinfo_bankacntlist" autofittype="col" anchor="all" cellsizebandtype="allband" cellsizingtype="both" extendsizetype="row" autoenter="key">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="23" band="left"/>
- <Column size="80"/>
- <Column size="120"/>
- <Column size="85"/>
- <Column size="70"/>
- <Column size="65"/>
- <Column size="65"/>
- <Column size="90"/>
- <Column size="80"/>
- <Column size="120"/>
- <Column size="64"/>
- <Column size="90"/>
- <Column size="90"/>
- <Column size="110"/>
- </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="지로은행구분"/>
- <Cell col="9" text="지로계좌번호"/>
- <Cell col="10" text="휴면여부"/>
- <Cell col="11" text="개설일자"/>
- <Cell col="12" text="종료일자"/>
- <Cell col="13" text="비고"/>
- </Band>
- <Band id="body">
- <Cell celltype="head"/>
- <Cell col="1" displaytype="combo" edittype="combo" style="align:center middle;" text="bind:bankflag" combodataset="ds_init_A00001" combocodecol="cdid" combodatacol="cdnm"/>
- <Cell col="2" displaytype="text" edittype="text" style="align:center middle;" text="bind:acntno"/>
- <Cell col="3" displaytype="text" edittype="text" style="align:center middle;" text="bind:openbranch" editautoselect="true"/>
- <Cell col="4" displaytype="combo" edittype="combo" style="align:center middle;" text="bind:acntflag" combodataset="ds_cmb_acntflag" combocodecol="value" combodatacol="label"/>
- <Cell col="5" displaytype="text" edittype="text" style="align:center middle;" text="bind:depor" editautoselect="true"/>
- <Cell col="6" displaytype="combo" edittype="combo" style="align:center middle;" text="bind:depokind" combodataset="ds_cmb_depokind" combocodecol="value" combodatacol="label"/>
- <Cell col="7" displaytype="text" edittype="text" style="align:center middle;" text="bind:giroaprvno" editautoselect="true"/>
- <Cell col="8" displaytype="combo" edittype="combo" style="align:center middle;" text="bind:girobankflag" combodataset="ds_init_A00001" combocodecol="cdid" combodatacol="cdnm"/>
- <Cell col="9" displaytype="text" edittype="text" style="align:center middle;" text="bind:girono" editautoselect="true"/>
- <Cell col="10" displaytype="combo" edittype="combo" style="align:center middle;" text="bind:dormncyyn" combodataset="ds_cmb_dormncyyn" combocodecol="value" combodatacol="label"/>
- <Cell col="11" displaytype="expr:utlf_isNull(opendd) ? 'nomal' : 'date'" edittype="date" text="bind:opendd" editautoselect="true"/>
- <Cell col="12" displaytype="expr:utlf_isNull(enddd) ? 'nomal' : 'date'" edittype="date" text="bind:enddd" editautoselect="true"/>
- <Cell col="13" displaytype="text" edittype="text" text="bind:cmt" editautoselect="true"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Static text="은행계좌관리" position="absolute 1 15 132 37" id="caption1" class="tit_2" anchor="default"/>
- <Shape position="absolute 0 31 1190 37" linetype="horizontal" id="line1" class="line_1" style="strokepen:3 solid #33bbbbff;" anchor="left top right"/>
- <Button position="absolute 1037 10 1090 29" id="button2" class="btn2" text="행추가" anchor="top right" onclick="group5_button2_onclick"/>
- <Button position="absolute 1147 10 1189 29" id="button3" class="btn5" text="저장" anchor="top right" onclick="group5_button3_onclick"/>
- <Button position="absolute 1092 10 1145 29" id="button1" class="btn2" text="행삭제" anchor="top right" onclick="group5_button1_onclick"/>
- </Layout>
- </Layouts>
- </Div>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_main_bankacntinfo_bankacntlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false" oncolumnchanged="ds_main_bankacntinfo_bankacntlist_oncolumnchanged">
- <ColumnInfo>
- <Column id="bankflag" type="STRING"/>
- <Column id="acntno" type="STRING"/>
- <Column id="openbranch" type="STRING"/>
- <Column id="acntflag" type="STRING"/>
- <Column id="depor" type="STRING"/>
- <Column id="depokind" type="STRING"/>
- <Column id="giroaprvno" type="STRING"/>
- <Column id="girobankflag" type="STRING"/>
- <Column id="girono" type="STRING"/>
- <Column id="dormncyyn" type="STRING"/>
- <Column id="opendd" type="STRING"/>
- <Column id="enddd" type="STRING"/>
- <Column id="cmt" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_A00001" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cdnm" type="STRING" size="256"/>
- <Column id="cdid" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_cmb_acntflag" 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">01</Col>
- </Row>
- <Row>
- <Col id="label">지로</Col>
- <Col id="value">02</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_cmb_depokind" 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">01</Col>
- </Row>
- <Row>
- <Col id="label">정기</Col>
- <Col id="value">02</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_A99999" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cdnm" type="STRING" size="256"/>
- <Column id="cdid" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_cmb_dormncyyn" 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">Y</Col>
- <Col id="value">Y</Col>
- </Row>
- <Row>
- <Col id="label">N</Col>
- <Col id="value">N</Col>
- </Row>
- </Rows>
- </Dataset>
- </Objects>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name :
- * Job Name :
- * Creator :
- * Make Date : 2015-11-13
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2015-11-13 Live Converter TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- include "com_commonxp::comm_main.xjs";
- include "emr_agonalcarexp::SMMNH00001.xjs";
- include "emr_agonalcarexp::SMMNH04100.xjs";
- function SMMNH04100_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj);
- }
- function SMMNH04100_onload(obj:Form, e:LoadEventInfo)
- {
- grdf_initGrid(group5.grd_bankacntlist);
- grdf_setRowTypeIcon(group5.grd_bankacntlist, 0);
-
- var arrParam = new Array();
- arrParam = [{dsNm: "ds_init_A00001", cdGrpId: "A00001", showValue: false}];
- fGetCodeList(arrParam, true);
-
- fInit();
- }
- function ds_main_bankacntinfo_bankacntlist_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
- {
- var acntflag = obj.getColumn(e.row, "acntflag");
- var dormncyyn = obj.getColumn(e.row, "dormncyyn");
-
- if(e.columnid == "dormncyyn")
- {
- if( dormncyyn == "Y" )
- {
- obj.setColumn(e.row, "enddd", utlf_getCurrentDate());
- }
- else if( dormncyyn == "N" )
- {
- obj.setColumn(e.row, "enddd", "");
- }
- }
-
-
- if( acntflag == "01" )
- {
- group5.grd_bankacntlist.setCellProperty("Body", 5, "edittype", "text");
- group5.grd_bankacntlist.setCellProperty("Body", 6, "edittype", "combo");
- group5.grd_bankacntlist.setCellProperty("Body", 7, "edittype", "none");
- group5.grd_bankacntlist.setCellProperty("Body", 8, "edittype", "none");
- group5.grd_bankacntlist.setCellProperty("Body", 9, "edittype", "none");
- }
- else if( acntflag == "02" )
- {
- group5.grd_bankacntlist.setCellProperty("Body", 5, "edittype", "none");
- group5.grd_bankacntlist.setCellProperty("Body", 6, "edittype", "none");
- group5.grd_bankacntlist.setCellProperty("Body", 7, "edittype", "normal");
- group5.grd_bankacntlist.setCellProperty("Body", 8, "edittype", "combo");
- group5.grd_bankacntlist.setCellProperty("Body", 9, "edittype", "normal");
- }
- }
- function group5_button2_onclick(obj:Button, e:ClickEventInfo)
- {
- ds_main_bankacntinfo_bankacntlist.addRow();
- group5.grd_bankacntlist.setCellProperty("Body", 1, "edittype", "combo");
- group5.grd_bankacntlist.setCellProperty("Body", 2, "edittype", "normal");
- }
- function group5_button1_onclick(obj:Button, e:ClickEventInfo)
- {
- var rowStatus = ds_main_bankacntinfo_bankacntlist.getRowType(ds_main_bankacntinfo_bankacntlist.rowposition);
-
- if(rowStatus == 2)
- {
- ds_main_bankacntinfo_bankacntlist.deleteRow(ds_main_bankacntinfo_bankacntlist.rowposition);
- }
- // else
- // {
- // var arrRow = new Array();
- // arrRow[0] = ds_main_bankacntinfo_bankacntlist.rowposition;
- // grdf_setStatus(group5.grd_bankacntlist, "D", arrRow);
- // }
- }
- function group5_button3_onclick(obj:Button, e:ClickEventInfo)
- {
- fSaveBankAcnt();
- }]]></Script>
- </Form>
- </FDL>
|