123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228 |
- <?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>재물조사 이동내역</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <chgnhistlist/>
- </main>
- <send>
- <instcd/>
- <goodflag/>
- <updtdd1/>
- <updtdd2/>
- <updtflag/>
- <deptcd/>
- <deptnm/>
- <installplcecd/>
- <installplcenm/>
- <fixasetcd/>
- <goodflaghngnm/>
- </send>
- <init>
- <possnflagcd>
- <label>내자</label>
- <value>H</value>
- <label>외자</label>
- <value>F</value>
- </possnflagcd>
- <goodflag>
- <label>일반비품</label>
- <value>G</value>
- <label>의료장비</label>
- <value>E</value>
- </goodflag>
- </init>
- <temp/>
- </root>
- </instance>
- <submission id="TRRFE00201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/chgnhistlist"/>
- </model>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- //화면 Control을 초기화한다
- fInitialize();
- ]]>
- </script>
- <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"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript">
- <![CDATA[
- function fInitialize()
- {
- misfGridInit(grd_rfchcgmtlist);
-
-
- // misfComboComCdListMulti("Z0007", "cmb_instcd"); // 기관코드
- // misfGridComboComCdList("R0041", grd_chgnhistlist, "updtflag");
- // misfGridComboComCdList("R0047", grd_chgnhistlist, "curncyunit");
-
- misfComboComCdListMulti("Z0007,R0041,R0041,R0047",
- "cmb_instcd,cmb_updtflag,grd_rfchcgmtlist.updtflag,grd_rfchcgmtlist.curncyunit");
-
- addComboItem( "cmb_updtflag", "- 전 체 -", "", "above");
- cmb_goodflag.select(0);
-
- // 대분류 코드 콤보 설정.
- //rszfLMSComboList(cmb_goodflag_search.value, "", "", "cmb_lrgcd_search", "", "L", "Y") ;
-
- // 현재 날짜 기본 입력(6개월 간격 설정)
- var reqdate = getCurrentDate().toDate("YYYYMMDD");
- model.setValue(ipt_updtdd1.attribute("ref"), reqdate.getAddDate(-6, "M").getDateFormat("YYYYMMDD") );
- model.setValue(ipt_updtdd2.attribute("ref"), getCurrentDate());
- model.setValue(cmb_instcd.attribute("ref"), getUserInfo("dutplceinstcd")); // 기관 설정
-
- misfMsterDetailSet(grd_rfchcgmtlist, null, "TRRFE00201", "N");
-
- model.refresh();
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:230px; height:14px; ">이동 내역</caption>
- <caption id="caption4" class="patient_text_black" style="left:922px; top:0px; width:272px; "/>
- </group>
- <group id="group3" scroll="auto" style="left:0px; top:40; width:1195px; height:744px; ">
- <line id="line1" class="line_1" style="x1:0px; y1:71px; x2:1194px; y2:71px; "/>
- <caption id="caption21" class="tit_2" style="left:5px; top:56px; width:143px; height:14px; ">이동 내역</caption>
- <button id="btn_excel" class="btn2_letter2" style="left:1143px; top:51px; width:42px; height:19px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var fileName = window.fileDialog ("save", ",", false, "자산변동사항이력List", "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
- if (fileName != "")
- {
- grd_rfchcgmtlist.saveExcel(fileName);
- }
- ]]>
- </script>
- </button>
- <datagrid id="grd_rfchcgmtlist" nodeset="/root/main/chgnhistlist" caption="실시년도^기관코드^부서^장비코드^장비명^모델^제조원^거래처^이동전^이동후^비 고" colsep="^" colwidth="82, 79, 125, 100, 171, 120, 110, 112, 83, 86, 100" ellipsis="true" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" tooltip="true" style="left:0px; top:76px; width:1194px; height:654px; ">
- <col visibility="hidden"/>
- <col visibility="hidden"/>
- <col ref="updtdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="fixasetcd" style="text-align:center; "/>
- <col ref="goodflaghngnm" style="text-align:center; "/>
- <col disabled="true" ref="updtflag" _key="true" style="text-align:center; "/>
- <col ref="installplcenm" style="text-align:center; "/>
- <col disabled="true" ref="possnflagcd" style="text-align:center; "/>
- <col format="#,###" maxlength="12" ef="forgncurncyamt" style="text-align:right; "/>
- <col disabled="true" ref="curncyunit" maxlength="2" style="text-align:left; "/>
- <col type="combo"/>
- </datagrid>
- <group id="grp_sea" style="left:0px; top:10px; width:1195px; height:35px; vertical-align:top; ">
- <shape id="roundrect1" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1195px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
- <line id="line13" class="line_4" style="x1:1110px; y1:5px; x2:1110px; y2:30px; border-color:#ffe4bb; border-left-style:solid; "/>
- <button id="btn_search" class="btn1_letter2" style="left:1125px; top:8px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fsearch();
- ]]>
- </script>
- </button>
- <button id="btn_fixasetcd" class="icon_search" style="left:684px; top:10px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // ,cntrdeptcd,installplcenm,possnamt,goodspec,mngtno,possndd,installplcecd,depthngnm
- var temp = "fixasetcd,goodflaghngnm";
-
- rszfOpenPopUpListByWndName(ipt_fixasetcd,"", temp, "SPRSD00240","instcd,goodflag","cmb_instcd,cmb_goodflag");
-
- model.refresh();
- ]]>
- </script>
- </button>
- <input id="ipt_fixasetnm" ref="/root/send/goodflaghngnm" class="input_search" navindex="6" style="left:703px; top:8px; width:272px; height:19px; text-align:center; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(ipt_fixasetnm.value != "")
- {
- rszfValidationCheck("TRRSD00241", "rfcmfacdlist", "requirementcd,instcd,requirementnm",
- "goodflaghngnm," + cmb_instcd.value + "," + ipt_fixasetnm.value, "", "fixasetcd,goodflaghngnm",
- ipt_fixasetnm, "SPRSD00240_고정자산코드검색HELP", "instcd,goodflag","cmb_instcd,cmb_goodflag");
- }else{
- ipt_fixasetcd.value = "";
- }
- model.refresh();
- ]]>
- </script>
- </input>
- <input id="ipt_deptnm" ref="/root/send/deptnm" class="input_search" navindex="6" style="left:234px; top:9px; width:191px; height:19px; text-align:center; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(ipt_deptnm.value == ""){
- ipt_deptcd.value = "";
- }else {
- misfValidationCheck("02", "", "deptcd,deptnm");
- }
- model.refresh();
- ]]>
- </script>
- </input>
- <caption id="cap_deptcd" class="search_name" style="left:15px; top:10px; width:89px; height:17px; ">사용부서 :</caption>
- <input id="ipt_fixasetcd" ref="/root/send/fixasetcd" class="input_search" navindex="6" style="left:574px; top:8px; width:106px; height:19px; text-align:center; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(ipt_fixasetcd.value != "")
- {
- rszfValidationCheck("TRRSD00241", "rfcmfacdlist", "requirementcd,instcd,requirementnm",
- "fixasetcd," + cmb_instcd.value + "," + ipt_fixasetcd.value, "", "fixasetcd,goodflaghngnm",
- ipt_fixasetcd, "SPRSD00240_고정자산코드검색HELP", "instcd,goodflag","cmb_instcd,cmb_goodflag");
- }else{
- ipt_fixasetnm.value = "";
- }
-
- model.refresh();
- ]]>
- </script>
- </input>
- <button id="btn_deptcd" class="icon_search" style="left:215px; top:11px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- misfOpenPopUpList("02", ipt_deptcd,"","deptcd,deptnm");
- model.refresh();
- ]]>
- </script>
- </button>
- <input id="ipt_deptcd" ref="/root/send/deptcd" class="input_search" navindex="6" style="left:105px; top:9px; width:106px; height:19px; text-align:center; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(ipt_deptcd.value == ""){
- ipt_deptnm.value = "";
- }else {
- misfValidationCheck("02", "", "deptcd,deptnm");
- }
- model.refresh();
- ]]>
- </script>
- </input>
- <caption id="cap_fixasetcd" class="search_name" style="left:485px; top:9px; width:89px; height:17px; ">자산코드 :</caption>
- </group>
- </group>
- <group id="group2" scroll="auto" style="left:0px; top:13; width:1195px; height:27px; ">
- <line id="line7" class="line_6" style="x1:0px; y1:25; x2:1194px; y2:25; "/>
- <button id="btn_init" class="btn4_letter3" style="left:1126; top:3; width:68px; height:22px; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fInitialize();
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|