123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131 |
- <?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>SMRPV99100_평가공통코드HELP</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <valucode>
- <valucodelist/>
- </valucode>
- </main>
- <target/>
- <init>
- </init>
- <send>
- <valucode>
- <valuyy/>
- <valucdflag>JOBROLEMOVERESN</valucdflag>
- <valucdnm/>
- </valucode>
- </send>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- misfGridInit(grd_valucode);
- misfMsterDetailSet(grd_valucode,null, "TRRPV99101" ,"N");
- var curdate = getCurrentDate();
- model.setValue("root/send/valucode/valucdflag",model.getValue("/root/target/valucdflag"));
- model.setValue(ipt_valuyy.attribute("ref") , curdate.substr(0, 4));
- try {
- model.setValue(ipt_valuyy.attribute("ref"),model.getValue("/root/target/defaultvalue/ipt_valuyy"));
-
- } catch (ex) {
- }
- model.setFocus("ipt_valucdflag");
- model.refresh();
- btn_search.dispatch("DOMActivate");
- ]]>
- </script>
- <submission id="TRRPV99101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/valucode" resultref="/root/main/valucode"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- </xhtml:head>
- <xhtml:body pagewidth="620" pageheight="570" guideline="1,156;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group3" scroll="auto" style="left:10px; top:0px; width:580px; height:522px; ">
- <group id="group2" style="left:0px; top:5px; width:580px; height:35; ">
- <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:580px; height:35; "/>
- <input id="ipt_valucdflag" ref="/root/send/valucode/valucdnm" class="input_s_essential" style="left:100; top:8; width:99px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- inputEnterKey("btn_search", "DOMActivate");
- ]]>
- </script>
- </input>
- <button id="btn_search" class="btn1_letter2" style="left:509px; top:7px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- misfMsterDetailRetrieve();
- ]]>
- </script>
- </button>
- <caption id="caption2" class="search_name" style="left:15; top:9; width:86px; height:17px; ">조회조건:</caption>
- </group>
- <caption id="caption1" class="tit_2" style="left:5px; top:49px; width:175px; height:13px; ">평가코드 리스트</caption>
- <line id="line1" class="line_1" style="x1:0px; y1:63px; x2:580px; y2:63px; "/>
- <datagrid id="grd_valucode" nodeset="/root/main/valucode/valucodelist" caption="코드^코드군명^" colsep="^" colwidth="77, 443, 19" dataheight="23" defaultrows="0" ellipsis="true" extendlastcol="scroll" mergecellsfixedrows="never" rowheader="seq" rowheight="23" rowsep="|" tooltip="true" style="left:0px; top:68px; width:580px; height:449px; ">
- <col ref="valucd"/>
- <col ref="valucdnm"/>
- <col checkvalue="Y,N" ref="check" type="checkbox"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- if( grd_valucode.isCell(event.target) && grd_valucode.row >= grd_valucode.fixedRows )
- {
- model.setValue(grd_valucode.nodeset + "[" + (grd_valucode.row - grd_valucode.fixedRows + 1) + "]/check" , "Y");
- btn_confirm.dispatch("DOMActivate");
- }
- ]]>
- </script>
- </datagrid>
- <input id="ipt_valuyy" ref="/root/send/valucode/valuyy" visibility="hidden" style="left:170px; top:45px; width:60px; height:19px; "/>
- </group>
- <group id="group1" scroll="auto" style="left:10px; top:521px; width:580px; height:27px; ">
- <button id="btn_confirm" class="btn4_letter2" style="left:467px; top:2px; width:56px; height:22px; ">
- <caption>확인</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(grd_valucode.rows - grd_valucode.fixedRows == 0)
- {
- messageBox("적용할 내역이","I004");
- window.close();
- return;
- }
- var iParam = model.getValue(grd_valucode.nodeset);
- var nodelist = instance1.selectNodes(grd_valucode.nodeset+ "[check='Y']");
-
- var rCVS = getNodeListCSV(nodelist);
- if ( checkOpener() ) {
- opener.javascript.setParameter("SMRPV99100_", rCVS);
-
- } else {
- var rtn = messageBox("상위화면을 찾을 수", "E001");
- }
- window.close();
- ]]>
- </script>
- </button>
- <button id="btn_cancel" class="btn4_letter2" style="left:524px; top:2px; 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:0px; x2:580; y2:0px; "/>
- </group>
- </xhtml:body>
- </xhtml:html>
|