SMRSD00210_일반청구Set조회.xrw 7.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
  3. <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">
  4. <xhtml:head>
  5. <xhtml:title>일반청구 Set 조회</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <list>
  11. <reqset>
  12. <reqsetlist/>
  13. </reqset>
  14. <reqmst>
  15. <reqsetmst/>
  16. </reqmst>
  17. </list>
  18. </main>
  19. <target>
  20. <defaultvalue>
  21. <instcd/>
  22. <reqdeptcd/>
  23. <reqprid/>
  24. <reqflag/>
  25. <reqpridflag/>
  26. </defaultvalue>
  27. </target>
  28. <init>
  29. </init>
  30. <send>
  31. <reqmst>
  32. <instcd/>
  33. <reqdeptcd/>
  34. <reqflag/>
  35. <reqpridflag/>
  36. </reqmst>
  37. <reqset>
  38. <instcd/>
  39. <reqdeptcd/>
  40. <reqprid/>
  41. <goodsetcd/>
  42. <reqflag/>
  43. <goodsetnm/>
  44. </reqset>
  45. </send>
  46. </root>
  47. </instance>
  48. <script type="javascript" ev:event="xforms-ready">
  49. <![CDATA[
  50. //화면 Control을 초기화한다
  51. fInitialize();
  52. ]]>
  53. </script>
  54. <submission id="TRRSD00211" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqmst" resultref="/root/main/list/reqmst"/>
  55. <submission id="TRRSD00210" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqset" resultref="/root/main/list/reqset"/>
  56. </model>
  57. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  58. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  59. <script type="javascript" src="../../../mis/miscommonweb/js/RSZ001.js"/>
  60. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  61. <script type="javascript">
  62. <![CDATA[
  63. function fInitialize() {
  64. model.setValue("/root/send/reqmst/instcd", model.getValue(PURTARGET_NODE + "/instcd"));
  65. model.setValue("/root/send/reqmst/reqdeptcd", model.getValue(PURTARGET_NODE + "/reqdeptcd"));
  66. model.setValue("/root/send/reqmst/reqflag", model.getValue(PURTARGET_NODE + "/reqflag"));
  67. model.setValue("/root/send/reqmst/reqpridflag", model.getValue(PURTARGET_NODE + "/reqpridflag"));
  68. misfGridInit(grd_reqset);
  69. misfMsterDetailSet(grd_setlist,null, "TRRSD00211" ,"N");
  70. misfMsterDetailSet(grd_reqset,grd_setlist, "TRRSD00210" ,"N");
  71. grd_reqset.fixedcellcheckbox(0,grd_reqset.colRef("select"),false) = true;
  72. misfMsterDetailRetrieve();
  73. }
  74. ]]>
  75. </script>
  76. </xhtml:head>
  77. <xhtml:body pagewidth="950" pageheight="750" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  78. <group id="grp_tle" style="left:8px; top:0px; width:885px; height:13px; ">
  79. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:286px; height:14px; ">정기청구 SET으로 등록된 내역입니다..</caption>
  80. </group>
  81. <group id="grp_biz" scroll="auto" style="left:8px; top:38px; width:885px; height:672px; ">
  82. <datagrid id="grd_reqset" nodeset="/root/main/list/reqset/reqsetlist" caption="^기관코드^청구부서^청구주기^물품구분^물품코드^물품명^청구량^청구단위^set단위^setcd" colsep="^" colwidth="19, 0, 0, 0, 60, 99, 254, 50, 71, 0,0" dataheight="25" ellipsis="true" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" tooltip="true" style="left:0px; top:28px; width:576px; height:634px; ">
  83. <col ref="select" type="checkbox"/>
  84. <col ref="instcd"/>
  85. <col ref="reqdeptcd"/>
  86. <col ref="reqprid"/>
  87. <col ref="goodflagnm"/>
  88. <col ref="goodcd"/>
  89. <col ref="goodnm"/>
  90. <col ref="goodqty" style="text-align:right; "/>
  91. <col ref="requnit"/>
  92. <col ref="goodspec" visibility="hidden"/>
  93. <col ref="goodmodel" visibility="hidden"/>
  94. <col ref="prodcmpynm" visibility="hidden"/>
  95. <col ref="purcunit" visibility="hidden"/>
  96. <col ref="minexch" visibility="hidden"/>
  97. <col ref="stocqty" visibility="hidden"/>
  98. <col ref="ddavguseqty" visibility="hidden"/>
  99. <col ref="goodsetnm" visibility="hidden"/>
  100. <col ref="goodsetcd" visibility="hidden"/>
  101. <col ref="goodflag" visibility="hidden"/>
  102. <col ref="allsizeyn" visibility="hidden"/>
  103. <col ref="allsizespecid" visibility="hidden"/>
  104. <col ref="allsizespecidnm" visibility="hidden"/>
  105. </datagrid>
  106. <datagrid id="grd_setlist" nodeset="/root/main/list/reqmst/reqsetmst" caption="기관코드^청구부서^청구주기^청구주기^청구SET명^물품구분^물품코드^물품명^청구량^청구단위^setcd" colsep="^" colwidth="0, 0, 0, 0, 280, 0, 0, 0, 0, 0, 0" dataheight="25" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" style="left:579px; top:28px; width:306px; height:634px; ">
  107. <col ref="instcd" visibility="hidden"/>
  108. <col ref="reqdeptcd" visibility="hidden"/>
  109. <col ref="reqprid" visibility="hidden"/>
  110. <col ref="reqprnm" visibility="hidden"/>
  111. <col ref="goodsetnm"/>
  112. <col ref="goodflag" visibility="hidden"/>
  113. <col ref="goodcd" visibility="hidden"/>
  114. <col ref="goodnm" visibility="hidden"/>
  115. <col ref="goodqty" visibility="hidden"/>
  116. <col ref="requnit" visibility="hidden"/>
  117. <col ref="goodsetcd" visibility="hidden"/>
  118. <script type="javascript" ev:event="onrowchanged">
  119. <![CDATA[
  120. model.setValue("/root/send/reqset/instcd", model.getValue(grd_setlist.nodeset + "["+ grd_setlist.row + "]/instcd"));
  121. model.setValue("/root/send/reqset/reqdeptcd", model.getValue(grd_setlist.nodeset + "["+ grd_setlist.row + "]/reqdeptcd" ));
  122. model.setValue("/root/send/reqset/reqprid", model.getValue(grd_setlist.nodeset + "["+ grd_setlist.row + "]/reqprid" ));
  123. model.setValue("/root/send/reqset/goodsetcd", model.getValue(grd_setlist.nodeset + "["+ grd_setlist.row + "]/goodsetcd" ));
  124. model.setValue("/root/send/reqset/goodsetnm", model.getValue(grd_setlist.nodeset + "["+ grd_setlist.row + "]/goodsetnm" ));
  125. misfMsterDetailRetrieve();
  126. ]]>
  127. </script>
  128. </datagrid>
  129. <line id="line2" class="line_1" style="x1:0px; y1:23px; x2:576; y2:23px; "/>
  130. <line id="line3" class="line_1" style="x1:579px; y1:23px; x2:885px; y2:23px; "/>
  131. </group>
  132. <group id="group1" style="left:8px; top:12px; width:885px; height:27px; ">
  133. <button id="button7" class="btn3_letter4" visibility="hidden" style="left:58px; top:3; width:80px; height:22px; ">
  134. <caption>화면이동</caption>
  135. </button>
  136. <button id="button8" class="btn6_letter2" visibility="hidden" style="left:0px; top:3; width:56px; height:22px; ">
  137. <caption>출력</caption>
  138. </button>
  139. <button id="btn_apply" class="btn4_letter2" style="left:761px; top:3px; width:56px; height:22px; ">
  140. <caption>적용</caption>
  141. <script type="javascript" ev:event="DOMActivate">
  142. <![CDATA[
  143. var nodelist = instance1.selectNodes(grd_reqset.nodeset + "[select='true']");
  144. var rCVS = getNodeListCSV(nodelist);
  145. if ( checkOpener() ) {
  146. opener.javascript.setParameter("SMRSD00210_", rCVS);
  147. } else {
  148. var rtn = messageBox("상위화면을 찾을 수", "E001");
  149. }
  150. window.close()
  151. ]]>
  152. </script>
  153. </button>
  154. <button id="button10" class="btn4_letter3" style="left:817px; top:3px; width:68px; height:22px; ">
  155. <caption>초기화</caption>
  156. </button>
  157. <line id="line1" class="line_6" style="x1:0px; y1:25px; x2:885; y2:25px; "/>
  158. </group>
  159. </xhtml:body>
  160. </xhtml:html>