SPRPB00602_부서코드HELP.xrw 6.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet ype="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>부서코드HELP</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <jobdetldept>
  11. <jobdetldeptlist/>
  12. </jobdetldept>
  13. </main>
  14. <send>
  15. <jobdetldept>
  16. <instcd/>
  17. <basedd/>
  18. <deptnm/>
  19. </jobdetldept>
  20. <save>
  21. <jobdetllist/>
  22. </save>
  23. </send>
  24. <temp/>
  25. <init/>
  26. <target>
  27. <instcd/>
  28. <jobkindcd/>
  29. <grupjoblncd/>
  30. <jobkindnm/>
  31. <grupjoblnnm/>
  32. </target>
  33. </root>
  34. </instance>
  35. <submission id="TRRPB00602" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/jobdetldept" resultref="/root/main/jobdetldept"/>
  36. </model>
  37. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  38. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  39. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  40. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  41. <script type="javascript" src="../../../mis/humtrafactmngtweb/js/RPB001.js"/>
  42. <script type="javascript" ev:event="xforms-ready">
  43. <![CDATA[
  44. fInitialize();
  45. ]]>
  46. </script>
  47. <script type="javascript">
  48. <![CDATA[
  49. function fInitialize()
  50. {
  51. model.removenode("/root/main/jobdetldept/jobdetldeptlist");
  52. misfComboInstCdListMulti("cmb_instcd", getCurrentDate(),"","N");
  53. misfMsterDetailSet(grd_jobdetldeptlist, null, "TRRPB00602", "N");
  54. if(instance1.selectNodes("/root/target/defaultvalue/*").length > 0)
  55. {
  56. cmb_instcd.value = model.getValue("/root/target/defaultvalue/instcd");
  57. ipt_basedd.value = model.getValue("/root/target/defaultvalue/basedd");
  58. }
  59. else {
  60. model.setValue("/root/send/jobdetl/instcd", getUserInfo("dutplceinstcd"));
  61. }
  62. model.refresh();
  63. btn_search.dispatch("DOMActivate");
  64. model.setFocus("ipt_deptnm");
  65. }
  66. ]]>
  67. </script>
  68. </xhtml:head>
  69. <xhtml:body pagewidth="600" pageheight="610" style="margin-left:8; margin-right:8; ">
  70. <group id="group1" style="left:0px; top:0px; width:580px; height:13px; ">
  71. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:145px; height:14px; ">부서코드 HELP</caption>
  72. </group>
  73. <group id="group2" scroll="auto" style="left:0px; top:16px; width:580px; height:547px; ">
  74. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:10px; width:575px; height:36px; "/>
  75. <caption id="caption278" class="tit_2" style="left:5px; top:55px; width:162px; height:14px; ">부서 내역</caption>
  76. <line id="line207" class="line_1" style="x1:0px; y1:70px; x2:575px; y2:69px; "/>
  77. <caption id="caption3" class="search_name" style="left:5px; top:20px; width:68px; height:17px; ">부서명:</caption>
  78. <button id="btn_search" class="btn1_letter2" navindex="8" style="left:505px; top:16px; width:56px; height:22px; text-align:left; ">
  79. <caption>조회</caption>
  80. <script type="javascript" ev:event="DOMActivate">
  81. <![CDATA[
  82. misfMsterDetailRetrieve();
  83. ]]>
  84. </script>
  85. </button>
  86. <line id="line3" class="line_4" style="x1:495px; y1:15px; x2:495px; y2:43px; border-color:#ffe4bb; border-left-style:solid; "/>
  87. <input id="ipt_lbrunionjobrespnm" ref="/root/main/item/lbrunionjobrespnm" class="input_search" visibility="hidden"/>
  88. <input id="ipt_lbrunionjobresp" ref="/root/main/item/dutplceinst" visibility="hidden"/>
  89. <input id="ipt_emplno_m" ref="/root/main/imsiitem/emplno" visibility="hidden"/>
  90. <input id="ipt_lbrunionrgstyn_m" ref="/root/main/imsiitem/lbrunionrgstyn" visibility="hidden"/>
  91. <input id="ipt_lbrunionrgstdd_m" ref="/root/main/imsiitem/lbrunionrgstdd" visibility="hidden"/>
  92. <input id="ipt_lbrunionsecssdd_m" ref="/root/main/imsiitem/lbrunionsecssdd" visibility="hidden"/>
  93. <input id="ipt_lbrunionjobresp_m" ref="/root/main/imsiitem/lbrunionjobresp" visibility="hidden"/>
  94. <input id="ipt_lbrunionjobrespnm_m" ref="/root/main/imsiitem/lbrunionjobrespnm" visibility="hidden"/>
  95. <input id="ipt_asgnmpostndd_m" ref="/root/main/imsiitem/asgnmpostndd" visibility="hidden"/>
  96. <input id="ipt_todd_m" ref="/root/main/imsiitem/todd" visibility="hidden"/>
  97. <input id="ipt_cur_row" ref="/root/init/cur_row_m" class="input_search" visibility="hidden"/>
  98. <datagrid id="grd_jobdetldeptlist" nodeset="/root/main/jobdetldept/jobdetldeptlist" caption="부서코드^부서명|부서코드^부서명" colsep="^" colwidth="135, 397" dataheight="25" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" rowsep="|" style="left:0px; top:73px; width:575px; height:472px; ">
  99. <col ref="deptcd"/>
  100. <col ref="deptnm"/>
  101. <script type="javascript" ev:event="ondblclick">
  102. <![CDATA[
  103. btn_confirm.dispatch("DOMActivate");
  104. ]]>
  105. </script>
  106. </datagrid>
  107. <select1 id="cmb_instcd" ref="/root/send/jobdetldept/instcd" class="combo_search" disabled="true" visibility="hidden" appearance="minimal" style="left:310px; top:20px; width:38px; height:19px; ">
  108. <choices>
  109. <itemset>
  110. <label/>
  111. <value/>
  112. </itemset>
  113. </choices>
  114. <script type="javascript" ev:event="xforms-value-changed">
  115. <![CDATA[
  116. btn_search.dispatch("DOMActivate");
  117. ]]>
  118. </script>
  119. </select1>
  120. <input id="ipt_deptnm" ref="/root/send/jobdetldept/deptnm" class="input_search" imemode="hangul" style="left:73px; top:19px; width:214px; height:19px; ">
  121. <script type="javascript" ev:event="onkeyup">
  122. <![CDATA[
  123. if (ipt_deptnm.currentText != null && ipt_deptnm.currentText != "" ) {
  124. inputEnterKey("btn_search", "DOMActivate");
  125. }
  126. ]]>
  127. </script>
  128. </input>
  129. <input id="ipt_basedd" ref="/root/send/jobdetldept/basedd" class="input_search" disabled="true" visibility="hidden" style="left:385px; top:20px; width:45px; height:19px; "/>
  130. </group>
  131. <group id="group3" scroll="auto" style="left:0px; top:565px; width:580px; height:27px; ">
  132. <button id="btn_confirm" class="btn4_letter2" style="left:461px; top:2px; width:56px; height:22px; ">
  133. <caption>확인</caption>
  134. <script type="javascript" ev:event="DOMActivate">
  135. <![CDATA[
  136. rpbfPopUpListReturn(grd_jobdetldeptlist);
  137. ]]>
  138. </script>
  139. </button>
  140. <button id="btn_cancel" class="btn4_letter2" style="left:520px; top:2px; width:56px; height:22px; ">
  141. <caption>취소</caption>
  142. <script type="javascript" ev:event="DOMActivate">
  143. <![CDATA[
  144. misfPopUpListCancel();
  145. ]]>
  146. </script>
  147. </button>
  148. </group>
  149. </xhtml:body>
  150. </xhtml:html>