1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
- <xhtml:html xmlns:ex="http://www.comsquare.co.kr/xforms/excel" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:ms="urn:schemas-microsoft-com:xslt" xmlns:my="http://www.comsquare.co.kr/example" 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" xmlns:cs="http://www.comsquare.co.kr/xforms">
- <xhtml:head>
- <xhtml:title>수리(예방) 이력 현황</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <rfehemhtlist/>
- <rfemdamklist/>
- <rfehdabplist/>
- <com_rfehemhtlist/>
- <fixasetlist/>
- <rfchprvnlist/>
- <control>
- <rfchprvnlist/>
- </control>
- <rfehemhtlist2/>
- </main>
- <send>
- <instcd/>
- <fixtrseqmtflag/>
- <acptdd/>
- <acptdd2/>
- <rfehrhfchflag/>
- <lrgcd/>
- <fixasetcd/>
- <fixasetcd_search/>
- <fixasetnm/>
- <lrgnm/>
- <tempmngtdeptcd/>
- <tempmngtdeptnm/>
- <goodflag/>
- <reqdd/>
- <reqno/>
- <rpirdd/>
- <prvnchktodd/>
- <prvnchkfrdd/>
- <rfehemht_cnt_yn/>
- <chrgpsnid/>
- <chrgpsnnm/>
- <mngtdeptcd/>
- <mngtdeptnm/>
- <installplcecd/>
- <installplcenm/>
- <todd1/>
- <todd2/>
- </send>
- <init>
- <useyn>
- <label>내부</label>
- <value>1</value>
- <label>외부</label>
- <value>2</value>
- </useyn>
- <fixtrseqmflag>
- <label>전 체</label>
- <value/>
- <label>의료장비</label>
- <value>EQ</value>
- <label>일반비품</label>
- <value>GE</value>
- </fixtrseqmflag>
- <sanctyn>
- <label>결재</label>
- <value>Y</value>
- <label>미결재</label>
- <value>N</value>
- <label>반송</label>
- <value>R</value>
- </sanctyn>
- <grdsanctyn>
- <label>결재</label>
- <value>Y</value>
- <label>미결재</label>
- <value>N</value>
- <label>반송</label>
- <value>R</value>
- </grdsanctyn>
- <rfehrhfchflag>
- <label>수리</label>
- <value>1</value>
- <label>예방</label>
- <value>2</value>
- </rfehrhfchflag>
- <check>
- <label>GOOD</label>
- <value>G</value>
- <label>BAD</label>
- <value>B</value>
- </check>
- <check2>
- <label>O</label>
- <value>G</value>
- <label>X</label>
- <value>B</value>
- </check2>
- <itslfchkyn>
- <label>자체점검</label>
- <value>1</value>
- <label>외부점검</label>
- <value>2</value>
- </itslfchkyn>
- <prvnchkprcsstat>
- <label>점검중</label>
- <value>1</value>
- <label>점검완료</label>
- <value>2</value>
- <label>결제완료</label>
- <value>3</value>
- </prvnchkprcsstat>
- </init>
- <temp/>
- <print>
- <fixasetlist/>
- </print>
- <value>
- <prvnchkfrdd/>
- <prvnchktodd/>
- </value>
- <printsearch>
- <instcd/>
- <fixasetcd/>
- </printsearch>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
-
- misfMsterDetailSet(grd_rfehemhtlist, null, "TRRFE00601", "Y");
- misfMsterDetailSet(grd_rfemdamklist, null, "TRRFE00602", "N");
- misfMsterDetailSet(grd_rfehdabplist, null, "TRRFE00603", "N");
- misfMsterDetailSet(grd_rfehemhtlist2, null, "TRRFE00604", "Y");
- misfMsterDetailSet(grd_rfchprvnlist, null, "TRRFE02001", "N");
-
-
- //,grd_rfchprvnlist.mngtgrade ,030R0033
- fInitialize();
-
- // 공통코드 설정
- rszfComboBugtList(cmb_bugtcd,getUserInfo("dutplceinstcd"));
- model.refresh();
- ]]>
- </script>
- <submission id="TRRFE01401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/fixasetlist"/>
- <submission id="TRRFE00601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/rfehemhtlist"/>
- <submission id="TRRFE00602" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/rfemdamklist"/>
- <submission id="TRRFE00603" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/rfehdabplist"/>
- <submission id="TRRFE00604" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/rfehemhtlist2"/>
- <submission id="TRRFE02001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/rfchprvnlist"/>
- <submission id="TRRFE01402" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/print"/>
- <submission id="TRRFE01403" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/print"/>
- <submission id="TRRFE01404" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/printsearch" resultref="/root/print"/>
- </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="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../mis/miscommonweb/js/RSZ001.js"/>
- <script type="javascript">
- <![CDATA[
- function fInitialize()
- {
- //조회 컴포넌트 초기화.
- model.resetInstanceNode("/root/send");
- model.resetInstanceNode("/root/main");
-
- // 그리드 초기화
- misfGridInit(grd_fixasetlist);
- misfGridInit(grd_rfehemhtlist);
- misfGridInit(grd_rfemdamklist);
- misfGridInit(grd_rfehdabplist);
- misfGridInit(grd_rfehemhtlist2);
-
- misfGridInit(grd_rfchprvnlist);
-
- misfComboComCdListMulti("C0048,030R0033,R0287,R0055,R0286,R0288,R0289,R0290,R0032,R0055,R0286,R0287,R0285,R0035",
- "cmb_instcd,grd_rfchprvnlist.mngtgrade,grd_rfehemhtlist.acptflag,grd_rfehemhtlist.workstat,grd_rfehemhtlist.rpirflag1,grd_rfehdabplist.paytype,grd_rfehdabplist.kind,grd_rfehdabplist.costflag,grd_rfehdabplist.acsrsunit,grd_rfehemhtlist2.workstat,grd_rfehemhtlist2.rpirflag1,grd_rfehemhtlist2.acptflag,grd_rfehemhtlist2.rpirflag2,grd_rfehemhtlist2.prodplce");
-
- // 사용자 기관코드 설정.
- model.setValue(cmb_instcd.attribute("ref"), getUserInfo("dutplceinstcd"));
-
- //rszfLMSComboList("FIX_ALL", "", "", "cmb_lrgcd", "", "L", "Y", "");
-
- setDate();
-
- // hidden col : 자산목록 조회시 수리여부를 가져온다
- model.setValue(opt_rfehemht_cnt_yn.attribute("ref"), "Y");
- // 자산구분및 수리/예방여부 기본 설정.
- cmb_fixtrseqmtflag.select(0);
-
- //rdo_rfehrhfchflag.select(0);
-
- var vfixtrseqmtflag = cmb_fixtrseqmtflag.value
-
- model.setValue("/root/send/fixtrseqmtflag", vfixtrseqmtflag);
- model.setValue(rdo_rfehrhfchflag.attribute("ref"), "2");
- model.refresh();
- }
-
- function setDate()
- {
- // 현재 날짜 기본 입력(6개월 간격 설정)
- var acptdate = getCurrentDate().toDate("YYYYMMDD");
-
- model.setValue(ipt_acptdd.attribute("ref"), acptdate.getAddDate(-6, "M").getDateFormat("YYYYMMDD") );
- model.setValue(ipt_prvnchkfrdd.attribute("ref"), acptdate.getDateFormat("YYYYMMDD") );
-
- model.setValue(ipt_acptdd2.attribute("ref"), getCurrentDate());
- model.setValue(ipt_prvnchktodd.attribute("ref"), getCurrentDate());
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body guideline="2,777;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:207px; height:14px; ">예방 이력 현황</caption>
- </group>
- <group id="group4" style="left:0px; top:13; width:1195px; height:27px; ">
- <button id="btn_print" class="btn6_letter8" navindex="31" style="left:0px; top:3px; width:128px; height:22px; ">
- <caption>예방점검이력출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(model.getValue("/root/main/rfchprvnlist["+grd_rfchprvnlist.row+"]/fixasetcd") == ""){
- messageBox("선택된 예방점검목록이 없어 출력할수 없습니다.", "E999", "");
- return;
- }
- model.setValue("/root/printsearch/instcd",model.getValue("/root/main/rfchprvnlist["+grd_rfchprvnlist.row+"]/instcd"));
- model.setValue("/root/printsearch/fixasetcd",model.getValue("/root/main/rfchprvnlist["+grd_rfchprvnlist.row+"]/fixasetcd"));
-
- submit("TRRFE01404");
- exeReportPreview("RPRFE01404", "XMLSTR");
- ]]>
- </script>
- </button>
- <button id="btn_init" class="btn4_letter3" navindex="32" style="left:1126px; top:3; width:68px; height:22px; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(getGridUpdateData(grd_rfehemhtlist) != "")
- {
- if(messageBox("변경된 데이터가 있습니다. \n초기화 작업을", "Q003") == 7)
- return;
- }
- fInitialize();
- ]]>
- </script>
- </button>
- <line id="line15" class="line_6" style="x1:0px; y1:25; x2:1194px; y2:25; "/>
- <button id="button1" class="btn6_letter8" navindex="30" style="left:128px; top:3px; width:128px; height:22px; ">
- <caption>예방점검실적출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var message = "세부내역을 출력 | 취소";
- var req = messageBox("예방점검실적을 출력합니다. 전체를 출력", "S006",message);
- if( req == 6 ){
- submit("TRRFE01402");
- model.setValue("/root/value/prvnchkfrdd",model.getValue("/root/send/prvnchkfrdd"));
- model.setValue("/root/value/prvnchktodd",model.getValue("/root/send/prvnchktodd"));
- exeReportPreview("RPRFE01401", "XMLSTR","/root/value");
- }else if( req == 7 ){
- submit("TRRFE01403");
- model.setValue("/root/value/prvnchkfrdd",model.getValue("/root/send/prvnchkfrdd"));
- model.setValue("/root/value/prvnchktodd",model.getValue("/root/send/prvnchktodd"));
- exeReportPreview("RPRFE01402", "XMLSTR","/root/value");
- }
- ]]>
- </script>
- </button>
- </group>
- <group id="grp_biz" scroll="auto" style="left:0px; top:40px; width:1195px; height:740; ">
- <group id="grp_sea" style="left:0px; top:5px; width:1194px; height:85px; vertical-align:top; ">
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:85px; background-color:#fffbf2; border-color:#ffd799; "/>
- <caption id="cap_instcd" class="search_name" style="left:15px; top:8px; width:86px; height:17px; ">기관코드 :</caption>
- <button id="btn_search" class="btn1_letter2" navindex="17" style="left:1125px; top:30px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- if(!isRequiredControls("cmb_instcd")) return;
- // if(!isRequiredControls("ipt_acptdd")) return;
- // if(!isRequiredControls("ipt_acptdd2")) return;
-
-
- if(rdo_rfehrhfchflag.value == 1)
- {
- //그리드 초기화.
- misfGridInit(grd_fixasetlist);
- misfGridInit(grd_rfehemhtlist);
- misfGridInit(grd_rfemdamklist);
- misfGridInit(grd_rfehdabplist);
- if(!isRequiredControls("ipt_acptdd")) return;
- if(!isRequiredControls("ipt_acptdd2")) return;
-
- // 컴포넌트 초기화.
- model.resetInstanceNode("/root/main/com_rfehemhtlist");
- model.resetInstanceNode("/root/send/grid/send_rfehemhtlist");
-
- // 자산마스터 조회
- submit("TRRFE01401");
-
- // if(grd_rfehemhtlist.rows > 1)
- // {
- // // 기본 Select 설정.
- // grd_rfehemhtlist.row = grd_rfehemhtlist.fixedRows;
- // grd_rfehemhtlist.select(grd_rfehemhtlist.fixedRows, grd_rfehemhtlist.colRef("fixasetnm")) = true;
- //
- // grd_rfehemhtlist.dispatch("onrowchanged");
- // }
- }else if(rdo_rfehrhfchflag.value == 2){
- if(!isRequiredControls("ipt_prvnchkfrdd")) return;
- if(!isRequiredControls("ipt_prvnchktodd")) return;
- //예방 테이블 조회
- //그리드 초기화.
- misfGridInit(grd_rfchprvnlist);
- model.resetInstanceNode("/root/main/control/rfchprvnlist");
-
- // 자산마스터 조회
- submit("TRRFE02001");
-
- }
-
- model.refresh();
- ]]>
- </script>
- </button>
- <select1 id="cmb_instcd" ref="/root/send/instcd" class="combo_s_essential" navindex="1" appearance="minimal" style="left:106px; top:8px; width:214px; height:19px; text-align:center; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <line id="line13" class="line_4" style="x1:1108px; y1:6px; x2:1108px; y2:77px; border-color:#ffe4bb; border-left-style:solid; "/>
- <select1 id="cmb_fixtrseqmtflag" ref="/root/send/goodflag" class="combo_default" navindex="2" appearance="minimal" style="left:106px; top:35px; width:214px; height:19px; text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/fixtrseqmflag">
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- //cmb_lrgcd.choices.itemset.attribute("nodeset") = "/root/init/lmsflag/L/cmb_lrgcd/lmslist[goodflag=null or goodflag='" + cmb_fixtrseqmtflag.value + "']";
- //cmb_lrgcd.value = "";
- //cmb_lrgcd.refresh();
- ]]>
- </script>
- </select1>
- <caption id="cap_fixtrseqmtflag" class="search_name" style="left:15px; top:35px; width:86px; height:17px; ">자산구분 :</caption>
- <caption id="cap_rfehrhfchflag" class="search_name" visibility="hidden" style="left:717px; top:60px; width:48px; height:17px; ">수리/예방 구분 :</caption>
- <select1 id="rdo_rfehrhfchflag" ref="/root/send/rfehrhfchflag" class="radio_search" navindex="16" visibility="hidden" appearance="full" cellspacing="25" cols="2" overflow="visible" style="left:750px; top:60px; width:25px; height:20px; text-align:center; vertical-align:middle; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/rfehrhfchflag">
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(rdo_rfehrhfchflag.value == 1)
- {
- model.toggle("RFEH");
- ipt_prvnchkfrdd.visible=false;
- ipt_prvnchktodd.visible=false;
- cap_between.visible=false;
- cap_prvnchkfrdd.visible=false;
- }else if(rdo_rfehrhfchflag.value == 2){
- model.toggle("RFCH");
- ipt_prvnchkfrdd.visible=true;
- ipt_prvnchktodd.visible=true;
- cap_between.visible=true;
- cap_prvnchkfrdd.visible=true;
- }
- ]]>
- </script>
- </select1>
- <input id="ipt_tempmngtdeptcd" ref="/root/send/tempmngtdeptcd" class="input_default" navindex="8" style="left:430px; top:35px; width:105px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- misfSearchDept(ipt_tempmngtdeptnm);
- ]]>
- </script>
- </input>
- <button id="btn_tempmngtdeptcd" class="icon_search" navindex="9" style="left:540px; top:38px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- misfOpenPopUpList("02", ipt_tempmngtdeptcd,"","tempmngtdeptcd,tempmngtdeptnm");
- model.refresh();
- ]]>
- </script>
- </button>
- <caption id="cap_tempmngtdeptcd" class="search_name" style="left:335px; top:35px; width:90px; height:17px; ">관리부서 :</caption>
- <input id="ipt_tempmngtdeptnm" ref="/root/send/tempmngtdeptnm" class="output_fix" navindex="-1" editable="false" appearance="input" style="left:560px; top:35px; width:180px; height:19px; "/>
- <caption id="cap_lrgcd" class="search_name" visibility="hidden" style="left:204px; top:60px; width:117px; height:17px; ">대 분 류 :</caption>
- <caption id="cap_prvnchkfrdd" class="search_name" visibility="visible" style="left:755px; top:10px; width:115px; height:17px; ">점검완료일자 :</caption>
- <input id="ipt_prvnchkfrdd" ref="/root/send/todd1" class="input_default" navindex="11" visibility="visible" inputtype="date" style="left:870px; top:10px; width:100px; height:19px; text-align:center; "/>
- <input id="ipt_prvnchktodd" ref="/root/send/todd2" class="input_default" navindex="12" visibility="visible" inputtype="date" style="left:994px; top:10px; width:100px; height:19px; text-align:center; "/>
- <output id="opt_rfehemht_cnt_yn" ref="/root/send/rfehemht_cnt_yn" visibility="hidden" style="left:1115px; top:5px; width:35px; height:19px; "/>
- <caption id="cap_chrgpsnid" class="search_name" style="left:15px; top:60px; width:86px; height:17px; ">담 당 자 :</caption>
- <input id="ipt_chrgpsnid" ref="/root/send/chrgpsnid" class="input_search" navindex="3" style="left:105px; top:60px; width:75px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- // misfValidationCheck("12", "", "reqpsnid,reqpsnnm");
- if(ipt_chrgpsnid.value.length == 0)
- ipt_chrgpsnnm.value = "";
- else
- misfValidationCheck("01-1", "", "chrgpsnid,chrgpsnnm");
- model.refresh();
- ]]>
- </script>
- </input>
- <button id="btn_chrgpsnid" class="icon_search" navindex="4" style="left:185px; top:60px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- misfOpenPopUpList("01", ipt_chrgpsnid, "", "chrgpsnid,chrgpsnnm");
- model.refresh();
- ]]>
- </script>
- </button>
- <caption id="cap_between" visibility="visible" style="left:975px; top:10px; width:15px; height:20px; ">~</caption>
- <caption id="caption10" class="search_name" style="left:755px; top:35px; width:86px; height:17px; ">자산코드 :</caption>
- <input id="ipt_fixasetcd_search" ref="/root/send/fixasetcd_search" class="input_search" navindex="13" imemode="disabled" _chartype="upper" style="left:845px; top:35px; width:130px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- inputEnterKey("btn_search", "DOMActivate");
- ]]>
- </script>
- </input>
- <input id="ipt_fixasetnm" ref="/root/send/fixasetnm" class="input_search" navindex="15" style="left:845px; top:60px; width:130px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- inputEnterKey("btn_search", "DOMActivate");
- ]]>
- </script>
- </input>
- <button id="btn_mngtdeptcd" class="icon_search" navindex="7" style="left:540px; top:13px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- misfOpenPopUpList("02", ipt_mngtdeptcd,"","mngtdeptcd,mngtdeptnm");
- model.refresh();
- ]]>
- </script>
- </button>
- <input id="ipt_mngtdeptnm" ref="/root/send/mngtdeptnm" class="output_fix" navindex="-1" editable="false" appearance="input" style="left:560px; top:10px; width:180px; height:19px; "/>
- <caption id="cap_mngtdeptcd" class="search_name" style="left:335px; top:10px; width:90px; height:17px; ">사용부서 :</caption>
- <input id="ipt_mngtdeptcd" ref="/root/send/mngtdeptcd" class="input_default" navindex="6" style="left:430px; top:10px; width:105px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- misfSearchDept(ipt_mngtdeptnm);
- ]]>
- </script>
- </input>
- <button id="btn_installplcecd_search" class="icon_search" navindex="-1" visibility="visible" style="left:540px; top:63px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- misfOpenPopUpList("19", ipt_installplcecd_search,"", "installplcecd,installplcenm") ;
- ipt_installplcecd_search.refresh();
- ipt_installplcenm_search.refresh();
- ]]>
- </script>
- </button>
- <input id="ipt_installplcenm_search" ref="/root/send/installplcenm" class="output_fix" disabled="true" navindex="-1" visibility="visible" editable="false" appearance="input" style="left:560px; top:60px; width:180px; height:19px; "/>
- <caption id="caption23" class="search_name" style="left:335px; top:60px; width:117px; height:17px; ">설치장소 :</caption>
- <input id="ipt_installplcecd_search" ref="/root/send/installplcecd" class="input_default" navindex="10" visibility="visible" style="left:430px; top:60px; width:105px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(ipt_installplcecd_search.value.length == 0)
- ipt_installplcenm_search.value = "";
- else
- rszfValidationCheck("TRRAC90701", "custlist", "refcond,retrnm",
- "deptcd," + ipt_installplcecd_search.value, "", "installplcecd,installplcenm",
- ipt_installplcecd_search, "PPRAC00700", "","");
- ipt_installplcecd_search.refresh();
- ipt_installplcenm_search.refresh();
- ]]>
- </script>
- </input>
- <select1 id="cmb_lrgcd" ref="/root/send/lrgcd" class="combo_default" navindex="5" visibility="hidden" appearance="minimal" style="left:295px; top:60px; width:49px; height:19px; text-align:center; ">
- <choices>
- <itemset>
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- </select1>
- <input id="ipt_chrgpsnnm" ref="/root/send/chrgpsnnm" class="output_fix" navindex="-1" editable="false" style="left:205px; top:60px; width:115px; height:19px; "/>
- <caption id="caption22" class="search_name" style="left:755px; top:60px; width:86px; height:17px; ">자 산 명 :</caption>
- </group>
- <switch id="swt_choice" style="left:1px; top:91px; width:1190px; height:640px; ">
- <case id="RFCH" selected="true">
- <caption id="caption8" class="tit_2" style="left:5px; top:9px; width:95px; height:13px; ">예방점검목록</caption>
- <caption id="caption14" class="cell_1" style="left:4px; top:313px; width:119px; height:70px; vertical-align:middle; ">VISUAL CHECK</caption>
- <textarea id="txt_viscmt" ref="/root/main/control/rfchprvnlist/viscmt" scroll="vertical" editable="false" style="left:125px; top:313px; width:1055px; height:70px; "/>
- <caption id="caption15" class="cell_1" style="left:4px; top:385px; width:119px; height:70px; vertical-align:middle; ">FUNCTION CHECK</caption>
- <textarea id="txt_syscmt" ref="/root/main/control/rfchprvnlist/syscmt" scroll="vertical" editable="false" style="left:125px; top:457px; width:1055px; height:70px; "/>
- <caption id="caption17" class="cell_1" style="left:4px; top:457px; width:119px; height:70px; vertical-align:middle; ">SYSTEM CHECK</caption>
- <textarea id="txt_pwrcmt" ref="/root/main/control/rfchprvnlist/pwrcmt" scroll="vertical" editable="false" style="left:125px; top:385px; width:1055px; height:70px; "/>
- <line id="line6" class="line_1" style="x1:0px; y1:26px; x2:1180px; y2:25px; "/>
- <caption id="caption1" class="cell_1" style="left:4px; top:601px; width:119px; height:25px; vertical-align:middle; ">예산년도/계정/과제</caption>
- <input id="ipt_bugtyy" ref="/root/main/control/rfchprvnlist/bugtyy" class="input_default" disabled="true" editable="false" inputtype="date" format="yyyy" style="left:125px; top:604px; width:103px; height:19px; "/>
- <input id="ipt_stdysubjnm" ref="/root/main/control/rfchprvnlist/stdysubjnm" class="input_search" disabled="true" editable="false" style="left:399px; top:604px; width:191px; height:19px; text-align:center; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(ipt_stdysubjnm.value != "")
- {
- rszfValidationCheck("TRRSD00261", "studylist", "refcond,instcd,stdysubjnm", "stdysubjnm," + cmb_instcd.value + "," + ipt_stdysubjnm.value, "",
- "stdysubjno,stdysubjnm", ipt_stdysubjnm, "SPRSD00260", "instcd", "cmb_instcd");
- }else
- {
- ipt_stdysubjno.value = "";
- ipt_stdysubjnm.value = "";
- }
-
- model.refresh();
- ]]>
- </script>
- </input>
- <select1 id="cmb_bugtcd" ref="/root/main/control/rfchprvnlist/bugtcd" disabled="true" appearance="minimal" style="left:245px; top:604px; width:140px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption13" style="left:232px; top:603px; width:20px; height:20px; font-weight:bold; ">/</caption>
- <caption id="caption9" style="left:387px; top:603px; width:20px; height:20px; font-weight:bold; ">/</caption>
- <button id="btn_excel_RFCH" class="btn2_letter4" style="left:1120px; top:1px; width:64px; height:19px; ">
- <caption>엑셀저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var fileName = window.fileDialog("save", ",", false, "예방점검목록", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
-
- if (fileName != "")
- {
- grd_rfchprvnlist.saveExcel(fileName, "예방점검목록", true, true, "");
- }
- ]]>
- </script>
- </button>
- <input id="input1" ref="/root/main/control/rfchprvnlist/bugtyy" class="input_default" disabled="true" editable="false" inputtype="date" format="yyyy" style="left:125px; top:604px; width:103px; height:19px; "/>
- <caption id="caption2" class="cell_1" style="left:4px; top:601px; width:119px; height:25px; vertical-align:middle; ">예산년도/계정/과제</caption>
- <caption id="caption11" style="left:232px; top:603px; width:20px; height:20px; font-weight:bold; ">/</caption>
- <input id="input2" ref="/root/main/control/rfchprvnlist/stdysubjnm" class="input_search" disabled="true" editable="false" style="left:399px; top:604px; width:191px; height:19px; text-align:center; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(ipt_stdysubjnm.value != "")
- {
- rszfValidationCheck("TRRSD00261", "studylist", "refcond,instcd,stdysubjnm", "stdysubjnm," + cmb_instcd.value + "," + ipt_stdysubjnm.value, "",
- "stdysubjno,stdysubjnm", ipt_stdysubjnm, "SPRSD00260", "instcd", "cmb_instcd");
- }else
- {
- ipt_stdysubjno.value = "";
- ipt_stdysubjnm.value = "";
- }
-
- model.refresh();
- ]]>
- </script>
- </input>
- <caption id="caption12" class="cell_1" style="left:4px; top:313px; width:119px; height:70px; vertical-align:middle; ">VISUAL CHECK</caption>
- <caption id="caption16" class="cell_1" style="left:4px; top:385px; width:119px; height:70px; vertical-align:middle; ">FUNCTION CHECK</caption>
- <textarea id="textarea1" ref="/root/main/control/rfchprvnlist/viscmt" scroll="vertical" editable="false" style="left:125px; top:313px; width:1055px; height:70px; "/>
- <select1 id="combo1" ref="/root/main/control/rfchprvnlist/bugtcd" disabled="true" appearance="minimal" style="left:245px; top:604px; width:140px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption18" class="cell_1" style="left:4px; top:457px; width:119px; height:70px; vertical-align:middle; ">SYSTEM CHECK</caption>
- <textarea id="textarea2" ref="/root/main/control/rfchprvnlist/syscmt" scroll="vertical" editable="false" style="left:125px; top:457px; width:1055px; height:70px; "/>
- <caption id="caption19" style="left:387px; top:603px; width:20px; height:20px; font-weight:bold; ">/</caption>
- <textarea id="textarea3" ref="/root/main/control/rfchprvnlist/pwrcmt" scroll="vertical" editable="false" style="left:125px; top:385px; width:1055px; height:70px; "/>
- <textarea id="textarea4" ref="/root/main/control/rfchprvnlist/clncmt" scroll="vertical" editable="false" style="left:125px; top:529px; width:1055px; height:70px; "/>
- <caption id="caption20" class="cell_1" style="left:4px; top:529px; width:119px; height:70px; vertical-align:middle; ">CLEANING CHECK</caption>
- <datagrid id="grd_rfchprvnlist" nodeset="/root/main/rfchprvnlist" caption="점검상태^계획일자^순번^완료일자^관리등급^자산코드^자산명칭^사용부서^설치장소^규격^S/N^모델^담당자^V.C^F.C^S.C^C.C^점검구분^수리^수리전환^수리전환^점검자^caption1" colsep="^" colwidth="66, 70, 39, 70, 70, 100, 232, 121, 100, 100, 114, 103, 61, 40, 40, 40, 40, 78, 49, 63, 43, 75, 78, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100" ellipsis="true" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:30px; width:1180px; height:280px; ">
- <col disabled="true" ref="prvnchkprcsstat" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/prvnchkprcsstat">
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- </col>
- <col ref="prvnchkdd" format="yyyy-mm-dd"/>
- <col ref="acptno" style="text-align:center; "/>
- <col ref="todd" format="yyyy-mm-dd"/>
- <col disabled="true" ref="mngtgrade" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/check2">
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- </col>
- <col ref="fixasetcd"/>
- <col ref="goodflaghngnm"/>
- <col ref="mngtdeptnm"/>
- <col ref="installplcenm"/>
- <col ref="goodspec"/>
- <col ref="mngtno"/>
- <col ref="goodmodel" visibility="hidden"/>
- <col ref="acptpsnnm"/>
- <col disabled="true" ref="vischk" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/check2">
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="pwrchk" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/check2">
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="syschk" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/check2">
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="clnchk" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/check2">
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="itslfchkyn" type="combo">
- <choices>
- <itemset nodeset="/root/init/itslfchkyn">
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- </col>
- <col checkvalue="Y,N" disabled="true" ref="rpircvrtyn" type="checkbox"/>
- <col ref="reqdd" visibility="visible"/>
- <col ref="reqno" visibility="visible" style="text-align:center; "/>
- <col ref="chkpsnnm"/>
- <col ref="usedeprtmangrcnfm" visibility="hidden"/>
- <col ref="prvnchkprcsstat" visibility="hidden"/>
- <col ref="sanctyn" visibility="hidden"/>
- <col ref="sanctdd" visibility="hidden"/>
- <col ref="instcd" visibility="hidden"/>
- <col ref="viscmt" visibility="hidden"/>
- <col ref="pwrcmt" visibility="hidden"/>
- <col ref="syscmt" visibility="hidden"/>
- <col ref="clncmt" visibility="hidden"/>
- <col ref="acsrsuseyn" visibility="hidden"/>
- <col ref="chkpsnid" visibility="hidden"/>
- <col ref="installplcenm" visibility="hidden"/>
- <col ref="suplplcenm" visibility="hidden"/>
- <col ref="prodcmpynm" visibility="hidden"/>
- <col ref="chkpsnnm" visibility="hidden"/>
- <col ref="acptpsnid" visibility="hidden"/>
- <col ref="bugtyy" visibility="hidden"/>
- <col ref="bugtcd" visibility="hidden"/>
- <col ref="stdysubjno" visibility="hidden"/>
- <col ref="stdysubjnm" visibility="hidden"/>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_rfchprvnlist.gridToInstance();
- ]]>
- </script>
- <script type="javascript" ev:event="onrowchanged">
- <![CDATA[
- if( grd_rfchprvnlist.rows >= grd_rfchprvnlist.fixedRows )
- {
- model.resetInstanceNode("/root/main/control/rfchprvnlist");
- model.copyNode("/root/main/control/rfchprvnlist" ,grd_rfchprvnlist.nodeset + "["+ (grd_rfchprvnlist.row-grd_rfchprvnlist.fixedrows+1) + "]");
- }
- model.refresh();
- ]]>
- </script>
- </datagrid>
- </case>
- <case id="RFEH" style="left:0px; top:0px; width:1193px; height:658px; ">
- <switch id="switch1" style="left:0px; top:195px; width:1190px; height:185px; ">
- <case id="good_list" selected="true">
- <button id="btn_excel_fixasetcd" class="btn2_letter4" navindex="21" style="left:1119px; top:2px; width:64px; height:19px; ">
- <caption>엑셀저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var fileName = window.fileDialog("save", ",", false, "수리내역(자산별)", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
-
- if (fileName != "")
- {
- grd_rfehemhtlist.saveExcel(fileName, "수리내역(자산별)", true, true, "");
- }
- ]]>
- </script>
- </button>
- <datagrid id="grd_rfehemhtlist" nodeset="/root/main/rfehemhtlist" allowselection="false" caption="의뢰일자^의뢰일자^의뢰부서^의뢰자^의뢰자 연락처^담당자^수리상태^고장유형^청구구분^확정금액^접수일자^접수구분^완료일자^결재승인^결재일자^결재COMMENT^1^1^1^1^1^1^1^1^1^1^1^1^1^1^1^1^1^1^1^1^1^1" colsep="^" colwidth="70, 31, 97, 81, 80, 91, 82, 83, 77, 80, 100, 100, 100, 72, 100, 161, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100" ellipsis="true" extendlastcol="scroll" frozencols="10" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" rows="2" rowsep="|" selectionmode="byrow" tooltip="true" navindex="20" style="left:0px; top:28px; width:1187px; height:152px; ">
- <col disabled="true" ref="reqdd" format="yyyy-mm-dd" _key="true"/>
- <col disabled="true" ref="reqno" _key="true"/>
- <col ref="depthngnm"/>
- <col ref="reqpsnnm" style="text-align:center; "/>
- <col disabled="true" ref="reqtel" visibility="hidden"/>
- <col disabled="true" ref="chrgpsnnm" style="text-align:center; "/>
- <col disabled="true" ref="workstat" type="combo" style="text-align:center; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="rpirflag1" type="combo" style="text-align:center; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="useyn" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/useyn">
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="rpiramt" visibility="hidden" format="#,###" style="text-align:right; "/>
- <col disabled="true" ref="acptdd" format="yyyy-mm-dd"/>
- <col disabled="true" ref="acptflag" type="combo" style="text-align:center; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="rpirenddd" format="yyyy-mm-dd"/>
- <col class="input_essential" disabled="true" ref="sanctyn" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/grdsanctyn">
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- </col>
- <col ref="sanctdd" visibility="hidden" format="yyyy-mm-dd"/>
- <col class="input_essential" ref="chrgpsncmt" style="text-align:left; "/>
- <col ref="reqdeptcd" visibility="hidden"/>
- <col ref="chrgpsnid" visibility="hidden"/>
- <col ref="genrdd" visibility="hidden"/>
- <col ref="estimateamt" visibility="hidden"/>
- <col ref="rpirflag2" visibility="hidden"/>
- <col ref="sanctid" visibility="hidden"/>
- <col ref="sanctnm" visibility="hidden"/>
- <col ref="reductionamt" visibility="hidden"/>
- <col disabled="true" ref="lastrpirstat" visibility="hidden"/>
- <col ref="nonworkdayno" visibility="hidden"/>
- <col ref="custcd" visibility="hidden"/>
- <col ref="custnm" visibility="hidden"/>
- <col ref="hdrncspec" visibility="hidden"/>
- <col ref="lastrpirrslt" visibility="hidden"/>
- <col ref="instcd" visibility="hidden" _key="true"/>
- <col ref="reqpsnid" visibility="hidden"/>
- <col ref="genrtm" visibility="hidden"/>
- <col ref="acpttm" visibility="hidden"/>
- <col ref="acptpsnid" visibility="hidden"/>
- <col ref="acptpsnnm" visibility="hidden"/>
- <col ref="acptdeptcd" visibility="hidden"/>
- <col ref="acptdeptnm" visibility="hidden"/>
- <col ref="itemnm" visibility="hidden"/>
- <col ref="acptpsncnfm" visibility="hidden"/>
- <col ref="deptacptdd" visibility="hidden"/>
- <col ref="deptacptpsnid" visibility="hidden"/>
- <col ref="deptacptpsnnm" visibility="hidden"/>
- <col ref="cmt" visibility="hidden"/>
- <col ref="emaildeliveyn" visibility="hidden"/>
- <col ref="goodmodel" visibility="hidden"/>
- <col ref="installplcecd" visibility="hidden"/>
- <col ref="installplcenm" visibility="hidden"/>
- <col ref="sancttrsmyn" visibility="hidden"/>
- <col ref="chrgtel" visibility="hidden"/>
- <col ref="bugtyy" visibility="hidden"/>
- <col ref="bugtcd" visibility="hidden"/>
- <col ref="stdysubjno" visibility="hidden"/>
- <col ref="stdysubjnm" visibility="hidden"/>
- <col ref="deptaprvyn" visibility="hidden"/>
- <col ref="deptaprvpsnid" visibility="hidden"/>
- <col ref="deptaprvdd" visibility="hidden"/>
- <col ref="rfehdabptotal" visibility="hidden"/>
- <col ref="fixtrseqmtflag" visibility="hidden"/>
- <col ref="fixasetcd" visibility="hidden"/>
- <col ref="fixasetnm" visibility="hidden"/>
- <script type="javascript" ev:event="onrowchanged">
- <![CDATA[
-
- // 상세 내용을 컴포넌트에 설정.
- model.copyNode("/root/main/com_rfehemhtlist","/root/main/rfehemhtlist["+grd_rfehemhtlist.row+"]");
-
- // 수리일자별 목록 조회값 설정.
- //model.copyNode("/root/send/grid/send_rfehemhtlist","/root/main/rfehemhtlist["+grd_rfehemhtlist.row+"]");
- var vreqdd = grd_rfehemhtlist.valueMatrix(grd_rfehemhtlist.row, grd_rfehemhtlist.colRef("reqdd"));
- var vreqno = grd_rfehemhtlist.valueMatrix(grd_rfehemhtlist.row, grd_rfehemhtlist.colRef("reqno"));
-
- model.setValue("/root/send/reqdd", vreqdd);
- model.setValue("/root/send/reqno", vreqno);
-
- submit("TRRFE00602");
-
- if(grd_rfemdamklist.rows > 1)
- {
- // 기본 Select 설정.
- grd_rfemdamklist.row = grd_rfemdamklist.fixedRows;
- grd_rfemdamklist.select(grd_rfemdamklist.fixedRows, grd_rfemdamklist.colRef("mainrpirpsnnm")) = true;
-
- grd_rfemdamklist.dispatch("onrowchanged");
- }
- grd_rfehemhtlist.dispatch("onmouseup");
- model.refresh();
- ]]>
- </script>
- </datagrid>
- </case>
- <case id="term_list">
- <caption id="caption3" style="left:364px; top:3px; width:15px; height:20px; ">~</caption>
- <input id="ipt_acptdd" ref="/root/send/acptdd" class="input_default" inputtype="date" style="left:254px; top:3px; width:107px; height:19px; text-align:center; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- misfGridInit(grd_rfehemhtlist2);
- misfGridInit(grd_rfemdamklist);
- misfGridInit(grd_rfehdabplist);
- model.resetInstanceNode("/root/main/com_rfehemhtlist");
-
- submit("TRRFE00604");
- // grd_fixasetlist.dispatch("onmouseup");
-
- grd_rfehemhtlist2.row=grd_rfehemhtlist2.fixedRows;
- grd_rfehemhtlist2.dispatch("onrowchanged");
-
- // model.setValue("/root/send/fixasetcd", "");
- model.refresh();
- ]]>
- </script>
- </input>
- <input id="ipt_acptdd2" ref="/root/send/acptdd2" class="input_default" inputtype="date" style="left:380px; top:3px; width:111px; height:19px; text-align:center; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- misfGridInit(grd_rfehemhtlist2);
- misfGridInit(grd_rfemdamklist);
- misfGridInit(grd_rfehdabplist);
- model.resetInstanceNode("/root/main/com_rfehemhtlist");
-
- submit("TRRFE00604");
- // grd_fixasetlist.dispatch("onmouseup");
-
- grd_rfehemhtlist2.row=grd_rfehemhtlist2.fixedRows;
- grd_rfehemhtlist2.dispatch("onrowchanged");
-
- // model.setValue("/root/send/fixasetcd", "");
- model.refresh();
- ]]>
- </script>
- </input>
- <button id="btn_excel_fixasetcd2" class="btn2_letter4" style="left:1119px; top:2px; width:64px; height:19px; ">
- <caption>엑셀저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var fileName = window.fileDialog("save", ",", false, "수리내역(기간별)", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
-
- if (fileName != "")
- {
- grd_rfehemhtlist2.saveExcel(fileName, "수리내역(기간별)", true, true, "");
- }
- ]]>
- </script>
- </button>
- <datagrid id="grd_rfehemhtlist2" nodeset="/root/main/rfehemhtlist2" allowselection="false" caption="의뢰일자^의뢰일자^의뢰부서^의뢰자^의뢰자 연락처^자산코드^S/N^자산명^담당자^수리상태^고장유형^청구구분^확정금액^접수일자^접수구분^완료일자^결재승인^결재일자^결재COMMENT^요청부서코드^담당자id^발생일자^견적금액^수리형태^입고일자^제조원명^제조국^거래처명^취득일^구코드^수리거래처^결제ID^결제자^절감액^최종수리상태^미가동일수^거래처코드^거래처이름^고장내역^최종수리결과^병원코드^의뢰자ID^발생시간^접수시간^접수자ID^접수자^접수부서ID^접수부서^품명^인수자확인^부서인수일자^부서인수자ID^부서인수자^비고^메일발송여부^모델^설치장소코드^설치장소^결재전송여부^담당자전화번호^예산년도^예산코드^연구과제번호^연구과제이름^부서승인여부^부서승인자^부서승인일자^부품사용금액^비품_장비구분" colsep="^" colwidth="70, 31, 75, 65, 80, 80, 100, 170, 65, 80, 100, 100, 100, 72, 100, 161, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100" ellipsis="true" extendlastcol="scroll" frozencols="10" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" rows="2" rowsep="|" selectionmode="byrow" tooltip="true" style="left:0px; top:28px; width:1187px; height:150px; ">
- <col disabled="true" ref="reqdd" format="yyyy-mm-dd" _key="true"/>
- <col disabled="true" ref="reqno" _key="true"/>
- <col ref="depthngnm"/>
- <col ref="reqpsnnm" style="text-align:center; "/>
- <col disabled="true" ref="reqtel" visibility="hidden"/>
- <col ref="fixasetcd"/>
- <col ref="mngtno"/>
- <col ref="fixasetnm"/>
- <col disabled="true" ref="chrgpsnnm" style="text-align:center; "/>
- <col disabled="true" ref="workstat" type="combo" style="text-align:center; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="rpirflag1" type="combo" style="text-align:center; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="useyn" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/useyn">
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="rpiramt" format="#,###" style="text-align:right; "/>
- <col disabled="true" ref="acptdd" format="yyyy-mm-dd"/>
- <col disabled="true" ref="acptflag" type="combo" style="text-align:center; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="rpirenddd" format="yyyy-mm-dd"/>
- <col class="input_essential" disabled="true" ref="sanctyn" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/grdsanctyn">
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- </col>
- <col ref="sanctdd" format="yyyy-mm-dd"/>
- <col class="input_essential" ref="chrgpsncmt" style="left:1669px; top:23px; width:100px; height:23px; text-align:left; "/>
- <col ref="reqdeptcd" visibility="hidden"/>
- <col ref="chrgpsnid" visibility="hidden"/>
- <col ref="genrdd" visibility="hidden"/>
- <col ref="estimateamt"/>
- <col ref="rpirflag2" type="combo">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </col>
- <col ref="windd"/>
- <col ref="prodcmpynm"/>
- <col ref="prodplce" type="combo">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </col>
- <col ref="suplplcenm"/>
- <col ref="possndd"/>
- <col ref="oldcd"/>
- <col ref="agency"/>
- <col ref="sanctid" visibility="hidden"/>
- <col ref="sanctnm" visibility="hidden"/>
- <col ref="reductionamt"/>
- <col disabled="true" ref="lastrpirstat" visibility="hidden"/>
- <col ref="nonworkdayno"/>
- <col ref="custcd" visibility="hidden"/>
- <col ref="custnm" visibility="hidden"/>
- <col ref="hdrncspec"/>
- <col ref="lastrpirrslt"/>
- <col ref="instcd" visibility="hidden" _key="true"/>
- <col ref="reqpsnid" visibility="hidden"/>
- <col ref="genrtm" visibility="hidden"/>
- <col ref="acpttm" visibility="hidden"/>
- <col ref="acptpsnid" visibility="hidden"/>
- <col ref="acptpsnnm" visibility="hidden"/>
- <col ref="acptdeptcd" visibility="hidden"/>
- <col ref="acptdeptnm" visibility="hidden"/>
- <col ref="itemnm" visibility="hidden"/>
- <col ref="acptpsncnfm" visibility="hidden"/>
- <col ref="deptacptdd" visibility="hidden"/>
- <col ref="deptacptpsnid" visibility="hidden"/>
- <col ref="deptacptpsnnm" visibility="hidden"/>
- <col ref="cmt" visibility="hidden"/>
- <col ref="emaildeliveyn" visibility="hidden"/>
- <col ref="goodmodel"/>
- <col ref="installplcecd" visibility="hidden"/>
- <col ref="installplcenm" visibility="hidden"/>
- <col ref="sancttrsmyn" visibility="hidden"/>
- <col ref="chrgtel" visibility="hidden"/>
- <col ref="bugtyy" visibility="hidden"/>
- <col ref="bugtcd" visibility="hidden"/>
- <col ref="stdysubjno" visibility="hidden"/>
- <col ref="stdysubjnm" visibility="hidden"/>
- <col ref="deptaprvyn" visibility="hidden"/>
- <col ref="deptaprvpsnid" visibility="hidden"/>
- <col ref="deptaprvdd" visibility="hidden"/>
- <col ref="rfehdabptotal"/>
- <col ref="fixtrseqmtflag" visibility="hidden"/>
- <script type="javascript" ev:event="onrowchanged">
- <![CDATA[
-
- // 상세 내용을 컴포넌트에 설정.
- model.copyNode("/root/main/com_rfehemhtlist","/root/main/rfehemhtlist2["+grd_rfehemhtlist2.row+"]");
-
- // 수리일자별 목록 조회값 설정.
- //model.copyNode("/root/send/grid/send_rfehemhtlist","/root/main/rfehemhtlist["+grd_rfehemhtlist.row+"]");
- var vreqdd = grd_rfehemhtlist2.valueMatrix(grd_rfehemhtlist2.row, grd_rfehemhtlist2.colRef("reqdd"));
- var vreqno = grd_rfehemhtlist2.valueMatrix(grd_rfehemhtlist2.row, grd_rfehemhtlist2.colRef("reqno"));
-
- model.setValue("/root/send/reqdd", vreqdd);
- model.setValue("/root/send/reqno", vreqno);
-
- submit("TRRFE00602");
-
- if(grd_rfemdamklist.rows > 1)
- {
- // 기본 Select 설정.
- grd_rfemdamklist.row = grd_rfemdamklist.fixedRows;
- grd_rfemdamklist.select(grd_rfemdamklist.fixedRows, grd_rfemdamklist.colRef("mainrpirpsnnm")) = true;
-
- grd_rfemdamklist.dispatch("onrowchanged");
- }
- grd_rfehemhtlist2.dispatch("onmouseup");
- model.refresh();
- ]]>
- </script>
- </datagrid>
- </case>
- </switch>
- <button id="button2" class="btn_sw" group="tab" selected="true" style="left:0px; top:197px; width:125px; height:22px; ">
- <caption>자산별 수리접수목록</caption>
- <toggle case="good_list" ev:event="onclick"/>
- </button>
- <button id="button3" class="btn_sw" group="tab" style="left:125px; top:197px; width:125px; height:22px; ">
- <caption>기간별 수리접수목록</caption>
- <toggle case="term_list" ev:event="onclick"/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- setDate();
- model.refresh();
- ]]>
- </script>
- </button>
- <caption id="cap_rpiramt" class="cell_1" style="left:243px; top:427px; width:80px; height:23px; vertical-align:middle; ">확정금액</caption>
- <caption id="cap_lastrpirrslt" class="cell_1" style="left:0px; top:519px; width:80px; height:116px; vertical-align:middle; ">최종수리결과</caption>
- <input id="ipt_rfehdabptotal" ref="/root/main/com_rfehemhtlist/rfehdabptotal" class="output_fix" disabled="true" navindex="22" format="#,###" style="left:82px; top:404px; width:159px; height:19px; text-align:right; "/>
- <caption id="cap_estimateamt" class="cell_1" style="left:243px; top:402px; width:80px; height:23px; vertical-align:middle; ">견적금액</caption>
- <input id="ipt_estimateamt" ref="/root/main/com_rfehemhtlist/estimateamt" class="output_fix" disabled="true" navindex="23" format="#,###" style="left:325px; top:404px; width:159px; height:19px; text-align:right; "/>
- <line id="line22" class="line_3" style="x1:0px; y1:652px; x2:488px; y2:652px; "/>
- <textarea id="txt_hdrncspec" ref="/root/main/com_rfehemhtlist/hdrncspec" navindex="26" scroll="vertical" editable="false" style="left:82px; top:452px; width:403px; height:64px; "/>
- <caption id="cap_hdrncspec" class="cell_1" style="left:0px; top:452px; width:80px; height:64px; vertical-align:middle; ">의뢰내역</caption>
- <datagrid id="grd_rfehdabplist" nodeset="/root/main/rfehdabplist" caption="순번^수리일자^부품명^지급형태^유형^비용구분^규격^수량^단위^부품단가^금액" colsep="^" colwidth="45, 76, 184, 65, 65, 65, 150, 45, 70, 67, 100, 100, 100, 100, 100, 100, 100, 100, 100" dataheight="25" ellipsis="true" extendlastcol="scroll" frozencols="4" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" navindex="29" style="left:492px; top:543px; width:695px; height:92px; ">
- <col class="input_essential" disabled="true" ref="rpirseq" format="#,###" maxlength="3" _key="true" style="text-align:right; "/>
- <col class="input_essential" ref="rpirdd" visibility="hidden" format="yyyy-mm-dd" _key="true"/>
- <col ref="acsrsnm" style="left:500px; top:23px; width:300px; height:23px; "/>
- <col disabled="true" ref="paytype" type="combo">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="kind" type="combo">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="costflag" type="combo">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="acsrsspec"/>
- <col ref="acsrsqty" format="#,###" style="text-align:right; "/>
- <col disabled="true" ref="acsrsunit" type="combo">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </col>
- <col ref="acsrsamt" format="#,###" style="text-align:right; "/>
- <col ref="acsrsmoney" format="#,###" style="text-align:right; "/>
- <col ref="instcd" visibility="hidden" _key="true"/>
- <col ref="fixtrseqmtflag" visibility="hidden" _key="true"/>
- <col ref="reqdd" visibility="hidden" _key="true"/>
- <col ref="reqno" visibility="hidden" _key="true"/>
- <col ref="delivedd" visibility="hidden"/>
- <col ref="deliveno" visibility="hidden"/>
- <col ref="deliveseqno" visibility="hidden"/>
- <col ref="acsrscd" visibility="hidden"/>
- </datagrid>
- <datagrid id="grd_rfemdamklist" nodeset="/root/main/rfemdamklist" allowselection="false" caption="수리일자^주수리자^보조수리자^작업시간^1^1^수리내역^1" colsep="^" colwidth="90, 109, 109, 54, 100, 50, 249, 100, 100, 100, 100" dataheight="25" ellipsis="true" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rows="2" rowsep="|" selectionmode="byrow" navindex="28" style="left:492px; top:401px; width:695px; height:119px; ">
- <col ref="rpirdd" format="yyyy-mm-dd" _key="true" style="text-align:center; "/>
- <col ref="mainrpirpsnnm" style="text-align:center; "/>
- <col ref="supprpirpsnnm" style="text-align:center; "/>
- <col ref="rpirtm" visibility="visible" format="hh:nn" _key="true" style="text-align:right; "/>
- <col ref="mainrpirpsn" visibility="hidden"/>
- <col ref="supprpirpsn" visibility="hidden"/>
- <col ref="rpirspec"/>
- <col ref="instcd" visibility="hidden" _key="true"/>
- <col ref="fixtrseqmtflag" visibility="hidden" _key="true"/>
- <col ref="reqdd" visibility="hidden" _key="true"/>
- <col ref="reqno" visibility="hidden" _key="true"/>
- <script type="javascript" ev:event="onrowchanged">
- <![CDATA[
- grd_rfemdamklist.dispatch("onmouseup");
- var rpirdd = grd_rfemdamklist.valueMatrix(grd_rfemdamklist.row, grd_rfemdamklist.colRef("rpirdd"));
-
- model.setValue("/root/send/rpirdd", rpirdd);
-
- //model.copyNode("/root/send/grid/send_rfemdamklist","/root/main/rfemdamklist["+ grd_rfemdamklist.row +"]");
- submit("TRRFE00603");
- ]]>
- </script>
- </datagrid>
- <caption id="caption4" class="tit_2" style="left:2px; top:383px; width:110px; height:13px; ">수리상세내용</caption>
- <textarea id="txt_lastrpirrslt" ref="/root/main/com_rfehemhtlist/lastrpirrslt" navindex="27" scroll="vertical" editable="false" maxlength="600" style="left:82px; top:519px; width:403px; height:116px; "/>
- <caption id="caption5" class="tit_2" style="left:495px; top:381px; width:113px; height:13px; ">수리일자별 목록</caption>
- <line id="line17" class="line_1" style="x1:0px; y1:396px; x2:488px; y2:396px; "/>
- <line id="line1" class="line_1" style="x1:0px; y1:219px; x2:1187px; y2:219px; "/>
- <input id="ipt_reductionamt" ref="/root/main/com_rfehemhtlist/reductionamt" class="output_fix" disabled="true" navindex="24" format="#,###" style="left:82px; top:429px; width:159px; height:19px; text-align:right; "/>
- <line id="line2" class="line_1" style="x1:492px; y1:396px; x2:1188px; y2:396px; "/>
- <caption id="cap_rfehdabptotal" class="cell_1" style="left:0px; top:402px; width:80px; height:23px; vertical-align:middle; ">부품사용금액</caption>
- <caption id="cap_reductionamt" class="cell_1" style="left:0px; top:427px; width:80px; height:23px; vertical-align:middle; ">절감액</caption>
- <caption id="caption7" class="tit_2" style="left:493px; top:523px; width:113px; height:13px; ">수리부품 목록</caption>
- <line id="line3" class="line_1" style="x1:492px; y1:538px; x2:1188px; y2:538px; "/>
- <input id="ipt_rpiramt" ref="/root/main/com_rfehemhtlist/rpiramt" class="output_fix" disabled="true" navindex="25" format="#,###" style="left:325px; top:429px; width:159px; height:19px; text-align:right; "/>
- <line id="line5" class="line_2" style="x1:0px; y1:425px; x2:488px; y2:425px; "/>
- <caption id="caption21" class="tit_2" style="left:0px; top:8px; width:69px; height:13px; ">자산목록</caption>
- <line id="line16" class="line_1" style="x1:0px; y1:23px; x2:1187px; y2:22px; "/>
- <datagrid id="grd_fixasetlist" nodeset="/root/main/fixasetlist" caption="자산코드^S/N^자산명^자산영문명^규격^모델명^제조원^수리^구입일자^거래처^사용부서^구입금액^사용장소^사용장소코드" colsep="^" colwidth="90, 110, 248, 210, 145, 134, 95, 38, 80, 98, 87, 77, 85, 100, 100, 100, 100, 100, 100, 100" dataheight="25" ellipsis="true" explorerbar="sortshow" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" tooltip="true" navindex="18" style="left:0px; top:26px; width:1190px; height:164px; ">
- <col ref="fixasetcd"/>
- <col ref="mngtno"/>
- <col ref="goodflaghngnm" visibility="hidden"/>
- <col ref="goodflagengnm"/>
- <col ref="goodspec"/>
- <col ref="goodmodel"/>
- <col ref="prodcmpynm" style="text-align:left; "/>
- <col ref="rfehemht_cnt" style="text-align:center; "/>
- <col ref="possndd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="suplplcenm" style="text-align:left; "/>
- <col ref="mngtdeptnm" style="text-align:left; "/>
- <col ref="possnamt" format="#,###" style="text-align:right; "/>
- <col ref="installplcenm" style="text-align:left; "/>
- <col ref="installplcecd" visibility="hidden"/>
- <col ref="prodplce" visibility="hidden"/>
- <col ref="instcd" visibility="hidden"/>
- <col ref="maineqmt" visibility="hidden"/>
- <col ref="prodcmpy" visibility="hidden"/>
- <col ref="mngtdeptcd" visibility="hidden"/>
- <col ref="suplplcecd" visibility="hidden"/>
- <script type="javascript" ev:event="onrowchanged">
- <![CDATA[
- misfGridInit(grd_rfehemhtlist);
- misfGridInit(grd_rfemdamklist);
- misfGridInit(grd_rfehdabplist);
- model.resetInstanceNode("/root/main/com_rfehemhtlist");
-
- var fFixasetcd = grd_fixasetlist.valueMatrix(grd_fixasetlist.row, grd_fixasetlist.colRef("fixasetcd"));
- model.setValue("/root/send/fixasetcd", fFixasetcd);
- model.setValue("/root/send/acptdd", "");
- model.setValue("/root/send/acptdd2", "");
-
- submit("TRRFE00601");
- grd_fixasetlist.dispatch("onmouseup");
-
- grd_rfehemhtlist.row=grd_rfehemhtlist.fixedRows;
- grd_rfehemhtlist.dispatch("onrowchanged");
-
- model.setValue("/root/send/fixasetcd", "");
- model.refresh();
-
- ]]>
- </script>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_fixasetlist.gridToInstance();
- ]]>
- </script>
- </datagrid>
- <button id="btn_excel_all" class="btn2_letter4" navindex="19" style="left:1120px; top:1px; width:64px; height:19px; ">
- <caption>엑셀저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var fileName = window.fileDialog("save", ",", false, "수리내역(전체)", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
-
- if (fileName != "")
- {
- grd_fixasetlist.saveExcel(fileName, "수리내역(전체)", true, true, "");
- }
- ]]>
- </script>
- </button>
- <line id="line4" class="line_2" style="x1:1px; y1:450px; x2:489px; y2:450px; "/>
- <line id="line7" class="line_2" style="x1:1px; y1:516px; x2:489px; y2:516px; "/>
- </case>
- </switch>
- </group>
- </xhtml:body>
- </xhtml:html>
|