123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?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>
- <goodlist>
- <lrgnm/>
- <goodcd/>
- <goodnm/>
- <goodspec/>
- <goodmodel/>
- <prodcmpynm/>
- <purcunit/>
- <exchqty/>
- <stocmngtflag/>
- </goodlist>
- </main>
- <target/>
- <init>
- <refcond>
- <label>물품코드</label>
- <value>goodcd</value>
- <label>물품명</label>
- <value>goodnm</value>
- </refcond>
- </init>
- <send>
- <goodref>
- <lrgcd/>
- <refcond/>
- <goodnm/>
- <goodcd/>
- <reqmthd/>
- </goodref>
- </send>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
-
- var reqflag = model.getValue(PURTARGET_NODE + "/reqflag"); //청구구분
- var reqmthd = '2'; // 청구방법
- model.setValue("root/send/goodref/reqmthd",reqmthd); //send/reqmthd에 청구방법 세팅 ( 콤보에 전체선택시 정량보충 이외의 물품제외 하기 위해)
- rszfComboLrgCdList(reqflag,reqmthd,cmb_lrgcd)
- misfGridInit(grd_goodlist);
- misfMsterDetailSet(grd_goodlist,null,"TRRSD00112","Y");
- rdo_refcond.select(1);
- model.setFocus("ipt_refcond");
- model.refresh();
- ]]>
- </script>
- <submission id="TRRSD00111" method="post" mediatype="application/x-www-form-urlencoded" resultref="/root/send/goodref/lrgcd"/>
- <submission id="TRRSD00112" ref="/root/send/goodref" method="post" mediatype="application/x-www-form-urlencoded" resultref="/root/main/goodlist"/>
- </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"/>
- <script type="javascript" src="../../../mis/miscommonweb/js/RSZ001.js"/>
- </xhtml:head>
- <xhtml:body pagewidth="831" pageheight="550" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group3" scroll="auto" style="left:8px; top:0px; width:800px; height:521px; ">
- <group id="group2" style="left:0px; top:5px; width:800px; height:35px; ">
- <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:800; height:35px; "/>
- <input id="ipt_refcond" ref="/root/send/goodref/goodnm" class="input_s_essential" style="left:446px; top:8; width:235px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- inputEnterKey("btn_search", "DOMActivate");
- ]]>
- </script>
- </input>
- <button id="btn_search" class="btn1_letter2" style="left:729px; top:7px; width:56px; height:22px; y1:7; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(rdo_refcond.value == "goodnm") {
- model.setValue("/root/send/goodref/goodnm",ipt_refcond.label);
- }
- else {
- model.setValue("/root/send/goodref/goodcd",ipt_refcond.label);
- }
-
- misfMsterDetailRetrieve();
- model.refresh();
- ]]>
- </script>
- </button>
- <line id="line13" class="line_4" style="x1:714px; y1:7px; x2:714px; y2:27px; border-color:#ffe4bb; border-left-style:solid; "/>
- <caption id="caption2" class="search_name" style="left:360px; top:9; width:86px; height:17px; ">조회조건 :</caption>
- <select1 id="rdo_refcond" ref="/root/send/goodref/refcond" class="radio_search" overflow="visible" appearance="full" cols="2" style="left:228px; top:9px; width:110px; 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 == "goodnm") {
- ipt_refcond.attribute("imemode") = "hangul";
- }
- else if (rdo_refcond.value == "goodcd") {
- ipt_refcond.attribute("imemode") = "disabled";
- }
- else {
- ipt_refcond.attribute("imemode") = "disabled";
- }
-
- model.setFocus("ipt_refcond");
- ]]>
- </script>
- </select1>
- <caption id="caption5" class="search_name" style="left:15px; top:9px; width:86px; height:17px; ">물품분류 :</caption>
- <select1 id="cmb_lrgcd" ref="/root/send/goodref/lrgcd" class="combo_s_essential" appearance="minimal" style="left:100px; top:8; width:125px; height:19px; margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- </group>
- <caption id="caption1" class="tit_2" style="left:5px; top:49px; width:113px; height:13px; ">물품 리스트</caption>
- <line id="line1" class="line_1" style="x1:0px; y1:63px; x2:800px; y2:63px; "/>
- <datagrid id="grd_goodlist" nodeset="/root/main/goodlist" allowuserresize="false" autoresize="true" caption="물품분류^물품코드^물품명^규격^모델^제조회사^포장단위^환상수량^재고" colwidth="65, 90, 160, 80, 80, 120, 60, 60, 50" dataheight="23" defaultrows="0" ellipsis="true" explorerbar="sortshow" extendlastcol="scroll" mergecellsfixedrows="never" rowheader="seq" rowheight="23" selectionmode="listbox" rowsep="|" colsep="^" tooltip="true" style="left:0px; top:68px; width:800px; height:448px; ">
- <col ref="lrgnm" disabled="true"/>
- <col ref="goodcd" disabled="true"/>
- <col ref="goodnm" disabled="true"/>
- <col ref="goodspec" disabled="true"/>
- <col ref="goodmodel" disabled="true"/>
- <col ref="prodcmpynm" disabled="true"/>
- <col ref="purcunit" disabled="true"/>
- <col ref="exchqty" disabled="true"/>
- <col ref="stocmngtflag" type="checkbox" checkvalue="Y,N" disabled="true"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- if( grd_goodlist.isCell( event.target ) && grd_goodlist.row >= grd_goodlist.fixedRows ) {
- btn_confirm.dispatch("DOMActivate");
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_goodlist.gridToInstance();
- ]]>
- </script>
-
- </datagrid>
- </group>
- <group id="group1" scroll="auto" style="left:8px; top:520px; width:800; height:27px; ">
- <button id="btn_confirm" class="btn4_letter2" style="left:686px; top:5px; width:56px; height:22px; ">
- <caption>확인</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- misfPopUpListReturn(grd_goodlist);
- ]]>
- </script>
- </button>
- <button id="btn_cancel" class="btn4_letter2" style="left:744px; top:5px; width:56px; height:22px; ">
- <caption>취소</caption>
- <close ev:event="DOMActivate"/>
- </button>
- <line id="line2" class="line_6" style="x1:0px; y1:0px; x2:795px; y2:0px; "/>
- </group>
- </xhtml:body>
- </xhtml:html>
|