123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197 |
- <?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>
- <rscdlist>
- <chkyn/>
- </rscdlist>
- </main>
- <init>
- </init>
- <send>
- <reqdata>
- <goodcd/>
- <srchflag/>
- <goodflag/>
- </reqdata>
- </send>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- grd_rscdlist.fixedcellcheckbox(0,grd_rscdlist.colRef("chkyn")) = true;
- rdo_goodflag.value = "L";
- btn_search.dispatch("DOMActivate");
- ]]>
- </script>
- <script type="javascript">
- <![CDATA[
- function fSettingGoodList(pnode) {
-
- var codynode = instance1.selectNodes(pnode + "/*");
-
- var addRow = grd_deptlist.rows - grd_deptlist.fixedRows;
-
- for (var j = 1; j <= codynode.length; j++)
- {
- if(addRow > grd_deptlist.rows - grd_deptlist.fixedRows)
- {
- misfGridIUD(grd_deptlist,"A");
- addRow = grd_deptlist.rows - grd_deptlist.fixedRows;
- }
- model.setValue(grd_deptlist.nodeset + "[" + addRow + "]/deptcd" , model.getValue(pnode +"/" + "grd_deptlist" + "[" + j + "]/deptcd"));
- model.setValue(grd_deptlist.nodeset + "[" + addRow + "]/deptnm" , model.getValue(pnode +"/" + "grd_deptlist" + "[" + j + "]/depthngnm"));
- model.setValue(grd_deptlist.nodeset + "[" + addRow + "]/supdeptcd" , cmb_dept.value);
- model.setValue(grd_deptlist.nodeset + "[" + addRow + "]/supdeptnm" , cmb_dept.label);
- model.setValue(grd_deptlist.nodeset + "[" + addRow + "]/userid" , getUserInfo("userid"));
- model.setValue(grd_deptlist.nodeset + "[" + addRow + "]/useyn" , "Y");
- addRow = addRow + 1;
- }
- model.recalculate();
- model.refresh();
-
- }
- ]]>
- </script>
- <submission id="TRMNG02802" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/rscdlist"/>
- </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="800" pageheight="565" guideline="1,804;2,554;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group3" scroll="auto" style="left:0px; top:0px; width:782px; height:520px; ">
- <group id="group2" style="left:0px; top:0px; width:780px; height:30px; ">
- <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:780px; height:29px; "/>
- <button id="btn_search" class="btn1_letter2" style="left:719px; top:4px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- if (ipt_good.value != null && ipt_good.value != "") {
- if (radio1.value == null || radio1.value == "") {
- alert("조회조건을 선택하세요");
- return;
- }
- }
- model.getValue("/root/send/reqdata/goodflag");
- submit("TRMNG02802");
- ]]>
- </script>
- </button>
- <line id="line13" class="line_4" style="x1:715px; y1:0px; x2:715px; y2:29px; border-color:#ffe4bb; border-left-style:solid; "/>
- <caption id="caption2" class="search_name" style="left:10px; top:6px; width:86px; height:17px; ">조회조건:</caption>
- <select1 id="radio1" ref="/root/send/reqdata/srchflag" appearance="full" cols="2" overflow="visible" style="left:105px; top:5px; width:130px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>물품코드</label>
- <value>C</value>
- </item>
- <item>
- <label>물품명</label>
- <value>N</value>
- </item>
- </choices>
- </select1>
- <input id="ipt_good" ref="/root/send/reqdata/goodcd" class="input_search" style="left:235px; top:5px; width:155px; height:19px; "/>
- <caption id="caption3" class="search_name" style="left:410px; top:6px; width:86px; height:17px; ">구분 :</caption>
- <select1 id="rdo_goodflag" ref="/root/send/reqdata/goodflag" appearance="full" cols="4" overflow="visible" style="left:480px; top:5px; width:210px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>전체</label>
- <value>A</value>
- </item>
- <item>
- <label>L</label>
- <value>L</value>
- </item>
- <item>
- <label>K</label>
- <value>K</value>
- </item>
- <item>
- <label>E</label>
- <value>E</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- btn_search.dispatch("DOMActivate");
- ]]>
- </script>
- </select1>
- </group>
- <caption id="caption1" class="tit_2" style="left:5px; top:45px; width:133px; height:14px; ">린넨물품(물류)조회</caption>
- <line id="line1" class="line_1" style="x1:0px; y1:60px; x2:780px; y2:60px; "/>
- <datagrid id="grd_rscdlist" nodeset="/root/main/rscdlist" caption="^물품코드^물품명^물품영문명^사용여부^규격^모델명^불출단위" colsep="^" colwidth="20, 100, 160, 160, 60, 80, 80, 70" dataheight="23" defaultrows="0" explorerbar="sort" mergecellsfixedrows="never" rowheader="seq" rowheight="23" rowsep="|" style="left:0px; top:65px; width:780px; height:455px; ">
- <col checkvalue="Y,N" ref="chkyn" type="checkbox"/>
- <col editable="false" ref="goodcd"/>
- <col editable="false" ref="goodnm"/>
- <col editable="false" ref="goodengnm"/>
- <col editable="false" ref="useyn"/>
- <col ref="goodspec"/>
- <col ref="goodmodel"/>
- <col ref="deliveunit"/>
- <col ref="instcd" visibility="hidden"/>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_rscdlist.gridToInstance();
- ]]>
- </script>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- if( grd_rscdlist.isCell(event.target) && grd_rscdlist.row >= grd_rscdlist.fixedRows )
- {
- btn_confirm.dispatch("DOMActivate");
- }
- ]]>
- </script>
- </datagrid>
- </group>
- <group id="group1" scroll="auto" style="left:0px; top:521px; width:780px; height:27px; ">
- <button id="btn_confirm" class="btn4_letter2" style="left:661px; top:2px; width:56px; height:22px; ">
- <caption>확인</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(grd_rscdlist.rows - grd_rscdlist.fixedRows == 0)
- {
- messageBox("적용할 내역이","I004");
- window.close();
- return;
- }
- var iParam = model.getValue(grd_rscdlist.nodeset);
-
- var nodelist = instance1.selectNodes(grd_rscdlist.nodeset + "[chkyn='Y']");
-
- var rCVS = getNodeListCSV(nodelist);
- if ( checkOpener() ) {
- opener.javascript.setParameter("SPMNG02800_", rCVS);
- } else {
- var rtn = messageBox("상위화면을 찾을 수", "E001");
- }
- window.close();
-
-
- // misfPopUpListReturn(grd_deptlist);
- ]]>
- </script>
- </button>
- <button id="btn_cancel" class="btn4_letter2" style="left:720px; top:2px; width:56px; height:22px; ">
- <caption>취소</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- misfPopUpListCancel();
- ]]>
- </script>
- </button>
- <line id="line32" class="line_6" style="x1:0px; y1:0px; x2:518px; y2:0px; "/>
- </group>
- </xhtml:body>
- </xhtml:html>
|