12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457 |
- <?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:my="http://www.comsquare.co.kr/example" xmlns:ms="urn:schemas-microsoft-com:xslt" 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>
- <grid>
- <rfehemhtlist/>
- <erfehemhtlist/>
- <prttemp/>
- <prtrfehemht/>
- <lastprtrfehemht/>
- <totfehemht/>
- </grid>
- <component>
- <rfehemhtlist>
- <bugtcd/>
- </rfehemhtlist>
- </component>
- <printdata>
- <data/>
- </printdata>
- </main>
- <send>
- <instcd/>
- <fixtrseqmtflag/>
- <reqdd1/>
- <reqdd2/>
- <chrgpsnid/>
- <chrgpsnnm/>
- <reqdeptcd/>
- <reqdeptnm/>
- <deptaprvyn/>
- <condflag>Y</condflag>
- <chrgpsnid/>
- <chrgpsnnm/>
- <rpirflag2/>
- <workstatmulti/>
- <bizscrnid>SMRFE00900</bizscrnid>
- <workstat/>
- <chkyn/>
- <acptyn/>
- <execdeptcd/>
- <sendprint>
- <instcd/>
- <reqdd/>
- <reqno/>
- <fixtrseqmtflag/>
- </sendprint>
- <fixasetcd/>
- <rpirenddd1/>
- <rpirenddd2/>
- <rpirenmm/>
- <lastrpirenmm/>
- </send>
- <init>
- <radio1>
- <label>전체</label>
- <value/>
- <label>수리의뢰</label>
- <value>01</value>
- <label>수리접수</label>
- <value>02</value>
- <label>수리중</label>
- <value>03</value>
- <label>수리완료</label>
- <value>04</value>
- <label>인수완료</label>
- <value>05</value>
- <label>부품대기중</label>
- <value>06</value>
- <label>반송</label>
- <value>07</value>
- <label>수리불가</label>
- <value>08</value>
- </radio1>
- <rowtemp/>
- <useyn>
- <label>내부</label>
- <value>1</value>
- <label>외부</label>
- <value>2</value>
- </useyn>
- <acptflag>
- <label>수리</label>
- <value>1</value>
- <label>예방</label>
- <value>2</value>
- </acptflag>
- <sanctyn>
- <label>결재</label>
- <value>Y</value>
- <label>반송</label>
- <value>R</value>
- </sanctyn>
- <grdsanctyn>
- <label>결재중</label>
- <value>I</value>
- <label>결재</label>
- <value>Y</value>
- <label>반송</label>
- <value>R</value>
- </grdsanctyn>
- <comtemp/>
- <goodflag>
- <label>전체</label>
- <value/>
- <label>비품</label>
- <value>GE</value>
- <label>의료장비</label>
- <value>EQ</value>
- </goodflag>
- <docustat>
- <label>검토</label>
- <value>01</value>
- <label>완료</label>
- <value>02</value>
- <label>완결</label>
- <value>03</value>
- </docustat>
- </init>
- <temp>
- <rfehemhtlist/>
- <acptpsnid/>
- <chrgpsnid/>
- </temp>
- <song/>
- <print/>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fInitialize();
- btn_search.dispatch("DOMActivate");
- ]]>
- </script>
- <submission id="TRRFE00502" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/grid/rfehemhtlist"/>
- <submission id="TXRFE00502" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/component/rfehemhtlist" resultref="/root/temp"/>
- <submission id="TRRFE00703" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/sendprint" resultref="/root/print/rpirprntinfo"/>
- <submission id="TRRFE00503" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/grid"/>
- </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" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript">
- <![CDATA[
- function fInitialize()
- {
- //초기화
- misfGridInit(grd_rfehemhtlist);
-
- model.resetInstanceNode("/root/main/component/rfehemhtlist");
-
- // misfComboComCdList("R0067", cmb_fixtrseqmtflag); // 자산구분
-
- rszfComboBugtList(cmb_bugtcd,getUserInfo("dutplceinstcd"));
-
- misfComboComCdListMulti("R0285,R0055,R0055,R0055,R0055"
- + ",R0285,R0285,R0286,R0285,R0286"
- + ",030M0012,C0048" ,
- "grd_rfehemhtlist.rpirflag2,chk_workstatmulti,grd_rfehemhtlist.workstat,grd_erfehemhtlist.workstat,cmb_workstat"
- + ",cmb_rpirflag2_search,cmb_rpirflag2,cmb_rpirflag1,grd_erfehemhtlist.rpirflag2,grd_erfehemhtlist.rpirflag1"
- + ",cmb_docustat,cmb_instcd" );
- addComboItem( "chk_workstatmulti", "전체", "A", "below" );
- addComboItem( "cmb_rpirflag2_search", "서류접수", "02", "above");
- addComboItem( "cmb_rpirflag2_search", "전체", "", "above");
- //addComboItem( "cmb_workstatS", "전체", "", "above");
- //addComboItem("cmb_workstat", "청구승인의뢰", "00", "above");
- //rszGridAddComboItem("grd_rfehemhtlist.workstat", "청구승인의뢰", "00", "above");
- //rszGridAddComboItem("grd_erfehemhtlist.workstat", "청구승인의뢰", "00", "above");
-
- // 사용자 권한에 따른 기관코드 Setting. [(6)수리관리, (B)이력등록]
- //rszfUserReqInstList(cmb_instcd,getUserInfo("userid"),"6","B");
-
- // 현재 날짜 기본 입력(6개월 간격 설정)
- var reqdate = getCurrentDate().toDate("YYYYMMDD");
- model.setValue(ipt_reqdd1S.attribute("ref"), reqdate.getAddDate(-6, "M").getDateFormat("YYYYMMDD") );
- model.setValue(ipt_reqdd2S.attribute("ref"), getCurrentDate());
-
- // 청구승인이 된것만 조회하기 위한 구분자 값.
- /*---------------------------------------------------------------------------------------------
- * [2007.11.28 HBH] 승인이 안되어도 이후 진행이 되게 해달라. 2007.11.28 8개병원 전체회의에서 결정
- * 하단 1줄 막음.
- ---------------------------------------------------------------------------------------------*/
- //model.setValue("/root/send/deptaprvyn", "Y");
-
- misfMsterDetailSet(grd_rfehemhtlist, null, "TRRFE00502", "Y");
-
- // 기본 사용자 설정값
- model.setValue("/root/send/instcd", getUserInfo("dutplceinstcd"));
- //model.setValue(ipt_chrgpsnidS.attribute("ref") , getUserInfo("userid"));
- //model.setValue(ipt_chrgpsnnmS.attribute("ref") , getUserInfo("usernm"));
- fdisabledTF(true);
-
- if(!checkAuth("X"))
- {
- btn_save.disabled = true;
- }
-
- grd_rfehemhtlist.fixedcellcheckbox(0,grd_rfehemhtlist.colRef("chk"),false) = true;
-
- cmb_exedeptcd.value = getUserInfo("dutplcecd");
-
- model.refresh();
-
- model.setFocus("ipt_fixasetcd_search");
- }
-
- function fRdoChangedInit()
- {
- //초기화
- misfGridInit(grd_rfehemhtlist);
-
- model.resetInstanceNode("/root/main/component/rfehemhtlist");
-
- model.refresh();
- }
- //R0055 01 수리의뢰 -> 수리요구
- //R0055 02 수리접수 -> 수리검토
- //R0055 03 수리중 -> 수리진행
- //R0055 04 수리완료 -> 수리완료
- //R0055 05 인수완료 -> 최종완료
- //R0055 06 부품대기중 -> 삭제
- //R0055 07 반송 -> 삭제
- //R0055 08 수리불가 -> 삭제
-
- function fdisabledTF( fbool)
- {
- //ipt_deptacptpsnnm.disabled = true; //인수자
- //ipt_deptacptdd.disabled = true; //완료인수일
-
- //ipt_reqtel.disabled = true; //의뢰자 연락처
-
- //ipt_acptdd.disabled = fbool; //납품일자
-
- cmb_rpirflag1.disabled = true; //고장유형
- //cmb_rpirflag2.disabled = true; //수리형태
-
- //rdo_useyn.disabled = fbool; //수리구분
-
- //ipt_acptpsnid.disabled = fbool; //접수자ID
- //btn_acptpsnid.disabled = fbool; //접수자 입력BT
- //ipt_acptpsnnm.disabled = fbool; //접수자명
-
- //txt_cmt.disabled = fbool; //비고
-
- //txt_hdrncspec.disabled = true; //의뢰내역
- //txt_rpirspec.disabled = true; //수리내역
- //ipt_genrdd.disabled = true; //발생일자
-
- //ipt_chrgpsnid.disabled = fbool; //검토자ID
- //ipt_chrgtel.disabled = fbool; //검토자 연락처
- //btn_chrgpsnid.disabled = fbool; //검토자 검색버튼
- //ipt_chrgpsnnm.disabled = fbool; //검토자명
- }
-
- function fGridRowChangedEvent()
- {
- model.copyNode("/root/main/component/rfehemhtlist", "/root/main/grid/rfehemhtlist["+ grd_rfehemhtlist.row +"]");
-
- /* if(model.getValue(cmb_workstat.attribute("ref")) !="04")
- {
- if (model.getValue(ipt_acptdd.attribute("ref" )) =="") model.setValue(ipt_acptdd.attribute("ref" ), getCurrentDate() );
- if (model.getValue(ipt_acptpsnid.attribute("ref" )) =="") model.setValue(ipt_acptpsnid.attribute("ref"), getUserInfo("userid"));
- if (model.getValue(ipt_acptpsnnm.attribute("ref" )) =="") model.setValue(ipt_acptpsnnm.attribute("ref"), getUserInfo("usernm"));
- //if (model.getValue(ipt_chrgpsnid.attribute("ref")) =="") model.setValue(ipt_chrgpsnid.attribute("ref"), getUserInfo("userid"));
- //if (model.getValue(ipt_chrgpsnnm.attribute("ref")) =="") model.setValue(ipt_chrgpsnnm.attribute("ref"), getUserInfo("usernm"));
- }*/
-
- // fdisabledTF(false);
-
- // 서류상태, 수리상태 재설정
- // fResetState();
-
- // 상태에따른 활성비활성 설정
- fResetDisabled();
-
- model.refresh();
- }
-
- function fUpdateData()
- {
- var detailNode = "/root/main/component/rfehemhtlist";
- var mainGrid = grd_rfehemhtlist;
- var gridRow = mainGrid.row;
-
- if ( ! (model.getValue(detailNode + "/acptdd" ) == mainGrid.valueMatrix(gridRow, mainGrid.colRef("acptdd" )))) return "Y" ;
- if ( ! (model.getValue(detailNode + "/acptpsnid" ) == mainGrid.valueMatrix(gridRow, mainGrid.colRef("acptpsnid" )))) return "Y" ;
- if ( ! (model.getValue(detailNode + "/bugtcd" ) == mainGrid.valueMatrix(gridRow, mainGrid.colRef("bugtcd" )))) return "Y" ;
- if ( ! (model.getValue(detailNode + "/bugtyy" ) == mainGrid.valueMatrix(gridRow, mainGrid.colRef("bugtyy" )))) return "Y" ;
- if ( ! (model.getValue(detailNode + "/chrgpsnid" ) == mainGrid.valueMatrix(gridRow, mainGrid.colRef("chrgpsnid" )))) return "Y" ;
- if ( ! (model.getValue(detailNode + "/chrgtel" ) == mainGrid.valueMatrix(gridRow, mainGrid.colRef("chrgtel" )))) return "Y" ;
- if ( ! (model.getValue(detailNode + "/cmt" ) == mainGrid.valueMatrix(gridRow, mainGrid.colRef("cmt" )))) return "Y" ;
- if ( ! (model.getValue(detailNode + "/deptacptdd" ) == mainGrid.valueMatrix(gridRow, mainGrid.colRef("deptacptdd" )))) return "Y" ;
- if ( ! (model.getValue(detailNode + "/genrdd" ) == mainGrid.valueMatrix(gridRow, mainGrid.colRef("genrdd" )))) return "Y" ;
- if ( ! (model.getValue(detailNode + "/hdrncspec" ) == mainGrid.valueMatrix(gridRow, mainGrid.colRef("hdrncspec" )))) return "Y" ;
- if ( ! (model.getValue(detailNode + "/lastrpirrslt" ) == mainGrid.valueMatrix(gridRow, mainGrid.colRef("lastrpirrslt" )))) return "Y" ;
- if ( ! (model.getValue(detailNode + "/reqtel" ) == mainGrid.valueMatrix(gridRow, mainGrid.colRef("reqtel" )))) return "Y" ;
- if ( ! (model.getValue(detailNode + "/rpirflag1" ) == mainGrid.valueMatrix(gridRow, mainGrid.colRef("rpirflag1" )))) return "Y" ;
- if ( ! (model.getValue(detailNode + "/rpirflag2" ) == mainGrid.valueMatrix(gridRow, mainGrid.colRef("rpirflag2" )))) return "Y" ;
- if ( ! (model.getValue(detailNode + "/stdysubjno" ) == mainGrid.valueMatrix(gridRow, mainGrid.colRef("stdysubjno" )))) return "Y" ;
- if ( ! (model.getValue(detailNode + "/mngersanctid" ) == mainGrid.valueMatrix(gridRow, mainGrid.colRef("mngersanctid")))) return "Y" ;
- if ( ! (model.getValue(detailNode + "/docustat" ) == mainGrid.valueMatrix(gridRow, mainGrid.colRef("docustat" )))) return "Y" ;
- if ( ! (model.getValue(detailNode + "/workstat" ) == mainGrid.valueMatrix(gridRow, mainGrid.colRef("workstat" )))) return "Y" ;
- if ( ! (model.getValue(detailNode + "/deprtmangrsanctid") == mainGrid.valueMatrix(gridRow, mainGrid.colRef("deprtmangrsanctid")))) return "Y" ;
-
- return "N";
- }
- // 수리상태, 서류상태 재설정
- function fResetState()
- {
- var workstat = "01";
- var docustat = "";
- var chrgpsnid = ipt_chrgpsnid.value;
-
- if(chrgpsnid.length != 0){ // 검토자가 있을 경우
- workstat = "02";
- docustat = "01";
- }else{
- workstat = "01";
- docustat = "01";
- }
- if(cmb_rpirflag2.value.length != 0){ // 수리형태(조치사항) 이 있을 경우
- workstat = "03";
- }
- if(model.getValue("/root/main/component/rfehemhtlist/rpirendyn") == "Y"){ // 수리완료가 체크되어 있을 경우
- workstat = "04";
- }
-
- switch(cmb_rpirflag2.value){
- case "1": // 무비용
- case "2": // 전도금
- case "5": // 폐기
- case "7": // 검토의견
- if(fSanctState()){
- docustat = "03";
- if(workstat == "04") workstat = "05";
- }
- break;
- case "6": // 용역
- if(fSanctState()){
- docustat = "03";
- if(workstat == "04")workstat = "05";
- }
- break;
- case "3": // 부품
- case "4": // 외주
- if(fSanctState()){
- if(workstat == "04" && model.getValue("/root/main/component/rfehemhtlist/chkpsn").length != 0){
- workstat = "05";
- docustat = "03";
- }else{
- docustat = "02";
- }
- }
- break;
- default:
- }
- cmb_workstat.value = workstat;
- cmb_docustat.value = docustat;
- cmb_workstat.refresh();
- cmb_docustat.refresh();
- fResetDisabled();
- }
-
- // 활성 비활성 처리
- function fResetDisabled()
- {
- var workstat = cmb_workstat.value;
- var docustat = cmb_docustat.value;
-
- if(workstat == "01" || workstat == "02" || workstat == "03"){
- fDisabledControl(false,"chr");
- }else{
- fDisabledControl(true,"chr");
- }
- if(cmb_rpirflag2.value.length != 0){ // 수리형태(조치사항) 이 있을 경우
- fDisabledControl(false,"sanct");
- }else{
- fDisabledControl(true,"sanct");
- }
- }
-
- // 결재 상태
- function fSanctState()
- {
- if(cmb_rpirflag2.value == "1" && ipt_deprtmangrsanctid.value.length != 0) return true; // 무비용일 경우 실장만 결재
- else if(cmb_rpirflag2.value == "6" && ipt_deprtmangrsanctid.value.length != 0) return true; // 용역일 경우 실장만 결재
- else if(ipt_deprtmangrsanctid.value.length != 0 && ipt_mngersanctid.value.length != 0) return true; // 다른상태일경우 실장&과장 결재
- return false;
- }
-
- function fDisabledControl(state,control)
- {
- switch(control){
- case "sanct":
- if (getUserInfo("userid") == "93518" || getUserInfo("userid") == "MIS" || getUserInfo("userid") == "93717"|| getUserInfo("userid") == "KNUH99207" ){ // 과장
- btn_mngersanctid.disabled = state;
- ipt_mngersanctid.disabled = state;
- ipt_mngersanctnm.disabled = state;
-
- btn_deprtmangrsanctid.disabled = true;
- ipt_deprtmangrsanctid.disabled = true;
- ipt_deprtmangrsanctnm.disabled = true;
-
- }else if (getUserInfo("userid") == "93361"){ // 실장
- btn_mngersanctid.disabled = true;
- ipt_mngersanctid.disabled = true;
- ipt_mngersanctnm.disabled = true;
-
- btn_deprtmangrsanctid.disabled = state;
- ipt_deprtmangrsanctid.disabled = state;
- ipt_deprtmangrsanctnm.disabled = state;
-
- }else{ // 그외...
- btn_mngersanctid.disabled = true;
- ipt_mngersanctid.disabled = true;
- ipt_mngersanctnm.disabled = true;
-
- btn_deprtmangrsanctid.disabled = true;
- ipt_deprtmangrsanctid.disabled = true;
- ipt_deprtmangrsanctnm.disabled = true;
- }
- break;
- case "chr":
- ipt_chrgpsnid.disabled = state;
- btn_chrgpsnid.disabled = state;
- ipt_chrgpsnnm.disabled = state;
- ipt_chrgtel.disabled = state;
- break;
- }
- }
-
- //전자결재 호출
- function fElctSanct()
- {
- if(fUpdateData() != "N") {
- alert("변경 된 내역이 있습니다.");
- return;
- }
- if(model.getValue("/root/main/component/rfehemhtlist/chrgpsnid") == "") {
- alert("미접수 상태입니다.");
- return;
- }
-
- var pInstcd = model.getValue("/root/main/component/rfehemhtlist/instcd");
- var pFixtrseqmtflag = model.getValue("/root/main/component/rfehemhtlist/fixtrseqmtflag");
- var pReqdd = model.getValue("/root/main/component/rfehemhtlist/reqdd");
- var pReqno = model.getValue("/root/main/component/rfehemhtlist/reqno");
-
- var pmaprefcol = "knuhdomain,formType,instId";
- var pmaprefvalue = "KnuhMisAssetsRepare,01," + pInstcd + "-" + pFixtrseqmtflag + "-" + pReqdd + "-" + pReqno;
-
- misfMakeElctSanct("assetsRepare", pmaprefcol, pmaprefvalue);
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body guideline="2,785;" 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:186px; height:14px; ">수리접수 및 결과 등록</caption>
- </group>
- <group id="grp_biz" scroll="auto" style="left:0px; top:38px; width:1195px; height:744px; ">
- <textarea id="txt_rpirspec" ref="/root/main/component/rfehemhtlist/rpirspec" visibility="hidden" style="left:731px; top:599px; width:461px; height:129px; "/>
- <caption id="caption9" class="cell_1" visibility="hidden" style="left:639px; top:270px; width:90px; height:23px; vertical-align:middle; ">예산년도/계정</caption>
- <select1 id="cmb_bugtcd" ref="/root/main/component/rfehemhtlist/bugtcd" disabled="true" visibility="hidden" appearance="minimal" style="left:781px; top:271px; width:73px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <input id="ipt_stdysubjno" ref="/root/main/component/rfehemhtlist/stdysubjno" class="input_dafault" disabled="true" visibility="hidden" style="left:947px; top:271px; width:106px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(ipt_stdysubjno.value != "")
- {
- rszfValidationCheck("TRRSD00261", "studylist", "refcond,instcd,stdysubjno", "stdysubjno," + cmb_instcd.value + "," + ipt_stdysubjno.value, "",
- "stdysubjno,stdysubjnm", ipt_stdysubjno, "SPRSD00260", "instcd", "cmb_instcd");
- }else
- {
- ipt_stdysubjno.value = "";
- ipt_stdysubjnm.value = "";
- }
- model.refresh();
- ]]>
- </script>
- </input>
- <input id="ipt_stdysubjnm" ref="/root/main/component/rfehemhtlist/stdysubjnm" class="input_dafault" disabled="true" visibility="hidden" style="left:1055px; top:271px; width:137px; height:19px; ">
- <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="caption13" class="cell_1" visibility="hidden" style="left:855px; top:270px; width:65px; height:23px; vertical-align:middle; ">연구과제</caption>
- <input id="ipt_bugtyy" ref="/root/main/component/rfehemhtlist/bugtyy" class="input_default" disabled="true" visibility="hidden" style="left:731px; top:271px; width:49px; height:19px; "/>
- <line id="line4" class="line_2" style="x1:639px; y1:340px; x2:1194px; y2:340px; "/>
- <line id="line28" class="line_2" style="x1:639px; y1:220px; x2:1194px; y2:220px; "/>
- <line id="line1" class="line_1" style="x1:639px; y1:121px; x2:1194px; y2:121px; "/>
- <line id="line15" class="line_2" style="x1:640px; y1:364px; x2:1195px; y2:364px; "/>
- <line id="line37" class="line_2" style="x1:639px; y1:268px; x2:1194px; y2:268px; "/>
- <line id="line14" class="line_2" style="x1:639px; y1:615px; x2:1194px; y2:615px; "/>
- <line id="line35" class="line_2" style="x1:639px; y1:244px; x2:1194px; y2:244px; "/>
- <line id="line10" class="line_2" style="x1:639px; y1:148px; x2:1194px; y2:148px; "/>
- <line id="line9" class="line_2" style="x1:639px; y1:196px; x2:1194px; y2:196px; "/>
- <line id="line40" class="line_2" style="x1:639px; y1:316px; x2:1194px; y2:316px; "/>
- <line id="line8" class="line_2" style="x1:639px; y1:172px; x2:1194px; y2:172px; "/>
- <group id="grp_sea" style="left:0px; top:10px; width:1195px; height:87px; vertical-align:top; ">
- <shape id="roundrect1" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1195px; height:87px; "/>
- <caption id="caption2" class="search_name" style="left:15px; top:35px; width:86px; height:17px; ">자산구분 :</caption>
- <button id="btn_search" class="btn1_letter2" navindex="17" style="left:1124px; top:30px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(!isRequiredControls("cmb_instcd"))return;
- if(!isRequiredControls("ipt_reqdd1S"))return;
- if(!isRequiredControls("ipt_reqdd2S"))return;
-
- fRdoChangedInit();
-
- misfMsterDetailRetrieve();
-
- misfSetReadOnlyCol(grd_rfehemhtlist, "acptflag,reqdd,reqno,depthngnm,fixasetnm,workstat", true);
- model.refresh();
- ]]>
- </script>
- </button>
- <line id="line13" class="line_4" style="x1:1109px; y1:9px; x2:1109px; y2:77px; border-color:#ffe4bb; border-left-style:solid; "/>
- <button id="btn_reqdeptcd" class="icon_search" navindex="7" style="left:441px; top:60px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- misfOpenPopUpList("02", ipt_reqdeptcdS, "", "reqdeptcd,reqdeptnm");
- ipt_reqdeptcdS.refresh();
- ipt_reqdeptnmS.refresh();
- ]]>
- </script>
- </button>
- <input id="ipt_reqdeptcdS" ref="/root/send/reqdeptcd" class="input_default" navindex="6" style="left:360px; top:58px; width:78px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- misfSearchDept(ipt_reqdeptnmS);
- ]]>
- </script>
- </input>
- <input id="ipt_reqdeptnmS" ref="/root/send/reqdeptnm" class="output_fix" navindex="-1" editable="false" style="left:460px; top:58px; width:160px; height:19px; "/>
- <caption id="caption3" class="search_name" style="left:268px; top:59px; width:87px; height:17px; ">의뢰부서 :</caption>
- <caption id="cap_reqdd1S" class="search_name" style="left:268px; top:8px; width:86px; height:17px; ">의뢰일자 :</caption>
- <input id="ipt_reqdd1S" ref="/root/send/reqdd1" class="input_s_essential" navindex="4" inputtype="date" style="left:360px; top:7px; width:95px; height:19px; "/>
- <input id="ipt_reqdd2S" ref="/root/send/reqdd2" class="input_s_essential" navindex="5" inputtype="date" style="left:475px; top:7px; width:95px; height:19px; "/>
- <button id="btn_chrgpsnidS" class="icon_search" navindex="10" style="left:823px; top:61px; width:16px; height:16px; ">
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- misfOpenPopUpList("12", ipt_chrgpsnidS, "", "chrgpsnid,chrgpsnnm");
- ipt_chrgpsnidS.refresh();
- ipt_chrgpsnnmS.refresh();
- ]]>
- </script>
- <caption/>
- </button>
- <caption id="caption20" class="search_name" style="left:650px; top:60px; width:87px; height:17px; ">검 토 자 :</caption>
- <input id="ipt_chrgpsnidS" ref="/root/send/chrgpsnid" class="input_default" navindex="9" style="left:742px; top:59px; width:78px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(ipt_chrgpsnidS.value.length == 0)
- ipt_chrgpsnnmS.value = "";
- else
- misfValidationCheck("01-1", "", "chrgpsnid,chrgpsnnm");
- ipt_chrgpsnidS.refresh();
- ipt_chrgpsnnmS.refresh();
- ]]>
- </script>
- </input>
- <input id="ipt_chrgpsnnmS" ref="/root/send/chrgpsnnm" class="output_fix" navindex="-1" editable="false" style="left:842px; top:60px; width:118px; height:19px; "/>
- <select1 id="cmb_fixtrseqmtflag" ref="/root/send/fixtrseqmtflag" class="combo_s_essential" navindex="2" appearance="minimal" style="left:105px; top:34px; width:140px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/goodflag">
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- btn_search.dispatch("DOMActivate");
- ]]>
- </script>
- </select1>
- <select1 id="cmb_instcd" ref="/root/send/instcd" class="combo_s_essential" navindex="1" appearance="minimal" style="left:105px; top:8px; width:140px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- btn_search.dispatch("DOMActivate");
- ]]>
- </script>
- </select1>
- <caption id="caption11" class="search_name" style="left:15px; top:9; width:86px; height:17px; ">기관코드 :</caption>
- <caption id="caption12" style="left:460px; top:9px; width:20px; height:20px; font-weight:bold; ">~</caption>
- <caption id="caption30" class="search_name" style="left:650px; top:10px; width:89px; height:17px; ">수리형태 :</caption>
- <select1 id="cmb_rpirflag2_search" ref="/root/send/rpirflag2" navindex="14" appearance="minimal" style="left:740px; top:10px; width:98px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption34" class="search_name" style="left:810px; top:35px; width:91px; height:17px; ">검수여부 :</caption>
- <caption id="caption35" class="search_name" style="left:650px; top:35px; width:91px; height:17px; ">결재여부 :</caption>
- <bool id="chk_chkyn" navindex="13" checkvalue="Y,N" ref="/root/send/chkyn" style="left:900px; top:36px; width:20px; height:15px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(chk_chkyn.value == "Y" && chk_acptyn.value == "Y") chk_acptyn.value = "N";
- ]]>
- </script>
- </bool>
- <bool id="chk_acptyn" navindex="12" checkvalue="Y,N" ref="/root/send/acptyn" style="left:740px; top:36px; width:20px; height:15px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(chk_chkyn.value == "Y" && chk_acptyn.value == "Y") chk_chkyn.value = "N";
- ]]>
- </script>
- </bool>
- <select id="chk_workstatmulti" ref="/root/send/workstatmulti" disabled="false" navindex="16" visibility="visible" overflow="visible" appearance="full" cols="2" sep="," vcellspacing="3" style="left:960px; top:9px; width:140px; height:50px; text-align:center; border-style:none; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var bfworkstatmulti = model.getValue("/root/temp/bfworkstatmulti");
- var workstatmulti = model.getValue(chk_workstatmulti.attribute("ref"));
-
- if (isSearchString(bfworkstatmulti, 'A')){
- model.setValue(chk_workstatmulti.attribute("ref"), workstatmulti.replace("A", ""));
- }else{
-
- workstatmultiArr = workstatmulti.split(",");
- for (var i=0; i< workstatmultiArr.length; i++){
- if (workstatmultiArr[i] == "A"){
- model.setValue(chk_workstatmulti.attribute("ref"), "A");
- break;
- }
- }
- }
-
- model.makeValue("/root/temp/bfworkstatmulti", model.getValue(chk_workstatmulti.attribute("ref")));
- chk_workstatmulti.refresh();
- ]]>
- </script>
- </select>
- <caption id="caption22" class="search_name" visibility="visible" style="left:865px; top:9px; width:101px; height:17px; ">진행상태 :</caption>
- <select1 id="cmb_exedeptcd" ref="/root/send/execdeptcd" navindex="15" visibility="hidden" appearance="minimal" style="left:1090px; top:60px; width:100px; height:19px; ">
- <choices>
- <item>
- <label>전체</label>
- <value/>
- </item>
- <item>
- <label>의공학과</label>
- <value>4090500000</value>
- </item>
- <item>
- <label>물류파트</label>
- <value>4020334000</value>
- </item>
- <item>
- <label>정보통신실</label>
- <value>4130100000</value>
- </item>
- </choices>
- </select1>
- <input id="ipt_fixasetcd_search" ref="/root/send/fixasetcd" class="input_default" navindex="3" imemode="disabled" _chartype="upper" style="left:105px; top:59px; width:140px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- inputEnterKey("btn_search", "DOMActivate");
- ]]>
- </script>
- </input>
- <caption id="caption38" class="search_name" style="left:16px; top:60px; width:88px; height:17px; ">자산코드 :</caption>
- <input id="ipt_rpirenddd2" ref="/root/send/rpirenddd2" class="input_s_essential" navindex="31" inputtype="date" style="left:475px; top:34px; width:95px; height:19px; "/>
- <caption id="caption41" style="left:460px; top:36px; width:20px; height:20px; font-weight:bold; ">~</caption>
- <input id="input2" ref="/root/send/rpirenddd1" class="input_s_essential" navindex="30" inputtype="date" style="left:360px; top:34px; width:95px; height:19px; "/>
- <caption id="caption42" class="search_name" style="left:268px; top:35px; width:86px; height:17px; ">완료일자:</caption>
- </group>
- <caption id="caption1" class="tit_2" style="left:5px; top:106px; width:157px; height:13px; ">의뢰내역</caption>
- <line id="line2" class="line_1" style="x1:0px; y1:121px; x2:634px; y2:121px; "/>
- <caption id="caption60" class="cell_1" style="left:639px; top:414px; width:90px; height:23px; vertical-align:middle; ">서류상태</caption>
- <select1 id="cmb_docustat" ref="/root/main/component/rfehemhtlist/docustat" class="combo_default" disabled="true" navindex="37" appearance="minimal" style="left:731px; top:415px; width:115px; height:19px; text-align:center; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption4" class="cell_1" style="left:900px; top:414px; width:90px; height:23px; vertical-align:middle; ">수리상태</caption>
- <caption id="caption32" class="cell_1" style="left:639px; top:246px; width:90px; height:23px; vertical-align:middle; ">의뢰번호</caption>
- <caption id="caption5" class="cell_1" style="left:639px; top:222px; width:90px; height:23px; vertical-align:middle; ">의뢰부서</caption>
- <input id="ipt_depthngnm" ref="/root/main/component/rfehemhtlist/depthngnm" class="output_fix" navindex="-1" editable="false" style="left:731px; top:223px; width:123px; height:19px; "/>
- <caption id="caption7" class="cell_1" style="left:639px; top:198px; width:90px; height:23px; vertical-align:middle; ">완료인수일</caption>
- <input id="ipt_installplcecd" ref="/root/main/component/rfehemhtlist/installplcecd" class="output_fix" navindex="-1" editable="false" style="left:947px; top:199px; width:106px; height:19px; "/>
- <caption id="caption8" class="cell_1" style="left:855px; top:198px; width:90px; height:23px; vertical-align:middle; ">설치장소</caption>
- <input id="ipt_reqtel" ref="/root/main/component/rfehemhtlist/reqtel" class="output_fix" navindex="-1" editable="false" maxlength="15" style="left:947px; top:223px; width:106px; height:19px; "/>
- <caption id="cap_reqtel" class="cell_1" style="left:855px; top:222px; width:90px; height:23px; vertical-align:middle; ">의뢰자 연락처</caption>
- <line id="line11" class="line_2" style="x1:639px; y1:683px; x2:1194px; y2:683px; "/>
- <caption id="caption18" class="cell_1" style="left:639px; top:583px; width:90px; height:141px; vertical-align:middle; ">수리내역</caption>
- <input id="ipt_genrdd" ref="/root/main/component/rfehemhtlist/genrdd" class="output_fix" navindex="-1" editable="false" format="yyyy-mm-dd" style="left:1040px; top:247px; width:152px; height:19px; text-align:center; "/>
- <textarea id="txt_lastrpirrslt" ref="/root/main/component/rfehemhtlist/lastrpirrslt" navindex="-1" editable="false" style="left:731px; top:583px; width:461px; height:141px; background-color:#eaeaea; "/>
- <caption id="caption19" style="left:295px; top:400px; width:100px; height:20px; vertical-align:middle; "/>
- <caption id="caption23" class="cell_1" style="left:855px; top:174px; width:90px; height:23px; vertical-align:middle; ">인수자</caption>
- <caption id="caption26" class="cell_1" style="left:639px; top:174px; width:90px; height:23px; vertical-align:middle; ">의뢰자</caption>
- <caption id="caption27" class="cell_1" style="left:639px; top:126px; width:90px; height:23px; vertical-align:middle; ">자산코드</caption>
- <input id="ipt_fixasetcd" ref="/root/main/component/rfehemhtlist/fixasetcd" class="output_fix" navindex="-1" editable="false" style="left:731px; top:127px; width:124px; height:19px; "/>
- <input id="ipt_fixasetnm" ref="/root/main/component/rfehemhtlist/fixasetnm" class="output_fix" navindex="-1" editable="false" style="left:731px; top:151px; width:461px; height:19px; "/>
- <input id="ipt_deptacptpsnnm" ref="/root/main/component/rfehemhtlist/deptacptpsnnm" class="output_fix" navindex="-1" editable="false" style="left:947px; top:175px; width:106px; height:19px; "/>
- <input id="ipt_reqpsnnm" ref="/root/main/component/rfehemhtlist/reqpsnnm" class="output_fix" navindex="-1" editable="false" style="left:731px; top:175px; width:123px; height:19px; "/>
- <input id="ipt_deptacptdd" ref="/root/main/component/rfehemhtlist/deptacptdd" class="output_fix" navindex="-1" editable="false" style="left:731px; top:199px; width:123px; height:19px; "/>
- <input id="ipt_installplcenm" ref="/root/main/component/rfehemhtlist/installplcenm" class="output_fix" navindex="-1" editable="false" style="left:1055px; top:199px; width:137px; height:19px; "/>
- <caption id="caption31" class="cell_1" style="left:639px; top:270px; width:90px; height:23px; vertical-align:middle; ">고장유형</caption>
- <caption id="caption10" class="cell_1" style="left:855px; top:270px; width:90px; height:23px; vertical-align:middle; ">수리형태</caption>
- <select1 id="cmb_workstat" ref="/root/main/component/rfehemhtlist/workstat" class="combo_default" disabled="true" navindex="38" appearance="minimal" style="left:992px; top:415px; width:115px; height:19px; text-align:center; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <input id="ipt_acptpsnid" ref="/root/main/component/rfehemhtlist/acptpsnid" class="input_s_essential" disabled="true" visibility="hidden" style="left:731px; top:295px; width:97px; height:19px; text-align:center; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- misfValidationCheck("01-1", "", "acptpsnid,acptpsnnm");
- // misfValidationCheck("12", "", "acptpsnid,acptpsnnm");
- ipt_acptpsnid.refresh();
- ipt_acptpsnnm.refresh();
- ]]>
- </script>
- </input>
- <button id="btn_acptpsnid" class="icon_search" disabled="true" visibility="hidden" style="left:831px; top:296px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- misfOpenPopUpList("12", ipt_acptpsnid, "", "acptpsnid,acptpsnnm");
- ipt_acptpsnid.refresh();
- ipt_acptpsnnm.refresh();
- ]]>
- </script>
- </button>
- <input id="ipt_acptpsnnm" ref="/root/main/component/rfehemhtlist/acptpsnnm" class="input_defalut" disabled="true" visibility="hidden" style="left:849px; top:295px; width:95px; height:19px; text-align:center; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- misfValidationCheck("01-2", "", "acptpsnid,acptpsnnm");
- ipt_acptpsnid.refresh();
- ipt_acptpsnnm.refresh();
- ]]>
- </script>
- </input>
- <caption id="caption24" class="cell_1" style="left:639px; top:318px; width:90px; height:23px; vertical-align:middle; ">비고</caption>
- <caption id="cap_acptpsnid" class="cell_1" visibility="hidden" style="left:639px; top:294px; width:90px; height:23px; vertical-align:middle; ">접수자</caption>
- <textarea id="txt_cmt" ref="/root/main/component/rfehemhtlist/cmt" navindex="-1" editable="false" style="left:731px; top:319px; width:461px; height:19px; background-color:#eaeaea; "/>
- <textarea id="txt_hdrncspec" ref="/root/main/component/rfehemhtlist/hdrncspec" navindex="-1" editable="false" style="left:731px; top:438px; width:461px; height:142px; background-color:#eaeaea; "/>
- <caption id="cap_genrdd" class="cell_1" style="left:948px; top:246px; width:90px; height:23px; vertical-align:middle; ">발생일자</caption>
- <input id="ipt_reqno" ref="/root/main/component/rfehemhtlist/reqno" class="output_fix" navindex="-1" editable="false" style="left:856px; top:247px; width:89px; height:19px; "/>
- <select1 id="cmb_rpirflag1" ref="/root/main/component/rfehemhtlist/rpirflag1" class="combo_default" navindex="34" appearance="minimal" style="left:731px; top:271px; width:123px; height:19px; text-align:center; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <select1 id="cmb_rpirflag2" ref="/root/main/component/rfehemhtlist/rpirflag2" class="combo_default" disabled="true" navindex="35" appearance="minimal" style="left:947px; top:271px; width:106px; height:19px; text-align:center; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <select1 id="rdo_useyn" ref="/root/main/component/rfehemhtlist/useyn" disabled="true" navindex="36" visibility="hidden" appearance="full" cols="2" overflow="visible" style="left:1065px; top:487px; width:90px; height:19px; background-color:transparent; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/useyn">
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption14" class="cell_1" visibility="hidden" style="left:1010px; top:485px; width:55px; height:23px; vertical-align:middle; ">수리구분</caption>
- <caption id="cap_acptdd" class="cell_1" visibility="hidden" style="left:1010px; top:465px; width:55px; height:23px; vertical-align:middle; ">납품일자</caption>
- <input id="ipt_acptdd" ref="/root/main/component/rfehemhtlist/acptdd" class="input_s_essential" disabled="true" navindex="39" visibility="hidden" style="left:1067px; top:466px; width:63px; height:19px; text-align:center; "/>
- <input id="ipt_reqdd" ref="/root/main/component/rfehemhtlist/reqdd" class="output_fix" navindex="-1" editable="false" format="yyyy-mm-dd" style="left:731px; top:247px; width:123px; height:19px; "/>
- <line id="line5" class="line_2" style="x1:638px; y1:292px; x2:1193px; y2:292px; "/>
- <button id="btn_chrgpsnid" class="icon_search" disabled="true" navindex="48" style="left:831px; top:346px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- misfOpenPopUpList("01", ipt_chrgpsnid, "", "chrgpsnid,chrgpsnnm");
- ipt_chrgpsnid.refresh();
- ipt_chrgpsnnm.refresh();
- ]]>
- </script>
- </button>
- <input id="ipt_chrgpsnid" ref="/root/main/component/rfehemhtlist/chrgpsnid" class="input_s_essential" disabled="true" navindex="47" style="left:731px; top:343px; width:97px; height:19px; text-align:center; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- misfValidationCheck("01-1", "", "chrgpsnid,chrgpsnnm");
- // misfValidationCheck("12", "", "chrgpsnid,chrgpsnnm");
- // setValue("/root/temp/rfehemhtlist.chrgpsnid", ipt_chrgpsnid.value);
- ipt_chrgpsnid.refresh();
- ipt_chrgpsnnm.refresh();
- fResetState();
- ]]>
- </script>
- </input>
- <input id="ipt_chrgpsnnm" ref="/root/main/component/rfehemhtlist/chrgpsnnm" class="input_search" disabled="true" navindex="49" style="left:849px; top:343px; width:95px; height:19px; text-align:center; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- misfValidationCheck("01-2", "", "chrgpsnid,chrgpsnnm");
- ipt_chrgpsnid.refresh();
- ipt_chrgpsnnm.refresh();
- ]]>
- </script>
- </input>
- <input id="ipt_chrgtel" ref="/root/main/component/rfehemhtlist/chrgtel" class="input_s_essential" disabled="true" navindex="50" maxlength="15" style="left:1038px; top:343px; width:154px; height:19px; text-align:left; "/>
- <line id="line6" class="line_2" style="x1:637px; y1:388px; x2:1192px; y2:388px; "/>
- <button id="btn_excel" class="btn5_letter3" navindex="19" style="left:1138px; top:101px; width:53px; height:19px; ">
- <caption>Excel</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- copyNodesetType("/root/main/grid/erfehemhtlist", "/root/main/grid/rfehemhtlist");
- grd_erfehemhtlist.rebuild();
- var fileName = "수리접수리스트_" + getCurrentDate();
- var fileName = window.fileDialog("save", ",", false, fileName, "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
-
- if (fileName != "")
- {
- grd_erfehemhtlist.saveExcel(fileName, "수리접수",true,true, "");
- }
- ]]>
- </script>
- </button>
- <input id="ipt_flwgrnttermto" ref="/root/main/component/rfehemhtlist/flwgrnttermto" class="output_fix" navindex="-1" editable="false" format="yyyy-mm-dd" style="left:877px; top:367px; width:125px; height:19px; "/>
- <input id="ipt_flwgrnttermfr" ref="/root/main/component/rfehemhtlist/flwgrnttermfr" class="output_fix" navindex="-1" editable="false" format="yyyy-mm-dd" style="left:731px; top:367px; width:125px; height:19px; "/>
- <caption id="caption16" style="left:859px; top:369px; width:20px; height:20px; font-weight:bold; ">~</caption>
- <input id="ipt_possnamt" ref="/root/main/component/rfehemhtlist/possnamt" class="output_fix" navindex="-1" visibility="visible" editable="false" format="#,###" appearance="input" style="left:731px; top:391px; width:166px; height:19px; text-align:right; "/>
- <input id="ipt_agency" ref="/root/main/component/rfehemhtlist/agency" class="input_default" navindex="56" visibility="hidden" style="left:1074px; top:511px; width:14px; height:19px; "/>
- <input id="ipt_possndd" ref="/root/main/component/rfehemhtlist/possndd" class="output_fix" navindex="-1" editable="false" format="yyyy-mm-dd" style="left:1067px; top:367px; width:125px; height:19px; "/>
- <input id="ipt_agencycntctel" ref="/root/main/component/rfehemhtlist/agencycntctel" class="input_default" navindex="57" visibility="hidden" style="left:1157px; top:511px; width:13px; height:19px; "/>
- <datagrid id="grd_erfehemhtlist" nodeset="/root/main/grid/erfehemhtlist" visibility="hidden" caption="의뢰일자^의뢰일자^의뢰부서^계정과목^코드번호^구코드번호^장비명^모델^S/N^취득일자^의뢰인명^승인자^전화번호^제조원명^공급처명^수리거래처명^수리진행상태^담당자명^청구구분^고장구분^수리형태^수리시간^견적금액^부품사용금액^절감액^확정금액^수리완료일^팀장결재일^의뢰내용^수리내용^접수구분" colsep="^" colwidth="100, 50, 120, 85, 120, 120, 150, 110, 120, 100, 80, 80, 80, 100, 120, 120, 100, 80, 80, 80, 80, 80, 80, 100, 80, 80, 100, 100, 180, 180, 100" mergecellsfixedrows="bycolrec" rowsep="|" style="left:10px; top:365px; width:620px; height:135px; ">
- <col ref="reqdd" format="yyyy-mm-dd"/>
- <col ref="reqno"/>
- <col ref="depthngnm"/>
- <col ref="acntnm"/>
- <col ref="fixasetcd"/>
- <col ref="oldcd"/>
- <col ref="fixasetnm"/>
- <col ref="goodmodel"/>
- <col ref="mngtno"/>
- <col ref="possndd" format="yyyy-mm-dd"/>
- <col ref="reqpsnnm"/>
- <col ref="deptaprvpsnnm"/>
- <col ref="reqtel"/>
- <col ref="prodcmpynm"/>
- <col ref="suplplcenm"/>
- <col ref="agency"/>
- <col ref="workstat" type="combo">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </col>
- <col ref="chrgpsnnm"/>
- <col ref="useyn" type="combo">
- <choices>
- <itemset nodeset="/root/init/useyn">
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- </col>
- <col ref="rpirflag1" type="combo">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </col>
- <col ref="rpirflag2" type="combo">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </col>
- <col ref="rpirtm" format="hh:nn"/>
- <col ref="estimateamt" format="#,###"/>
- <col ref="rfehdabptotal" format="#,###"/>
- <col ref="reductionamt" format="#,###"/>
- <col ref="rpiramt" format="#,###"/>
- <col ref="rpirenddd" format="yyyy-mm-dd"/>
- <col ref="sanctdd" format="yyyy-mm-dd"/>
- <col ref="hdrncspec"/>
- <col ref="lastrpirrslt"/>
- <col ref="acptflag" type="combo" style="left:3912px; top:23px; width:100px; height:23px; ">
- <choices>
- <itemset nodeset="/root/init/acptflag">
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- </col>
- </datagrid>
- <input id="ipt_rpiramt" ref="/root/main/component/rfehemhtlist/rpiramt" class="output_fix" navindex="-1" visibility="visible" editable="false" format="#,###" appearance="input" style="left:992px; top:391px; width:200px; height:19px; text-align:right; "/>
- <caption id="cap_chrgpsnid" class="cell_1" style="left:639px; top:342px; width:90px; height:23px; vertical-align:middle; ">검토자</caption>
- <caption id="cap_chrgtel" class="cell_1" style="left:946px; top:342px; width:90px; height:23px; vertical-align:middle; ">검토자 연락처</caption>
- <line id="line7" class="line_2" style="x1:639px; y1:412px; x2:1194px; y2:412px; "/>
- <caption id="caption15" class="cell_1" style="left:639px; top:366px; width:90px; height:23px; vertical-align:middle; ">하자보수기간</caption>
- <caption id="caption17" class="cell_1" style="left:1005px; top:366px; width:60px; height:23px; vertical-align:middle; ">취득일</caption>
- <line id="line12" class="line_2" style="x1:640px; y1:436px; x2:1195px; y2:436px; "/>
- <caption id="caption29" class="cell_1" style="left:900px; top:390px; width:90px; height:23px; vertical-align:middle; ">확정금액</caption>
- <caption id="caption21" class="cell_1" style="left:639px; top:390px; width:90px; height:23px; vertical-align:middle; ">구입금액</caption>
- <caption id="caption25" class="cell_1" visibility="hidden" style="left:1007px; top:510px; width:66px; height:23px; vertical-align:middle; ">A/S대리점</caption>
- <caption id="caption28" class="cell_1" visibility="hidden" style="left:1090px; top:510px; width:65px; height:23px; vertical-align:middle; ">A/S연락처</caption>
- <line id="line17" class="line_2" style="x1:640px; y1:581px; x2:1195px; y2:581px; "/>
- <caption id="caption33" class="cell_1" style="left:639px; top:438px; width:90px; height:142px; vertical-align:middle; ">의뢰내역</caption>
- <line id="line24" class="line_3" style="x1:639px; y1:727px; x2:1194px; y2:727px; "/>
- <input id="ipt_deprtmangrsanctnm" ref="/root/main/component/rfehemhtlist/deprtmangrsanctnm" class="input_default" disabled="true" navindex="42" appearance="input" style="left:833px; top:296px; width:80px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(ipt_deprtmangrsanctnm.value.length == 0)
- ipt_deprtmangrsanctid.value = "";
- else
- misfValidationCheck("01-2", "", "deprtmangrsanctid,deprtmangrsanctnm");
- ipt_deprtmangrsanctid.refresh();
- ipt_deprtmangrsanctnm.refresh();
- fResetState();
- ]]>
- </script>
- </input>
- <input id="ipt_mngersanctid" ref="/root/main/component/rfehemhtlist/mngersanctid" class="input_default" navindex="43" style="left:984px; top:295px; width:80px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- // misfValidationCheck("12", "", "mngersanctid,mngersanctnm");
- if(ipt_mngersanctid.value.length == 0)
- ipt_mngersanctnm.value = "";
- else
- misfValidationCheck("01-1", "", "mngersanctid,mngersanctnm");
- ipt_mngersanctid.refresh();
- ipt_mngersanctnm.refresh();
- fResetState();
- ]]>
- </script>
- </input>
- <button id="btn_mngersanctid" class="icon_search" navindex="44" style="left:1068px; top:296px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- misfOpenPopUpList("12", ipt_mngersanctid, "", "mngersanctid,mngersanctnm");
- ipt_mngersanctid.refresh();
- ipt_mngersanctnm.refresh();
- fResetState();
- ]]>
- </script>
- </button>
- <input id="ipt_mngersanctnm" ref="/root/main/component/rfehemhtlist/mngersanctnm" class="input_default" disabled="true" navindex="45" appearance="input" style="left:1087px; top:295px; width:80px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(ipt_mngersanctnm.value.length == 0)
- ipt_mngersanctid.value = "";
- else
- misfValidationCheck("01-2", "", "mngersanctid,mngersanctnm");
- ipt_mngersanctid.refresh();
- ipt_mngersanctnm.refresh();
- fResetState();
- ]]>
- </script>
- </input>
- <caption id="caption36" class="cell_1" style="left:916px; top:294px; width:65px; height:23px; vertical-align:middle; ">과장 결재</caption>
- <button id="btn_deprtmangrsanctid" class="icon_search" navindex="41" style="left:813px; top:296px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- misfOpenPopUpList("12", ipt_deprtmangrsanctid, "", "deprtmangrsanctid,deprtmangrsanctnm");
- ipt_deprtmangrsanctid.refresh();
- ipt_deprtmangrsanctnm.refresh();
- fResetState();
- ]]>
- </script>
- </button>
- <caption id="caption37" class="cell_1" style="left:639px; top:294px; width:90px; height:23px; vertical-align:middle; ">실장 결재</caption>
- <input id="ipt_deprtmangrsanctid" ref="/root/main/component/rfehemhtlist/deprtmangrsanctid" class="input_default" navindex="40" imemode="disabled" style="left:731px; top:295px; width:80px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- // misfValidationCheck("12", "", "deprtmangrsanctid,deprtmangrsanctnm");
- if(ipt_deprtmangrsanctid.value.length == 0)
- ipt_deprtmangrsanctnm.value = "";
- else
- misfValidationCheck("01-1", "", "deprtmangrsanctid,deprtmangrsanctnm");
- ipt_deprtmangrsanctid.refresh();
- ipt_deprtmangrsanctnm.refresh();
- fResetState();
- ]]>
- </script>
- </input>
- <datagrid id="grd_rfehemhtlist" nodeset="/root/main/grid/rfehemhtlist" scroll="auto" caption="^자산구분^의뢰일자^의뢰일자^의뢰부서^계정과목^자산번호^자산명^수리형태^완료상태^담당자^서류상태^수리상태^실장^과장^검수자^승인^S/N^접수일자^결재상태^담당자comment^미가동일수^접수구분^기관코드^비품_장비구분^접수자ID^접수자이름^A/S대리점^A/S연락처^예산년도^담당자전화번호(사내전화번호)^완료인수일^인수자이름^의뢰부서명^하자보수기간from^하자보수기간to^발생일자^물품모델^설치장소CODE^설치장소^구입금액^취득일^의뢰자이름^의뢰자연락처^수리비^연구과제명^담당자ID(수리담당자)^연구과제code^예산계정^고장유형^청구구분^비고^고장내역(의뢰내역)^최종수리결과^수리내역^화면id^승인자^견적금액^구코드번호^제조원명^절감액^부품사용금액^수리완료일^수리시간^팀장결재일^거래처명^^^^^caption1^^^^^^^공급처코드^공급처명^수리거래처명^구매품의일자^구매품의번호" colsep="^" colwidth="19, 75, 74, 37, 71, 81, 100, 167, 68, 74, 70, 57, 75, 70, 70, 70, 35, 100, 100, 100, 52, 100, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 100, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 100,80,150,150,100,80" dataheight="25" ellipsis="true" explorerbar="sortshow" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" rowsep="|" selectionmode="byrow" tooltip="true" navindex="18" style="left:0px; top:130px; width:634px; height:603px; text-align:center; ">
- <col checkvalue="Y,N" ref="chk" type="checkbox"/>
- <col ref="fixtrseqmtflag" type="combo" visibility="hidden" style="text-align:left; padding-left:10; ">
- <choices>
- <itemset nodeset="/root/init/goodflag">
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- </col>
- <col ref="reqdd" format="yyyy-mm-dd"/>
- <col ref="reqno" style="text-align:center; "/>
- <col ref="depthngnm" style="text-align:left; padding-left:5; "/>
- <col ref="acntnm" style="text-align:left; padding-left:5; "/>
- <col ref="fixasetcd" style="text-align:left; padding-left:5; "/>
- <col ref="fixasetnm" style="text-align:left; padding-left:5; cursor:hand; "/>
- <col disabled="true" ref="rpirflag2" type="combo" visibility="visible" style="text-align:left; padding-left:10; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </col>
- <col ref="endflag" visibility="hidden" style="text-align:center; "/>
- <col ref="chrgpsnnm" visibility="visible"/>
- <col disabled="true" ref="docustat" type="combo" visibility="visible" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/docustat">
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- </col>
- <col ref="workstat" type="combo" style="text-align:center; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </col>
- <col ref="deprtmangrsanctnm" visibility="visible" style="text-align:center; "/>
- <col ref="mngersanctnm" visibility="visible" style="text-align:center; "/>
- <col ref="chkpsnnm" visibility="visible" style="text-align:center; "/>
- <col checkvalue="Y,N" disabled="true" ref="deptaprvyn" type="checkbox" visibility="hidden"/>
- <col ref="mngtno" visibility="hidden"/>
- <col ref="acptdd" visibility="hidden"/>
- <col disabled="true" ref="sanctyn" type="combo" visibility="hidden" taxt-align="center">
- <choices>
- <itemset nodeset="/root/init/grdsanctyn">
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- </col>
- <col ref="chrgpsncmt" visibility="hidden"/>
- <col ref="nonworkdayno" visibility="hidden"/>
- <col ref="acptflag" type="combo" visibility="hidden" style="left:3912px; top:23px; width:100px; height:23px; ">
- <choices>
- <itemset nodeset="/root/init/acptflag">
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- </col>
- <col ref="instcd" visibility="hidden" style="text-align:left; "/>
- <col ref="fixtrseqmtflag" visibility="hidden" style="text-align:left; "/>
- <col ref="acptpsnid" visibility="hidden" style="text-align:left; "/>
- <col ref="acptpsnnm" visibility="hidden" style="text-align:left; "/>
- <col ref="agency" visibility="hidden" style="text-align:left; "/>
- <col ref="agencycntctel" visibility="hidden" style="text-align:left; "/>
- <col ref="bugtyy" visibility="hidden" style="text-align:left; "/>
- <col ref="chrgtel" visibility="hidden" style="text-align:left; "/>
- <col ref="deptacptdd" visibility="hidden" style="text-align:left; "/>
- <col ref="deptacptpsnnm" visibility="hidden" style="text-align:left; "/>
- <col ref="depthngnm" visibility="hidden" style="text-align:left; "/>
- <col ref="flwgrnttermfr" visibility="hidden" style="text-align:left; "/>
- <col ref="flwgrnttermto" visibility="hidden" style="text-align:left; "/>
- <col ref="genrdd" visibility="hidden" style="text-align:left; "/>
- <col ref="goodmodel" visibility="hidden" style="text-align:left; "/>
- <col ref="installplcecd" visibility="hidden" style="text-align:left; "/>
- <col ref="installplcenm" visibility="hidden" style="text-align:left; "/>
- <col ref="possnamt" visibility="hidden" style="text-align:left; "/>
- <col ref="possndd" visibility="hidden" style="text-align:left; "/>
- <col ref="reqpsnnm" visibility="hidden" style="text-align:left; "/>
- <col ref="reqtel" visibility="hidden" style="text-align:left; "/>
- <col ref="rpiramt" visibility="hidden" style="text-align:left; "/>
- <col ref="stdysubjnm" visibility="hidden" style="text-align:left; "/>
- <col ref="chrgpsnid" visibility="hidden" style="text-align:left; "/>
- <col ref="stdysubjno" visibility="hidden" style="text-align:left; "/>
- <col ref="bugtcd" visibility="hidden" style="text-align:left; "/>
- <col ref="rpirflag1" visibility="hidden" style="text-align:left; "/>
- <col ref="useyn" visibility="hidden" style="text-align:left; "/>
- <col ref="cmt" visibility="hidden" style="text-align:left; "/>
- <col ref="hdrncspec" visibility="hidden" style="text-align:left; "/>
- <col ref="lastrpirrslt" visibility="hidden" style="text-align:left; "/>
- <col ref="rpirspec" visibility="hidden" style="text-align:left; "/>
- <col ref="bizscrnid" visibility="hidden" style="text-align:left; "/>
- <col ref="deptaprvpsnnm" visibility="hidden" style="text-align:left; "/>
- <col ref="estimateamt" visibility="hidden" style="text-align:left; "/>
- <col ref="oldcd" visibility="hidden" style="text-align:left; "/>
- <col ref="prodcmpynm" visibility="hidden" style="text-align:left; "/>
- <col ref="reductionamt" visibility="hidden" style="text-align:left; "/>
- <col ref="rfehdabptotal" visibility="hidden" style="text-align:left; "/>
- <col ref="rpirenddd" visibility="hidden" style="text-align:left; "/>
- <col ref="rpirtm" visibility="hidden" style="text-align:left; "/>
- <col ref="sanctdd" visibility="hidden" style="text-align:left; "/>
- <col ref="suplplcenm" visibility="hidden" style="text-align:left; "/>
- <col ref="mngersanctyn" visibility="hidden" style="text-align:left; "/>
- <col ref="mngersanctdd" visibility="hidden" style="text-align:left; "/>
- <col ref="mngersanctid" visibility="hidden" style="text-align:left; "/>
- <col ref="deprtmangrsanctyn" visibility="hidden" style="text-align:left; "/>
- <col ref="deprtmangrsanctdd" visibility="hidden" style="text-align:left; "/>
- <col ref="deprtmangrsanctid" visibility="hidden" style="text-align:left; "/>
- <col ref="execdept" visibility="hidden" style="text-align:left; "/>
- <col ref="execdeptnm" visibility="hidden" style="text-align:left; "/>
- <col ref="rpirendyn" visibility="hidden" style="text-align:left; "/>
- <col ref="chkpsn" visibility="hidden" style="text-align:left; "/>
- <col ref="goodspec" visibility="hidden"/>
- <col ref="suplplcecd" style="text-align:center; "/>
- <col ref="suplplcenm" style="text-align:center; "/>
- <col ref="agency" style="text-align:center; "/>
- <col ref="purccnsttndd" style="text-align:center; "/>
- <col ref="purccnsttnno" style="text-align:center; "/>
- <script type="javascript" ev:event="onrowchanged">
- <![CDATA[
- fGridRowChangedEvent();
- ]]>
- </script>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- if(grd_rfehemhtlist.isCell(event.target)&&grd_rfehemhtlist.col == grd_rfehemhtlist.colRef("fixasetnm"))
- {
- var workstat = grd_rfehemhtlist.valueMatrix(grd_rfehemhtlist.row, grd_rfehemhtlist.colRef("workstat"));
- var deptaprvreqyn = grd_rfehemhtlist.valueMatrix(grd_rfehemhtlist.row, grd_rfehemhtlist.colRef("deptaprvreqyn"));
-
- if (workstat == "00" && deptaprvreqyn == "Y"){
- messageBox("상태가 청구 의뢰(부서장 승인 필요)인 건은 접근 하실 수 ","I004");
- return;
- }else{
- modal("SMRFE01000", "", "", "", "popup", grd_rfehemhtlist.attribute("nodeset") + "[" + grd_rfehemhtlist.row + "]", "/root/temp" );
- }
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_rfehemhtlist.gridToInstance();
- ]]>
- </script>
- </datagrid>
- <input id="ipt_goodspec" ref="/root/main/component/rfehemhtlist/goodspec" class="output_fix" navindex="-1" editable="false" style="left:948px; top:127px; width:244px; height:19px; "/>
- <input id="ipt_goodmodel" ref="/root/main/component/rfehemhtlist/goodmodel" class="input_default" disabled="true" navindex="22" visibility="hidden" style="left:1040px; top:137px; width:147px; height:19px; "/>
- <caption id="caption39" class="cell_1" style="left:856px; top:125px; width:90px; height:23px; vertical-align:middle; ">규격</caption>
- <caption id="caption40" class="cell_1" style="left:639px; top:150px; width:90px; height:23px; vertical-align:middle; ">자산명</caption>
- <datagrid id="grd_prttemp" nodeset="/root/main/grid/prttemp" visibility="hidden" caption="자산번호^자산명^수리형태^의뢰부서^의뢰일자^완료일자^수리거래처명^견적금액" colsep="^" colwidth="50, 50, 50, 50, 50, 50, 50, 50" mergecellsfixedrows="bycolrec" rowsep="|" style="left:165px; top:280px; width:350px; height:150px; ">
- <col ref="fixasetcd"/>
- <col ref="fixasetnm"/>
- <col ref="depthngnm"/>
- <col ref="rpirflag2"/>
- <col ref="reqdd"/>
- <col ref="rpirenddd"/>
- <col ref="agency"/>
- <col ref="estimateamt"/>
- </datagrid>
- </group>
- <group id="group4" style="left:0px; top:12px; width:1195px; height:27px; ">
- <button id="button26" class="btn3_letter4" navindex="62" visibility="hidden" style="left:510px; top:5px; width:80px; height:22px; ">
- <caption>화면이동</caption>
- </button>
- <button id="btn_prnt" class="btn6_letter2" navindex="61" visibility="visible" style="left:0px; top:3; width:56px; height:22px; ">
- <caption>출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var Cnt = getNodesetCount("/root/main/grid/rfehemhtlist");
- var print = 0;
- for(var i=1;i<=Cnt;i++){
- if(grd_rfehemhtlist.valueMatrix(i, grd_rfehemhtlist.colRef("chk")) == "Y") {
- model.resetInstanceNode("/root/send/sendprint");
-
- model.setValue("/root/send/sendprint/instcd", grd_rfehemhtlist.valueMatrix(i, grd_rfehemhtlist.colRef("instcd")) );
- model.setValue("/root/send/sendprint/reqdd", grd_rfehemhtlist.valueMatrix(i, grd_rfehemhtlist.colRef("reqdd")) );
- model.setValue("/root/send/sendprint/reqno", grd_rfehemhtlist.valueMatrix(i, grd_rfehemhtlist.colRef("reqno")) );
- model.setValue("/root/send/sendprint/fixtrseqmtflag", grd_rfehemhtlist.valueMatrix(i, grd_rfehemhtlist.colRef("fixtrseqmtflag")) );
-
- if(submit("TRRFE00703")){
- exeReportPreview("RPRFE00601", "XMLSTR");
- // exeReportPreview("RPRFE00601", "XMLSTR" , "" , "" , "true" , "false", "", "", "", "true");
- }
- print = print + 1;
- }
- }
- if(print == "0"){
- messageBox("출력할 리스트가 없습니다.\n일괄출력 가능합니다.\n출력을 원하는 리스트를 체크","I008");
- return;
- }
- ]]>
- </script>
- </button>
- <button id="btn_save" class="btn4_letter2" navindex="63" style="left:1069px; top:3px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // 기본 값 검사!.
- var focus = grd_rfehemhtlist.row;
- if(fUpdateData() == "N")
- {
- messageBox("변경된 데이터가","I004");
- return;
- }
- model.makeValue("/root/main/component/rfehemhtlist/bizscrnid", "SMRFE00900_수리접수 및 결과등록.xrw");
- var instcd = getUserInfo("dutplceinstcd");
- if(instcd == "033"){
- for ( var i = 0 ; i< grd_rfehemhtlist.selectedRows;i++){
- // alert(i);
- // alert(grd_rfehemhtlist.selectedRow(i));
- if(ipt_chrgpsnid.value.length != 0){ //검토자
- if(ipt_mngersanctid.value.length != 0) { // 과장결재
- model.setValue("/root/main/component/rfehemhtlist/docustat", "03");
- model.setValue("/root/main/component/rfehemhtlist/workstat", "05");
- }else{
- model.setValue("/root/main/component/rfehemhtlist/docustat", "01");
- model.setValue("/root/main/component/rfehemhtlist/workstat", "02");
- }
- }else{
- model.setValue("/root/main/component/rfehemhtlist/docustat", "01");
- model.setValue("/root/main/component/rfehemhtlist/workstat", "01");
- }
- }
- }
- misfSave("TXRFE00502");
-
- if (model.getValue(gvErrorMsgPath + "/type") != "error") btn_search.dispatch("DOMActivate");
- //misfMsterDetailRetrieve();
- model.setFocus("grd_rfehemhtlist");
- grd_rfehemhtlist.row = focus;
- grd_rfehemhtlist.dispatch("onrowchanged");
- ]]>
- </script>
- </button>
- <button id="btn_init" class="btn4_letter3" navindex="64" style="left:1127px; top:3px; width:68px; height:22px; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fInitialize();
- ]]>
- </script>
- </button>
- <line id="line3" class="line_6" style="x1:0px; y1:25; x2:1194px; y2:25; "/>
- <button id="button1" class="btn6_letter2" navindex="60" visibility="hidden" style="left:592px; top:5px; width:56px; height:22px; ">
- <caption>출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.copyNode("/root/main/printdata/data", grd_rfehemhtlist.attribute("nodeset") + "[" + grd_rfehemhtlist.row + "]");
- model.removenode("/root/main/printdata/data/instnm");
- model.makeNode("/root/main/printdata/data/instnm");
- model.setValue("/root/main/printdata/data/instnm", cmb_instcd.label);
-
- exeReportPreview("RPRFE00501", "XMLSTR");
- ]]>
- </script>
- </button>
- <button id="button5" class="btn6_letter4" navindex="-1" visibility="hidden" style="left:377px; top:3px; width:80px; height:22px; ">
- <caption>전자결재</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fElctSanct();
- ]]>
- </script>
- </button>
- <button id="button2" class="btn6_letter5" navindex="61" visibility="visible" style="left:58px; top:3px; width:92px; height:22px; ">
- <caption>출력(일괄)</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var Cnt = getNodesetCount("/root/main/grid/rfehemhtlist");
- var print = 0;
- for(var i=1;i<=Cnt;i++){
- if(grd_rfehemhtlist.valueMatrix(i, grd_rfehemhtlist.colRef("chk")) == "Y") {
- model.resetInstanceNode("/root/send/sendprint");
-
- model.setValue("/root/send/sendprint/instcd", grd_rfehemhtlist.valueMatrix(i, grd_rfehemhtlist.colRef("instcd")) );
- model.setValue("/root/send/sendprint/reqdd", grd_rfehemhtlist.valueMatrix(i, grd_rfehemhtlist.colRef("reqdd")) );
- model.setValue("/root/send/sendprint/reqno", grd_rfehemhtlist.valueMatrix(i, grd_rfehemhtlist.colRef("reqno")) );
- model.setValue("/root/send/sendprint/fixtrseqmtflag", grd_rfehemhtlist.valueMatrix(i, grd_rfehemhtlist.colRef("fixtrseqmtflag")) );
-
- if(submit("TRRFE00703")){
- // exeReportPreview("RPRFE00601", "XMLSTR");
- exeReportPreview("RPRFE00601", "XMLSTR" , "" , "" , "true" , "false", "", "", "", "true");
- }
- print = print + 1;
- }
- }
- if(print == "0"){
- messageBox("출력할 리스트가 없습니다.\n일괄출력 가능합니다.\n출력을 원하는 리스트를 체크","I008");
- return;
- }
- ]]>
- </script>
- </button>
- <button id="button3" class="btn6_letter5" navindex="61" visibility="hidden" style="left:282px; top:3px; width:92px; height:22px; ">
- <caption>미처리내역</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- misfGridInit(grd_prttemp);
- var print = 0;
- for(var row = grd_rfehemhtlist.fixedRows ; row < grd_rfehemhtlist.rows; row++)
- {
- if(grd_rfehemhtlist.valueMatrix(row, grd_rfehemhtlist.colRef("chk")) == "Y") {
- var fixasetcd = model.getValue(grd_rfehemhtlist.nodeset + "[" + row + "]/fixasetcd");
- var fixasetnm = model.getValue(grd_rfehemhtlist.nodeset + "[" + row + "]/fixasetnm");
- var depthngnm = model.getValue(grd_rfehemhtlist.nodeset + "[" + row + "]/depthngnm");
- var reqdd = model.getValue(grd_rfehemhtlist.nodeset + "[" + row + "]/reqdd");
- var rpirenddd = model.getValue(grd_rfehemhtlist.nodeset + "[" + row + "]/rpirenddd");
- var agency = model.getValue(grd_rfehemhtlist.nodeset + "[" + row + "]/agency");
- var estimateamt = model.getValue(grd_rfehemhtlist.nodeset + "[" + row + "]/estimateamt");
- var rpirflag2 = model.getValue(grd_rfehemhtlist.nodeset + "[" + row + "]/rpirflag2");
-
- misfGridIUD(grd_prttemp,"A","N");
-
- model.setValue(grd_prttemp.nodeset + "[" + grd_prttemp.row + "]/fixasetcd", fixasetcd );
- model.setValue(grd_prttemp.nodeset + "[" + grd_prttemp.row + "]/fixasetnm", fixasetnm );
- model.setValue(grd_prttemp.nodeset + "[" + grd_prttemp.row + "]/depthngnm", depthngnm );
- model.setValue(grd_prttemp.nodeset + "[" + grd_prttemp.row + "]/reqdd", reqdd );
- model.setValue(grd_prttemp.nodeset + "[" + grd_prttemp.row + "]/rpirenddd", rpirenddd );
- model.setValue(grd_prttemp.nodeset + "[" + grd_prttemp.row + "]/agency", agency );
- model.setValue(grd_prttemp.nodeset + "[" + grd_prttemp.row + "]/estimateamt", estimateamt );
- model.setValue(grd_prttemp.nodeset + "[" + grd_prttemp.row + "]/rpirflag2", rpirflag2 );
-
- print = print + 1;
- }
- }
- model.makeNode("/root/print/prtinfo");
- copyNodesetType("/root/print/prtinfo","/root/main/grid/prttemp","replace");
- model.makeValue("/root/print/prtinfo/temp/reqdd1",model.getValue("/root/send/reqdd1"));
- model.makeValue("/root/print/prtinfo/temp/reqdd2",model.getValue("/root/send/reqdd2"));
-
- exeReportPreview("RPRFE00603", "XMLSTR");
- // exeReportPreview("RPRFE00603", "XMLSTR" , "" , "" , "true" , "false", "", "", "", "true");
-
- if(print == "0"){
- messageBox("출력할 리스트가 없습니다.\n출력을 원하는 리스트를 체크","I008");
- return;
- }
- ]]>
- </script>
- </button>
- <button id="button4" class="btn6_letter6" navindex="61" visibility="visible" style="left:152px; top:3px; width:97px; height:22px; ">
- <caption>(미)정산현황</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.removeNodeset("/root/print");
- var rpirenddd1 = model.getValue("/root/send/rpirenddd1");
- var rpirenddd2 = model.getValue("/root/send/rpirenddd2");
- if(rpirenddd1 == "" || rpirenddd2 == ""){
- messageBox("완료일자를 입력","I008");
- return;
- }
-
- var reqdate = ipt_rpirenddd2.value.toDate("YYYYMM");
- model.setValue("/root/send/rpirenmm",ipt_rpirenddd2.value.substr(0,6));
- model.setValue("/root/send/lastrpirenmm", reqdate.getAddDate(-1, "M").getDateFormat("YYYYMM") );
- // alert(model.getValue("/root/send/rpirenmm"));
- submit("TRRFE00503");
-
- var Cnt = getNodesetCount("/root/main/grid/prtrfehemht");
- var Cnt1 = getNodesetCount("/root/main/grid/lastprtrfehemht");
-
- if(Cnt == 0 && Cnt1 != 0) {
- messageBox("당월 정산 내역이","I004");
-
- model.makeNode("/root/print/lastprtrfehemht");
- copyNodesetType("/root/print/lastprtrfehemht","/root/main/grid/lastprtrfehemht","replace");
-
- model.makeValue("/root/print/temp/rpirenddd1",model.getValue("/root/send/rpirenddd1"));
- model.makeValue("/root/print/temp/rpirenddd2",model.getValue("/root/send/rpirenddd2"));
-
- exeReportPreview("RPRFE00605", "XMLSTR"); //이월
- }else if(Cnt != 0 && Cnt1 == 0){
- messageBox("이월 정산 내역이","I004");
-
- model.makeNode("/root/print/prtrfehemht");
- copyNodesetType("/root/print/prtrfehemht","/root/main/grid/prtrfehemht","replace");
-
- model.makeValue("/root/print/temp/rpirenddd1",model.getValue("/root/send/rpirenddd1"));
- model.makeValue("/root/print/temp/rpirenddd2",model.getValue("/root/send/rpirenddd2"));
-
- exeReportPreview("RPRFE00604", "XMLSTR"); // 당월
- }else if(Cnt == 0 && Cnt1 == 0){
- messageBox("당월 정산 내역과 이월 미정산 내역이","I004");
- return;
- }else {
- model.makeNode("/root/print/prtrfehemht");
- model.makeNode("/root/print/lastprtrfehemht");
- copyNodesetType("/root/print/prtrfehemht","/root/main/grid/prtrfehemht","replace");
- copyNodesetType("/root/print/lastprtrfehemht","/root/main/grid/lastprtrfehemht","replace");
- model.makeValue("/root/print/temp/rpirenddd1",model.getValue("/root/send/rpirenddd1"));
- model.makeValue("/root/print/temp/rpirenddd2",model.getValue("/root/send/rpirenddd2"));
- exeReportPreview("RPRFE00604", "XMLSTR"); // 당월
- exeReportPreview("RPRFE00605", "XMLSTR"); //이월
- }
-
- model.makeNode("/root/print/totfehemht");
- copyNodesetType("/root/print/totfehemht","/root/main/grid/totfehemht","replace");
- model.makeValue("/root/print/temp/rpirenddd1",model.getValue("/root/send/rpirenddd1"));
- model.makeValue("/root/print/temp/rpirenddd2",model.getValue("/root/send/rpirenddd2"));
- model.makeValue("/root/print/temp/rpirenmm",model.getValue("/root/send/rpirenmm"));
- exeReportPreview("RPRFE00606", "XMLSTR"); // 정산현황
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|