123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261 |
- <?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>
- <list>
- <fixtrscnfmmvinfo>
- <fixtrscnfmmvlist/>
- </fixtrscnfmmvinfo>
- </list>
- </main>
- <send>
- <search>
- <instcd/>
- <goodflag/>
- <usedeptcd/>
- <usedeptnm/>
- <fixasetcd/>
- <goodflagengnm/>
- </search>
- <fixtrscnfmmvlist/>
- </send>
- <init>
- </init>
- <temp/>
- </root>
- </instance>
- <submission id="TRRFE02301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/search" resultref="/root/main/list/fixtrscnfmmvinfo"/>
- <submission id="TXRFE02301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/temp"/>
- </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()
- {
- rszfGoodFlagListByPgmGubn(cmb_goodflag,"2","N");
- misfComboComCdList('Z0007', cmb_instcd);
- model.setValue(cmb_instcd.attribute("ref"), getUserInfo("dutplceinstcd"));
- model.setValue(ipt_usedeptcd.attribute("ref"), getUserInfo("dutplcecd"));
- model.setValue(ipt_usedeptnm.attribute("ref"), getUserInfo("dutplcenm"));
-
- model.removeNodeset("/root/main/list/fixtrscnfmmvinfo");
- 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:104px; x2:1194px; y2:104px; "/>
- <caption id="caption21" class="tit_2" style="left:5px; top:86px; width:143px; height:13px; ">이동 내역</caption>
- <datagrid id="grd_fixtrscnfmmvlist" nodeset="/root/main/list/fixtrscnfmmvinfo/fixtrscnfmmvlist" class="datagrid1" caption="실시년도^기관코드^물품코드^사용부서^부서명^장비코드^(자산코드)순번^장비명^모델명^제조회사^거래처명^이동전^이동후^비고" colsep="^" colwidth="80, 80, 80, 80, 119, 128, 100, 164, 139, 120, 120, 128, 118, 120" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="24" rowsep="|" style="left:0px; top:110px; width:1194px; height:620px; font-weight:normal; text-align:center; ">
- <col ref="execyy" visibility="hidden" style="text-align:left; "/>
- <col ref="instcd" visibility="hidden" style="text-align:left; "/>
- <col ref="goodflag" visibility="hidden" style="text-align:left; "/>
- <col ref="usedeptcd" visibility="hidden" style="text-align:left; "/>
- <col ref="deptnm" style="text-align:left; padding-left:10; "/>
- <col ref="fixasetcd" style="text-align:center; "/>
- <col ref="seqno" visibility="hidden"/>
- <col ref="goodflagengnm" style="text-align:left; padding-left:10; "/>
- <col ref="goodmodel" style="text-align:left; padding-left:10; "/>
- <col ref="prodcmpynm" style="text-align:left; padding-left:10; "/>
- <col ref="suplplcenm" style="text-align:left; padding-left:10; "/>
- <col ref="usedeptnm" style="text-align:left; padding-left:10; "/>
- <col ref="possndeptnm" style="text-align:left; padding-left:10; "/>
- <col ref="cmt" type="input" style="text-align:center; "/>
- </datagrid>
- <group id="grp_sea" style="left:0px; top:17px; width:1195px; height:63px; vertical-align:top; ">
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1195px; height:63px; background-color:#fffbf2; border-color:#ffd799; "/>
- <line id="line30" class="line_4" style="x1:1110px; y1:4px; x2:1110px; y2:58px; "/>
- <button id="btn_search" class="btn1_letter2" style="left:1125px; top:22px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(!isRequiredControls("cmb_instcd")) return;
- if(!isRequiredControls("cmb_goodflag")) return;
- submit("TRRFE02301");
- model.refresh();
- ]]>
- </script>
- </button>
- <select1 id="cmb_instcd" ref="/root/send/search/instcd" class="combo_default" appearance="minimal" style="left:125px; top:10px; width:170px; height:19px; ">
- <choices>
- <itemset nodeset="/root/main/init">
- <label ref="cnstnm"/>
- <value ref="cnstcd"/>
- </itemset>
- </choices>
- </select1>
- <caption id="cap_instcd" class="search_name" style="left:30px; top:9px; width:86px; height:17px; ">기관코드 :</caption>
- <select1 id="cmb_goodflag" ref="/root/send/search/goodflag" class="combo_default" appearance="minimal" style="left:125px; top:36px; width:170px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/goodflag">
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- </select1>
- <caption id="cap_goodflag" class="search_name" style="left:30px; top:35px; width:86px; height:17px; ">물품구분 :</caption>
- <caption id="cap_usedeptcd" class="search_name" style="left:500px; top:10px; width:89px; height:17px; ">사용부서 :</caption>
- <input id="ipt_usedeptnm" ref="/root/send/search/usedeptnm" class="input_search" style="left:758px; top:9px; width:232px; height:19px; text-align:center; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(ipt_usedeptnm.value == ""){
- ipt_usedeptcd.value = "";
- }else {
- misfValidationCheck("02", "", "usedeptcd,usedeptnm");
- }
- model.refresh();
- ]]>
- </script>
- </input>
- <button id="btn_deptcd" class="icon_search" style="left:735px; top:12px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //misfOpenPopUpList("02", ipt_usedeptcd,"","usedeptcd,usedeptnm");
- var recv_list = "usedeptcd,usedeptnm";
- misfOpenPopUpList("02", ipt_usedeptcd,"", recv_list, model.getValue("/root/send/instcd"), "instcd") ;
- //misfOpenPopUpList("02", ipt_usedeptcd,"", recv_list, cmb_instcd.value, "instcd") ;
- model.refresh();
- ]]>
- </script>
- </button>
- <input id="ipt_usedeptcd" ref="/root/send/search/usedeptcd" class="input_search" style="left:595px; top:9px; width:135px; height:19px; text-align:center; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(ipt_usedeptcd.value == ""){
- ipt_usedeptnm.value = "";
- }else {
- misfValidationCheck("02", "", "usedeptcd,usedeptnm");
- }
- model.refresh();
- ]]>
- </script>
- </input>
- <button id="btn_fixasetcd" class="icon_search" style="left:735px; top:37px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // ,cntrdeptcd,installplcenm,possnamt,goodspec,mngtno,possndd,installplcecd,depthngnm
- var temp = "fixasetcd,goodflagengnm";
-
- rszfOpenPopUpListByWndName(ipt_fixasetcd,"", temp, "SPRSD00240","instcd,goodflag","cmb_instcd,cmb_goodflag");
-
- model.refresh();
- ]]>
- </script>
- </button>
- <input id="ipt_fixasetnm" ref="/root/send/search/goodflagengnm" class="input_search" style="left:758px; top:36px; width:232px; height:19px; text-align:left; padding-left:10; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(ipt_fixasetnm.value != "")
- {
- rszfValidationCheck("TRRSD00241", "rfcmfacdlist", "requirementcd,instcd,requirementnm",
- "goodflagengnm," + cmb_instcd.value + "," + ipt_fixasetnm.value, "", "fixasetcd,goodflagengnm",
- ipt_fixasetnm, "SPRSD00240_고정자산코드검색HELP", "instcd,goodflag","cmb_instcd,cmb_goodflag");
- }else{
- ipt_fixasetcd.value = "";
- }
- model.refresh();
- ]]>
- </script>
- </input>
- <input id="ipt_fixasetcd" ref="/root/send/search/fixasetcd" class="input_search" style="left:595px; top:36px; width:135px; 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,goodflagengnm",
- ipt_fixasetcd, "SPRSD00240_고정자산코드검색HELP", "instcd,goodflag","cmb_instcd,cmb_goodflag");
- }else{
- ipt_fixasetnm.value = "";
- }
-
- model.refresh();
- ]]>
- </script>
- </input>
- <caption id="cap_fixasetcd" class="search_name" style="left:500px; top:36px; width:89px; height:17px; ">자산코드 :</caption>
- </group>
- <button id="btn_excel" class="btn2_letter2" style="left:1070px; top:83px; width:42px; height:19px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var retMes = messageBox("저장 하시겠습니까?", "Q999");
- if ( retMes != 6) {
- return;
- }
- var updtdata = getGridUpdateData(grd_fixtrscnfmmvlist);
-
- if (updtdata == "")
- {
- messageBox("변경된 데이터가","I004");
- return;
- }
- model.setValue("/root/send/fixtrscnfmmvlist", updtdata);
- misfSave("TXRFE02301");
- btn_search.dispatch("DOMActivate");
- model.refresh();
-
- ]]>
- </script>
- </button>
- <button id="button1" class="btn2_letter4" style="left:1119px; top:83px; width:64px; height:19px; ">
- <caption>엑셀저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var fileName = window.fileDialog("save", ",", false, "excel", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
-
- if (fileName != "") {
- grd_fixtrscnfmmvlist.saveExcel(fileName, "sheetname:sheet1;colhiddenextend:true;rowhiddenextend:false;exportfalsecols:0,0;col_1:value;");
- }
- ]]>
- </script>
- </button>
- </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>
|