123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134 |
- <?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="">
- <main>
- <updtcnclresn/>
- <updtcnclresncd/>
- </main>
- <send/>
- <init/>
- <hidden>
- <enrcomncode>
- <chngcnclresn>
- <nm/>
- <cd/>
- </chngcnclresn>
- <remark>
- <nm/>
- <cd/>
- </remark>
- </enrcomncode>
- </hidden>
- </root>
- </instance>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- </model>
- </xhtml:head>
- <xhtml:body pagewidth="560" pageheight="360">
- <input id="input1" ref="/root/main/updtcnclresn" navindex="1" style="left:5px; top:290px; width:535px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if(event.keyCode == "13") {
- model.setValue("/root/main/updtcnclresn", input1.currentText );
- btn_confirm.dispatch("DOMActivate");
- }
- ]]>
- </script>
- </input>
- <caption id="caption14" class="tit_2" style="left:10px; top:5px; width:105px; height:14px; ">변경취소사유</caption>
- <select1 id="combo2" ref="/root/main/updtcnclresncd" navindex="2" visibility="hidden" appearance="minimal" style="left:520px; top:2px; width:20px; height:19px; ">
- <choices>
- <itemset nodeset="/root/hidden/enrcomncode/chngcnclresn">
- <label ref="nm"/>
- <value ref="nm"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- model.setValue("/root/main/updtcnclresn", combo2.value);
- ]]>
- </script>
- </select1>
- <group id="group1" scroll="auto" style="left:0px; top:310px; width:540px; height:27px; ">
- <button id="btn_confirm" class="btn4_letter2" navindex="3" style="left:424px; top:5px; width:56px; height:22px; ">
- <caption>확인</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- if ( checkOpener() ) {
-
- opener.javascript.setParameter("SPPMO01000_updtcnclresn", model.getValue("/root/main/updtcnclresn"));
- opener.javascript.setParameter("SPPMO01000_updtcnclresncd", model.getValue("/root/main/updtcnclresncd"));
- } else {
- messageBox("상위화면이 변경되어 데이터를 가져올 수", "I004");
- //return false;
- }
-
- opener.model.refresh();
- window.close();
-
- ]]>
- </script>
- </button>
- <button id="btn_cancel" class="btn4_letter2" navindex="4" style="left:483px; top:5px; width:56px; height:22px; ">
- <caption>취소</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if ( checkOpener() ) {
-
- opener.javascript.setParameter("SPPMO01000_updtcnclresn", '-');
- opener.javascript.setParameter("SPPMO01000_updtcnclresncd", '-');
- } else {
- messageBox("상위화면이 변경되어 데이터를 가져올 수", "I004");
- //return false;
- }
- window.close();
- ]]>
- </script>
- </button>
- <line id="line32" class="line_6" style="x1:0px; y1:0px; x2:540px; y2:0px; "/>
- </group>
- <datagrid id="datagrid1" nodeset="/root/hidden/enrcomncode/chngcnclresn" caption="변경취소사유^caption2" colsep="^" colwidth="501, 100" extendlastcol="noscroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:5px; top:26px; width:535px; height:260px; ">
- <col ref="nm" type="input"/>
- <col ref="cd" visibility="hidden"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- var row = datagrid1.row;
- var col = datagrid1.col;
-
- if( ! isDataCell() ){
- return false;
- }
-
- model.setValue("/root/main/updtcnclresn", datagrid1.valueMatrix(row, 1));
- model.setValue("/root/main/updtcnclresncd", datagrid1.valueMatrix(row, 2));
-
- if( model.getValue("/root/main/updtcnclresn") != ""){
-
- btn_confirm.dispatch("DOMActivate");
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- var row = datagrid1.row;
- var col = datagrid1.col;
-
- if( ! isDataCell() ){
- return false;
- }
-
- model.setValue("/root/main/updtcnclresn", datagrid1.valueMatrix(row, 1));
- model.setValue("/root/main/updtcnclresncd", datagrid1.valueMatrix(row, 2));
- ]]>
- </script>
- </datagrid>
- <line id="line1" class="line_1" style="x1:5px; y1:21px; x2:540px; y2:21px; "/>
- </xhtml:body>
- </xhtml:html>
|