SPPID21302_차액상세조회.xrw 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <!--
  3. * @(#)SPPID21302_차액상세조회.xrw (심사차액조회 화면에 iviewer 형태로 들어갈 화면)
  4. * 수정이력
  5. * - 2008.08.07 / 최초작성 / 박지욱
  6. *
  7. * - opener 에서 전달받는 조건 경로
  8. /root/send/data1
  9. -->
  10. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
  11. <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events">
  12. <xhtml:head>
  13. <xhtml:title/>
  14. <model id="model1">
  15. <instance id="instance1">
  16. <root xmlns="">
  17. <main>
  18. <list1>
  19. </list1>
  20. </main>
  21. <send>
  22. <data1>
  23. <clamym/>
  24. <clamdg/>
  25. <pid/>
  26. <pidsn/>
  27. <insukind/>
  28. <suppkind/>
  29. <ordfromdd/>
  30. <item1/>
  31. <item2/>
  32. </data1>
  33. </send>
  34. <init>
  35. </init>
  36. <hidden>
  37. </hidden>
  38. </root>
  39. </instance>
  40. <script type="javascript" ev:event="xforms-ready">
  41. <![CDATA[
  42. ]]>
  43. </script>
  44. <submission id="TRPID21302" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main"/>
  45. </model>
  46. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  47. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  48. <script type="javascript">
  49. <![CDATA[
  50. // 화면을 초기화한다.
  51. function fInitialize() {
  52. // 1. opener 에서 key 데이터를 받는다.
  53. model.setValue("/root/send/data1/clamym", opener.window.javaScript.getParameter("SPPID21301_clamym"));
  54. model.setValue("/root/send/data1/clamdg", opener.window.javaScript.getParameter("SPPID21301_clamdg"));
  55. model.setValue("/root/send/data1/pid", opener.window.javaScript.getParameter("SPPID21301_pid"));
  56. model.setValue("/root/send/data1/pidsn", opener.window.javaScript.getParameter("SPPID21301_pidsn"));
  57. model.setValue("/root/send/data1/insukind", opener.window.javaScript.getParameter("SPPID21301_insukind"));
  58. model.setValue("/root/send/data1/suppkind", opener.window.javaScript.getParameter("SPPID21301_suppkind"));
  59. model.setValue("/root/send/data1/ordfromdd", opener.window.javaScript.getParameter("SPPID21301_ordfromdd"));
  60. model.setValue("/root/send/data1/item1", opener.window.javaScript.getParameter("SPPID21301_item1"));
  61. model.setValue("/root/send/data1/item2", opener.window.javaScript.getParameter("SPPID21301_item2"));
  62. // 2. 그리드 초기화
  63. model.removenode("/root/main/list1");
  64. model.makeNode("/root/main/list1");
  65. grd_mechlist.refresh();
  66. // 3. 차액상세 조회
  67. if (model.getValue("/root/send/data1/clamym") != "") {
  68. submit("TRPID21302");
  69. grd_mechlist.refresh();
  70. }
  71. }
  72. ]]>
  73. </script>
  74. </xhtml:head>
  75. <xhtml:body pagewidth="920" pageheight="610" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  76. <group id="grp_biz" scroll="auto" style="left:0px; top:0px; width:920px; height:610px; ">
  77. <caption id="caption1" class="tit_2" style="left:5px; top:10px; width:105px; height:14px; ">수정 내역</caption>
  78. <line id="line1" class="line_1" style="x1:0px; y1:25px; x2:920px; y2:25px; "/>
  79. <datagrid id="grd_mechlist" nodeset="/root/main/list1/clod" caption="항목^항목^그룹수가^수가코드^EDI코드^한글명^심사후^심사후^심사후^심사전^심사전^심사전^차액^산정&#xA;수정^수정자|항^목^그룹수가^수가코드^EDI코드^한글명^1일량^일수^금액^1일량^일수^금액^차액^산정&#xA;수정^수정자" colsep="^" colwidth="30, 30, 80, 80, 80, 153, 35, 35, 70, 35, 35, 70, 70, 30, 65" ellipsis="true" explorerbar="sortshowmove" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" fixed-rows="2" style="left:0px; top:31px; width:920px; height:579px; ">
  80. <col ref="item1" style="text-align:center; "/>
  81. <col ref="item2" style="text-align:center; "/>
  82. <col ref="grupcalcscorcd" style="text-align:left; "/>
  83. <col ref="snglcalcscorcd" style="text-align:left; "/>
  84. <col ref="basecd" style="text-align:left; "/>
  85. <col ref="hngnm" style="text-align:left; "/>
  86. <col ref="afttims" format="#,###.00" style="text-align:right; "/>
  87. <col ref="aftdayno" format="#,###" style="text-align:right; "/>
  88. <col ref="aftamt" format="#,###" style="text-align:right; "/>
  89. <col ref="bfrtims" format="#,###.00" style="text-align:right; "/>
  90. <col ref="bfrdayno" format="#,###" style="text-align:right; "/>
  91. <col ref="bframt" format="#,###" style="text-align:right; "/>
  92. <col ref="difamt" format="(-)#,###" style="text-align:right; "/>
  93. <col ref="estmyn" style="text-align:center; "/>
  94. <col ref="lastupdtrnm" style="text-align:center; "/>
  95. </datagrid>
  96. <button id="btn_excel" class="btn2_letter4" style="left:852px; top:3px; width:64px; height:19px; ">
  97. <caption>엑셀저장</caption>
  98. <script type="javascript" ev:event="DOMActivate">
  99. <![CDATA[
  100. if (grd_mechlist.rows == 2) {
  101. return;
  102. }
  103. var fileName = window.fileDialog("save", ",", false, "excel", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  104. if (fileName != "")
  105. {
  106. grd_mechlist.saveExcel(fileName, "SheetName", true, true, "", "", true);
  107. messageBox("EXCEL 저장이 완료되었습니다.","I999");
  108. }
  109. ]]>
  110. </script>
  111. </button>
  112. </group>
  113. </xhtml:body>
  114. </xhtml:html>