123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- 2008.03.02
- -송광호
-
- 구매계정 Help 팝업 및 Validation 사용 구문.
- * Load Javascript
- @<script type="javascript" src="../../../mis/miscommonweb/js/RSZ001.js"/>
-
- @팝업 사용구문.
- rszfOpenPopUpListByWndName(데이터를 받을 컨트롤 ID,"","purcacntcd,purcacntnm", "SPRSD00330", "instcd,purcacntcd,purcacntnm","기관코드,구매계정코드,구매계정명칭");
- @Validation 사용구문.
- rszfValidationCheck("TRRSD00331", "rscmpuaclist", "instcd,purcacntcd,purcacntnm"
- , "기관코드,구매계정코드,구매계정명칭", "", "purcacntcd,purcacntnm",
- 데이터를 받을 컨트롤 ID, "SPRSD00330", "instcd,purcacntcd,purcacntnm","기관코드,구매계정코드,구매계정명칭", "Y");
- -->
- <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/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>구매계정 Help</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <rscmpuaclist/>
- </main>
- <target/>
- <init>
- </init>
- <send>
- <instcd/>
- <purcacntcd/>
- <purcacntnm/>
- </send>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fInitialize();
- ]]>
- </script>
- <script type="javascript">
- <![CDATA[
- function fInitialize()
- {
- misfGridInit(grd_rscmpuaclist);
-
- misfComboComCdListMulti("Z0007","cmb_instcd");
-
- misfMsterDetailSet(grd_rscmpuaclist, null, "TRRSD00331", "N");
-
-
- if(model.getValue(PURTARGET_NODE + "/instcd") != "")
- {
- model.setValue("/root/send/instcd" , model.getValue(PURTARGET_NODE + "/instcd"));
- }else{
- model.setValue("/root/send/instcd" , getUserInfo("dutplceinstcd"));
- }
- model.setValue("/root/send/purcacntcd" , model.getValue(PURTARGET_NODE + "/purcacntcd"));
- model.setValue("/root/send/purcacntnm" , model.getValue(PURTARGET_NODE + "/purcacntnm"));
-
- model.refresh();
-
- misfMsterDetailRetrieve();
- }
- ]]>
- </script>
- <submission id="TRRSD00331" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
- </xhtml:head>
- <xhtml:body pagewidth="590" pageheight="560" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group3" scroll="auto" style="left:8px; top:0px; width:581px; height:521px; ">
- <caption id="caption1" class="tit_2" style="left:5px; top:71px; width:183px; height:14px; ">구매계정 List</caption>
- <line id="line1" class="line_1" style="x1:0px; y1:85px; x2:579px; y2:85px; "/>
- <!--
- <datagrid id="grd_userlist" nodeset="/root/main/user/userlist" caption="사원번호^성명^직책^소속기관코드^소속기관명^소속부서코드^소속부서명" colsep="^" colwidth="70, 120, 120, 80, 120, 80, 130" dataheight="23" defaultrows="0" extendlastcol="scroll" mergecellsfixedrows="never" rowheader="seq" rowheight="23" rowsep="|" style="left:0px; top:68px; width:750px; height:448px; ">
- -->
- <group id="group4" style="left:0px; top:5px; width:580px; height:60px; ">
- <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:580px; height:60px; "/>
- <input id="ipt_purcacntcd" ref="/root/send/purcacntcd" class="input_search" navindex="2" visibility="visible" style="left:105px; top:35px; width:135px; height:19px; ">
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- if(event.keyCode == 13)
- {
- ipt_purcacntcd.value = ipt_purcacntcd.currentText;
- btn_search.dispatch("DOMActivate");
- }
- ]]>
- </script>
- </input>
- <input id="ipt_depthngnm" ref="/root/send/purcacntnm" class="input_search" navindex="3" visibility="visible" style="left:355px; top:35px; width:135px; height:19px; ">
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- if(event.keyCode == 13)
- {
- ipt_depthngnm.value = ipt_depthngnm.currentText;
- btn_search.dispatch("DOMActivate");
- }
- ]]>
- </script>
- </input>
- <caption id="cap_purcacntcd" class="search_name" visibility="visible" style="left:15px; top:35px; width:89px; height:17px; ">계정코드 :</caption>
- <button id="btn_search" class="btn1_letter2" navindex="5" style="left:514px; top:20px; width:56px; height:22px; text-align:left; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- misfMsterDetailRetrieve();
- ]]>
- </script>
- </button>
- <line id="line13" class="line_4" style="x1:504px; y1:4px; x2:504px; y2:56px; border-color:#ffe4bb; border-left-style:solid; "/>
- <caption id="cap_instcd" class="search_name" visibility="visible" style="left:15px; top:10px; width:89px; height:17px; ">기관코드 :</caption>
- <caption id="cap_purcacntnm" class="search_name" visibility="visible" style="left:265px; top:35px; width:89px; height:17px; ">계정명칭 :</caption>
- <select1 id="cmb_instcd" ref="/root/send/instcd" class="combo_s_essential" disabled="true" navindex="1" appearance="minimal" style="left:105px; top:10px; width:135px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- </group>
- <datagrid id="grd_rscmpuaclist" nodeset="/root/main/rscmpuaclist" caption="구매계정^구매계정" colsep="^" colwidth="107, 337" ellipsis="true" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" tooltip="true" style="left:0px; top:90px; width:581px; height:425px; ">
- <col ref="purcacntcd" style="text-align:center; "/>
- <col ref="purcacntnm" style="text-align:left; "/>
- <col ref="instcd" visibility="hidden" style="text-align:left; "/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- if( grd_rscmpuaclist.isCell(event.target) && grd_rscmpuaclist.row >= grd_rscmpuaclist.fixedRows )
- {
- btn_confirm.dispatch("DOMActivate");
- }
- ]]>
- </script>
- </datagrid>
- </group>
- <group id="group1" scroll="auto" style="left:8px; top:520px; width:581px; height:32px; ">
- <button id="btn_confirm" class="btn4_letter2" style="left:460px; top:5px; width:56px; height:22px; ">
- <caption>확인</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- misfPopUpListReturn(grd_rscmpuaclist);
- ]]>
- </script>
- </button>
- <button id="btn_cancel" class="btn4_letter2" style="left:519px; top:5px; width:56px; height:22px; ">
- <caption>취소</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- window.close();
-
- ]]>
- </script>
- </button>
- <line id="line32" class="line_6" style="x1:0px; y1:2px; x2:580px; y2:2px; "/>
- </group>
- </xhtml:body>
- </xhtml:html>
|