SMRAD02600_입금의뢰명세서(결재용).xfdl 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMRAD02600" position="absolute 0 0 1200 780" titletext="입금의뢰명세서(결재용)" oninit="SMRAD02600_oninit" onload="SMRAD02600_onload">
  5. <Layouts>
  6. <Layout>
  7. <Div position="absolute 0 0 1195 23" id="group1">
  8. <Layouts>
  9. <Layout>
  10. <Static text="입금의뢰명세서(결재용)" position="absolute 0 0 175 23" id="caption6" class="tit_1" anchor="default"/>
  11. </Layout>
  12. </Layouts>
  13. </Div>
  14. <Div position="absolute 0 40 1195 780" id="group2" scrollbars="autoboth">
  15. <Layouts>
  16. <Layout>
  17. <Grid position="absolute 190 155 1080 627" id="grd_grntpsn1" binddataset="ds_main_grnt_grntlist1">
  18. <Formats>
  19. <Format id="default">
  20. <Columns>
  21. <Column size="20" band="left"/>
  22. <Column size="55"/>
  23. <Column size="113"/>
  24. <Column size="91"/>
  25. <Column size="110"/>
  26. <Column size="167"/>
  27. <Column size="109"/>
  28. <Column size="192"/>
  29. <Column size="187"/>
  30. </Columns>
  31. <Rows>
  32. <Row size="24" band="head"/>
  33. <Row size="24"/>
  34. </Rows>
  35. <Band id="head">
  36. <Cell/>
  37. <Cell col="1" text="지출번호"/>
  38. <Cell col="2" text="업체명"/>
  39. <Cell col="3" text="성명"/>
  40. <Cell col="4" text="금융기관"/>
  41. <Cell col="5" text="계좌(지로)번호"/>
  42. <Cell col="6" text="금액"/>
  43. <Cell col="7" text="적요"/>
  44. <Cell col="8" text="비고"/>
  45. </Band>
  46. <Band id="body">
  47. <Cell celltype="head" expr="expr:currow + 1"/>
  48. <Cell col="1" text="bind:flagseq"/>
  49. <Cell col="2" text="bind:custnm"/>
  50. <Cell col="3" text="bind:bankman"/>
  51. <Cell col="4" text="bind:banknm"/>
  52. <Cell col="5" text="bind:bankno"/>
  53. <Cell col="6" displaytype="number" text="bind:amtgive" mask="#,###"/>
  54. <Cell col="7" text="bind:rmrk"/>
  55. <Cell col="8" text="bind:bigo"/>
  56. </Band>
  57. </Format>
  58. </Formats>
  59. </Grid>
  60. <Shape id="roundrect1" type="roundrectangle" position="absolute 0 10 1193 45"/>
  61. <Button position="absolute 1130 17 1186 39" id="btn_search" class="btn1" text="조회" onclick="group2_btn_search_onclick"/>
  62. <Shape position="absolute 1117 10 1123 44" linetype="vertical" id="line13" class="line_4"/>
  63. <Static text="소속기관 :" position="absolute 40 19 126 36" id="cap_payinst" class="search_name"/>
  64. <Combo position="absolute 121 18 246 37" id="cmb_instcd" class="combo_s_essential" enable="false"/>
  65. <Static text="작성일 :" position="absolute 291 18 366 35" id="caption22" class="search_name"/>
  66. <Calendar position="absolute 360 18 474 37" align="align:center middle;" id="ipt_payym" class="input_default" mask="yyyy-mm-dd" autoselect="true"/>
  67. <Static text="입금의뢰명세내역" position="absolute 0 53 209 69" id="caption28" class="tit_2"/>
  68. <Shape position="absolute 2 69 1192 75" linetype="horizontal" id="line193" class="line_10"/>
  69. <Button position="absolute 1122 46 1186 65" id="btn_savegrntpsn1excel" class="btn2" text="엑셀저장" onclick="group2_btn_savegrntpsn1excel_onclick"/>
  70. <Div id="group3" taborder="1" position="absolute 0 73 1195 740" style="background:white;"/>
  71. </Layout>
  72. </Layouts>
  73. </Div>
  74. <Div position="absolute 0 13 1195 38" id="grp_btn" scrollbars="autoboth"/>
  75. </Layout>
  76. </Layouts>
  77. <Objects>
  78. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  79. <ColumnInfo>
  80. <Column id="fromdd" type="STRING" size="256" sumtext="시작일자"/>
  81. <Column id="instcd" type="STRING" size="256" sumtext="기관코드"/>
  82. </ColumnInfo>
  83. <Rows>
  84. <Row/>
  85. </Rows>
  86. </Dataset>
  87. <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">
  88. <ColumnInfo>
  89. <Column id="gb" type="STRING" size="256" sumtext="구분"/>
  90. <Column id="gubun" type="STRING" size="256" sumtext="구분명"/>
  91. <Column id="ymdgive" type="STRING" size="256" sumtext="적용일자"/>
  92. <Column id="amtgive" type="STRING" size="256" sumtext="지급액"/>
  93. <Column id="custnm" type="STRING" size="256" sumtext="거래처"/>
  94. <Column id="rmrk" type="STRING" size="256" sumtext="적요"/>
  95. <Column id="banknm" type="STRING" size="256" sumtext="은행명"/>
  96. <Column id="bankno" type="STRING" size="256" sumtext="계좌번호"/>
  97. <Column id="bankman" type="STRING" size="256" sumtext="예금주"/>
  98. <Column id="flagseq" type="STRING" size="256" sumtext="지출번호"/>
  99. <Column id="title" type="STRING" size="256" sumtext="타이틀"/>
  100. <Column id="title2" type="STRING" size="256" sumtext="타이틀"/>
  101. <Column id="title3" type="STRING" size="256" sumtext="타이틀"/>
  102. <Column id="bigo" type="STRING" size="256" sumtext="비고"/>
  103. </ColumnInfo>
  104. </Dataset>
  105. </Objects>
  106. <Bind>
  107. <BindItem id="item0" compid="group2.cmb_instcd" propid="value" datasetid="ds_send" columnid="instcd"/>
  108. <BindItem id="item1" compid="group2.ipt_payym" propid="value" datasetid="ds_send" columnid="fromdd"/>
  109. </Bind>
  110. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  111. * System Name : 경대 의료정보시스템
  112. * Job Name : mis_slipxp -> SMRAD02600
  113. * Creator : yjh
  114. * Make Date : 2018-03-16
  115. * Description :
  116. *---------------------------------------------------------------------------------------
  117. * Modify Date Modifier Modify Description
  118. *---------------------------------------------------------------------------------------
  119. * 2018-03-16 yjh TF->XP
  120. *
  121. *---------------------------------------------------------------------------------------
  122. ****************************************************************************************/
  123. //=======================================================================================
  124. // Lib Include
  125. //---------------------------------------------------------------------------------------
  126. include "com_commonxp::comm_main.xjs";
  127. include "mis_miscommonxp::MIS.xjs";
  128. //=======================================================================================
  129. // Global Form Variable
  130. //---------------------------------------------------------------------------------------
  131. //=======================================================================================
  132. // Function
  133. //---------------------------------------------------------------------------------------
  134. //=======================================================================================
  135. // Event
  136. //---------------------------------------------------------------------------------------
  137. /****************************************************************************************
  138. * Components : Form
  139. * Components ID : SMRAD02600
  140. * Event : oninit
  141. * Argument : 01.obj : Object Event has occurred
  142. * : 02.e : Event Object
  143. * Description : 화면 처음 초기화시
  144. ****************************************************************************************/
  145. function SMRAD02600_oninit(obj:Form, e:InitEventInfo)
  146. {
  147. frmf_initForm(obj); //폼 초기화
  148. }
  149. /****************************************************************************************
  150. * Components : Form
  151. * Components ID : SMRAD02600
  152. * Event : onload
  153. * Argument : 01.obj : Object Event has occurred
  154. * : 02.e : Event Object
  155. * Description : 화면 로딩 완료시
  156. ****************************************************************************************/
  157. function SMRAD02600_onload(obj:Form, e:LoadEventInfo)
  158. {
  159. misfComboInstCdListMulti("group2.cmb_instcd",utlf_getCurrentDate(),"","N");
  160. //makeReportPreview(0,110,1195,650);
  161. var today = utlf_getCurrentDate();
  162. var cur_yymm = parseInt(today.substring(0, 6));
  163. ds_send.setColumn(0, "fromdd", today);
  164. group2.cmb_instcd.value = sysf_getUserInfo("dutplceinstcd");
  165. }
  166. /****************************************************************************************
  167. * Components : Button
  168. * Components ID : btn_search
  169. * Event : onclick
  170. * Argument : 01.obj : Object Event has occurred
  171. * : 02.e : Event Object
  172. * Description : 조회버튼 클릭시
  173. ****************************************************************************************/
  174. function group2_btn_search_onclick(obj:Button, e:ClickEventInfo)
  175. {
  176. var oParam = {};
  177. oParam.id = "TRRAD02601";
  178. oParam.service = "slipapp.AccBook";
  179. oParam.method = "reqGetIbkeumGyulList";
  180. oParam.inds = "req=ds_send";
  181. oParam.outds = "ds_main_grnt_grntlist1=grntlist1";
  182. oParam.async = false;
  183. //oParam.callback = "cf_TRRAD02601";
  184. tranf_submit(oParam);
  185. var objDOM = rptf_createDOM(); // DOM 객체 설정
  186. rptf_setNodeListToDOM(objDOM, "root/main/grnt/grntlist1", ds_main_grnt_grntlist1); // 데이터셋
  187. var objParam = new Object();
  188. objParam.xml_data_XML1 = objDOM.documentElement.source; // 최상의노드 XML 스트링 추출
  189. var option = "open=1;save=1;directprint=0;print=1;zoom=0;";
  190. rptf_exeReportPreview30(["RPRAD02601"],[objParam], option, "", "group2.group3");
  191. }
  192. /****************************************************************************************
  193. * Components : Dataset
  194. * Components ID : ds_main_grnt_grntlist1
  195. * Event : oncolumnchanged
  196. * Argument : 01.obj : Object Event has occurred
  197. * : 02.e : Event Object
  198. * Description : 데이터셋 값 변경시
  199. ****************************************************************************************/
  200. function ds_main_grnt_grntlist1_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
  201. {
  202. if (grd_grntpsn1.colAttribute(grd_grntpsn1.col,"ref") == "flag"){
  203. Maxseq();
  204. }
  205. }
  206. /****************************************************************************************
  207. * Components : Button
  208. * Components ID : btn_savegrntpsn1excel
  209. * Event : onclick
  210. * Argument : 01.obj : Object Event has occurred
  211. * : 02.e : Event Object
  212. * Description : 엑셀저장버튼 클릭시
  213. ****************************************************************************************/
  214. function group2_btn_savegrntpsn1excel_onclick(obj:Button, e:ClickEventInfo)
  215. {
  216. //if( group2.grd_grntpsn1.rowcount > 0 ){
  217. grdf_exportExcel(group2.grd_grntpsn1, "excel", "sheetname", false, "", "user", false);
  218. // } else {
  219. // sysf_messageBox("조회된 데이터가 ", "I004");
  220. // return;
  221. // }
  222. }
  223. ]]></Script>
  224. </Form>
  225. </FDL>