SMRAD03100_대금지급내역부출력.xfdl 8.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMRAD03100" position="absolute 0 0 1196 800" titletext="대금지급내역부출력" onload="SMRAD03100_onload">
  5. <Layouts>
  6. <Layout>
  7. <Div id="grp_sea" anchor="left top right" taborder="8" class="div_SA" position="absolute 0 25 1195 65"/>
  8. <Static id="caption6" text="대금지급내역부출력" class="tit_1" position="absolute 0 0 160 25"/>
  9. <Static id="cap_payinst" text="소속기관:" class="search_name" position="absolute 15 37 101 54"/>
  10. <Combo id="cmb_instcd" taborder="2" class="combo_essential" enable="false" position="absolute 96 36 221 55"/>
  11. <Static id="caption22" text="회계년도:" class="search_name" position="absolute 266 37 347 54"/>
  12. <Calendar id="ipt_payym" taborder="3" class="input_default" position="absolute 350 36 435 55" mask="yyyy-mm-dd" dateformat="yyyy-MM" value="null" editformat="yyyy-MM" onkillfocus="ipt_payym_onkillfocus"/>
  13. <Static id="caption28" text="대금지급내역" class="tit_2" position="absolute 0 73 209 91"/>
  14. <Calendar id="input1" taborder="4" class="input_default" position="absolute 456 36 541 55" mask="yyyy-mm-dd" dateformat="yyyy-MM" editformat="yyyy-MM" onkillfocus="input1_onkillfocus"/>
  15. <Static id="caption1" text="~" position="absolute 441 36 456 56"/>
  16. <Static id="caption3" text="계정과목:" class="search_name" position="absolute 640 37 724 54"/>
  17. <Combo id="combo2" taborder="5" innerdataset="@ds_init_combo3_acntcmb" codecolumn="acntcd" datacolumn="acntnm" position="absolute 725 36 840 55"/>
  18. <Static id="caption4" text="~" position="absolute 845 36 860 56"/>
  19. <Combo id="combo3" taborder="6" innerdataset="@ds_init_combo3_acntcmb" codecolumn="acntcd" datacolumn="acntnm" position="absolute 865 36 980 55"/>
  20. <Button id="btn_search00" taborder="7" text="조회" onclick="btn_search_onclick" class="btn1" position="absolute 1130 34 1186 56" anchor="right"/>
  21. <Shape id="line00" linetype="vertical" class="line_4" position="absolute 1117 32 1123 58" anchor="right"/>
  22. <Shape id="line1" class="line_10" position="absolute 0 89 1195 95" anchor="left top right"/>
  23. <Div id="grp_main" anchor="all" taborder="9" scrollbars="none" position="absolute 2 94 1194 799"/>
  24. </Layout>
  25. </Layouts>
  26. <Objects>
  27. <Dataset id="ds_main_grnt_grntlist1" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep"/>
  28. <Dataset id="ds_hidden" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  29. <ColumnInfo>
  30. <Column id="hidden" type="STRING" size="256"/>
  31. </ColumnInfo>
  32. </Dataset>
  33. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  34. <ColumnInfo>
  35. <Column id="fromdd" type="STRING" size="256"/>
  36. <Column id="todd" type="STRING" size="256"/>
  37. <Column id="instcd" type="STRING" size="256"/>
  38. <Column id="acntcd" type="STRING" size="256"/>
  39. <Column id="fromacntcd" type="STRING" size="256"/>
  40. <Column id="toacntcd" type="STRING" size="256"/>
  41. </ColumnInfo>
  42. <Rows>
  43. <Row>
  44. <Col id="fromdd"/>
  45. <Col id="todd"/>
  46. <Col id="instcd"/>
  47. <Col id="acntcd"/>
  48. <Col id="fromacntcd"/>
  49. <Col id="toacntcd"/>
  50. </Row>
  51. </Rows>
  52. </Dataset>
  53. <Dataset id="ds_init_combo3_acntcmb" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  54. <ColumnInfo>
  55. <Column id="acntcd" type="STRING" size="256"/>
  56. <Column id="acntnm" type="STRING" size="256"/>
  57. </ColumnInfo>
  58. </Dataset>
  59. </Objects>
  60. <Bind>
  61. <BindItem id="item0" compid="cmb_instcd" propid="value" datasetid="ds_send" columnid="instcd"/>
  62. <BindItem id="item1" compid="ipt_payym" propid="value" datasetid="ds_send" columnid="fromdd"/>
  63. <BindItem id="item2" compid="input1" propid="value" datasetid="ds_send" columnid="todd"/>
  64. <BindItem id="item3" compid="combo2" propid="value" datasetid="ds_send" columnid="fromacntcd"/>
  65. <BindItem id="item4" compid="combo3" propid="value" datasetid="ds_send" columnid="toacntcd"/>
  66. </Bind>
  67. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  68. * System Name :
  69. * Job Name :
  70. * Creator :
  71. * Make Date : 2017-12-04
  72. * Description :
  73. *---------------------------------------------------------------------------------------
  74. * Modify Date Modifier Modify Description
  75. *---------------------------------------------------------------------------------------
  76. * 2017-06-19 Live Converter TF->XP
  77. *
  78. *---------------------------------------------------------------------------------------
  79. ****************************************************************************************/
  80. //=======================================================================================
  81. // Lib Include
  82. //---------------------------------------------------------------------------------------
  83. include "com_commonxp::comm_main.xjs";
  84. include "mis_miscommonxp::MIS.xjs";
  85. include "mis_paybaseinfomngtxp::RWC001.xjs";
  86. include "mis_humtrafactmngtxp::RPB001.xjs";
  87. //=======================================================================================
  88. // Global Form Variable
  89. //---------------------------------------------------------------------------------------
  90. var arErrorCode = new HashArray();
  91. //=======================================================================================
  92. // Function
  93. //---------------------------------------------------------------------------------------
  94. /*-**************************************************************************************
  95. * Argument : N/A
  96. * Description :
  97. ****************************************************************************************/
  98. //=======================================================================================
  99. // Event
  100. //---------------------------------------------------------------------------------------
  101. /****************************************************************************************
  102. * Components : Form
  103. * Description : 화면 처음 초기화시 폼초기화
  104. ****************************************************************************************/
  105. function SMRAD03100_onload(obj:Form, e:LoadEventInfo)
  106. {
  107. frmf_initForm(obj);
  108. misfComboInstCdListMulti("cmb_instcd",utlf_getCurrentDate(),"","N");
  109. var today = utlf_getCurrentDate();
  110. //var cur_yymm = parseInt(today.substring(0, 6));
  111. ds_send.setColumn(0, "fromdd", today);
  112. ds_send.setColumn(0, "todd", today);
  113. var oParam = {};
  114. oParam.id = "TRRAD01504";
  115. oParam.service = "slipapp.AccBook";
  116. oParam.method = "reqGetAcntcdAllList";
  117. oParam.inds = "req=ds_send";
  118. oParam.outds = "ds_init_combo3_acntcmb=acntcmb";
  119. oParam.async = false;
  120. //oParam.callback = "cf_TRRAD01504";
  121. tranf_submit(oParam);
  122. cmb_instcd.value = sysf_getUserInfo("dutplceinstcd");
  123. }
  124. /****************************************************************************************
  125. * Components : Button
  126. * Description : 조회
  127. ****************************************************************************************/
  128. function btn_search_onclick(obj:Button, e:ClickEventInfo)
  129. {
  130. var oParam = {};
  131. oParam.id = "TRRAD03101";
  132. oParam.service = "slipapp.AccBook";
  133. oParam.method = "reqGetDaekeumList";
  134. oParam.inds = "req=ds_send";
  135. oParam.outds = "ds_main_grnt_grntlist1=grntlist1";
  136. oParam.async = false;
  137. //oParam.callback = "cf_TRRAD03101";
  138. tranf_submit(oParam);
  139. var objDOM = rptf_createDOM();
  140. var objParam = new Object();
  141. rptf_setNodeListToDOM(objDOM, "/root/main/grnt/grntlist1" , ds_main_grnt_grntlist1);
  142. objParam.xml_data_XML1 = objDOM.documentElement.source;
  143. var option = "open=1;save=1;directprint=0;printdialog=1;print=1;zoom=0";
  144. rptf_exeReportPreview30(["RPRAD03101"],[objParam], option, "", "grp_main");
  145. }
  146. function ipt_payym_onkillfocus(obj:Calendar, e:KillFocusEventInfo)
  147. {
  148. ds_send.setColumn(0, "fromdd", obj.text);
  149. }
  150. function input1_onkillfocus(obj:Calendar, e:KillFocusEventInfo)
  151. {
  152. ds_send.setColumn(0, "todd", obj.text);
  153. }
  154. ]]></Script>
  155. </Form>
  156. </FDL>