12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481 |
- <?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>
- <rfehdabplist/>
- <grid>
- <rfehemhtlist/>
- <rfcmfacdlist/>
- </grid>
- <control>
- <rfehemhtlist>
- <fixasetcd/>
- <fixasetnm/>
- <reqdeptcd/>
- <depthngnm/>
- <reqpsnid/>
- <reqpsnnm/>
- <fixtrseqmtflag/>
- <workstat/>
- <btnfixasetcd/>
- <deptaprvreqyn>N</deptaprvreqyn>
- <execdept/>
- </rfehemhtlist>
- <instcd/>
- </control>
- <printdata>
- <data/>
- </printdata>
- </main>
- <send>
- <goodsrch>
- <instcd/>
- <goodflag/>
- <lrgcd_search/>
- <tempmngtdeptcd/>
- <fixasetcd/>
- <goodflaghngnm/>
- </goodsrch>
- <rpirsrch>
- <instcd/>
- <instcdnm/>
- <reqdd1/>
- <reqdd2/>
- <reqpsnid/>
- <reqpsnnm/>
- <reqflag>S</reqflag>
- <fixtrseqmtflag>EQ</fixtrseqmtflag>
- <reqdd/>
- <reqno/>
- <reqdeptcd/>
- <reqdeptnm/>
- <deptcd/>
- <goodflag/>
- <tempmngtdeptcd/>
- <bizflag>E</bizflag>
- </rpirsrch>
- </send>
- <init>
- <rowtemp/>
- <workstattemp/>
- <fixtrseqmtflag>
- <label>비품</label>
- <value>G</value>
- <label>의료장비</label>
- <value>E</value>
- <label>의료비품</label>
- <value>U</value>
- </fixtrseqmtflag>
- </init>
- <temp>
- <rfehemhtlist/>
- </temp>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- //submit 되는 node 들을 초기화한다
- fInitialize();
- btn_search.dispatch("DOMActivate");
- ]]>
- </script>
- <submission id="TRRFE00401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/rpirsrch" resultref="/root/main/grid/rfehemhtlist"/>
- <submission id="TXRFE00401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/grid/rfehemhtlist" resultref="/root/temp"/>
- <submission id="TRRFE00402" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/rpirsrch" resultref="/root/main/rfehdabplist"/>
- <submission id="TRRSE01502" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/goodsrch" resultref="/root/main/grid/rfcmfacdlist"/>
- </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()
- {
- misfGridInit(grd_rfehemhtlist);
- misfGridInit(grd_rfehdabplist);
- misfGridInit(grd_temp);
- misfGridInit(grd_rfcmfacdlist);
- // rszfUserGoodFlagList(cmb_fixtrseqmtflag,getUserInfo("userid"));
- rszfComboBugtList(cmb_bugtcd,getUserInfo("dutplceinstcd"));
- // misfComboComCdListMulti("Z0007,R0055,R0055,R0032", "opt_instcd,cmb_workstat,grd_rfehemhtlist.workstat,grd_rfehdabplist.acsrsunit");
- misfComboComCdListMulti("R0055,R0055,R0032,R0025,R0035", "cmb_workstat,grd_rfehemhtlist.workstat,grd_rfehdabplist.acsrsunit,grd_rfcmfacdlist.goodflag,grd_rfcmfacdlist.prodplce");
-
- // addComboItem("grd_rfehemhtlist.workstat", "청구승인의뢰", "00", "above");
- // 사용자 권한에 따른 기관코드 Setting. [(6)수리관리, (C)신청]
- // rszfUserReqInstList(cmb_instcd,getUserInfo("userid"),"6","C");
-
- model.resetInstanceNode("/root/main/control/rfehemhtlist");
-
- misfMsterDetailSet(grd_rfehemhtlist, null, "TRRFE00401", "Y");
- misfMsterDetailSet(grd_rfcmfacdlist, null, "TRRSE01502", "N");
-
- // 기관코드 설정
- model.setValue("/root/send/rpirsrch/instcd", getUserInfo("dutplceinstcd"));
- model.setValue("/root/send/rpirsrch/instcdnm", getUserInfo("dutplceinstnm"));
- // opt_instcdnm.value = getuUserInfo("dutplceinstnm");
- model.setValue(opt_reqdeptcd.attribute("ref") , getUserInfo("dutplcecd"));
- model.setValue(opt_reqdeptnm.attribute("ref") , getUserInfo("dutplcenm"));
-
- model.setValue("/root/send/rpirsrch/tempmngtdeptcd", opt_reqdeptcd.value);
-
- // 금일 날자 설정
- model.setValue("/root/send/rpirsrch/reqdd1", getCurrentDate());
- model.setValue("/root/send/rpirsrch/reqdd2", getCurrentDate());
-
- // 부서코드 설정
- model.setValue("/root/main/control/rfehemhtlist/reqdeptcd" , getUserInfo("dutplcecd"));
- // 부서코드명 설정
- model.setValue("/root/main/control/rfehemhtlist/depthngnm" , getUserInfo("dutplcenm"));
-
- // User ID 설정
- model.setValue("/root/main/control/rfehemhtlist/reqpsnid", getUserInfo("userid"));
- // User Name 설정
- model.setValue("/root/main/control/rfehemhtlist/reqpsnnm", getUserInfo("usernm"));
- // model.setValue("/root/send/rpirsrch/fixtrseqmtflag", "EQ");
- // cmb_fixtrseqmtflag.select(0);
- // rdo_goodflag.select(0);
- model.setValue(rdo_goodflag.attribute("ref") , "EQ");
- model.refresh();
-
- model.setValue(ipt_rowtemp.attribute("ref"), "");
- fcontrolEnableYN(true);
-
- // btn_search.disabled = !checkAuth("X");
- misfSetReadOnlyCol(grd_rfehemhtlist, "workstat", true);
- rszfLMSComboList(model.getValue(ipt_fixtrseqmtflag.attribute("ref")), "", "", "cmb_lrgcd", "", "L", "", "Y");
- addComboItem( "cmb_lrgcd", "전체", "", "above");
- //수리 청구 승인권한 여부 판별하여 Grid의 승인 컬럼을 설정.
- fdeptGrantYN();
- model.refresh();
- }
- //수리 청구 승인권한 여부 판별하여 Grid의 승인 컬럼을 설정.
- function fdeptGrantYN()
- {
- /* ---------------------------------------------------------------------------------------
- * [2007.12.12 HBH ] 청구주기 추가.
- * 수리,장비등 청구주기가 없는 것들은 '1'로셋팅
- ---------------------------------------------------------------------------------------*/
- rszfGetPurcReqAuthInfo(opt_instcd.value, "S", getUserInfo("dutplcecd"), getUserInfo("userid"),"1");
-
- for(var fRow = grd_rfehemhtlist.fixedRows; fRow < grd_rfehemhtlist.rows; fRow++)
- {
- if( rszfGetPurcAuthInfoByCond("reqaprvflag") == "1" )
- {
- grd_rfehemhtlist.isReadOnly(fRow,grd_rfehemhtlist.colRef("deptaprvyn")) = true;
-
- }else if( rszfGetPurcAuthInfoByCond("reqaprvflag") == "2" )
- {
- if(grd_rfehemhtlist.valueMatrix(fRow, grd_rfehemhtlist.colRef("workstat")) == "00" || grd_rfehemhtlist.valueMatrix(fRow, grd_rfehemhtlist.colRef("workstat")) == "01" )
- {
- grd_rfehemhtlist.isReadOnly(fRow,grd_rfehemhtlist.colRef("deptaprvyn")) = false;
- }else{
- grd_rfehemhtlist.isReadOnly(fRow,grd_rfehemhtlist.colRef("deptaprvyn")) = true;
- }
- }else{
- grd_rfehemhtlist.isReadOnly(fRow,grd_rfehemhtlist.colRef("deptaprvyn")) = true;
- }
- }
- model.refresh();
- }
-
- function fcontrolEnableYN(TrueFalse)
- {
-
- //ipt_fixasetcd.disabled = TrueFalse;
- btn_fixasetSearchs.disabled = TrueFalse;
- //ipt_fixasetnm.disabled = TrueFalse;
- //rdo_execdept.disabled = TrueFalse;
- //ipt_fixasetcd.disabled = TrueFalse;
- //ipt_fixasetnm.disabled = TrueFalse;
-
- //ipt_reqdd.disabled = TrueFalse;
- ipt_reqno.disabled = true;
-
- ipt_reqdeptcd.disabled = TrueFalse;
- btn_reqdeptcdSearch.disabled = TrueFalse;
- ipt_depthngnm.disabled = TrueFalse;
-
- ipt_reqpsnid.disabled = TrueFalse;
- btn_reqpsnidSearch.disabled = TrueFalse;
- ipt_reqpsnnm.disabled = TrueFalse;
-
- ipt_acptdeptcd.disabled = true;
- ipt_acptdeptnm.disabled = true;
-
- cmb_fixtrseqmtflag.disabled = true;
- ipt_reqtel.disabled = TrueFalse;
-
- txt_hdrncspec.disabled = TrueFalse;
-
- ipt_genrdd.disabled = TrueFalse;
- // ipt_genrtm.disabled = TrueFalse;
- rdo_deptaprvreqyn.disabled =TrueFalse;
-
- if(opt_instcd.value == "103")
- {
- ipt_bugtyy.disabled = TrueFalse;
- cmb_bugtcd.disabled = TrueFalse;
- ipt_stdysubjno.disabled = TrueFalse;
- btn_stdysubjnm.disabled = TrueFalse;
- ipt_stdysubjnm.disabled = TrueFalse;
- }else
- {
- ipt_bugtyy.disabled = true;
- cmb_bugtcd.disabled = true;
- ipt_stdysubjno.disabled = true;
- btn_stdysubjnm.disabled = true;
- ipt_stdysubjnm.disabled = true;
- }
-
- ipt_chrgpsnid.disabled = true;
- ipt_chrgpsnnm.disabled = true;
-
- cmb_workstat.disabled = true;
- ipt_acptdd.disabled = true;
-
- che_acptpsncnfm.disabled = TrueFalse;
-
- ipt_possndd.disabled = true;
-
- ipt_deptacptpsnid.disabled = true;
- ipt_deptacptpsnnm.disabled = true;
-
- txt_lastrpirrslt.disabled = true;
-
- // 부품사용내역 그리드 설정
- //grd_rfehdabplist.disabled = true;
-
- model.refresh();
- }
-
- function fCheckTime(ftimeset)
- {
- var sTime = ftimeset.value;
-
- if(sTime.length != 4)
- {
- messageBox("네자리를 ","C001");
- ftimeset.value = "";
- return;
- }
-
- var sFrontTime = sTime.substr(0, 2);
- var sBackTime = sTime.substr(2, 2);
-
- if(parseInt(sFrontTime) > 24)
- {
- messageBox("24시를 ","E003");
- ftimeset.value = "";
- return;
- }
-
- if(parseInt(sBackTime) > 59)
- {
- messageBox("59분을 ","E003");
- ftimeset.value = "";
- return;
- }
- }
-
-
- // 수리진행상태 check
- function fcomboValueCheck()
- {
- btn_delete.disabled = false;
- // control 수정 금지
- fcontrolEnableYN(true);
- if(cmb_workstat.value == '00' || cmb_workstat.value == '01')
- {
- ipt_fixasetcd.disabled = false;
- btn_fixasetSearchs.disabled = false;
- ipt_fixasetnm.disabled = false;
- ipt_reqtel.disabled = false;
- ipt_reqdeptcd.disabled = false;
- btn_reqdeptcdSearch.disabled = false;
- ipt_depthngnm.disabled = false;
-
- if(opt_instcd.value == "103")
- {
- ipt_bugtyy.disabled = false;
- cmb_bugtcd.disabled = false;
- ipt_stdysubjno.disabled = false;
- btn_stdysubjnm.disabled = false;
- ipt_stdysubjnm.disabled = false;
- }
-
- ipt_reqpsnid.disabled = false;
- btn_reqpsnidSearch.disabled = false;
- ipt_reqpsnnm.disabled = false;
-
- txt_hdrncspec.disabled = false;
-
- ipt_genrdd.disabled = false;
- // ipt_genrtm.disabled = false;
- rdo_execdept.disabled = false;
- rdo_deptaprvreqyn.disabled=false;
-
-
- }else if(cmb_workstat.value == '04' || (cmb_workstat.value == '07' || cmb_workstat.value == '08' )){
-
- // 삭제 금지
- btn_delete.disabled = true;
-
- // 인수확인 수정
- che_acptpsncnfm.disabled = false;
-
- rdo_execdept.disabled = true;
- rdo_deptaprvreqyn.disabled=true;
- }else{
- btn_delete.disabled = true;
-
- rdo_execdept.disabled = true;
- rdo_deptaprvreqyn.disabled=true;
- }
-
- model.refresh();
- }
-
- // 인수 확인시 기본 사항
- function facptCheck()
- {
- /*-----------------------------------------------------------------------------
- * check box 에 체크를 하면 value 가 'N Y' 가 된다.
- * 'N'일경우를 먼저 체크해야하는데 VALUE가 정의되지 않아 NULL이 된다.
- ----------------------------------------------------------------------------- */
- //if(che_acptpsncnfm.value == 'N')
- if(che_acptpsncnfm.value.length == 0 || che_acptpsncnfm.value.length == null )
- {
- model.setValue(ipt_possndd.attribute("ref"), "");
- model.setValue(ipt_deptacptpsnid.attribute("ref"), "");
- model.setValue(ipt_deptacptpsnnm.attribute("ref"), "");
- cmb_workstat.value = ipt_workstattemp.value;
- }else{
- model.setValue(ipt_possndd.attribute("ref"), getCurrentDate().substr(0, 8));
- model.setValue(ipt_deptacptpsnid.attribute("ref"), getUserInfo("userid"));
- model.setValue(ipt_deptacptpsnnm.attribute("ref"), getUserInfo("usernm"));
- cmb_workstat.value = "05";
-
- che_acptpsncnfm.value= "Y";
- }
-
- model.refresh();
- }
-
- // grid onclick event
- // 행추가시 필요 없는 submission이 발생하여 우선은 제어를 위해 "N" 셋팅시 submission pass
- function fgridClickEvent(tmpStat)
- {
-
- model.copyNode("/root/main/control/rfehemhtlist", "/root/main/grid/rfehemhtlist[" + grd_rfehemhtlist.row + "]");
- ipt_workstattemp.value = cmb_workstat.value;
- model.copyNode("/root/temp", "/root/main/control");
-
- // 부품사용내역을 조회 하기 위한 기본값 설정.
- if(grd_rfehdabplist.rows > 1){
- misfGridInit(grd_rfehdabplist);
- }
-
- model.setValue("/root/send/rpirsrch/reqdd",grd_rfehemhtlist.valueMatrix(grd_rfehemhtlist.row, grd_rfehemhtlist.colRef("reqdd")) );
- model.setValue("/root/send/rpirsrch/reqno", grd_rfehemhtlist.valueMatrix(grd_rfehemhtlist.row, grd_rfehemhtlist.colRef("reqno")) );
-
- if(grd_rfehemhtlist.rows-grd_rfehemhtlist.fixedRows != 0 && tmpStat != "N")
- {
- ipt_fixtrseqmtflag.value = grd_rfehemhtlist.valueMatrix(grd_rfehemhtlist.row, grd_rfehemhtlist.colRef("fixtrseqmtflag"));
- submit("TRRFE00402");
-
- // for(var fRow = grd_rfehdabplist.fixedRows; fRow < grd_rfehdabplist.rows; fRow++)
- // {
- // grd_rfehdabplist.isReadOnly(fRow, grd_rfehdabplist.fixedCols, fRow, grd_rfehdabplist.cols-1) = true;
- // }
- grd_rfehdabplist.isReadOnly(grd_rfehdabplist.fixedRows, grd_rfehdabplist.fixedCols, grd_rfehdabplist.rows-1, grd_rfehdabplist.cols) = true;
-
- ipt_fixtrseqmtflag.value = "";
- }
-
- if(grd_temp.rows > 1) grd_temp.row = grd_temp.rows - 1;
- }
-
- // 그리드 row 이동시 작업 check
- function fmoveCheck()
- {
- misfGridRowStatusChange(grd_temp, "/root/temp", "/root/main/control");
- if ( getGridUpdateData(grd_temp) != "") {
- var ret = messageBox("그리드에 작업 중인 내용이 있습니다. 조회 작업을","Q003");
- if (ret != 6) { // not OK
- grd_rfehemhtlist.row = model.getValue(ipt_rowtemp.attribute("ref"));
- model.refresh();
- return false;
- }else{
- grd_temp.clearStatus();
- }
- }
-
- model.setValue(ipt_rowtemp.attribute("ref"), grd_rfehemhtlist.row);
- fgridClickEvent();
- fcomboValueCheck();
-
- // model.refresh();
- }
-
- function fupdateCheckSave()
- {
- if(!isRequiredControls("ipt_fixasetcd"))return;
- if(!isRequiredControls("ipt_reqdd"))return;
- if(!isRequiredControls("ipt_reqdeptcd"))return;
- if(!isRequiredControls("ipt_reqpsnid"))return;
- if(!isRequiredControls("cmb_fixtrseqmtflag"))return;
- if(!isRequiredControls("ipt_reqtel"))return;
- if(!isRequiredControls("cmb_workstat"))return;
- if(!isRequiredControls("txt_hdrncspec"))return;
-
- misfGridRowStatusChange(grd_temp, "/root/temp", "/root/main/control");
-
-
- if(grd_temp.rowStatus(grd_temp.row) != 0)
- {
- var iStatus = grd_temp.rowStatus(grd_temp.row);
- var sStatus = "update";
- model.copyNode("/root/main/grid/rfehemhtlist[" + grd_rfehemhtlist.row + "]", "/root/temp/rfehemhtlist");
-
- var sCurStatus = grd_rfehemhtlist.rowStatus(grd_rfehemhtlist.row);
-
- if(sCurStatus == 1 || sCurStatus == 3)
- {
- sStatus = "insert";
- }
- grd_rfehemhtlist.addStatus(grd_rfehemhtlist.row, sStatus);
- }
-
- model.refresh();
- var updtdata = getGridUpdateData(grd_rfehemhtlist);
- if (updtdata == "")
- {
- messageBox("변경된 데이터가","I004");
- return;
- }
-
- for (var i=grd_rfehemhtlist.fixedRows; i<=grd_rfehemhtlist.rows; i++){
- grd_rfehemhtlist.valueMatrix(i, grd_rfehemhtlist.colRef("bizscrnid")) = "SMRFE00400_수리신청등록.xrw";
- }
- model.refresh();
- misfSave("TXRFE00401");
-
- if( model.getValue("/root/main/grid/rfehemhtlist["+grd_rfehemhtlist.row+"]/deptaprvyn") != 'Y'
- && model.getValue(rdo_deptaprvreqyn.attribute("ref")) == "Y")
- messageBox("부서장 승인이 되지 않았습니다.","");
-
- if (model.getValue(gvErrorMsgPath + "/type") != "error") grd_rfehemhtlist.dispatch("onrowchanged");
- //misfMsterDetailRetrieve();
-
- }
-
- function fmaxreqno(grd_obj) {
- var maxreqno = 0;
- for( cnt=1; cnt< grd_rfehemhtlist.rows-grd_rfehemhtlist.fixedRows ; cnt++) {
- if ( grd_rfehemhtlist.valueMatrix(cnt, grd_rfehemhtlist.colRef("reqdd")) == getCurrentDate().substr(0, 8) ) {
- if ( maxreqno < eval (grd_rfehemhtlist.valueMatrix(cnt, grd_rfehemhtlist.colRef("reqno"))) )
- maxreqno = eval (grd_rfehemhtlist.valueMatrix(cnt, grd_rfehemhtlist.colRef("reqno")));
- }
- }
- maxreqno = maxreqno + 1;
- // alert ( getRightPad(maxreqno+"", 4,'0') );
- return getRightPad(maxreqno+"", 4,'0');
- }
-
- function getRightPad(pStr, pLength, padString )
- {
- var tmpStr = "";
- if (pStr.length < pLength) {
- for( var i = pStr.length; i < pLength; i++){
- tmpStr = tmpStr + padString;
- }
- }
- return tmpStr + pStr;
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body 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:1195; height:744px; ">
- <caption id="cap_goodflag" visibility="hidden" style="left:341px; top:462px; width:88px; height:24px; font-family:굴림체; font-size:9pt; font-weight:bold; color:#993300; vertical-align:middle; ">* 물품구분 :</caption>
- <select1 id="rdo_goodflag" ref="/root/send/rpirsrch/goodflag" visibility="hidden" appearance="full" cellspacing="10" cols="4" style="left:430px; top:499px; width:205px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>전체</label>
- <value>i</value>
- </item>
- <item>
- <label>의료장비</label>
- <value>EQ</value>
- </item>
- <item>
- <label>의료비품</label>
- <value>U</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- btn_search.dispatch("DOMActivate");
- ]]>
- </script>
- </select1>
- <select id="che_acptpsncnfm" ref="/root/main/control/rfehemhtlist/acptpsncnfm" visibility="visible" overflow="visible" appearance="full" style="left:975px; top:20px; width:50px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>확인</label>
- <value>Y</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- facptCheck();
- ]]>
- </script>
- </select>
- <input id="ipt_deptacptpsnnm" ref="/root/main/control/rfehemhtlist/deptacptpsnnm" class="input_default" style="left:1065px; top:20px; width:45px; height:19px; text-align:center; "/>
- <input id="ipt_deptacptpsnid" ref="/root/main/control/rfehemhtlist/deptacptpsnid" class="input_default" style="left:1026px; top:20px; width:41px; height:19px; text-align:center; "/>
- <input id="ipt_possndd" ref="/root/main/control/rfehemhtlist/possndd" class="input_default" disabled="true" navindex="20" format="yyyy-mm-dd" style="left:1062px; top:76px; width:130px; height:19px; text-align:center; "/>
- <line id="line7" class="line_2" style="x1:697px; y1:384px; x2:1192px; y2:384px; "/>
- <line id="line6" class="line_2" style="x1:697px; y1:360px; x2:1192px; y2:360px; "/>
- <line id="line5" class="line_2" style="x1:697px; y1:315px; x2:1195px; y2:315px; "/>
- <line id="line4" class="line_2" style="x1:697px; y1:312px; x2:1191px; y2:312px; "/>
- <line id="line19" class="line_2" style="x1:697px; y1:97px; x2:1192px; y2:97px; "/>
- <line id="line18" class="line_2" style="x1:697px; y1:408px; x2:1191px; y2:408px; "/>
- <line id="line28" class="line_2" style="x1:697px; y1:144px; x2:1192px; y2:144px; "/>
- <line id="line38" class="line_2" style="x1:697px; y1:240px; x2:1192px; y2:240px; "/>
- <line id="line16" class="line_2" style="x1:697px; y1:456px; x2:1192px; y2:456px; "/>
- <line id="line37" class="line_2" style="x1:697px; y1:217px; x2:1192px; y2:217px; "/>
- <line id="line14" class="line_2" style="x1:697px; y1:504px; x2:1194px; y2:504px; "/>
- <line id="line35" class="line_2" style="x1:697px; y1:190px; x2:1192px; y2:190px; "/>
- <line id="line24" class="line_3" style="x1:696px; y1:733px; x2:1192px; y2:733px; "/>
- <line id="line23" class="line_2" style="x1:697px; y1:120px; x2:1192px; y2:120px; "/>
- <line id="line11" class="line_2" style="x1:697; y1:432px; x2:1195; y2:432px; "/>
- <line id="line20" class="line_2" style="x1:695px; y1:584px; x2:1193px; y2:584px; "/>
- <line id="line40" class="line_2" style="x1:697px; y1:264px; x2:1191px; y2:264px; "/>
- <group id="grp_sea" style="left:0px; top:10px; width:1195px; height:35px; vertical-align:top; ">
- <shape id="roundrect1" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1195px; height:35px; "/>
- <input id="ipt_fixtrseqmtflag" ref="/root/send/rpirsrch/fixtrseqmtflag" visibility="hidden" style="left:20px; top:10px; width:35px; height:19px; "/>
- <output id="opt_instcd" ref="/root/send/rpirsrch/instcd" class="output_fix" visibility="hidden" style="left:50px; top:10px; width:30px; height:19px; "/>
- <caption id="cap_reqdd2" class="search_name" visibility="visible" style="left:237px; top:9px; width:86px; height:17px; ">의뢰일자 :</caption>
- <button id="btn_search" class="btn1_letter2" navindex="8" style="left:1129px; top:7px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(!isRequiredControls("opt_instcdnm"))return;
- if(!isRequiredControls("ipt_reqdd1"))return;
- if(!isRequiredControls("ipt_reqdd2"))return;
-
- model.setValue("/root/send/rpirsrch/tempmngtdeptcd", opt_reqdeptcd.value);
- model.setValue("/root/send/rpirsrch/fixtrseqmtflag", "EQ");
- model.setValue("/root/send/goodsrch/instcd", getUserInfo("dutplceinstcd"));
- model.setValue("/root/send/goodsrch/tempmngtdeptcd", opt_reqdeptcd.value);
- model.setValue("/root/send/goodsrch/goodflag", "EQ");
- misfMsterDetailRetrieve();
- fgridClickEvent();
- //model.setValue("/root/temp/rowtemp", grd_rfehemhtlist.row);
- fcomboValueCheck();
- // misfSetReadOnlyCol(grd_rfehemhtlist, "workstat", true);
- fdeptGrantYN();
- ]]>
- </script>
- </button>
- <line id="line13" class="line_4" style="x1:1119px; y1:7px; x2:1119px; y2:29px; border-color:#ffe4bb; border-left-style:solid; "/>
- <button id="btn_userSearch" class="icon_search" navindex="6" style="left:1004px; top:9px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- misfOpenPopUpList("12", ipt_reqpsnids, "", "reqpsnid,reqpsnnm");
- model.refresh();
- ]]>
- </script>
- </button>
- <input id="ipt_reqpsnids" ref="/root/send/rpirsrch/reqpsnid" class="input_default" navindex="5" style="left:925px; top:8px; width:75px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- // misfValidationCheck("12", "", "reqpsnid,reqpsnnm");
- if(ipt_reqpsnids.value.length == 0)
- ipt_reqpsnnms.value = "";
- else
- misfValidationCheck("01-1", "", "reqpsnid,reqpsnnm");
- model.refresh();
- ]]>
- </script>
- </input>
- <input id="ipt_reqpsnnms" ref="/root/send/rpirsrch/reqpsnnm" class="input_default" navindex="7" appearance="input" style="left:1025px; top:8px; width:82px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(ipt_reqpsnnms.value.length == 0)
- ipt_reqpsnids.value = "";
- else
- misfValidationCheck("01-2", "", "reqpsnid,reqpsnnm");
- model.refresh();
- ]]>
- </script>
- </input>
- <caption id="cap_reqno" class="search_name" style="left:842px; top:9px; width:83px; height:17px; ">의 뢰 자 :</caption>
- <input id="ipt_reqdd1" ref="/root/send/rpirsrch/reqdd1" class="input_s_essential" navindex="1" inputtype="date" style="left:327px; top:8px; width:97px; height:19px; "/>
- <input id="ipt_reqdd2" ref="/root/send/rpirsrch/reqdd2" class="input_s_essential" navindex="2" inputtype="date" style="left:439px; top:8px; width:97px; height:19px; "/>
- <caption id="caption13" style="left:425px; top:10px; width:20px; height:20px; font-weight:bold; ">~</caption>
- <output id="opt_instcdnm" ref="/root/send/rpirsrch/instcdnm" class="output_fix" style="left:105px; top:8px; width:125px; height:19px; text-align:center; "/>
- <input id="opt_reqdeptcd" ref="/root/send/rpirsrch/reqdeptcd" class="input_default" navindex="3" appearance="input" style="left:631px; top:8px; width:75px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(opt_reqdeptcd.value.length == 0){
- opt_reqdeptnm.value = "";
- }else
- {
- misfValidationCheck("02", "", "reqdeptcd,reqdeptnm" );
- }
-
- model.refresh();
- btn_search.dispatch("DOMActivate");
- ]]>
- </script>
- </input>
- <output id="opt_reqdeptnm" ref="/root/send/rpirsrch/reqdeptnm" class="output_fix" style="left:731px; top:8px; width:105px; height:19px; "/>
- <caption id="caption5" class="search_name" style="left:542px; top:9px; width:86px; height:17px; ">관리부서 :</caption>
- <button id="btn_dept" class="icon_search" navindex="4" style="left:710px; top:9px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- misfOpenPopUpList("02", opt_reqdeptcd, "", "reqdeptcd,reqdeptnm");
- model.refresh();
- btn_search.dispatch("DOMActivate");
- ]]>
- </script>
- </button>
- <caption id="cap_instcd" class="search_name" style="left:15px; top:9; width:86px; height:17px; ">기관코드 :</caption>
- </group>
- <caption id="caption1" class="tit_2" style="left:5px; top:54px; width:157px; height:13px; ">의뢰내역</caption>
- <line id="line1" class="line_1" style="x1:697; y1:69px; x2:1195; y2:69px; "/>
- <line id="line2" class="line_1" style="x1:0px; y1:69px; x2:692px; y2:69px; "/>
- <caption id="cap_" class="cell_1" style="left:697px; top:242px; width:90px; height:23px; vertical-align:middle; ">자산구분</caption>
- <caption id="cap_acptdeptcd" class="cell_1" style="left:697px; top:218px; width:90px; height:23px; vertical-align:middle; ">접수부서</caption>
- <caption id="cap_reqpsnid" class="cell_1" style="left:697px; top:193px; width:90px; height:23px; vertical-align:middle; ">의뢰자</caption>
- <caption id="cap_reqdeptcd" class="cell_1" style="left:697px; top:169px; width:90px; height:23px; vertical-align:middle; ">관리부서</caption>
- <input id="ipt_reqdeptcd" ref="/root/main/control/rfehemhtlist/reqdeptcd" class="input_s_essential" navindex="25" style="left:789px; top:171px; width:146px; height:19px; text-align:center; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(ipt_reqdeptcd.value.length == 0)
- ipt_depthngnm.value = "";
- else
- misfValidationCheck("02", "", "reqdeptcd,depthngnm" );
- model.refresh();
- ]]>
- </script>
- </input>
- <caption id="caption2" class="cell_1" style="left:697px; top:122px; width:90px; height:23px; vertical-align:middle; ">의뢰일자</caption>
- <caption id="cap_fixasetcd" class="cell_1" style="left:697px; top:74px; width:90px; height:47px; vertical-align:middle; ">자산코드</caption>
- <input id="ipt_fixasetcd" ref="/root/main/control/rfehemhtlist/fixasetcd" class="input_s_essential" disabled="true" navindex="18" style="left:789px; top:76px; width:150px; height:19px; text-align:center; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(ipt_fixasetcd.value != "")
- {
- rszfValidationCheck("TRRSD00241", "rfcmfacdlist", "instcd,requirementcd,requirementnm",
- opt_instcd.value +",fixasetcd," + ipt_fixasetcd.value,
- "", "fixasetcd,fixasetnm", ipt_fixasetcd, "SPRSD00240",
- "instcd","opt_instcd");
-
- cmb_fixtrseqmtflag.value = model.getValue("/root/init/main/rfcmfacdlist/goodflag");
- // 날자 자동입력
- model.setValue("/root/main/control/rfehemhtlist/reqdd", getCurrentDate().substr(0, 8));
- model.setValue("/root/main/control/rfehemhtlist/genrdd", getCurrentDate().substr(0, 8));
-
- // 의뢰번호 입력
- // model.setValue(ipt_reqno.attribute("ref"),Number(grd_rfehemhtlist.valueMatrix(1,grd_rfehemhtlist.colRef("reqno")))+1);
- }else{
- ipt_fixasetcd.value = "";
- ipt_fixasetnm.value = "";
- }
-
- if(ipt_fixasetcd.value.substr(0,1) == 'G')
- {
- messageBox("일반비품은 신청하실수 없습니다.","");
- fInitialize();
- }
-
- model.refresh();
- ]]>
- </script>
- </input>
- <input id="ipt_fixasetnm" ref="/root/main/control/rfehemhtlist/fixasetnm" class="input_search" disabled="true" navindex="21" style="left:789px; top:100px; width:403px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(ipt_fixasetnm.value != "")
- {
- rszfValidationCheck("TRRSD00241", "rfcmfacdlist", "instcd,requirementcd,requirementnm",
- opt_instcd.value +",goodflaghngnm," + ipt_fixasetnm.value,
- "", "fixasetcd,fixasetnm", ipt_fixasetcd, "SPRSD00240",
- "instcd","opt_instcd");
-
- // 날자 자동입력
- model.setValue("/root/main/control/rfehemhtlist/reqdd", getCurrentDate().substr(0, 8));
- model.setValue("/root/main/control/rfehemhtlist/genrdd", getCurrentDate().substr(0, 8));
-
- // 의뢰번호 입력
- // model.setValue(ipt_reqno.attribute("ref"),Number(grd_rfehemhtlist.valueMatrix(1,grd_rfehemhtlist.colRef("reqno")))+1);
- }else
- {
- ipt_fixasetcd.value = "";
- ipt_fixasetnm.value = "";
- }
- model.refresh();
- ]]>
- </script>
- </input>
- <input id="ipt_reqno" ref="/root/main/control/rfehemhtlist/reqno" class="input_default" navindex="23" style="left:1039px; top:124px; width:153px; height:19px; "/>
- <caption id="caption3" class="cell_1" style="left:946px; top:122px; width:90px; height:23px; vertical-align:middle; ">의뢰번호</caption>
- <line id="line3" class="line_2" style="x1:697px; y1:408px; x2:1192px; y2:408px; "/>
- <caption id="cap_workstat" class="cell_1" style="left:697px; top:362px; width:90px; height:23px; vertical-align:middle; ">수리진행상태</caption>
- <caption id="cap_chrgpsnid" class="cell_1" style="left:697px; top:338px; width:90px; height:23px; vertical-align:middle; ">수리담당자</caption>
- <caption id="cap_genrdd" class="cell_1" style="left:697px; top:314px; width:90px; height:23px; vertical-align:middle; ">발생일자</caption>
- <caption id="cap_hdrncspec" class="cell_1" style="left:697px; top:266px; width:90px; height:47px; vertical-align:middle; ">의뢰내역</caption>
- <input id="ipt_reqtel" ref="/root/main/control/rfehemhtlist/reqtel" class="input_s_essential" navindex="34" maxlength="15" style="left:1039px; top:244px; width:153px; height:19px; "/>
- <caption id="cap_reqtel" class="cell_1" style="left:946px; top:242px; width:90px; height:23px; vertical-align:middle; ">의뢰자 연락처</caption>
- <textarea id="txt_hdrncspec" ref="/root/main/control/rfehemhtlist/hdrncspec" class="input_s_essential" navindex="35" style="left:789px; top:268px; width:403px; height:43px; "/>
- <caption id="cap_acsrslist" class="cell_1" style="left:697px; top:588px; width:90px; height:143px; vertical-align:middle; ">부품사용내역</caption>
- <datagrid id="grd_rfehdabplist" nodeset="/root/main/rfehdabplist" caption="부품코드^부품명^수량^단위^금액" colsep="^" colwidth="90, 203, 40, 52, 70" dataheight="25" ellipsis="true" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheight="25" rowsep="|" tooltip="true" navindex="50" style="left:789px; top:589px; width:403px; height:138px; ">
- <col ref="acsrscd" style="text-align:left; "/>
- <col ref="acsrsnm" style="text-align:left; "/>
- <col ref="acsrsqty" format="#,###" style="text-align:right; "/>
- <col ref="acsrsunit" type="combo" style="text-align:center; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </col>
- <col ref="acsrsamt" visibility="hidden" format="#,###" style="text-align:right; "/>
- </datagrid>
- <button id="btn_fixasetSearchs" class="icon_search" navindex="19" visibility="hidden" style="left:945px; top:77px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // 자산코드 팝업창 오픈
- rszfOpenPopUpListByWndName(ipt_fixasetcd, "", "fixasetcd,fixasetnm","SPRSD00240","instcd","opt_instcd");
-
- // 자산코드 확인.[자산구분을 가져오지 못해 팝업창으로 가져온 자산코드값으로 ValidationCheck을 실행하여 자산구분값을 가져옮.]
- ipt_fixasetcd.dispatch("xforms-value-changed");
-
- // rszfValidationCheck("TRRSD00241", "rfcmfacdlist", "instcd,requirementcd,requirementnm",
- // cmb_instcd.value +",fixasetcd,******",
- // "", "fixasetcd,fixasetnm", ipt_fixasetcd, "SPRSD00240",
- // "instcd","cmb_instcd");
-
- // cmb_fixtrseqmtflag.value = model.getValue("/root/init/main/rfcmfacdlist/goodflag");
- // 날자 자동입력
- model.setValue("/root/main/control/rfehemhtlist/reqdd", getCurrentDate().substr(0, 8));
- model.setValue("/root/main/control/rfehemhtlist/genrdd", getCurrentDate().substr(0, 8));
-
- model.refresh();
- ]]>
- </script>
- </button>
- <caption id="caption19" style="left:85px; top:355px; width:100px; height:20px; vertical-align:middle; "/>
- <caption id="caption24" class="tit_2" style="left:702px; top:54px; width:157px; height:13px; ">의뢰현황</caption>
- <input id="ipt_reqdd" ref="/root/main/control/rfehemhtlist/reqdd" class="input_s_essential" disabled="true" navindex="22" inputtype="date" style="left:789px; top:124px; width:153px; height:19px; text-align:center; "/>
- <button id="btn_reqdeptcdSearch" class="icon_search" navindex="26" style="left:940px; top:171px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- misfOpenPopUpList("02", ipt_reqdeptcd, "", "reqdeptcd,depthngnm");
- model.refresh();
- ]]>
- </script>
- </button>
- <input id="ipt_depthngnm" ref="/root/main/control/rfehemhtlist/depthngnm" class="input_search" navindex="27" style="left:960px; top:171px; width:232px; height:19px; text-align:center; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(ipt_depthngnm.value.length == 0)
- ipt_reqdeptcd.value = "";
- else
- misfValidationCheck("02", "", "reqdeptcd,depthngnm");
- model.refresh();
- ]]>
- </script>
- </input>
- <button id="btn_reqpsnidSearch" class="icon_search" navindex="29" style="left:940px; top:195px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- misfOpenPopUpList("12", ipt_reqpsnid, "", "reqpsnid,reqpsnnm");
- model.refresh();
- ]]>
- </script>
- </button>
- <input id="ipt_reqpsnnm" ref="/root/main/control/rfehemhtlist/reqpsnnm" class="input_search" navindex="30" style="left:960px; top:195px; width:232px; height:19px; text-align:center; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(ipt_reqpsnnm.value.length == 0)
- ipt_reqpsnid.value = "";
- else
- misfValidationCheck("01-2", "", "reqpsnid,reqpsnnm");
- model.refresh();
- ]]>
- </script>
- </input>
- <input id="ipt_reqpsnid" ref="/root/main/control/rfehemhtlist/reqpsnid" class="input_s_essential" navindex="28" style="left:789px; top:195px; width:146px; height:19px; text-align:center; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- // misfValidationCheck("12", "", "reqpsnid,reqpsnnm" );
- if(ipt_reqpsnid.value.length == 0)
- ipt_reqpsnnm.value = "";
- else
- misfValidationCheck("01-1", "", "reqpsnid,reqpsnnm");
- model.refresh();
- ]]>
- </script>
- </input>
- <input id="ipt_acptdeptnm" ref="/root/main/control/rfehemhtlist/acptdeptnm" class="output_fix" disabled="true" navindex="32" style="left:937px; top:220px; width:255px; height:19px; text-align:center; "/>
- <input id="ipt_acptdeptcd" ref="/root/main/control/rfehemhtlist/acptdeptcd" class="output_fix" disabled="true" navindex="31" style="left:789px; top:220px; width:146px; height:19px; text-align:center; "/>
- <input id="ipt_chrgpsnnm" ref="/root/main/control/rfehemhtlist/chrgpsnnm" class="output_fix" disabled="true" navindex="40" style="left:857px; top:340px; width:85px; height:19px; text-align:center; "/>
- <input id="ipt_chrgpsnid" ref="/root/main/control/rfehemhtlist/chrgpsnid" class="output_fix" disabled="true" navindex="39" style="left:789px; top:340px; width:66px; height:19px; text-align:center; "/>
- <select1 id="cmb_workstat" ref="/root/main/control/rfehemhtlist/workstat" class="combo_s_essential" disabled="true" navindex="42" appearance="minimal" style="left:789px; top:364px; width:153px; height:19px; text-align:center; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <input id="ipt_genrdd" ref="/root/main/control/rfehemhtlist/genrdd" class="input_default" disabled="true" inputtype="date" style="left:789px; top:315px; width:101px; height:19px; text-align:center; "/>
- <caption id="cap_acptdd" class="cell_1" style="left:946px; top:362px; width:90px; height:23px; vertical-align:middle; ">접수일자</caption>
- <input id="ipt_acptdd" ref="/root/main/control/rfehemhtlist/acptdd" class="output_fix" disabled="true" navindex="44" format="yyyy-mm-dd" style="left:1039px; top:364px; width:153px; height:19px; text-align:center; "/>
- <select1 id="cmb_fixtrseqmtflag" ref="/root/main/control/rfehemhtlist/fixtrseqmtflag" class="combo_s_essential" disabled="true" navindex="33" appearance="minimal" style="left:789px; top:244px; width:153px; height:19px; text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/fixtrseqmtflag">
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- </select1>
- <button id="btn_delete" class="btn2_letter3" navindex="11" style="left:580px; top:48px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(fmoveCheck() != false)
- {
- misfGridIUD(grd_rfehemhtlist, "D");
- fmoveCheck();
-
- if(grd_rfehemhtlist.rows == 1)
- {
- model.makeNode("/root/main/control/rfehemhtlist/fixasetcd");
- model.makeNode("/root/main/control/rfehemhtlist/fixasetnm");
- model.makeNode("/root/main/control/rfehemhtlist/reqdeptcd");
- model.makeNode("/root/main/control/rfehemhtlist/depthngnm");
- model.makeNode("/root/main/control/rfehemhtlist/reqpsnid");
- model.makeNode("/root/main/control/rfehemhtlist/reqpsnnm");
- model.makeNode("/root/main/control/rfehemhtlist/fixtrseqmtflag");
- model.makeNode("/root/main/control/rfehemhtlist/workstat");
- model.makeNode("/root/main/control/rfehemhtlist/btnfixasetcd");
- fInitialize();
- btn_search.dispatch("DOMActivate");
- }
-
- }
- ]]>
- </script>
- </button>
- <button id="btn_insert" class="btn2_letter3" navindex="10" visibility="visible" style="left:525px; top:48px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(opt_instcd.value == null){
- messageBox("기관코드가","I004");
- return;
- }
-
- var statusCount = 0;
- for(var fRow = 1; fRow < grd_rfehemhtlist.rows; fRow++)
- {
- if(grd_rfehemhtlist.rowStatus(fRow) == 1)
- {
- statusCount++ ;
- }
- }
-
- if(statusCount < 1)
- {
- misfGridIUD(grd_rfehemhtlist, "A");
- grd_rfehemhtlist.isReadOnly(grd_rfehemhtlist.fixedRows, grd_rfehemhtlist.fixedCols, grd_rfehemhtlist.rows-1, grd_rfehemhtlist.cols-1) = true;
- misfSetReadOnlyCol(grd_rfehemhtlist, "deptaprvyn", false);
- }else
- {
- //messageBox("한번에 한건의 데이터만 추가 할 수 있습니다", "E999");
- //return;
- }
-
- // 의뢰일자 설정
- grd_rfehemhtlist.valueMatrix(grd_rfehemhtlist.row, grd_rfehemhtlist.colRef("reqdd")) = getCurrentDate().substr(0, 8);
-
- // 일자별 의뢰 순번 설정
- grd_rfehemhtlist.valueMatrix(grd_rfehemhtlist.row, grd_rfehemhtlist.colRef("reqno")) = fmaxreqno(grd_rfehemhtlist);
-
- // 부서코드 설정
- grd_rfehemhtlist.valueMatrix(grd_rfehemhtlist.row, grd_rfehemhtlist.colRef("reqdeptcd")) = opt_reqdeptcd.value; //getUserInfo("dutplcecd");
- /// model.setValue("/root/main/control/rfehemhtlist/reqdeptcd" , getUserInfo("dutplcecd"));
-
- // 부서코드명 설정
- grd_rfehemhtlist.valueMatrix(grd_rfehemhtlist.row, grd_rfehemhtlist.colRef("depthngnm")) = opt_reqdeptnm.value; //getUserInfo("dutplcenm");
- // model.setValue("/root/main/control/rfehemhtlist/depthngnm" , getUserInfo("dutplcenm"));
-
- // User ID 설정
- grd_rfehemhtlist.valueMatrix(grd_rfehemhtlist.row, grd_rfehemhtlist.colRef("reqpsnid")) = getUserInfo("userid");
- // model.setValue("/root/main/control/rfehemhtlist/reqpsnid", getUserInfo("userid"));
-
- // User Name 설정
- grd_rfehemhtlist.valueMatrix(grd_rfehemhtlist.row, grd_rfehemhtlist.colRef("reqpsnnm")) = getUserInfo("usernm");
- // model.setValue("/root/main/control/rfehemhtlist/reqpsnnm", getUserInfo("usernm"));
-
- // 수리 진행 상태 설정 (수리 의뢰)
- grd_rfehemhtlist.valueMatrix(grd_rfehemhtlist.row, grd_rfehemhtlist.colRef("workstat")) = "01";
- // 접수구분 ( '1': 수리 , '2' 예방)
- grd_rfehemhtlist.valueMatrix(grd_rfehemhtlist.row, grd_rfehemhtlist.colRef("acptflag")) = "1";
-
- // cmb_workstat.value = 1;
- fgridClickEvent("N"); // 행추가시 필요 없는 submission이 발생하여 우선은 제어를 위해 "N" 셋팅시 submission pass
-
- fcontrolEnableYN(false);
- che_acptpsncnfm.disabled = true;
-
- if(grd_rfehemhtlist.row != 0)
- {
- btn_delete.disabled = false;
- }
-
- fdeptGrantYN(); //-> 청구 권한 체크
-
- rdo_deptaprvreqyn.select(1);
-
- model.refresh();
- ]]>
- </script>
- </button>
- <datagrid id="grd_temp" nodeset="/root/temp/rfehemhtlist" visibility="hidden" caption="기관코드^비품_장비구분^의뢰일자^의뢰번호^관리부서^관리부서명^의뢰자ID^의뢰자 명^발생일자^발생시간^담당자ID^담당자명^접수일자^접수시간^접수자ID^접수자이름^접수확인^접수부서^접수부서명^작업상태^고정자산코드^자산명^품명^모델명^고장내역^수리구분1^수리구분2^사용여부^최종수리상태^인수자확인^부서인수일자^부서인수자ID^부서인수자명^수리비^비고^수리완료일자^담당자전화번호^결재여부^담당자comment^결재일자^미가동일수^메일방송여부" colsep="^" colwidth="100, 100, 102, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 150, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100" dataheight="25" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" rowsep="|" style="left:5px; top:210px; width:680px; height:75px; ">
- <col ref="instcd"/>
- <col ref="fixtrseqmtflag"/>
- <col ref="reqdd"/>
- <col ref="reqno"/>
- <col ref="reqdeptcd" visibility="hidden"/>
- <col ref="depthngnm"/>
- <col ref="reqpsnid"/>
- <col ref="reqpsnnm"/>
- <col ref="genrdd"/>
- <col ref="genrtm"/>
- <col ref="chrgpsnid"/>
- <col ref="chrgpsnnm"/>
- <col ref="acptdd"/>
- <col ref="acpttm"/>
- <col ref="acptpsnid"/>
- <col ref="acptpsnnm"/>
- <col checkvalue="Y,N" type="checkbox"/>
- <col ref="acptdeptcd"/>
- <col ref="acptdeptnm"/>
- <col ref="workstat"/>
- <col ref="fixasetcd"/>
- <col ref="fixasetnm"/>
- <col ref="itemnm"/>
- <col ref="goodmodel"/>
- <col ref="hdrncspec"/>
- <col ref="rpirflag1"/>
- <col ref="rpirflag2"/>
- <col ref="useyn"/>
- <col ref="lastrpirstat"/>
- <col ref="acptpsncnfm"/>
- <col ref="possndd"/>
- <col ref="deptacptpsnid"/>
- <col ref="deptacptpsnnm"/>
- <col ref="rpiramt"/>
- <col ref="cmt"/>
- <col ref="rpirenddd"/>
- <col ref="chrgtel"/>
- <col ref="sanctyn"/>
- <col ref="chrgpsncmt"/>
- <col ref="sanctdd"/>
- <col ref="nonworkdayno"/>
- <col ref="emaildeliveyn"/>
- <col ref="lastrpirrslt"/>
- <col ref="reqtel"/>
- <col ref="bugtyy"/>
- <col ref="bugtcd"/>
- <col ref="stdysubjno"/>
- <col ref="stdysubjnm"/>
- <col ref="deptaprvyn"/>
- <col ref="deptaprvpsnid"/>
- <col ref="deptaprvpsnnm"/>
- <col ref="deptaprvdd"/>
- <col ref="acptflag"/>
- <col ref="possndd"/>
- </datagrid>
- <input id="ipt_rowtemp" ref="/root/init/rowtemp" visibility="hidden" appearance="input" style="left:35px; top:165px; width:100px; height:20px; "/>
- <input id="ipt_workstattemp" ref="/root/init/workstattemp" navindex="43" visibility="hidden" style="left:840px; top:365px; width:100px; height:19px; "/>
- <caption id="caption23" style="left:700px; top:385px; width:460px; height:26px; font-family:굴림체; font-size:9pt; font-weight:bold; color:#ff6600; vertical-align:middle; ">※수리진행상태가 '수리의뢰'인 경우에만 수정,삭제가 가능합니다.</caption>
- <caption id="cap_chrgtel" class="cell_1" style="left:946px; top:338px; width:90px; height:22px; vertical-align:middle; ">담당자 연락처</caption>
- <input id="ipt_chrgtel" ref="/root/main/control/rfehemhtlist/chrgtel" class="output_fix" disabled="true" navindex="41" editable="true" style="left:1039px; top:339px; width:153px; height:19px; text-align:left; "/>
- <caption id="cap_bugtyy" class="cell_1" style="left:892px; top:314px; width:60px; height:23px; vertical-align:middle; ">예산년도</caption>
- <caption id="cap_bugtcd" class="cell_1" style="left:1055px; top:315px; width:60px; height:23px; vertical-align:middle; ">예산계정</caption>
- <caption id="cap_stdysubjno" class="cell_1" visibility="hidden" style="left:697px; top:314px; width:90px; height:23px; vertical-align:middle; ">연구과제</caption>
- <line id="line8" class="line_2" style="x1:700px; y1:312px; x2:1195px; y2:312px; "/>
- <select1 id="cmb_bugtcd" ref="/root/main/control/rfehemhtlist/bugtcd" appearance="minimal" style="left:1116px; top:315px; width:76px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <input id="ipt_bugtyy" ref="/root/main/control/rfehemhtlist/bugtyy" class="input_default" disabled="true" inputtype="date" format="yyyy" style="left:953px; top:315px; width:101px; height:19px; "/>
- <input id="ipt_stdysubjno" ref="/root/main/control/rfehemhtlist/stdysubjno" class="input_search" navindex="36" visibility="hidden" style="left:789px; top:315px; width:146px; height:19px; text-align:center; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(ipt_stdysubjno.value != "")
- {
- rszfValidationCheck("TRRSD00261", "studylist", "refcond,instcd,stdysubjno", "stdysubjno," + opt_instcd.value + "," + ipt_stdysubjno.value, "",
- "stdysubjno,stdysubjnm", ipt_stdysubjno, "SPRSD00260", "instcd", "opt_instcd");
- }else
- {
- ipt_stdysubjno.value = "";
- ipt_stdysubjnm.value = "";
- }
- model.refresh();
- ]]>
- </script>
- </input>
- <input id="ipt_stdysubjnm" ref="/root/main/control/rfehemhtlist/stdysubjnm" class="input_search" navindex="38" visibility="hidden" style="left:956px; top:315px; width:236px; 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," + opt_instcd.value + "," + ipt_stdysubjnm.value, "",
- "stdysubjno,stdysubjnm", ipt_stdysubjnm, "SPRSD00260", "instcd", "opt_instcd");
- }else
- {
- ipt_stdysubjno.value = "";
- ipt_stdysubjnm.value = "";
- }
-
- model.refresh();
- ]]>
- </script>
- </input>
- <button id="btn_stdysubjnm" class="icon_search" navindex="37" visibility="hidden" style="left:938px; top:316px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- rszfOpenPopUpListByWndName(ipt_stdysubjno,"","stdysubjno,stdysubjnm","SPRSD00260","instcd","opt_instcd");
- model.refresh();
- ]]>
- </script>
- </button>
- <caption id="cap_lastrpirrslt" class="cell_1" style="left:697px; top:458px; width:90px; height:127px; vertical-align:middle; ">수리내역</caption>
- <textarea id="txt_lastrpirrslt" ref="/root/main/control/rfehemhtlist/lastrpirrslt" class="output_fix" navindex="49" editable="true" style="left:789px; top:461px; width:403px; height:123px; "/>
- <line id="line10" class="line_3" style="x1:697px; y1:433px; x2:1192px; y2:433px; "/>
- <caption id="cap_deptaprvpsnid" class="cell_1" style="left:946px; top:409px; width:90px; height:23px; vertical-align:middle; ">부서승인자</caption>
- <caption id="cap_deptaprvdd" class="cell_1" style="left:697px; top:434px; width:90px; height:23px; vertical-align:middle; ">부서승인일자</caption>
- <input id="ipt_deptaprvdd" ref="/root/main/control/rfehemhtlist/deptaprvdd" class="input_default" disabled="true" navindex="48" inputtype="date" format="yyyy-mm-dd" style="left:787px; top:437px; width:154px; height:19px; "/>
- <input id="ipt_deptaprvpsnid" ref="/root/main/control/rfehemhtlist/deptaprvpsnid" class="input_search" disabled="true" navindex="46" style="left:1038px; top:412px; width:76px; height:19px; text-align:center; "/>
- <input id="ipt_deptaprvpsnnm" ref="/root/main/control/rfehemhtlist/deptaprvpsnnm" class="input_search" disabled="true" navindex="47" style="left:1116px; top:412px; width:76px; height:19px; text-align:center; "/>
- <caption id="caption4" class="tit_2" style="left:5px; top:408px; width:122px; height:14px; ">보유자산</caption>
- <line id="line15" class="line_1" style="x1:0px; y1:428px; x2:692px; y2:429px; "/>
- <datagrid id="grd_rfcmfacdlist" nodeset="/root/main/grid/rfcmfacdlist" caption="기관^물품구분^자산코드^INVENTORY장비^자산명^관리부서^관리부서^모델^규격^S/N^구코드^사용장소^거래처^제조원^제조국^구입일자^^" colsep="^" colwidth="32, 59, 65, 40, 188, 86, 113, 96, 100, 90, 87, 79, 87, 85, 89, 100, 100, 100, 100, 100, 100, 100" ellipsis="true" explorerbar="sortshow" extendlastcol="scroll" frozencols="6" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" tooltip="true" navindex="17" style="left:0px; top:435px; width:692px; height:307px; text-align:center; ">
- <col ref="instnm" visibility="hidden" style="text-align:center; "/>
- <col disabled="true" ref="goodflag" type="combo" style="text-align:center; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </col>
- <col ref="fixasetcd" style="text-align:left; "/>
- <col ref="inventoryflag" visibility="hidden"/>
- <col ref="goodflagengnm" style="text-align:left; "/>
- <col ref="mngtdeptcd" visibility="hidden" style="text-align:center; "/>
- <col ref="mngtdeptnm" visibility="hidden" style="text-align:left; "/>
- <col ref="goodmodel" visibility="hidden" style="text-align:left; "/>
- <col ref="goodspec" style="text-align:left; "/>
- <col ref="mngtno" style="text-align:left; "/>
- <col ref="oldcd" style="text-align:left; "/>
- <col ref="installplcenm" style="text-align:center; "/>
- <col ref="suplplcenm" style="text-align:center; "/>
- <col ref="prodcmpynm" style="text-align:center; "/>
- <col ref="prodplce" type="combo" style="text-align:center; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </col>
- <col ref="windd" format="yyyy-mm-dd"/>
- <col ref="instcd" visibility="hidden"/>
- <col ref="mngtdeptcd" visibility="hidden"/>
- <col ref="prodplce" visibility="hidden"/>
- <col ref="prodcmpy" visibility="hidden"/>
- <col ref="possndd" visibility="hidden"/>
- <col ref="execdept" visibility="visible"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- //misfGridIUD(grd_rfehemhtlist, "A");
- if(grd_rfcmfacdlist.row > (grd_rfcmfacdlist.fixedRows-1) )
- {
- btn_insert.dispatch("DOMActivate");
- if(grd_rfehemhtlist.rowStatus(grd_rfehemhtlist.row) == 1 )
- {
- ipt_fixasetcd.value = grd_rfcmfacdlist.valueMatrix(grd_rfcmfacdlist.row, grd_rfcmfacdlist.colRef("fixasetcd"));
- ipt_possndd.value = grd_rfcmfacdlist.valueMatrix(grd_rfcmfacdlist.row, grd_rfcmfacdlist.colRef("possndd"));
- ipt_fixasetnm.value = grd_rfcmfacdlist.valueMatrix(grd_rfcmfacdlist.row, grd_rfcmfacdlist.colRef("goodflagengnm"));
- model.setValue("/root/main/control/rfehemhtlist/reqdd", getCurrentDate().substr(0, 8));
- model.setValue("/root/main/control/rfehemhtlist/genrdd", getCurrentDate().substr(0, 8));
- cmb_fixtrseqmtflag.value = grd_rfcmfacdlist.valueMatrix(grd_rfcmfacdlist.row, grd_rfcmfacdlist.colRef("goodflag"));
- }
-
- }
- model.makeValue(rdo_execdept.attribute("ref"), "4090500000");
- model.refresh();
-
- ]]>
- </script>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_rfcmfacdlist.gridToInstance();
- ]]>
- </script>
- </datagrid>
- <button id="btn_excel" class="btn5_letter3" navindex="12" style="left:635px; top:48px; width:53px; height:19px; ">
- <caption>Excel</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, "의뢰내역List",true,true, "");
- }
-
- ]]>
- </script>
- </button>
- <button id="button1" class="btn5_letter3" visibility="hidden" style="left:633px; top:403px; width:53px; height:19px; ">
- <caption>Excel</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var fileName = window.fileDialog("save", ",", false, "보유자산 List", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
-
- if (fileName != "")
- {
- grd_rfcmfacdlist.saveExcel(fileName, "보유자산List",true,true, "");
- }
-
- ]]>
- </script>
- </button>
- <caption id="caption7" class="cell_1" style="left:697px; top:409px; width:90px; height:23px; vertical-align:middle; ">부서승인여부</caption>
- <select1 id="rdo_deptaprvreqyn" ref="/root/main/control/rfehemhtlist/deptaprvreqyn" navindex="45" overflow="visible" appearance="full" cols="2" style="left:789px; top:412px; width:152px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>승인필요</label>
- <value>Y</value>
- </item>
- <item>
- <label>승인불필요</label>
- <value>N</value>
- </item>
- </choices>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- // if(rdo_deptaprvreqyn.value == "Y")
- // cmb_workstat.value="00";
- // else
- // cmb_workstat.value="01";
- // model.refresh();
- ]]>
- </script>
- </select1>
- <line id="line12" class="line_2" style="x1:697px; y1:586px; x2:1192px; y2:586px; "/>
- <caption id="caption8" class="cell_1" style="left:965px; top:75px; width:92px; height:23px; vertical-align:middle; ">자산취득일자</caption>
- <datagrid id="grd_rfehemhtlist" nodeset="/root/main/grid/rfehemhtlist" visibility="visible" caption="기관코드^비품_장비구분^의뢰일자^의뢰일자^의뢰부서CODE^관리부서^의뢰자ID^의뢰자^발생일자^발생시간^담당자ID^담당자^접수일자^접수시간^접수자ID^접수자^접수확인^접수부서CODE^접수부서^모델명^고정자산CODE^자산명^작업상태^품명^고장내역^수리구분1^수리구분2^사용여부^최종수리상태^인수자확인^부서인수일자^부서인수자ID^부서인수자^수리비^비고^수리완료일자^담당자전화번호^결재여부^담당자comment^결재일자^미가동일수^메일방송여부^승인^부서승인자ID^부서승인자명^부서승인일자^caption1^caption2" colsep="^" colwidth="100, 100, 66, 38, 100, 80, 70, 70, 70, 70, 70, 69, 70, 100, 100, 70, 100, 100, 100, 100, 100, 231, 100, 121, 100, 100, 100, 100, 80, 70, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 41, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100" dataheight="25" ellipsis="true" explorerbar="sortshow" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" rowsep="|" tooltip="true" navindex="9" disabled="false" style="left:0px; top:75px; width:692px; height:321px; ">
- <col ref="instcd" visibility="hidden"/>
- <col ref="fixtrseqmtflag" visibility="hidden"/>
- <col disabled="true" ref="reqdd" format="yyyy-mm-dd"/>
- <col disabled="true" ref="reqno" style="text-align:right; "/>
- <col ref="reqdeptcd" visibility="hidden"/>
- <col ref="depthngnm" visibility="hidden"/>
- <col ref="reqpsnid" visibility="hidden"/>
- <col disabled="true" ref="reqpsnnm" style="text-align:center; "/>
- <col ref="genrdd" visibility="hidden"/>
- <col ref="genrtm" visibility="hidden"/>
- <col ref="chrgpsnid" visibility="hidden"/>
- <col ref="chrgpsnnm" visibility="hidden"/>
- <col ref="acptdd" visibility="hidden"/>
- <col ref="acpttm" visibility="hidden"/>
- <col ref="acptpsnid" visibility="hidden"/>
- <col ref="acptpsnnm" visibility="hidden"/>
- <col checkvalue="Y,N" type="checkbox" visibility="hidden"/>
- <col ref="acptdeptcd" visibility="hidden"/>
- <col ref="acptdeptnm" visibility="hidden"/>
- <col disabled="true" ref="goodmodel"/>
- <col ref="fixasetcd" visibility="hidden"/>
- <col disabled="true" ref="fixasetnm"/>
- <col disabled="true" ref="workstat" type="combo" style="text-align:center; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </col>
- <col ref="itemnm" visibility="hidden"/>
- <col ref="hdrncspec" visibility="hidden"/>
- <col ref="rpirflag1" visibility="hidden"/>
- <col ref="rpirflag2" visibility="hidden"/>
- <col ref="useyn" visibility="hidden"/>
- <col ref="lastrpirstat" visibility="hidden"/>
- <col ref="acptpsncnfm" visibility="hidden"/>
- <col ref="possndd" visibility="hidden"/>
- <col ref="deptacptpsnid" visibility="hidden"/>
- <col ref="deptacptpsnnm" visibility="hidden"/>
- <col ref="rpiramt" visibility="hidden"/>
- <col ref="cmt" visibility="hidden"/>
- <col ref="rpirenddd" visibility="hidden"/>
- <col ref="chrgtel" visibility="hidden"/>
- <col ref="sanctyn" visibility="hidden"/>
- <col ref="chrgpsncmt" visibility="hidden"/>
- <col ref="sanctdd" visibility="hidden"/>
- <col ref="nonworkdayno" visibility="hidden"/>
- <col ref="emaildeliveyn" visibility="hidden"/>
- <col checkvalue="Y,N" ref="deptaprvyn" type="checkbox"/>
- <col ref="deptaprvpsnid" visibility="hidden"/>
- <col ref="deptaprvpsnnm" visibility="hidden"/>
- <col ref="deptaprvdd" visibility="hidden"/>
- <col ref="deptaprvreqyn" visibility="hidden"/>
- <col ref="lastrpirrslt" visibility="hidden"/>
- <col ref="custcd" visibility="hidden"/>
- <col ref="reqtel" visibility="hidden"/>
- <col ref="bugtyy" visibility="hidden"/>
- <col ref="bugtcd" visibility="hidden"/>
- <col ref="stdysubjno" visibility="hidden"/>
- <col ref="stdysubjnm" visibility="hidden"/>
- <col ref="acptflag" visibility="hidden"/>
- <col ref="bizscrnid" visibility="hidden"/>
- <col ref="possndd" visibility="hidden"/>
- <col ref="execdept" visibility="hidden"/>
- <script type="javascript" ev:event="onrowchanged">
- <![CDATA[
- fmoveCheck();
- grd_rfehemhtlist.dispatch("onmouseup");
- // model.refresh();
- // fcontrolEnableYN(false);
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(grd_rfehemhtlist.col == grd_rfehemhtlist.colRef("deptaprvyn"))
- {
- if(grd_rfehemhtlist.valueMatrix(grd_rfehemhtlist.row, grd_rfehemhtlist.colRef("deptaprvyn")) == "Y")
- {
- cmb_workstat.value = "01";
- model.setValue("/root/main/control/rfehemhtlist/deptaprvyn", "Y");
- ipt_deptaprvdd.value = getCurrentDate().substr(0, 8);
- ipt_deptaprvpsnid.value = getUserInfo("userid");
- ipt_deptaprvpsnnm.value = getUserInfo("usernm");
- model.refresh();
- fupdateCheckSave();
- }else{
- cmb_workstat.value = "01";
- model.setValue("/root/main/control/rfehemhtlist/deptaprvyn", "N");
- ipt_deptaprvdd.value = "";
- ipt_deptaprvpsnid.value = "";
- ipt_deptaprvpsnnm.value = "";
- model.refresh();
- fupdateCheckSave();
- }
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_rfehemhtlist.gridToInstance();
- ]]>
- </script>
- </datagrid>
- <caption id="cap_lrgcd" class="search_name" style="left:80px; top:405px; width:117px; height:17px; ">대분류 :</caption>
- <select1 id="cmb_lrgcd" ref="/root/send/goodsrch/lrgcd_search" navindex="13" appearance="minimal" style="left:157px; top:405px; width:90px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- ]]>
- </script>
- </select1>
- <caption id="caption9" class="search_name" style="left:250px; top:405px; width:93px; height:17px; ">자산코드 :</caption>
- <input id="input1" ref="/root/send/goodsrch/goodflaghngnm" class="input_search" disabled="false" navindex="15" appearance="input" style="left:496px; top:405px; width:130px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- ]]>
- </script>
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
-
- ]]>
- </script>
- </input>
- <input id="input2" ref="/root/send/goodsrch/fixasetcd" disabled="false" navindex="14" appearance="input" style="left:339px; top:405px; width:80px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- ]]>
- </script>
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
-
- ]]>
- </script>
- </input>
- <caption id="caption10" class="search_name" style="left:420px; top:405px; width:93px; height:17px; ">자산명 :</caption>
- <button id="btn_goodsearch" class="btn5_letter3" navindex="16" visibility="visible" style="left:633px; top:403px; width:53px; height:19px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.setValue("/root/send/goodsrch/instcd", getUserInfo("dutplceinstcd"));
- model.setValue("/root/send/goodsrch/tempmngtdeptcd", opt_reqdeptcd.value);
- model.setValue("/root/send/goodsrch/goodflag", "EQ");
- submit("TRRSE01502");
- model.refresh();
-
- ]]>
- </script>
- </button>
- <caption id="caption11" class="cell_1" style="left:697px; top:146px; width:90px; height:22px; vertical-align:middle; ">담당부서</caption>
- <select1 id="rdo_execdept" ref="//root/main/control/rfehemhtlist/execdept" disabled="true" navindex="24" visibility="visible" overflow="visible" appearance="full" cellspacing="20" cols="3" style="left:790px; top:148px; width:400px; height:20px; border-style:solid; ">
- <choices>
- <item>
- <label>의공학과</label>
- <value>4090500000</value>
- </item>
- <item>
- <label>물류파트</label>
- <value>4020334000</value>
- </item>
- <item>
- <label>정보통신실</label>
- <value>4130100000</value>
- </item>
- </choices>
- </select1>
- </group>
- <group id="group4" style="left:0px; top:12px; width:1195px; height:27px; ">
- <button id="btn_prnt" class="btn6_letter2" navindex="51" visibility="visible" style="left:0px; top:3px; 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", opt_instcdnm.value);
-
- exeReportPreview("RPRFE00401", "XMLSTR");
- ]]>
- </script>
- </button>
- <button id="btn_init" class="btn4_letter3" navindex="53" style="left:1127px; top:3px; width:68px; height:22px; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fInitialize();
- ]]>
- </script>
- </button>
- <line id="line9" class="line_6" style="x1:0px; y1:25px; x2:1195px; y2:25px; "/>
- <button id="btn_save" class="btn4_letter2" navindex="52" style="left:1069px; top:3px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(messageBox("", "Q002") == "6")
- {
- fupdateCheckSave();
- }
- btn_search.dispatch("DOMActivate");
- ]]>
- </script>
- </button>
- <button id="button2" class="btn4_letter7" navindex="52" style="left:949px; top:3px; width:116px; height:22px; ">
- <caption>점검내역 조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- setParameter("paraminstcd" , grd_rfehemhtlist.valueMatrix(grd_rfehemhtlist.row , grd_rfehemhtlist.colRef("instcd")));
- setParameter("paramreqdeptcd" , grd_rfehemhtlist.valueMatrix(grd_rfehemhtlist.row , grd_rfehemhtlist.colRef("reqdeptcd")));
- setParameter("paramreqdeptnm" , grd_rfehemhtlist.valueMatrix(grd_rfehemhtlist.row , grd_rfehemhtlist.colRef("depthngnm")));
- setParameter("paramreqdd" , grd_rfehemhtlist.valueMatrix(grd_rfehemhtlist.row , grd_rfehemhtlist.colRef("reqdd")));
- setParameter("paramfixasetcd" , grd_rfehemhtlist.valueMatrix(grd_rfehemhtlist.row , grd_rfehemhtlist.colRef("fixasetcd")));
- modal("SMRFE02100");
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|