SMRPD01600_확정마감번표취소.xrw 6.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/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>확정마감번표취소</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. </main>
  11. <send>
  12. <retrparams>
  13. <instcd/>
  14. <dutym/>
  15. <dutunitcd/>
  16. <dutunitnm/>
  17. </retrparams>
  18. </send>
  19. <init>
  20. </init>
  21. <temp>
  22. </temp>
  23. </root>
  24. </instance>
  25. <submission id="TXRPD01601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/retrparams" resultref="/root/temp"/>
  26. </model>
  27. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  28. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  29. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  30. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  31. <script type="javascript" src="../../../mis/humtrafactmngtweb/js/RPB001.js"/>
  32. <script type="javascript" ev:event="xforms-ready">
  33. <![CDATA[
  34. fInit();
  35. ]]>
  36. </script>
  37. <script type="javascript">
  38. <![CDATA[
  39. function fInit()
  40. {
  41. //misfComboComCdListMulti("Z0007","cmb_instcd");
  42. misfComboInstCdListMulti("cmb_instcd",getCurrentDate(),"","N");
  43. model.setValue("/root/send/retrparams/instcd", getUserInfo("dutplceinstcd"));
  44. model.setValue("/root/send/retrparams/dutym", getCurrentDate().substr(0, 6));
  45. if(getUserInfo("dutplceinstcd") != "001")
  46. {
  47. cmb_instcd.disabled = true;
  48. }
  49. btn_save.disabled = !(checkAuth("X"));
  50. model.setFocus("ipt_dutdeptnm");
  51. model.refresh();
  52. }
  53. ]]>
  54. </script>
  55. </xhtml:head>
  56. <xhtml:body pagewidth="1211" pageheight="300">
  57. <group id="group1" style="left:0px; top:0px; width:315px; height:13px; ">
  58. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:222px; height:13px; ">확정마감번표취소</caption>
  59. </group>
  60. <group id="group2" scroll="auto" style="left:0px; top:15px; width:315px; height:108px; ">
  61. <line id="line204" class="line_2" style="x1:0px; y1:54px; x2:280px; y2:54px; "/>
  62. <line id="line203" class="line_1" style="x1:0px; y1:25px; x2:312px; y2:25px; "/>
  63. <line id="line1" class="line_3" style="x1:0px; y1:106px; x2:312px; y2:106px; "/>
  64. <caption id="caption278" class="tit_2" style="left:5px; top:10px; width:157px; height:14px; ">확정마감번표</caption>
  65. <input id="ipt_payym" ref="/root/send/retrparams/dutym" class="input_s_essential" inputtype="date" format="yyyy-mm" style="left:69px; top:58px; width:241px; height:19px; "/>
  66. <caption id="cap_payym" class="cell_1" style="left:0px; top:56px; width:67px; height:23px; vertical-align:middle; ">근무년월</caption>
  67. <caption id="cap_idflag" class="cell_1" style="left:0px; top:30px; width:67px; height:23px; vertical-align:middle; ">기관코드</caption>
  68. <caption id="caption1" class="cell_1" style="left:0px; top:82px; width:67px; height:23px; vertical-align:middle; ">근무부서</caption>
  69. <line id="line3" class="line_2" style="x1:0px; y1:80px; x2:280px; y2:80px; "/>
  70. <button id="btn_dutdept" class="icon_search" style="left:156px; top:84px; width:16px; height:16px; ">
  71. <caption/>
  72. <script type="javascript" ev:event="DOMActivate">
  73. <![CDATA[
  74. // misfOpenPopUpList("02", ipt_dutdeptcd, "", "dutunitcd,dutunitnm", cmb_instcd.value, "instcd");
  75. misfOpenPopUpList("02", ipt_dutdeptcd,"","dutunitcd,dutunitnm", cmb_instcd.value + "," + ipt_payym.value+"31", "instcd,basedd");
  76. model.refresh();
  77. ]]>
  78. </script>
  79. </button>
  80. <input id="ipt_dutdeptnm" ref="/root/send/retrparams/dutunitnm" class="input_search" navindex="3" imemode="hangul" style="left:174px; top:84px; width:136px; height:19px; ">
  81. <script type="javascript" ev:event="xforms-value-changed">
  82. <![CDATA[
  83. misfValidationCheck("02", "", "dutunitcd,dutunitnm", cmb_instcd.value, "instcd" );
  84. model.refresh();
  85. ]]>
  86. </script>
  87. <script type="javascript" ev:event="onkeypress">
  88. <![CDATA[
  89. if(event.keyCode == 13)
  90. {
  91. ipt_dutdeptnm.value = ipt_dutdeptnm.currentText;
  92. misfValidationCheck("02", "", "dutunitcd,dutunitnm", cmb_instcd.value, "instcd" );
  93. model.refresh();
  94. }
  95. ]]>
  96. </script>
  97. </input>
  98. <input id="ipt_dutdeptcd" ref="/root/send/retrparams/dutunitcd" class="input_s_essential" navindex="2" maxlength="10" style="left:69px; top:84px; width:85px; height:19px; ">
  99. <script type="javascript" ev:event="xforms-value-changed">
  100. <![CDATA[
  101. misfValidationCheck("02", "", "dutunitcd,dutunitnm", cmb_instcd.value, "instcd" );
  102. model.refresh();
  103. ]]>
  104. </script>
  105. <script type="javascript" ev:event="onkeypress">
  106. <![CDATA[
  107. if(event.keyCode == 13)
  108. {
  109. ipt_dutdeptcd.value = ipt_dutdeptcd.currentText;
  110. misfValidationCheck("02", "", "dutunitcd,dutunitnm", cmb_instcd.value, "instcd" );
  111. model.refresh();
  112. }
  113. ]]>
  114. </script>
  115. </input>
  116. <select1 id="cmb_instcd" ref="/root/send/retrparams/instcd" class="combo_s_essential" appearance="minimal" style="left:69px; top:32px; width:241px; height:19px; ">
  117. <choices>
  118. <itemset>
  119. <label/>
  120. <value/>
  121. </itemset>
  122. </choices>
  123. </select1>
  124. </group>
  125. <group id="grp_btn" scroll="auto" style="left:0px; top:124px; width:315px; height:27px; ">
  126. <button id="btn_save" class="btn4_letter2" style="left:257px; top:3px; width:56px; height:22px; ">
  127. <caption>작업</caption>
  128. <script type="javascript" ev:event="DOMActivate">
  129. <![CDATA[
  130. var sInstcd = model.getValue("/root/send/retrparams/instcd");
  131. var sDutYm = model.getValue("/root/send/retrparams/dutym");
  132. var sDutUnitCd = model.getValue("/root/send/retrparams/dutunitcd");
  133. if(sInstcd == "" || sDutYm == "" || sDutUnitCd == "")
  134. {
  135. messageBox("기관코드, 근무년월, 근무부서 모두 입력되어야합니다.", "I999");
  136. return;
  137. }
  138. var dlgRslt = messageBox(sDutYm.substr(0, 4) + "년 " + sDutYm.substr(4, 2) + "월 " + "[ " + model.getValue("/root/send/retrparams/dutunitnm") + " ] 의 확정 마감된 번표를 취소 하시겠습니까?", "Q999");
  139. if(dlgRslt == 6)
  140. {
  141. if(submit("TXRPD01601"))
  142. {
  143. messageBox("[ " + model.getValue("/root/send/retrparams/dutunitnm") + " ] 의 확정마감번표 취소 작업이 완료 되었습니다.", "I999");
  144. }
  145. }
  146. ]]>
  147. </script>
  148. </button>
  149. <line id="line2" class="line_6" style="x1:0px; y1:0px; x2:312px; y2:0px; "/>
  150. </group>
  151. </xhtml:body>
  152. </xhtml:html>