SPRSD00330_구매계정HELP.xrw 7.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <!--
  3. 2008.03.02
  4. -송광호
  5. 구매계정 Help 팝업 및 Validation 사용 구문.
  6. * Load Javascript
  7. @<script type="javascript" src="../../../mis/miscommonweb/js/RSZ001.js"/>
  8. @팝업 사용구문.
  9. rszfOpenPopUpListByWndName(데이터를 받을 컨트롤 ID,"","purcacntcd,purcacntnm", "SPRSD00330", "instcd,purcacntcd,purcacntnm","기관코드,구매계정코드,구매계정명칭");
  10. @Validation 사용구문.
  11. rszfValidationCheck("TRRSD00331", "rscmpuaclist", "instcd,purcacntcd,purcacntnm"
  12. , "기관코드,구매계정코드,구매계정명칭", "", "purcacntcd,purcacntnm",
  13. 데이터를 받을 컨트롤 ID, "SPRSD00330", "instcd,purcacntcd,purcacntnm","기관코드,구매계정코드,구매계정명칭", "Y");
  14. -->
  15. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
  16. <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">
  17. <xhtml:head>
  18. <xhtml:title>구매계정 Help</xhtml:title>
  19. <model id="model1">
  20. <instance id="instance1">
  21. <root xmlns="">
  22. <main>
  23. <rscmpuaclist/>
  24. </main>
  25. <target/>
  26. <init>
  27. </init>
  28. <send>
  29. <instcd/>
  30. <purcacntcd/>
  31. <purcacntnm/>
  32. </send>
  33. </root>
  34. </instance>
  35. <script type="javascript" ev:event="xforms-ready">
  36. <![CDATA[
  37. fInitialize();
  38. ]]>
  39. </script>
  40. <script type="javascript">
  41. <![CDATA[
  42. function fInitialize()
  43. {
  44. misfGridInit(grd_rscmpuaclist);
  45. misfComboComCdListMulti("Z0007","cmb_instcd");
  46. misfMsterDetailSet(grd_rscmpuaclist, null, "TRRSD00331", "N");
  47. if(model.getValue(PURTARGET_NODE + "/instcd") != "")
  48. {
  49. model.setValue("/root/send/instcd" , model.getValue(PURTARGET_NODE + "/instcd"));
  50. }else{
  51. model.setValue("/root/send/instcd" , getUserInfo("dutplceinstcd"));
  52. }
  53. model.setValue("/root/send/purcacntcd" , model.getValue(PURTARGET_NODE + "/purcacntcd"));
  54. model.setValue("/root/send/purcacntnm" , model.getValue(PURTARGET_NODE + "/purcacntnm"));
  55. model.refresh();
  56. misfMsterDetailRetrieve();
  57. }
  58. ]]>
  59. </script>
  60. <submission id="TRRSD00331" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main"/>
  61. </model>
  62. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  63. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  64. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  65. </xhtml:head>
  66. <xhtml:body pagewidth="590" pageheight="560" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  67. <group id="group3" scroll="auto" style="left:8px; top:0px; width:581px; height:521px; ">
  68. <caption id="caption1" class="tit_2" style="left:5px; top:71px; width:183px; height:14px; ">구매계정 List</caption>
  69. <line id="line1" class="line_1" style="x1:0px; y1:85px; x2:579px; y2:85px; "/>
  70. <!--
  71. <datagrid id="grd_userlist" nodeset="/root/main/user/userlist" caption="사원번호^성명^직책^소속기관코드^소속기관명^소속부서코드^소속부서명" colsep="^" colwidth="70, 120, 120, 80, 120, 80, 130" dataheight="23" defaultrows="0" extendlastcol="scroll" mergecellsfixedrows="never" rowheader="seq" rowheight="23" rowsep="|" style="left:0px; top:68px; width:750px; height:448px; ">
  72. -->
  73. <group id="group4" style="left:0px; top:5px; width:580px; height:60px; ">
  74. <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:580px; height:60px; "/>
  75. <input id="ipt_purcacntcd" ref="/root/send/purcacntcd" class="input_search" navindex="2" visibility="visible" style="left:105px; top:35px; width:135px; height:19px; ">
  76. <script type="javascript" ev:event="onkeydown">
  77. <![CDATA[
  78. if(event.keyCode == 13)
  79. {
  80. ipt_purcacntcd.value = ipt_purcacntcd.currentText;
  81. btn_search.dispatch("DOMActivate");
  82. }
  83. ]]>
  84. </script>
  85. </input>
  86. <input id="ipt_depthngnm" ref="/root/send/purcacntnm" class="input_search" navindex="3" visibility="visible" style="left:355px; top:35px; width:135px; height:19px; ">
  87. <script type="javascript" ev:event="onkeydown">
  88. <![CDATA[
  89. if(event.keyCode == 13)
  90. {
  91. ipt_depthngnm.value = ipt_depthngnm.currentText;
  92. btn_search.dispatch("DOMActivate");
  93. }
  94. ]]>
  95. </script>
  96. </input>
  97. <caption id="cap_purcacntcd" class="search_name" visibility="visible" style="left:15px; top:35px; width:89px; height:17px; ">계정코드 :</caption>
  98. <button id="btn_search" class="btn1_letter2" navindex="5" style="left:514px; top:20px; width:56px; height:22px; text-align:left; ">
  99. <caption>조회</caption>
  100. <script type="javascript" ev:event="DOMActivate">
  101. <![CDATA[
  102. misfMsterDetailRetrieve();
  103. ]]>
  104. </script>
  105. </button>
  106. <line id="line13" class="line_4" style="x1:504px; y1:4px; x2:504px; y2:56px; border-color:#ffe4bb; border-left-style:solid; "/>
  107. <caption id="cap_instcd" class="search_name" visibility="visible" style="left:15px; top:10px; width:89px; height:17px; ">기관코드 :</caption>
  108. <caption id="cap_purcacntnm" class="search_name" visibility="visible" style="left:265px; top:35px; width:89px; height:17px; ">계정명칭 :</caption>
  109. <select1 id="cmb_instcd" ref="/root/send/instcd" class="combo_s_essential" disabled="true" navindex="1" appearance="minimal" style="left:105px; top:10px; width:135px; height:19px; ">
  110. <choices>
  111. <itemset>
  112. <label/>
  113. <value/>
  114. </itemset>
  115. </choices>
  116. </select1>
  117. </group>
  118. <datagrid id="grd_rscmpuaclist" nodeset="/root/main/rscmpuaclist" caption="구매계정^구매계정" colsep="^" colwidth="107, 337" ellipsis="true" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" tooltip="true" style="left:0px; top:90px; width:581px; height:425px; ">
  119. <col ref="purcacntcd" style="text-align:center; "/>
  120. <col ref="purcacntnm" style="text-align:left; "/>
  121. <col ref="instcd" visibility="hidden" style="text-align:left; "/>
  122. <script type="javascript" ev:event="ondblclick">
  123. <![CDATA[
  124. if( grd_rscmpuaclist.isCell(event.target) && grd_rscmpuaclist.row >= grd_rscmpuaclist.fixedRows )
  125. {
  126. btn_confirm.dispatch("DOMActivate");
  127. }
  128. ]]>
  129. </script>
  130. </datagrid>
  131. </group>
  132. <group id="group1" scroll="auto" style="left:8px; top:520px; width:581px; height:32px; ">
  133. <button id="btn_confirm" class="btn4_letter2" style="left:460px; top:5px; width:56px; height:22px; ">
  134. <caption>확인</caption>
  135. <script type="javascript" ev:event="DOMActivate">
  136. <![CDATA[
  137. misfPopUpListReturn(grd_rscmpuaclist);
  138. ]]>
  139. </script>
  140. </button>
  141. <button id="btn_cancel" class="btn4_letter2" style="left:519px; top:5px; width:56px; height:22px; ">
  142. <caption>취소</caption>
  143. <script type="javascript" ev:event="DOMActivate">
  144. <![CDATA[
  145. window.close();
  146. ]]>
  147. </script>
  148. </button>
  149. <line id="line32" class="line_6" style="x1:0px; y1:2px; x2:580px; y2:2px; "/>
  150. </group>
  151. </xhtml:body>
  152. </xhtml:html>