123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
- <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">
- <xhtml:head>
- <xhtml:title>재입단처리</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <send>
- <savedata/>
- </send>
- <main>
- <rejoinsource>
- <actstatflag/>
- <rejoinorgdd/>
- <joinorgdd/>
- <voluntrid/>
- <joinorgrem/>
- <joinflag/>
- <quitorgdd/>
- <quitorgdd2/>
- </rejoinsource>
- <returnsts>
- <statusinfo>
- <restatus/>
- <voluntrid/>
- <actstatflag/>
- </statusinfo>
- </returnsts>
- </main>
- <init>
- <posteam1>
- <A0359/>
- </posteam1>
- <posteam2>
- <A0360/>
- </posteam2>
- <benfcd>
- <A0364>
- </A0364>
- </benfcd>
- </init>
- <hidden>
- <uid>
- <myselt/>
- <opener/>
- <children>
- <wid/>
- </children>
- </uid>
- </hidden>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fInit();
- ]]>
- </script>
- <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TRZBC00102" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TXAAA02501" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata" resultref="/root/main/returnsts"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/utilHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- </xhtml:head>
- <script type="javascript">
- <![CDATA[
- // 초기값
- function fInit()
- {
- opener.model.removeNodeset("/root/rejoinsource/reflag");
- opener.model.refresh();
-
- }
-
- //확인
- function fSendParam()
- {
- if(model.getValue("/root/main/rejoinsource/rejoinorgdd")=="") //재입단일이 공백일때
- {
- messageBox("재입단일은","I003");
- return;
- }
- model.removeNodeset("/root/send/savedata");
- model.makeNode("/root/send/savedata");
- //var quitorgdd2=model.getValue("/root/main/rejoinsource/quitorgdd2"); //탈단 일
- //var rejoinorgdd=model.getValue("/root/main/rejoinsource/rejoinorgdd"); //재입단 일
-
- model.copyNode("/root/send/savedata","/root/main/rejoinsource");
- if(submit("TXAAA02501")==true)
- {
- var restatus=model.getValue("/root/main/returnsts/statusinfo/restatus");
- if(restatus=='N')
- {
- messageBox("최종 탈단일 보다 큰 재입단일을 입력하십시요.","I");
- return;
- }
- else
- {
- messageBox("재입단이","I002");
- opener.model.makeValue("/root/rejoinsource/status","y"); //저장 상태값인 y 저장
- opener.model.makeValue("/root/rejoinsource/reflag","c"); // 저장이 되었음을 알리는 플래그 c 셋팅
- opener.model.refresh();
- }
- }
-
- window.close();
-
- }
- ]]>
- </script>
- <xhtml:body pagewidth="465" pageheight="132" guideline="1,500;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="grp_btn" scroll="auto" style="left:0px; top:105px; width:449px; height:27px; ">
- <line id="line32" class="line_6" style="x1:0px; y1:0px; x2:448px; y2:0px; "/>
- <button id="btn_confirm" class="btn4_letter2" style="left:333px; top:5px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSendParam();
- //model.close();
- ]]>
- </script>
- </button>
- <button id="btn_cancel" class="btn4_letter2" style="left:392px; top:5px; width:56px; height:22px; ">
- <caption>취소</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //opener.model.makeValue("/root/rejoinsource/status",""); //취소 상태값인 r 저장
- model.close();
- ]]>
- </script>
- </button>
- </group>
- <group id="group1" scroll="auto" style="left:0px; top:0px; width:449px; height:105px; ">
- <line id="line8" class="line_2" style="x1:0px; y1:22px; x2:448px; y2:22px; "/>
- <line id="line1" class="line_2" style="x1:0px; y1:46px; x2:448px; y2:46px; "/>
- <caption id="caption5" class="cell_1" style="left:0px; top:0px; width:85px; height:23px; vertical-align:middle; ">재입단일</caption>
- <caption id="caption7" class="cell_1" style="left:0px; top:26px; width:85px; height:74px; vertical-align:middle; ">비고</caption>
- <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; "/>
- <textarea id="tar_rem" ref="/root/main/rejoinsource/joinorgrem" maxlength="100" style="left:88px; top:26px; width:357px; height:74px; "/>
- </group>
- </xhtml:body>
- </xhtml:html>
|