SPPID21302_차액상세조회.xfdl 9.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230
  1. <?xml version="1.0" encoding="utf-8" standalone="no"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml" />
  4. <Form id="SPPID21302" position="absolute 0 0 920 610" titletext="" onload="SPPID21302_onload">
  5. <Layouts>
  6. <Layout>
  7. <Div id="grp_biz" scrollbars="autoboth" position="absolute 0 0 920 610" style="">
  8. <Layouts>
  9. <Layout>
  10. <Static id="caption1" class="tit_2" position="absolute 5 10 110 24" style="" text="수정 내역" />
  11. <Shape id="line1" class="line_1" linetype="horizontal" position="absolute 0 25 920 28" style="" anchor="default" />
  12. <Grid id="grd_mechlist" binddataset="ds_main_list1_clod" position="absolute 0 31 920 610" style="">
  13. <Formats>
  14. <Format id="default">
  15. <Columns>
  16. <Column size="30" />
  17. <Column size="30" />
  18. <Column size="80" />
  19. <Column size="80" />
  20. <Column size="80" />
  21. <Column size="153" />
  22. <Column size="35" />
  23. <Column size="35" />
  24. <Column size="70" />
  25. <Column size="35" />
  26. <Column size="35" />
  27. <Column size="70" />
  28. <Column size="70" />
  29. <Column size="30" />
  30. <Column size="65" />
  31. </Columns>
  32. <Rows>
  33. <Row size="24" band="head" />
  34. <Row size="24" />
  35. </Rows>
  36. <Band id="head">
  37. <Cell text="항목" />
  38. <Cell col="1" text="항목" />
  39. <Cell col="2" text="그룹수가" />
  40. <Cell col="3" text="수가코드" />
  41. <Cell col="4" text="EDI코드" />
  42. <Cell col="5" text="한글명" />
  43. <Cell col="6" text="심사후" />
  44. <Cell col="7" text="심사후" />
  45. <Cell col="8" text="심사후" />
  46. <Cell col="9" text="심사전" />
  47. <Cell col="10" text="심사전" />
  48. <Cell col="11" text="심사전" />
  49. <Cell col="12" text="차액" />
  50. <Cell col="13" text="산정&#xA;수정" />
  51. <Cell col="14" text="수정자|항" />
  52. <Cell col="15" text="목" />
  53. <Cell col="16" text="그룹수가" />
  54. <Cell col="17" text="수가코드" />
  55. <Cell col="18" text="EDI코드" />
  56. <Cell col="19" text="한글명" />
  57. <Cell col="20" text="1일량" />
  58. <Cell col="21" text="일수" />
  59. <Cell col="22" text="금액" />
  60. <Cell col="23" text="1일량" />
  61. <Cell col="24" text="일수" />
  62. <Cell col="25" text="금액" />
  63. <Cell col="26" text="차액" />
  64. <Cell col="27" text="산정&#xA;수정" />
  65. <Cell col="28" text="수정자" />
  66. </Band>
  67. <Band id="body">
  68. <Cell text="bind:item1" />
  69. <Cell col="1" text="bind:item2" />
  70. <Cell col="2" text="bind:grupcalcscorcd" />
  71. <Cell col="3" text="bind:snglcalcscorcd" />
  72. <Cell col="4" text="bind:basecd" />
  73. <Cell col="5" text="bind:hngnm" />
  74. <Cell col="6" text="bind:afttims" />
  75. <Cell col="7" text="bind:aftdayno" />
  76. <Cell col="8" text="bind:aftamt" />
  77. <Cell col="9" text="bind:bfrtims" />
  78. <Cell col="10" text="bind:bfrdayno" />
  79. <Cell col="11" text="bind:bframt" />
  80. <Cell col="12" text="bind:difamt" />
  81. <Cell col="13" text="bind:estmyn" />
  82. <Cell col="14" text="bind:lastupdtrnm" />
  83. </Band>
  84. </Format>
  85. </Formats>
  86. </Grid>
  87. <Button id="btn_excel" class="btn2_letter4" position="absolute 852 3 916 22" style="" text="엑셀저장" onclick="grp_biz_btn_excel_onclick" />
  88. </Layout>
  89. </Layouts>
  90. </Div>
  91. </Layout>
  92. </Layouts>
  93. <Objects>
  94. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  95. <ColumnInfo />
  96. </Dataset>
  97. <Dataset id="ds_main" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  98. <ColumnInfo>
  99. <Column id="list1" type="STRING" size="256" />
  100. </ColumnInfo>
  101. <Rows>
  102. <Row>
  103. <Col id="list1"></Col>
  104. </Row>
  105. </Rows>
  106. </Dataset>
  107. <Dataset id="ds_hidden" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  108. <ColumnInfo>
  109. <Column id="hidden" type="STRING" size="256" />
  110. </ColumnInfo>
  111. </Dataset>
  112. <Dataset id="ds_send_data1" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  113. <ColumnInfo>
  114. <Column id="clamym" type="STRING" size="256" />
  115. <Column id="clamdg" type="STRING" size="256" />
  116. <Column id="pid" type="STRING" size="256" />
  117. <Column id="pidsn" type="STRING" size="256" />
  118. <Column id="insukind" type="STRING" size="256" />
  119. <Column id="suppkind" type="STRING" size="256" />
  120. <Column id="ordfromdd" type="STRING" size="256" />
  121. <Column id="item1" type="STRING" size="256" />
  122. <Column id="item2" type="STRING" size="256" />
  123. </ColumnInfo>
  124. <Rows>
  125. <Row>
  126. <Col id="clamym"></Col>
  127. <Col id="clamdg"></Col>
  128. <Col id="pid"></Col>
  129. <Col id="pidsn"></Col>
  130. <Col id="insukind"></Col>
  131. <Col id="suppkind"></Col>
  132. <Col id="ordfromdd"></Col>
  133. <Col id="item1"></Col>
  134. <Col id="item2"></Col>
  135. </Row>
  136. </Rows>
  137. </Dataset>
  138. <Dataset id="ds_init" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  139. <ColumnInfo>
  140. <Column id="init" type="STRING" size="256" />
  141. </ColumnInfo>
  142. <Rows>
  143. <Row>
  144. <Col id="init"></Col>
  145. </Row>
  146. </Rows>
  147. </Dataset>
  148. </Objects>
  149. <Bind />
  150. <Script type="xscript4.0"><![CDATA[function SPPID21302_onload(obj:Form, e:LoadEventInfo) {
  151. frmf_initForm(obj);
  152. //grdf_initGrid(grd_XXX);
  153. //grdf_setGridSort(grd_XXX);
  154. //grdf_setRowTypeIcon(grd_XXX, 0_컬럼위치값);
  155. }
  156. include '../../.._com_commonweb_js_common.js'
  157. include '../../.._com_commonweb_js_stringHelper.js'
  158. // 화면을 초기화한다.
  159. function fInitialize() {
  160. // 1. opener 에서 key 데이터를 받는다.
  161. ds_send_data1.setColumn( 0, "clamym", opener.window.javaScript.frmf_getParameter("SPPID21301_clamym"));
  162. ds_send_data1.setColumn( 0, "clamdg", opener.window.javaScript.frmf_getParameter("SPPID21301_clamdg"));
  163. ds_send_data1.setColumn( 0, "pid", opener.window.javaScript.frmf_getParameter("SPPID21301_pid"));
  164. ds_send_data1.setColumn( 0, "pidsn", opener.window.javaScript.frmf_getParameter("SPPID21301_pidsn"));
  165. ds_send_data1.setColumn( 0, "insukind", opener.window.javaScript.frmf_getParameter("SPPID21301_insukind"));
  166. ds_send_data1.setColumn( 0, "suppkind", opener.window.javaScript.frmf_getParameter("SPPID21301_suppkind"));
  167. ds_send_data1.setColumn( 0, "ordfromdd", opener.window.javaScript.frmf_getParameter("SPPID21301_ordfromdd"));
  168. ds_send_data1.setColumn( 0, "item1", opener.window.javaScript.frmf_getParameter("SPPID21301_item1"));
  169. ds_send_data1.setColumn( 0, "item2", opener.window.javaScript.frmf_getParameter("SPPID21301_item2"));
  170. // 2. 그리드 초기화
  171. ds_main_list1.clearData();
  172. dsf_makeValue( ds_main, "list1", "string", "" );
  173. //grp_biz.grd_mechlist.refresh();
  174. // 3. 차액상세 조회
  175. if (ds_send_data1.getColumn(0, "clamym") != "") {
  176. // submit("TRPID21302");
  177. var oParam = {};
  178. oParam.id = "TRPID21302";
  179. oParam.service = "aftjudgapp.AftJudgDifAmt";
  180. oParam.method = "reqGetAftJudgDetlDifAmtList";
  181. oParam.inds = "req=ds_";
  182. oParam.outds = "ds_=clod";
  183. oParam.async = false;
  184. oParam.callback = "cf_TRPID21302";
  185. tranf_submit(oParam);
  186. /*
  187. function cf_TRPID21302(sSvcId, nErrorCode, sErrorMsg) {
  188. if(nErrorCode < 0) return;
  189. }
  190. function cf_TRPID21302(sSvcId, nErrorCode, sErrorMsg) {
  191. arErrorCode.push(sSvcId, nErrorCode);
  192. }
  193. arErrorCode.pop("TRPID21302") > -1
  194. arErrorCode.pop("TRPID21302") < 0
  195. */
  196. //grp_biz.grd_mechlist.refresh();
  197. }
  198. }
  199. function grp_biz_btn_excel_onclick(obj:Button, e:ClickEventInfo) {
  200. if (grp_biz.grd_mechlist.rows == 2) {
  201. return;
  202. }
  203. var fileName = window.fileDialog("save", ",", false, "excel", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  204. if (fileName != "")
  205. {
  206. grdf_exportExcel(grp_biz.grd_mechlist, "Sheet1", fileName, false, "" , 'user' , true);
  207. sysf_messageBox("EXCEL 저장이 완료되었습니다.","I999");
  208. }
  209. }
  210. ]]></Script>
  211. </Form>
  212. </FDL>