SPAAA02500_재입단처리.xrw 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148
  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>재입단처리</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <send>
  10. <savedata/>
  11. </send>
  12. <main>
  13. <rejoinsource>
  14. <actstatflag/>
  15. <rejoinorgdd/>
  16. <joinorgdd/>
  17. <voluntrid/>
  18. <joinorgrem/>
  19. <joinflag/>
  20. <quitorgdd/>
  21. <quitorgdd2/>
  22. </rejoinsource>
  23. <returnsts>
  24. <statusinfo>
  25. <restatus/>
  26. <voluntrid/>
  27. <actstatflag/>
  28. </statusinfo>
  29. </returnsts>
  30. </main>
  31. <init>
  32. <posteam1>
  33. <A0359/>
  34. </posteam1>
  35. <posteam2>
  36. <A0360/>
  37. </posteam2>
  38. <benfcd>
  39. <A0364>
  40. </A0364>
  41. </benfcd>
  42. </init>
  43. <hidden>
  44. <uid>
  45. <myselt/>
  46. <opener/>
  47. <children>
  48. <wid/>
  49. </children>
  50. </uid>
  51. </hidden>
  52. </root>
  53. </instance>
  54. <script type="javascript" ev:event="xforms-ready">
  55. <![CDATA[
  56. fInit();
  57. ]]>
  58. </script>
  59. <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
  60. <submission id="TRZBC00102" mediatype="application/x-www-form-urlencoded" method="post"/>
  61. <submission id="TXAAA02501" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata" resultref="/root/main/returnsts"/>
  62. </model>
  63. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  64. <script type="javascript" src="../../../com/commonweb/js/utilHelper.js"/>
  65. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  66. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  67. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  68. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  69. </xhtml:head>
  70. <script type="javascript">
  71. <![CDATA[
  72. // 초기값
  73. function fInit()
  74. {
  75. opener.model.removeNodeset("/root/rejoinsource/reflag");
  76. opener.model.refresh();
  77. }
  78. //확인
  79. function fSendParam()
  80. {
  81. if(model.getValue("/root/main/rejoinsource/rejoinorgdd")=="") //재입단일이 공백일때
  82. {
  83. messageBox("재입단일은","I003");
  84. return;
  85. }
  86. model.removeNodeset("/root/send/savedata");
  87. model.makeNode("/root/send/savedata");
  88. //var quitorgdd2=model.getValue("/root/main/rejoinsource/quitorgdd2"); //탈단 일
  89. //var rejoinorgdd=model.getValue("/root/main/rejoinsource/rejoinorgdd"); //재입단 일
  90. model.copyNode("/root/send/savedata","/root/main/rejoinsource");
  91. if(submit("TXAAA02501")==true)
  92. {
  93. var restatus=model.getValue("/root/main/returnsts/statusinfo/restatus");
  94. if(restatus=='N')
  95. {
  96. messageBox("최종 탈단일 보다 큰 재입단일을 입력하십시요.","I");
  97. return;
  98. }
  99. else
  100. {
  101. messageBox("재입단이","I002");
  102. opener.model.makeValue("/root/rejoinsource/status","y"); //저장 상태값인 y 저장
  103. opener.model.makeValue("/root/rejoinsource/reflag","c"); // 저장이 되었음을 알리는 플래그 c 셋팅
  104. opener.model.refresh();
  105. }
  106. }
  107. window.close();
  108. }
  109. ]]>
  110. </script>
  111. <xhtml:body pagewidth="465" pageheight="132" guideline="1,500;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  112. <group id="grp_btn" scroll="auto" style="left:0px; top:105px; width:449px; height:27px; ">
  113. <line id="line32" class="line_6" style="x1:0px; y1:0px; x2:448px; y2:0px; "/>
  114. <button id="btn_confirm" class="btn4_letter2" style="left:333px; top:5px; width:56px; height:22px; ">
  115. <caption>저장</caption>
  116. <script type="javascript" ev:event="DOMActivate">
  117. <![CDATA[
  118. fSendParam();
  119. //model.close();
  120. ]]>
  121. </script>
  122. </button>
  123. <button id="btn_cancel" class="btn4_letter2" style="left:392px; top:5px; width:56px; height:22px; ">
  124. <caption>취소</caption>
  125. <script type="javascript" ev:event="DOMActivate">
  126. <![CDATA[
  127. //opener.model.makeValue("/root/rejoinsource/status",""); //취소 상태값인 r 저장
  128. model.close();
  129. ]]>
  130. </script>
  131. </button>
  132. </group>
  133. <group id="group1" scroll="auto" style="left:0px; top:0px; width:449px; height:105px; ">
  134. <line id="line8" class="line_2" style="x1:0px; y1:22px; x2:448px; y2:22px; "/>
  135. <line id="line1" class="line_2" style="x1:0px; y1:46px; x2:448px; y2:46px; "/>
  136. <caption id="caption5" class="cell_1" style="left:0px; top:0px; width:85px; height:23px; vertical-align:middle; ">재입단일</caption>
  137. <caption id="caption7" class="cell_1" style="left:0px; top:26px; width:85px; height:74px; vertical-align:middle; ">비고</caption>
  138. <input id="ipt_benfdd" ref="/root/main/rejoinsource/rejoinorgdd" class="input_default" disabled="false" inputtype="date" style="left:88px; top:2px; width:120px; height:19px; "/>
  139. <textarea id="tar_rem" ref="/root/main/rejoinsource/joinorgrem" maxlength="100" style="left:88px; top:26px; width:357px; height:74px; "/>
  140. </group>
  141. </xhtml:body>
  142. </xhtml:html>