123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251 |
- <?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>
- <smllist/>
- </main>
- <target>
- <defaultvalue>
- <goodflag>A</goodflag>
- <lrgcd>A</lrgcd>
- <lrgnm/>
- <mdlcd>A</mdlcd>
- <mdlnm/>
- </defaultvalue>
- </target>
- <init>
- <refcond>
- <label>소분류코드</label>
- <value>smlcd</value>
- <label>소분류명</label>
- <value>smlnm</value>
- </refcond>
- </init>
- <send>
- <refcond/>
- <smlnm/>
- <smlcd/>
- <lrgcd/>
- <mdlcd/>
- <goodflag/>
- <lrgnm/>
- <mdlnm/>
- </send>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
-
- misfComboComCdList('R0025', cmb_goodflag); //물품구분
- model.setValue("/root/send/goodflag", model.getValue(PURTARGET_NODE + "/goodflag"));
- model.setValue("/root/send/lrgcd", model.getValue(PURTARGET_NODE + "/lrgcd"));
- model.setValue("/root/send/lrgnm", model.getValue(PURTARGET_NODE + "/lrgnm"));
- model.setValue("/root/send/mdlcd", model.getValue(PURTARGET_NODE + "/mdlcd"));
- model.setValue("/root/send/mdlnm", model.getValue(PURTARGET_NODE + "/mdlnm"));
- rdo_refcond.select(1);
- btn_search.dispatch("DOMActivate");
- model.setFocus("ipt_refcond");
-
- ]]>
- </script>
- <submission id="TRRSD00151" ref="/root/send" method="post" mediatype="application/x-www-form-urlencoded" resultref="/root/main"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.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/tfHelper.js"/>
- </xhtml:head>
- <xhtml:body pagewidth="781" pageheight="585" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group3" scroll="auto" style="left:8px; top:0px; width:750px; height:555px; ">
- <group id="group2" style="left:0px; top:5px; width:750px; height:88px; ">
- <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:750; height:88px; "/>
- <input id="ipt_refcond" ref="/root/send/smlnm" class="input_s_essential" style="left:100px; top:60px; width:519px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- inputEnterKey("btn_search", "DOMActivate");
- ]]>
- </script>
- </input>
- <button id="btn_search" class="btn1_letter2" style="left:679px; top:33px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(rdo_refcond.value == "smlnm") {
- model.setValue("/root/send/smlnm",ipt_refcond.label);
- }
- else {
- model.setValue("/root/send/smlcd",ipt_refcond.label);
- }
- submit("TRRSD00151");
- ]]>
- </script>
- </button>
- <line id="line13" class="line_4" style="x1:664px; y1:10px; x2:664px; y2:78px; border-color:#ffe4bb; border-left-style:solid; "/>
- <caption id="caption2" class="search_name" style="left:15; top:61; width:86px; height:17px; ">조회조건 :</caption>
- <select1 id="rdo_refcond" ref="/root/send/refcond" class="radio_search" overflow="visible" appearance="full" cols="2" style="left:100px; top:35px; width:147px; height:20px; border-style:solid; ">
- <choices>
- <itemset nodeset="/root/init/refcond">
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- if(rdo_refcond.value == "smlnm") {
- ipt_refcond.attribute("imemode") = "hangul";
- }
- else if (rdo_refcond.value == "smlcd") {
- ipt_refcond.attribute("imemode") = "disabled";
- }
- else {
- ipt_refcond.attribute("imemode") = "disabled";
- }
-
- model.setFocus("ipt_refcond");
- ]]>
- </script>
- </select1>
- <input id="ipt_lrgcd_search" ref="/root/send/lrgcd" class="input_search" style="left:354px; top:8; width:90px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(ipt_lrgcd_search.value != ""){
- rszfValidationCheck("TRRSD00131", "lrglist", "refcond,goodflag,lrgcd,lrgnm",
- "lrgcd," + cmb_goodflag.value +"," + ipt_lrgcd_search.value + ","
- ,"","lrgcd,lrgnm" ,ipt_lrgcd_search,"SPRSD00130","goodflag","cmb_goodflag_search");
- }else{
- ipt_lrgnm_search.value = "";
- }
- model.refresh();
- ]]>
- </script>
- </input>
- <button id="btn_lrgcd_search" class="icon_search" style="left:450px; top:11px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- rszfOpenPopUpListByWndName(ipt_lrgcd_search,"","lrgcd,lrgnm","SPRSD00130","goodflag","cmb_goodflag");
- btn_search.dispatch("DOMActivate");
- ]]>
- </script>
- </button>
- <select1 id="cmb_goodflag" ref="/root/send/goodflag" navindex="1" class="combo_s_essential" appearance="minimal" style="left:100; top:8; width:147px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/goodflag">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- btn_search.dispatch("DOMActivate");
- ]]>
- </script>
- </select1>
- <caption id="caption3" class="search_name" style="left:15; top:35; width:86px; height:17px; ">조회구분 :</caption>
- <caption id="caption4" class="search_name" style="left:15; top:9; width:86px; height:17px; ">물품구분 :</caption>
- <caption id="caption5" class="search_name" style="left:271px; top:9; width:86px; height:17px; ">대 분 류 :</caption>
- <input id="ipt_lrgnm_search" ref="/root/send/lrgnm" class="input_search" style="left:469px; top:8; width:150px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(ipt_lrgnm_search.value != ""){
- rszfValidationCheck("TRRSD00131", "lrglist", "refcond,goodflag,lrgcd,lrgnm",
- "lrgnm," + cmb_goodflag.value +",," + ipt_lrgnm_search.value
- ,"","lrgcd,lrgnm" ,ipt_lrgcd_search,"SPRSD00130","goodflag","cmb_goodflag_search");
- }else{
- ipt_lrgcd_search.value = "";
- }
- model.refresh();
- ]]>
- </script>
- </input>
- <input id="ipt_mdlcd_search" ref="/root/send/mdlcd" class="input_search" style="left:354px; top:34; width:90px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(ipt_mdlcd_search.value != ""){
- rszfValidationCheck("TRRSD00141", "mdllist", "refcond,goodflag,lrgcd,mdlcd,mdlnm",
- "mdlcd," + cmb_goodflag.value + "," + ipt_lrgcd_search.value + "," + ipt_mdlcd_search.value +","
- ,"","mdlcd,mdlnm" ,ipt_mdlcd_search,"SPRSD00140","goodflag,lrgcd,lrgnm","cmb_goodflag_search,ipt_lrgcd_search,ipt_lrgnm_search");
- }else{
- ipt_mdlnm_search.value = "";
- }
- model.refresh();
- ]]>
- </script>
- </input>
- <button id="btn_mdlcd_search" class="icon_search" style="left:450px; top:36px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- rszfOpenPopUpListByWndName(ipt_lrgcd_search,"","mdlcd,mdlnm","SPRSD00140","goodflag,lrgcd,lrgnm","cmb_goodflag,ipt_lrgcd_search,ipt_lrgnm_search");
- btn_search.dispatch("DOMActivate");
- ]]>
- </script>
- </button>
- <caption id="caption6" class="search_name" style="left:271px; top:35; width:86px; height:17px; ">중 분 류 :</caption>
- <input id="ipt_mdlnm_search" ref="/root/send/mdlnm" class="input_search" style="left:469px; top:34; width:150px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(ipt_mdlnm_search.value != ""){
- rszfValidationCheck("TRRSD00141", "mdllist", "refcond,goodflag,lrgcd,mdlcd,mdlnm",
- "mdlnm," + cmb_goodflag.value + "," + ipt_lrgcd_search.value + ",," + ipt_mdlnm_search.value
- ,"","mdlcd,mdlnm" ,ipt_mdlcd_search,"SPRSD00140","goodflag,lrgcd,lrgnm","cmb_goodflag_search,ipt_lrgcd_search,ipt_lrgnm_search");
- }else{
- ipt_mdlcd_search.value = "";
- }
- model.refresh();
- ]]>
- </script>
- </input>
- </group>
- <caption id="caption1" class="tit_2" style="left:5px; top:102px; width:145px; height:13px; ">소분류리스트</caption>
- <line id="line1" class="line_1" style="x1:0px; y1:116px; x2:750; y2:116px; "/>
- <datagrid id="grd_smllist" nodeset="/root/main/smllist" class="grd_smllist" caption="소분류^소분류명^물품구분^대분류코드^중분류코드^계정코드^비용계정" colwidth="120, 216,120,120,120, 130,110" dataheight="23" defaultrows="0" ellipsis="true" explorerbar="sortshow" extendlastcol="scroll" mergecellsfixedrows="never" rowheader="seq" rowheight="23" rowsep="|" colsep="^" tooltip="true" style="left:0px; top:121px; width:750px; height:429px; ">
- <col ref="smlcd"/>
- <col ref="smlnm"/>
- <col ref="goodflag" visibility="hidden"/>
- <col ref="lrgcd" visibility="hidden"/>
- <col ref="mdlcd" visibility="hidden"/>
- <col ref="wInacnt"/>
- <col ref="amtacnt"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- if( grd_smllist.isCell( event.target ) && grd_smllist.row >= grd_smllist.fixedRows ) {
- btn_confirm.dispatch("DOMActivate");
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_smllist.gridToInstance();
- ]]>
- </script>
- </datagrid>
- </group>
- <group id="group1" scroll="auto" style="left:8px; top:554px; width:750px; height:27px; ">
- <button id="btn_confirm" class="btn4_letter2" style="left:637px; top:5px; width:56px; height:22px; ">
- <caption>확인</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- misfPopUpListReturn(grd_smllist);
- ]]>
- </script>
- </button>
- <button id="btn_cancel" class="btn4_letter2" style="left:694px; 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:0px; x2:750; y2:0px; "/>
- </group>
- </xhtml:body>
- </xhtml:html>
|