SPPAS00771_미수총괄표(NEW).xfdl 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262
  1. <?xml version="1.0" encoding="utf-8" standalone="no"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SPPAS00771" position="absolute 0 0 1200 784" titletext="미수총괄표" onload="SPPAS00771_onload">
  5. <Layouts>
  6. <Layout>
  7. <Div id="group2" position="absolute 0 23 1195 60" style="" class="div_SA">
  8. <Layouts>
  9. <Layout>
  10. <Button id="btn_search" class="btn1_letter2" position="absolute 1130 7 1186 29" style="" text="조회" onclick="group2_btn_search_onclick"/>
  11. <Shape id="line1" class="line_4" linetype="vertical" position="absolute 1120 6 1123 28" style="border: solid #ffe4bb #ffe4bb;" anchor="default"/>
  12. <Static id="caption4" class="search_name" position="absolute 10 10 101 27" style="" text="기간 :"/>
  13. <Calendar id="input1" position="absolute 102 9 207 28" style="" anchor="default"/>
  14. <Static id="caption1" position="absolute 210 11 230 26" style="align:center ;" text="~"/>
  15. <Calendar id="input2" position="absolute 230 9 335 28" style="" anchor="default"/>
  16. <Button id="button1" class="btn3_letter4" position="absolute 1035 7 1115 29" style="" text="엑셀출력" onclick="group2_button1_onclick"/>
  17. <Static id="caption3" class="search_name" position="absolute 370 10 445 27" style="" text="기준일:"/>
  18. <Calendar id="input3" position="absolute 445 9 530 28" style="" anchor="default"/>
  19. <Button id="button2" class="btn3_letter4" position="absolute 950 7 1030 29" style="" text="상세내역" onclick="group2_button2_onclick"/>
  20. </Layout>
  21. </Layouts>
  22. </Div>
  23. <Div id="group3" position="absolute 0 0 1195 25" style="">
  24. <Layouts>
  25. <Layout>
  26. <Static id="caption60" class="tit_1" position="absolute 0 0 183 23" style="align:left middle;font:Dotum,9,bold;" text="미수금 총괄표"/>
  27. </Layout>
  28. </Layouts>
  29. </Div>
  30. <Static id="caption2" class="tit_2" position="absolute 10 66 150 83" style="" text="미수총괄표"/>
  31. <Grid id="datagrid1" binddataset="ds_list_totunco" visible="false" position="absolute 220 85 1070 225" style="">
  32. <Formats>
  33. <Format id="default">
  34. <Columns>
  35. <Column size="80"/>
  36. <Column size="100"/>
  37. <Column size="100"/>
  38. <Column size="100"/>
  39. <Column size="100"/>
  40. <Column size="100"/>
  41. <Column size="100"/>
  42. <Column size="100"/>
  43. <Column size="100"/>
  44. <Column size="100"/>
  45. <Column size="100"/>
  46. <Column size="100"/>
  47. <Column size="100"/>
  48. <Column size="100"/>
  49. <Column size="100"/>
  50. <Column size="100"/>
  51. <Column size="100"/>
  52. <Column size="100"/>
  53. </Columns>
  54. <Rows>
  55. <Row size="24" band="head"/>
  56. <Row size="24"/>
  57. </Rows>
  58. <Band id="head">
  59. <Cell text="구분"/>
  60. <Cell col="1" text="1999까지"/>
  61. <Cell col="2" text="2000"/>
  62. <Cell col="3" text="2001"/>
  63. <Cell col="4" text="2002"/>
  64. <Cell col="5" text="2003"/>
  65. <Cell col="6" text="2004"/>
  66. <Cell col="7" text="2005"/>
  67. <Cell col="8" text="2006"/>
  68. <Cell col="9" text="2007"/>
  69. <Cell col="10" text="2008"/>
  70. <Cell col="11" text="2009"/>
  71. <Cell col="12" text="2010"/>
  72. <Cell col="13" text="2011"/>
  73. <Cell col="14" text="2012"/>
  74. <Cell col="15" text="2013"/>
  75. <Cell col="16" text="2014"/>
  76. <Cell col="17" text="합계"/>
  77. </Band>
  78. <Band id="body">
  79. <Cell text="bind:nm"/>
  80. <Cell col="1" text="bind:y99"/>
  81. <Cell col="2" text="bind:y00"/>
  82. <Cell col="3" text="bind:y01"/>
  83. <Cell col="4" text="bind:y02"/>
  84. <Cell col="5" text="bind:y03"/>
  85. <Cell col="6" text="bind:y04"/>
  86. <Cell col="7" text="bind:y05"/>
  87. <Cell col="8" text="bind:y06"/>
  88. <Cell col="9" text="bind:y07"/>
  89. <Cell col="10" text="bind:y08"/>
  90. <Cell col="11" text="bind:y09"/>
  91. <Cell col="12" text="bind:y10"/>
  92. <Cell col="13" text="bind:y11"/>
  93. <Cell col="14" text="bind:y12"/>
  94. <Cell col="15" text="bind:y13"/>
  95. <Cell col="16" text="bind:y14"/>
  96. <Cell col="17" text="bind:tot"/>
  97. </Band>
  98. </Format>
  99. </Formats>
  100. </Grid>
  101. <Tab id="switch1" position="absolute 7 85 1192 740" style="buttonbackground:stretch 10,10;background:white stretch 10,26;" anchor="default">
  102. <Tabpages>
  103. <Tabpage id="case1" anchor="default"/>
  104. </Tabpages>
  105. </Tab>
  106. <Div id="group1" position="absolute 5 760 1190 775" style=""/>
  107. </Layout>
  108. </Layouts>
  109. <Objects>
  110. <Dataset id="ds_list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  111. <ColumnInfo>
  112. <Column id="totunco" type="STRING" size="256"/>
  113. </ColumnInfo>
  114. <Rows>
  115. <Row>
  116. <Col id="totunco"/>
  117. </Row>
  118. </Rows>
  119. </Dataset>
  120. <Dataset id="ds_source" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  121. <ColumnInfo>
  122. <Column id="source" type="STRING" size="256"/>
  123. </ColumnInfo>
  124. <Rows>
  125. <Row>
  126. <Col id="source"/>
  127. </Row>
  128. </Rows>
  129. </Dataset>
  130. <Dataset id="ds_main" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  131. <ColumnInfo>
  132. <Column id="main" type="STRING" size="256"/>
  133. </ColumnInfo>
  134. <Rows>
  135. <Row>
  136. <Col id="main"/>
  137. </Row>
  138. </Rows>
  139. </Dataset>
  140. <Dataset id="ds_result" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  141. <ColumnInfo>
  142. <Column id="result" type="STRING" size="256"/>
  143. </ColumnInfo>
  144. <Rows>
  145. <Row>
  146. <Col id="result"/>
  147. </Row>
  148. </Rows>
  149. </Dataset>
  150. <Dataset id="ds_init" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  151. <ColumnInfo>
  152. <Column id="init" type="STRING" size="256"/>
  153. </ColumnInfo>
  154. </Dataset>
  155. <Dataset id="ds_temp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  156. <ColumnInfo>
  157. <Column id="temp" type="STRING" size="256"/>
  158. </ColumnInfo>
  159. <Rows>
  160. <Row>
  161. <Col id="temp"/>
  162. </Row>
  163. </Rows>
  164. </Dataset>
  165. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  166. <ColumnInfo>
  167. <Column id="fromdd" type="STRING" size="256"/>
  168. <Column id="todd" type="STRING" size="256"/>
  169. <Column id="condd" type="STRING" size="256"/>
  170. </ColumnInfo>
  171. <Rows>
  172. <Row>
  173. <Col id="fromdd"/>
  174. <Col id="todd"/>
  175. <Col id="condd"/>
  176. </Row>
  177. </Rows>
  178. </Dataset>
  179. </Objects>
  180. <Bind>
  181. <BindItem id="item0" compid="group2.input1" propid="value" datasetid="ds_send" columnid="fromdd"/>
  182. <BindItem id="item1" compid="group2.input2" propid="value" datasetid="ds_send" columnid="todd"/>
  183. <BindItem id="item2" compid="group2.input3" propid="value" datasetid="ds_send" columnid="condd"/>
  184. </Bind>
  185. <Script type="xscript4.0"><![CDATA[include 'com_commonxp::comm_main.xjs';
  186. include 'com_basiccodexp::ZBC001.xjs';
  187. include 'com_zipcodexp::ZBP001.xjs';
  188. include 'pam_outordamtmngtxp::SMPAO00100.xjs';
  189. function SPPAS00771_onload(obj:Form, e:LoadEventInfo) {
  190. frmf_initForm(obj);
  191. grdf_initGrid(this.datagrid1);
  192. //grdf_setGridSort(grd_XXX);
  193. //grdf_setRowTypeIcon(grd_XXX, 0_컬럼위치값);
  194. ds_send.setColumn( 0, "fromdd" , "19000101");
  195. ds_send.setColumn( 0, "todd" , utlf_getCurrentDate());
  196. ds_send.setColumn( 0, "condd" , utlf_getCurrentDate());
  197. //group2.btn_search.dispatch("DOMActivate");
  198. //model.refresh();
  199. }
  200. function group2_btn_search_onclick(obj:Button, e:ClickEventInfo) {
  201. //submit("TRPAS00851");
  202. var oParam = {};
  203. oParam.id = "TRPAS00851";
  204. oParam.service = "rcptteamstatsapp.rcptTeamOrdStats";
  205. oParam.method = "reqGetTotalUncoTable_New";
  206. oParam.inds = "req=ds_send";
  207. oParam.outds = "ds_list_totunco=totunco";
  208. oParam.async = false;
  209. oParam.callback = "cf_TRPAS00851";
  210. tranf_submit(oParam);
  211. //exeReportPreview("RPPAS00780", "XMLSTR", "","","false", "", "", "", "", "false", "", "switch1.case1");
  212. var objDOM = rptf_createDOM();
  213. var objParam = new Object();
  214. rptf_setNodeListToDOM(objDOM, "root/list/totunco" , ds_list_totunco);
  215. objParam.xml_data_XML1 = objDOM.documentElement.source;
  216. var option = "open=1;save=1;directprint=0;printdialog=1;print=1;zoom=0";
  217. rptf_exeReportPreview30(["RPPAS00780"],[objParam], option);
  218. }
  219. function group2_button1_onclick(obj:Button, e:ClickEventInfo) {
  220. if(ds_list_totunco.rowcount< 1 ){
  221. // submit("TRPAS00851");
  222. var oParam = {};
  223. oParam.id = "TRPAS00851";
  224. oParam.service = "rcptteamstatsapp.rcptTeamOrdStats";
  225. oParam.method = "reqGetTotalUncoTable_New";
  226. oParam.inds = "req=ds_send";
  227. oParam.outds = "ds_list_totunco=totunco";
  228. oParam.async = false;
  229. tranf_submit(oParam);
  230. }
  231. //var fileName = window.fileDialog("save", ",", false, "미수총괄표", "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
  232. //if(fileName != ""){
  233. //datagrid1.saveExcel(fileName, "SheetName", false, false, "", "", "false");
  234. grdf_exportExcel(datagrid1, "Sheet1", "미수총괄표", false, "" , 'user' , true);
  235. //}
  236. }
  237. function group2_button2_onclick(obj:Button, e:ClickEventInfo) {
  238. frmf_open("SPPAS00721", "SPPAS00721", "", "", "", "", "", "", "", "", "", "", "M");
  239. // frmf_open("SPPAS00721", "", ""-"", "", "2", "200", "", "", "", "width:840px; height:950px; caption:visible; resize:false;", "", "", "M");
  240. }
  241. ]]></Script>
  242. </Form>
  243. </FDL>