123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
- <xhtml:html xmlns:ex="http://www.comsquare.co.kr/xforms/excel" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:ms="urn:schemas-microsoft-com:xslt" xmlns:my="http://www.comsquare.co.kr/example" 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" xmlns:cs="http://www.comsquare.co.kr/xforms">
- <xhtml:head>
- <xhtml:title>기관간 자산이동</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <endlist/>
- </main>
- <send>
- <search>
- <instcd_from/>
- <fixasetcd_from/>
- <fixasetnm_from/>
- <instcd_to/>
- <fixasetcd_to/>
- <movedate/>
- </search>
- <save>
- </save>
- </send>
- <init>
- </init>
- <temp>
- </temp>
- <hidden>
- </hidden>
- </root>
- </instance>
- <submission id="TXRFE02501" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/search" resultref="/root/temp"/>
- </model>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- //화면 Control을 초기화한다
- misfComboInstCdListMulti("cmb_instcd_from",getCurrentDate(),"","N"); //기관
- misfComboInstCdListMulti("cmb_instcd_to",getCurrentDate(),"","N"); //기관
-
- var sInstcd = getUserInfo("dutplceinstcd");
- if (sInstcd == "031") {
- model.setValue("/root/send/search/instcd_from", "032"); //기관 설정
- } else if (sInstcd == "032") {
- model.setValue("/root/send/search/instcd_from", "031"); //기관 설정
- }
- model.setValue("/root/send/search/instcd_to", sInstcd); //기관 설정
- model.setValue("/root/send/search/movedate" , getCurrentDate().substr(0, 8) ); //이동기준일 설정
-
- model.refresh();
- ]]>
- </script>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/numericHelper.js"/>
- <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
- <script type="javascript" src="../../../mis/miscommonweb/js/RSZ001.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../mis/miscommonweb/js/RAC001.js"/>
- <script type="javascript">
- <![CDATA[]]>
- </script>
- </xhtml:head>
- <xhtml:body guideline="1,1368;" style="font-family:굴림; margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group1" style="left:0px; top:0px; width:945px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:230px; height:14px; ">기관간 자산이동</caption>
- </group>
- <group id="group3" scroll="auto" style="left:0px; top:40px; width:945px; height:705px; ">
- <line id="line1" class="line_1" style="x1:0px; y1:38px; x2:540px; y2:38px; "/>
- <caption id="caption1" class="tit_2" style="left:0px; top:19px; width:180px; height:14px; ">From</caption>
- <line id="line2" class="line_1" style="x1:0px; y1:95px; x2:540px; y2:95px; "/>
- <caption id="caption26" class="cell_1" style="left:0px; top:205px; width:110px; height:23px; text-align:center; vertical-align:middle; ">이동기준일</caption>
- <line id="line4" class="line_2" style="x1:0px; y1:203px; x2:540px; y2:203px; "/>
- <caption id="cap_purccondd" class="cell_1" style="left:0px; top:44px; width:110px; height:23px; text-align:center; vertical-align:middle; ">기관코드</caption>
- <caption id="caption5" class="cell_1" style="left:0px; top:70px; width:110px; height:23px; text-align:center; vertical-align:middle; ">기존 자산코드</caption>
- <line id="line10" class="line_2" style="x1:0px; y1:68px; x2:540px; y2:68px; "/>
- <select1 id="cmb_instcd_from" ref="/root/send/search/instcd_from" class="combo_default" disabled="true" navindex="1" appearance="minimal" style="left:112px; top:46px; width:143px; height:19px; ">
- <choices>
- <itemset nodeset="/root/main/init">
- <label ref="cnstnm"/>
- <value ref="cnstcd"/>
- </itemset>
- </choices>
- </select1>
- <input id="ipt_movedate" ref="/root/send/search/movedate" navindex="5" inputtype="date" format="yyyy-mm-dd" style="left:112px; top:207px; width:95px; height:19px; "/>
- <caption id="caption4" style="left:0px; top:250px; width:560px; height:28px; ">※ 이동기준일을 기준으로 기존 기관의 자산코드는 불용처리되므로, 일자 설정에 유의 당부드립니다.</caption>
- <caption id="caption2" style="left:210px; top:206px; width:214px; height:23px; color:#ff0000; ">(금일 또는 이전 일자로만 등록 가능)</caption>
- <output id="ipt_fixasetnm_from" ref="/root/send/search/fixasetnm_from" class="output_fix" navindex="3" appearance="output" style="left:229px; top:72px; width:310px; height:19px; "/>
- <input id="ipt_fixasetcd_from" ref="/root/send/search/fixasetcd_from" visibility="visible" style="left:112px; top:72px; width:95px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(ipt_fixasetcd_from.value != "")
- {
- //rszfValidationCheck("TRRSD00241", "rfcmfacdlist", "instcd,requirementcd,requirementnm",
- // cmb_instcd_from.value +",fixasetcd," + ipt_fixasetcd_from.value,
- // "", "fixasetcd_from,fixasetnm_from", ipt_fixasetcd_from, "SPRSD00240",
- // "instcd","cmb_instcd_from");
- // rszfValidationCheck("TRRSD00241", "rfcmfacdlist", "instcd,requirementcd,requirementnm",
- // cmb_instcd_from.value +",fixasetcd," + ipt_fixasetcd_from.value,
- // "", "fixasetcd_from,fixasetnm_from", ipt_fixasetcd_from, "SPRSD00240",
- // "instcd",cmb_instcd_from.value);
- rszfValidationCheck("TRRSD00241", "rfcmfacdlist", "instcd,requirementcd,requirementnm",
- cmb_instcd_from.value + "," + "fixasetcd," + ipt_fixasetcd_from.value, "", "fixasetcd_from,fixasetnm_from",
- ipt_fixasetcd_from, "SPRSD00240_고정자산코드검색HELP", "instcd","cmb_instcd_from");
- }else{
- ipt_fixasetnm_from.value = '';
- }
- ipt_fixasetcd_from.refresh();
- ipt_fixasetnm_from.refresh();
- ]]>
- </script>
- </input>
- <button id="btn_fixasetcd" class="icon_search" style="left:210px; top:73px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //rszfOpenPopUpListByWndName(ipt_fixasetcd_from, "", "fixasetcd_from,fixasetnm_from","SPRSD00240","instcd", "cmb_instcd_from");
- //rszfOpenPopUpListByWndName(ipt_fixasetcd_from, "", "fixasetcd_from,fixasetnm_from","SPRSD00240","instcd", cmb_instcd_from.value);
- rszfOpenPopUpListByWndName(ipt_fixasetcd_from, "", "fixasetcd_from,fixasetnm_from", "SPRSD00240","instcd","cmb_instcd_from");
- ipt_fixasetcd_from.refresh();
- ipt_fixasetnm_from.refresh();
- ]]>
- </script>
- </button>
- <line id="line5" class="line_2" style="x1:0px; y1:177px; x2:540px; y2:177px; "/>
- <select1 id="cmb_instcd_to" ref="/root/send/search/instcd_to" class="combo_default" disabled="true" navindex="1" appearance="minimal" style="left:112px; top:155px; width:143px; height:19px; ">
- <choices>
- <itemset nodeset="/root/main/init">
- <label ref="cnstnm"/>
- <value ref="cnstcd"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption3" class="tit_2" style="left:0px; top:128px; width:180px; height:13px; ">To</caption>
- <input id="ipt_fixasetcd_to" ref="/root/send/search/fixasetcd_to" visibility="visible" style="left:112px; top:181px; width:95px; height:19px; "/>
- <caption id="caption7" class="cell_1" style="left:0px; top:179px; width:110px; height:23px; text-align:center; vertical-align:middle; ">신규 자산코드</caption>
- <line id="line6" class="line_1" style="x1:0px; y1:147px; x2:540px; y2:147px; "/>
- <line id="line8" class="line_1" style="x1:0px; y1:230px; x2:540px; y2:230px; "/>
- <caption id="caption9" class="cell_1" style="left:0px; top:153px; width:110px; height:23px; text-align:center; vertical-align:middle; ">기관코드</caption>
- <button id="btn_addrow" style="left:260px; top:105px; width:35px; height:19px; background-image:../../../com/commonweb/images/btn_send_bottom.gif; ">
- <caption/>
- </button>
- </group>
- <group id="group4" scroll="auto" style="left:0px; top:13px; width:945px; height:27px; ">
- <line id="line7" class="line_6" style="x1:0px; y1:25; x2:540px; y2:25; "/>
- <button id="btn_exec" class="btn4_letter2" navindex="41" style="left:481px; top:3px; width:56px; height:22px; ">
- <caption>실행</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- if(ipt_fixasetnm_from.value == "") {
- messageBox("기존 자산코드가 올바로 입력되지 않았습니다. \n\n먼저 자산코드를 선택하십시요.", "E999", "");
- model.setFocus("ipt_fixasetcd_from");
- return;
- }
- if(ipt_fixasetcd_to.value == "") {
- messageBox("신규 자산코드가 올바로 입력되지 않았습니다. \n\n먼저 자산코드를 입력하십시요.", "E999", "");
- model.setFocus("ipt_fixasetcd_to");
- return;
- }
- //이동기준일에 입력된 값이 올바르지 않으면, 이동기준일을 선택하라고 alert함
- if(ipt_movedate.value.length < 8) {
- messageBox("이동기준일이 올바로 입력되지 않았습니다. \n\n먼저 이동기준일을 입력하십시요.", "E999", "");
- model.setFocus("ipt_movedate");
- return;
- }
- if(ipt_movedate.value > getCurrentDate().substr(0, 8)) {
- messageBox("이동기준일이 잘못 설정 되었습니다. \n\n금일 또는 이전 일자로만 설정 가능합니다. ", "E999", "");
- model.setFocus("ipt_movedate");
- return;
- }
- if (messageBox( "From : " + cmb_instcd_from.label + " " + ipt_fixasetcd_from.value + "\n" +
- "To : " + cmb_instcd_to.label + " " + ipt_fixasetcd_to.value + "\n\n" +
- "기관간 자산이동을 실행하시겠습니까? ", "Q999", "") != 6){
- return;
- }
-
- if(submit("TXRFE02501")) {
- messageBox("작업이 완료되었습니다.", "I999", "");
-
- }
-
-
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|