SMMNH04100_은행계좌관리.xfdl 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMMNH04100" position="absolute 0 0 1204 636" titletext="은행계좌관리" oninit="SMMNH04100_oninit" onload="SMMNH04100_onload">
  5. <Layouts>
  6. <Layout>
  7. <Div position="absolute 0 0 1195 627" id="group5" anchor="all">
  8. <Layouts>
  9. <Layout>
  10. <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">
  11. <Formats>
  12. <Format id="default">
  13. <Columns>
  14. <Column size="23" band="left"/>
  15. <Column size="80"/>
  16. <Column size="120"/>
  17. <Column size="85"/>
  18. <Column size="70"/>
  19. <Column size="65"/>
  20. <Column size="65"/>
  21. <Column size="90"/>
  22. <Column size="80"/>
  23. <Column size="120"/>
  24. <Column size="64"/>
  25. <Column size="90"/>
  26. <Column size="90"/>
  27. <Column size="110"/>
  28. </Columns>
  29. <Rows>
  30. <Row size="24" band="head"/>
  31. <Row size="24"/>
  32. </Rows>
  33. <Band id="head">
  34. <Cell/>
  35. <Cell col="1" text="은행구분"/>
  36. <Cell col="2" text="계좌번호(지로번호)"/>
  37. <Cell col="3" text="개설지점"/>
  38. <Cell col="4" text="구분"/>
  39. <Cell col="5" text="예금주명"/>
  40. <Cell col="6" text="예금종류"/>
  41. <Cell col="7" text="지로승인번호"/>
  42. <Cell col="8" text="지로은행구분"/>
  43. <Cell col="9" text="지로계좌번호"/>
  44. <Cell col="10" text="휴면여부"/>
  45. <Cell col="11" text="개설일자"/>
  46. <Cell col="12" text="종료일자"/>
  47. <Cell col="13" text="비고"/>
  48. </Band>
  49. <Band id="body">
  50. <Cell celltype="head"/>
  51. <Cell col="1" displaytype="combo" edittype="combo" style="align:center middle;" text="bind:bankflag" combodataset="ds_init_A00001" combocodecol="cdid" combodatacol="cdnm"/>
  52. <Cell col="2" displaytype="text" edittype="text" style="align:center middle;" text="bind:acntno"/>
  53. <Cell col="3" displaytype="text" edittype="text" style="align:center middle;" text="bind:openbranch" editautoselect="true"/>
  54. <Cell col="4" displaytype="combo" edittype="combo" style="align:center middle;" text="bind:acntflag" combodataset="ds_cmb_acntflag" combocodecol="value" combodatacol="label"/>
  55. <Cell col="5" displaytype="text" edittype="text" style="align:center middle;" text="bind:depor" editautoselect="true"/>
  56. <Cell col="6" displaytype="combo" edittype="combo" style="align:center middle;" text="bind:depokind" combodataset="ds_cmb_depokind" combocodecol="value" combodatacol="label"/>
  57. <Cell col="7" displaytype="text" edittype="text" style="align:center middle;" text="bind:giroaprvno" editautoselect="true"/>
  58. <Cell col="8" displaytype="combo" edittype="combo" style="align:center middle;" text="bind:girobankflag" combodataset="ds_init_A00001" combocodecol="cdid" combodatacol="cdnm"/>
  59. <Cell col="9" displaytype="text" edittype="text" style="align:center middle;" text="bind:girono" editautoselect="true"/>
  60. <Cell col="10" displaytype="combo" edittype="combo" style="align:center middle;" text="bind:dormncyyn" combodataset="ds_cmb_dormncyyn" combocodecol="value" combodatacol="label"/>
  61. <Cell col="11" displaytype="expr:utlf_isNull(opendd) ? 'nomal' : 'date'" edittype="date" text="bind:opendd" editautoselect="true"/>
  62. <Cell col="12" displaytype="expr:utlf_isNull(enddd) ? 'nomal' : 'date'" edittype="date" text="bind:enddd" editautoselect="true"/>
  63. <Cell col="13" displaytype="text" edittype="text" text="bind:cmt" editautoselect="true"/>
  64. </Band>
  65. </Format>
  66. </Formats>
  67. </Grid>
  68. <Static text="은행계좌관리" position="absolute 1 15 132 37" id="caption1" class="tit_2" anchor="default"/>
  69. <Shape position="absolute 0 31 1190 37" linetype="horizontal" id="line1" class="line_1" style="strokepen:3 solid #33bbbbff;" anchor="left top right"/>
  70. <Button position="absolute 1037 10 1090 29" id="button2" class="btn2" text="행추가" anchor="top right" onclick="group5_button2_onclick"/>
  71. <Button position="absolute 1147 10 1189 29" id="button3" class="btn5" text="저장" anchor="top right" onclick="group5_button3_onclick"/>
  72. <Button position="absolute 1092 10 1145 29" id="button1" class="btn2" text="행삭제" anchor="top right" onclick="group5_button1_onclick"/>
  73. </Layout>
  74. </Layouts>
  75. </Div>
  76. </Layout>
  77. </Layouts>
  78. <Objects>
  79. <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">
  80. <ColumnInfo>
  81. <Column id="bankflag" type="STRING"/>
  82. <Column id="acntno" type="STRING"/>
  83. <Column id="openbranch" type="STRING"/>
  84. <Column id="acntflag" type="STRING"/>
  85. <Column id="depor" type="STRING"/>
  86. <Column id="depokind" type="STRING"/>
  87. <Column id="giroaprvno" type="STRING"/>
  88. <Column id="girobankflag" type="STRING"/>
  89. <Column id="girono" type="STRING"/>
  90. <Column id="dormncyyn" type="STRING"/>
  91. <Column id="opendd" type="STRING"/>
  92. <Column id="enddd" type="STRING"/>
  93. <Column id="cmt" type="STRING"/>
  94. </ColumnInfo>
  95. </Dataset>
  96. <Dataset id="ds_init_A00001" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  97. <ColumnInfo>
  98. <Column id="cdnm" type="STRING" size="256"/>
  99. <Column id="cdid" type="STRING" size="256"/>
  100. </ColumnInfo>
  101. </Dataset>
  102. <Dataset id="ds_cmb_acntflag" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  103. <ColumnInfo>
  104. <Column id="label" type="STRING" size="256"/>
  105. <Column id="value" type="STRING" size="256"/>
  106. </ColumnInfo>
  107. <Rows>
  108. <Row>
  109. <Col id="label">계좌</Col>
  110. <Col id="value">01</Col>
  111. </Row>
  112. <Row>
  113. <Col id="label">지로</Col>
  114. <Col id="value">02</Col>
  115. </Row>
  116. </Rows>
  117. </Dataset>
  118. <Dataset id="ds_cmb_depokind" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  119. <ColumnInfo>
  120. <Column id="label" type="STRING" size="256"/>
  121. <Column id="value" type="STRING" size="256"/>
  122. </ColumnInfo>
  123. <Rows>
  124. <Row>
  125. <Col id="label">보통</Col>
  126. <Col id="value">01</Col>
  127. </Row>
  128. <Row>
  129. <Col id="label">정기</Col>
  130. <Col id="value">02</Col>
  131. </Row>
  132. </Rows>
  133. </Dataset>
  134. <Dataset id="ds_init_A99999" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  135. <ColumnInfo>
  136. <Column id="cdnm" type="STRING" size="256"/>
  137. <Column id="cdid" type="STRING" size="256"/>
  138. </ColumnInfo>
  139. </Dataset>
  140. <Dataset id="ds_cmb_dormncyyn" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  141. <ColumnInfo>
  142. <Column id="label" type="STRING" size="256"/>
  143. <Column id="value" type="STRING" size="256"/>
  144. </ColumnInfo>
  145. <Rows>
  146. <Row>
  147. <Col id="label">Y</Col>
  148. <Col id="value">Y</Col>
  149. </Row>
  150. <Row>
  151. <Col id="label">N</Col>
  152. <Col id="value">N</Col>
  153. </Row>
  154. </Rows>
  155. </Dataset>
  156. </Objects>
  157. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  158. * System Name :
  159. * Job Name :
  160. * Creator :
  161. * Make Date : 2015-11-13
  162. * Description :
  163. *---------------------------------------------------------------------------------------
  164. * Modify Date Modifier Modify Description
  165. *---------------------------------------------------------------------------------------
  166. * 2015-11-13 Live Converter TF->XP
  167. *
  168. *---------------------------------------------------------------------------------------
  169. ****************************************************************************************/
  170. include "com_commonxp::comm_main.xjs";
  171. include "emr_agonalcarexp::SMMNH00001.xjs";
  172. include "emr_agonalcarexp::SMMNH04100.xjs";
  173. function SMMNH04100_oninit(obj:Form, e:InitEventInfo)
  174. {
  175. frmf_initForm(obj);
  176. }
  177. function SMMNH04100_onload(obj:Form, e:LoadEventInfo)
  178. {
  179. grdf_initGrid(group5.grd_bankacntlist);
  180. grdf_setRowTypeIcon(group5.grd_bankacntlist, 0);
  181. var arrParam = new Array();
  182. arrParam = [{dsNm: "ds_init_A00001", cdGrpId: "A00001", showValue: false}];
  183. fGetCodeList(arrParam, true);
  184. fInit();
  185. }
  186. function ds_main_bankacntinfo_bankacntlist_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
  187. {
  188. var acntflag = obj.getColumn(e.row, "acntflag");
  189. var dormncyyn = obj.getColumn(e.row, "dormncyyn");
  190. if(e.columnid == "dormncyyn")
  191. {
  192. if( dormncyyn == "Y" )
  193. {
  194. obj.setColumn(e.row, "enddd", utlf_getCurrentDate());
  195. }
  196. else if( dormncyyn == "N" )
  197. {
  198. obj.setColumn(e.row, "enddd", "");
  199. }
  200. }
  201. if( acntflag == "01" )
  202. {
  203. group5.grd_bankacntlist.setCellProperty("Body", 5, "edittype", "text");
  204. group5.grd_bankacntlist.setCellProperty("Body", 6, "edittype", "combo");
  205. group5.grd_bankacntlist.setCellProperty("Body", 7, "edittype", "none");
  206. group5.grd_bankacntlist.setCellProperty("Body", 8, "edittype", "none");
  207. group5.grd_bankacntlist.setCellProperty("Body", 9, "edittype", "none");
  208. }
  209. else if( acntflag == "02" )
  210. {
  211. group5.grd_bankacntlist.setCellProperty("Body", 5, "edittype", "none");
  212. group5.grd_bankacntlist.setCellProperty("Body", 6, "edittype", "none");
  213. group5.grd_bankacntlist.setCellProperty("Body", 7, "edittype", "normal");
  214. group5.grd_bankacntlist.setCellProperty("Body", 8, "edittype", "combo");
  215. group5.grd_bankacntlist.setCellProperty("Body", 9, "edittype", "normal");
  216. }
  217. }
  218. function group5_button2_onclick(obj:Button, e:ClickEventInfo)
  219. {
  220. ds_main_bankacntinfo_bankacntlist.addRow();
  221. group5.grd_bankacntlist.setCellProperty("Body", 1, "edittype", "combo");
  222. group5.grd_bankacntlist.setCellProperty("Body", 2, "edittype", "normal");
  223. }
  224. function group5_button1_onclick(obj:Button, e:ClickEventInfo)
  225. {
  226. var rowStatus = ds_main_bankacntinfo_bankacntlist.getRowType(ds_main_bankacntinfo_bankacntlist.rowposition);
  227. if(rowStatus == 2)
  228. {
  229. ds_main_bankacntinfo_bankacntlist.deleteRow(ds_main_bankacntinfo_bankacntlist.rowposition);
  230. }
  231. // else
  232. // {
  233. // var arrRow = new Array();
  234. // arrRow[0] = ds_main_bankacntinfo_bankacntlist.rowposition;
  235. // grdf_setStatus(group5.grd_bankacntlist, "D", arrRow);
  236. // }
  237. }
  238. function group5_button3_onclick(obj:Button, e:ClickEventInfo)
  239. {
  240. fSaveBankAcnt();
  241. }]]></Script>
  242. </Form>
  243. </FDL>