SMRIS00700_월별수익현황.xfdl 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170
  1. <?xml version="1.0" encoding="utf-8" standalone="no"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMRIS00700" position="absolute 0 0 1208 818" titletext="과제관리" onload="SMRIS00700_onload">
  5. <Layouts>
  6. <Layout>
  7. <Div id="group3" position="absolute 0 26 1205 66" style="align: top;" class="div_SA" anchor="left top right">
  8. <Layouts>
  9. <Layout>
  10. <Button id="btn_search" class="btn3" position="absolute 1137 10 1196 29" style="" text="조회" onclick="group3_btn_search_onclick" anchor="top right"/>
  11. <Static id="caption1" position="absolute 180 10 192 30" style="font:,,bold;" text="~" anchor="left top"/>
  12. <Static id="caption2" position="absolute 13 10 96 30" style="" text="조회기간" anchor="left top" class="search_name"/>
  13. <cp_monthCal id="cp_monthCal00" titletext="monthCalendar" taborder="1" text="cp_monthCal00" scrollbars="none" position="absolute 98 10 173 30" anchor="left top"/>
  14. <cp_monthCal id="cp_monthCal01" titletext="monthCalendar" taborder="2" text="cp_monthCal01" scrollbars="none" position="absolute 195 11 270 31" anchor="left top"/>
  15. </Layout>
  16. </Layouts>
  17. </Div>
  18. <Grid id="grd_monthlyprofit" binddataset="ds_main_profitlist" position="absolute 0 70 1205 814" style="" anchor="all" cellsizingtype="both" cellmovingtype="col" autofittype="col" autosizebandtype="body" cellsizebandtype="allband" extendsizetype="both">
  19. <Formats>
  20. <Format id="default">
  21. <Columns>
  22. <Column size="40" band="left"/>
  23. <Column size="65"/>
  24. <Column size="90"/>
  25. <Column size="85"/>
  26. <Column size="140"/>
  27. <Column size="100"/>
  28. <Column size="100"/>
  29. <Column size="85"/>
  30. <Column size="140"/>
  31. <Column size="90"/>
  32. <Column size="153"/>
  33. <Column size="113"/>
  34. </Columns>
  35. <Rows>
  36. <Row size="24" band="head"/>
  37. <Row size="24" band="head"/>
  38. <Row size="24"/>
  39. </Rows>
  40. <Band id="head">
  41. <Cell rowspan="2" taborder="undefined"/>
  42. <Cell col="1" rowspan="2" text="월" taborder="undefined"/>
  43. <Cell col="2" rowspan="2" text="입금일" taborder="undefined"/>
  44. <Cell col="3" rowspan="2" text="연구책임자" taborder="undefined"/>
  45. <Cell col="4" rowspan="2" text="연구의뢰사" taborder="undefined"/>
  46. <Cell col="5" rowspan="2" text="수익액" taborder="undefined"/>
  47. <Cell col="6" rowspan="2" text="직접비" taborder="undefined"/>
  48. <Cell col="7" colspan="3" text="간접비" taborder="undefined"/>
  49. <Cell col="10" rowspan="2" text="연구과제명" taborder="undefined"/>
  50. <Cell col="11" rowspan="2" text="비고" taborder="undefined"/>
  51. <Cell col="12" text="월"/>
  52. <Cell col="13" text="입금일"/>
  53. <Cell col="14" text="연구책임자"/>
  54. <Cell col="15" text="연구의뢰사"/>
  55. <Cell col="16" text="수익액"/>
  56. <Cell col="17" text="직접비"/>
  57. <Cell col="18" text="일반관리비"/>
  58. <Cell col="19" text="약제_의료기기관리비"/>
  59. <Cell col="20" text="계"/>
  60. <Cell col="21" text="연구과제명"/>
  61. <Cell col="22" text="비고"/>
  62. <Cell row="1" col="7" text="일반관리비"/>
  63. <Cell row="1" col="8" text="약제_의료기기관리비"/>
  64. <Cell row="1" col="9" text="계"/>
  65. </Band>
  66. <Band id="body">
  67. <Cell celltype="head" expr="currow + 1"/>
  68. <Cell col="1" displaytype="expr:mon == '소계' ? 'normal' : mon == '합계' ? 'normal' : 'date'" style="background:EXPR(mon == '소계' ? '#FFFFDA' : mon == '합계' ? '#FFBBFF' : 'default');background2:EXPR(mon == '소계' ? '#FFFFDA' : mon == '합계' ? '#FFBBFF' : 'default');" text="bind:mon" mask="expr:mon == '소계' ? '' : mon == '합계' ? '' : 'yyyy-MM'" suppress="1" suppressalign="middle,over"/>
  69. <Cell col="2" displaytype="expr:mon == '소계' ? 'normal' : mon == '합계' ? 'normal' : 'date'" style="background:EXPR(mon == '소계' ? '#FFFFDA' : mon == '합계' ? '#FFBBFF' : 'default');background2:EXPR(mon == '소계' ? '#FFFFDA' : mon == '합계' ? '#FFBBFF' : 'default');" text="bind:bsdd" suppress="0"/>
  70. <Cell col="3" style="background:EXPR(mon == '소계' ? '#FFFFDA' : mon == '합계' ? '#FFBBFF' : 'default');background2:EXPR(mon == '소계' ? '#FFFFDA' : mon == '합계' ? '#FFBBFF' : 'default');" text="bind:hngnm" suppress="0"/>
  71. <Cell col="4" style="align:left middle;background:EXPR(mon == '소계' ? '#FFFFDA' : mon == '합계' ? '#FFBBFF' : 'default');background2:EXPR(mon == '소계' ? '#FFFFDA' : mon == '합계' ? '#FFBBFF' : 'default');" text="bind:reqfirm" suppress="0"/>
  72. <Cell col="5" displaytype="number" style="background:EXPR(mon == '소계' ? '#FFFFDA' : mon == '합계' ? '#FFBBFF' : 'default');background2:EXPR(mon == '소계' ? '#FFFFDA' : mon == '합계' ? '#FFBBFF' : 'default');" text="bind:inamt" suppress="0"/>
  73. <Cell col="6" displaytype="number" style="background:EXPR(mon == '소계' ? '#FFFFDA' : mon == '합계' ? '#FFBBFF' : 'default');background2:EXPR(mon == '소계' ? '#FFFFDA' : mon == '합계' ? '#FFBBFF' : 'default');" text="bind:drctamt" suppress="0"/>
  74. <Cell col="7" displaytype="number" style="background:EXPR(mon == '소계' ? '#FFFFDA' : mon == '합계' ? '#FFBBFF' : 'default');background2:EXPR(mon == '소계' ? '#FFFFDA' : mon == '합계' ? '#FFBBFF' : 'default');" text="bind:icmmnamt" suppress="0"/>
  75. <Cell col="8" displaytype="number" style="background:EXPR(mon == '소계' ? '#FFFFDA' : mon == '합계' ? '#FFBBFF' : 'default');background2:EXPR(mon == '소계' ? '#FFFFDA' : mon == '합계' ? '#FFBBFF' : 'default');" text="bind:idrugamt" suppress="0"/>
  76. <Cell col="9" displaytype="number" style="background:EXPR(mon == '소계' ? '#FFFFDA' : mon == '합계' ? '#FFBBFF' : 'default');background2:EXPR(mon == '소계' ? '#FFFFDA' : mon == '합계' ? '#FFBBFF' : 'default');" text="bind:indramt" suppress="0"/>
  77. <Cell col="10" style="align:left top;background:EXPR(mon == '소계' ? '#FFFFDA' : mon == '합계' ? '#FFBBFF' : 'default');background2:EXPR(mon == '소계' ? '#FFFFDA' : mon == '합계' ? '#FFBBFF' : 'default');" text="bind:projnm" wordwrap="word" suppress="0"/>
  78. <Cell col="11" displaytype="text" style="align:left top;background:EXPR(mon == '소계' ? '#FFFFDA' : mon == '합계' ? '#FFBBFF' : 'default');background2:EXPR(mon == '소계' ? '#FFFFDA' : mon == '합계' ? '#FFBBFF' : 'default');" text="bind:bigo" wordwrap="word" suppress="0"/>
  79. </Band>
  80. </Format>
  81. </Formats>
  82. </Grid>
  83. <Static id="caption10" text="월별 수익현황" class="tit_1" position="absolute 0 0 160 26"/>
  84. </Layout>
  85. </Layouts>
  86. <Objects>
  87. <Dataset id="ds_main_profitlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  88. <ColumnInfo>
  89. <Column id="mon" type="STRING" size="256"/>
  90. <Column id="bsdd" type="STRING" size="256"/>
  91. <Column id="rshid" type="STRING" size="256"/>
  92. <Column id="reqfirm" type="STRING" size="256"/>
  93. <Column id="inamt" type="STRING" size="256"/>
  94. <Column id="drctamt" type="STRING" size="256"/>
  95. <Column id="indramt" type="STRING" size="256"/>
  96. <Column id="idrugamt" type="STRING" size="256"/>
  97. <Column id="icmmnamt" type="STRING" size="256"/>
  98. <Column id="projnm" type="STRING" size="256"/>
  99. </ColumnInfo>
  100. </Dataset>
  101. <Dataset id="ds_send_reqdata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  102. <ColumnInfo>
  103. <Column id="bsddfrom" type="STRING" size="256"/>
  104. <Column id="bsddto" type="STRING" size="256"/>
  105. </ColumnInfo>
  106. <Rows>
  107. <Row>
  108. <Col id="bsddfrom"/>
  109. <Col id="bsddto"/>
  110. </Row>
  111. </Rows>
  112. </Dataset>
  113. </Objects>
  114. <Bind/>
  115. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  116. * System Name :
  117. * Job Name :
  118. * Creator :
  119. * Make Date : 2017-01-10
  120. * Description :
  121. *---------------------------------------------------------------------------------------
  122. * Modify Date Modifier Modify Description
  123. *---------------------------------------------------------------------------------------
  124. * 2018-01-10 Live Converter TF->XP
  125. *
  126. *---------------------------------------------------------------------------------------
  127. ****************************************************************************************/
  128. include "com_commonxp::comm_main.xjs";
  129. function SMRIS00700_onload(obj:Form, e:LoadEventInfo) {
  130. frmf_initForm(obj);
  131. grdf_setToolTipBind(grd_monthlyprofit);
  132. //grdf_initGrid(grd_XXX);
  133. //grdf_setGridSort(grd_XXX);
  134. //grdf_setRowTypeIcon(grd_XXX, 0_컬럼위치값);
  135. fInit();
  136. }
  137. function group3_btn_search_onclick(obj:Button, e:ClickEventInfo) {
  138. fSearch();
  139. }
  140. function fInit(){
  141. group3.cp_monthCal00.setData(utlf_getCurrentDate().toDate().getAddDate(-1, "M").getDateFormat());
  142. group3.cp_monthCal01.setData(utlf_getCurrentDate());
  143. ds_send_reqdata.setColumn(0,"bsddfrom", utlf_getCurrentDate().toDate().getAddDate(-1, "M").getDateFormat());
  144. ds_send_reqdata.setColumn(0,"bsddto", utlf_getCurrentDate());
  145. }
  146. function fSearch(){
  147. ds_send_reqdata.setColumn(0,"bsddfrom", group3.cp_monthCal00.getData());
  148. ds_send_reqdata.setColumn(0,"bsddto", group3.cp_monthCal01.getData());
  149. var oParam = {};
  150. oParam.id = "TRRIS00701";
  151. oParam.service = "ctmsapp.StatsMngt";
  152. oParam.method = "reqGetMonthlyProfitList";
  153. oParam.inds = "req=ds_send_reqdata";
  154. oParam.outds = "ds_main_profitlist=profitlist";
  155. oParam.async = false;
  156. //oParam.callback = "cf_TRRIS00701";
  157. tranf_submit(oParam);
  158. }
  159. ]]></Script>
  160. </Form>
  161. </FDL>