123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
- <xhtml:html xmlns:ex="http://www.comsquare.co.kr/xforms/excel" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:ms="urn:schemas-microsoft-com:xslt" xmlns:my="http://www.comsquare.co.kr/example" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:cs="http://www.comsquare.co.kr/xforms">
- <xhtml:head>
- <xhtml:title>수리/예방점검 결재</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <rfehemhtlist/>
- <rfemdamklist/>
- <rfehdabplist/>
- <com_rfehemhtlist/>
- <rfchprvnlist/>
- <control>
- <rfchprvnlist/>
- </control>
- </main>
- <send>
- <instcd/>
- <fixtrseqmtflag/>
- <acptdd/>
- <acptdd2/>
- <chrgpsnid/>
- <chrgpsnnm/>
- <rfehrhfchflag/>
- <sanctyn/>
- <sancttrsmyn/>
- <grid>
- <rfehemhtlist/>
- <rfemdamklist/>
- </grid>
- <prvnchkfrdd/>
- <prvnchktodd/>
- <reqdd1/>
- <reqdd2/>
- <todd1/>
- <todd2/>
- <flag/>
- <mngtdeptcd/>
- <mngtdeptnm/>
- <installplcecd/>
- <installplcenm/>
- </send>
- <init>
- <useyn>
- <label>내부</label>
- <value>1</value>
- <label>외부</label>
- <value>2</value>
- </useyn>
- <fixtrseqmflag>
- <label>의료장비</label>
- <value>EQ</value>
- <label>의료비품</label>
- <value>U</value>
- </fixtrseqmflag>
- <sanctyn>
- <label/>
- <value>A</value>
- <label>결재</label>
- <value>Y</value>
- <label>미결재</label>
- <value>N</value>
- </sanctyn>
- <grdsanctyn>
- <label/>
- <value>A</value>
- <label>결재</label>
- <value>Y</value>
- <label>반송</label>
- <value>R</value>
- </grdsanctyn>
- <rfehrhfchflag>
- <label>수리</label>
- <value>1</value>
- <label>예방</label>
- <value>2</value>
- </rfehrhfchflag>
- <prvnchkprcsstat>
- <label>점검중</label>
- <value>1</value>
- <label>점검완료</label>
- <value>2</value>
- <label>결제완료</label>
- <value>3</value>
- </prvnchkprcsstat>
- <check>
- <label>GOOD</label>
- <value>G</value>
- <label>BAD</label>
- <value>B</value>
- </check>
- <check2>
- <label>O</label>
- <value>G</value>
- <label>X</label>
- <value>B</value>
- </check2>
- <itslfchkyn>
- <label>자체점검</label>
- <value>1</value>
- <label>외부점검</label>
- <value>2</value>
- </itslfchkyn>
- <rpircvrtyn>
- <label>Yes</label>
- <value>Y</value>
- <label>No</label>
- <value>N</value>
- </rpircvrtyn>
- <purctrsmyn>
- <label/>
- <value>A</value>
- <label>구매전송</label>
- <value>Y</value>
- <label>내부결제</label>
- <value>C</value>
- <label>미결제</label>
- <value>N</value>
- <label>회송</label>
- <value>R</value>
- </purctrsmyn>
- </init>
- <temp/>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- misfMsterDetailSet(grd_rfehemhtlist, null, "TRRFE00601", "Y");
- misfMsterDetailSet(grd_rfemdamklist, null, "TRRFE00602", "N");
- misfMsterDetailSet(grd_rfehdabplist, null, "TRRFE00603", "N");
- misfMsterDetailSet(grd_rfchprvnlist, null, "TRRFE02001", "Y");
- fInitialize();
- // 공통코드 설정
- misfComboComCdListMulti("Z0007,R0055,R0286,R0288,R0289,R0290,R0032",
- "cmb_instcd,grd_rfehemhtlist.workstat,grd_rfehemhtlist.rpirflag1,grd_rfehdabplist.paytype,grd_rfehdabplist.kind,grd_rfehdabplist.costflag,grd_rfehdabplist.acsrsunit");
- addComboItem("rdo_sanctyn", "전체", "", "above");
- //rszGridAddComboItem("grd_rfehemhtlist.sanctyn", "1", "00", "above");
- //model.setValue("/root/send/flag","2");
- model.refresh();
- // for(var i = 0 ; i < grd_rfehemhtlist.rows ; i++)
- // {
- // grd_rfehemhtlist.colAttribute.disa
-
- ]]>
- </script>
- <submission id="TRRFE00601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/rfehemhtlist"/>
- <submission id="TRRFE00602" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/grid/rfehemhtlist" resultref="/root/main/rfemdamklist"/>
- <submission id="TRRFE00603" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/grid/rfemdamklist" resultref="/root/main/rfehdabplist"/>
- <submission id="TXRFE00601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/grid/rfehemhtlist" resultref="/root/temp"/>
- <submission id="TRRFE02001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/rfchprvnlist"/>
- <submission id="TXRFE02001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save" resultref="/root/temp"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../mis/miscommonweb/js/RSZ001.js"/>
- <script type="javascript">
- <![CDATA[
- function fInitialize()
- {
- //조회 컴포넌트 초기화.
- model.resetInstanceNode("/root/send");
- model.resetInstanceNode("/root/main");
-
- // 그리드 초기화
- misfGridInit(grd_rfehemhtlist);
- misfGridInit(grd_rfemdamklist);
- misfGridInit(grd_rfehdabplist);
- misfGridInit(grd_rfchprvnlist);
-
-
- // 사용자 기관코드 설정.
- model.setValue(cmb_instcd.attribute("ref"), getUserInfo("dutplceinstcd"));
- //결재전송 인것만 조회하기위한 값 설정.
- model.setValue("/root/send/sancttrsmyn", "Y");
-
- //rszGridAddComboItem("grd_rfehemhtlist.sanctyn", "1", "00", "above");
-
- // 현재 날짜 기본 입력(6개월 간격 설정)
- var acptdate = getCurrentDate().toDate("YYYYMMDD");
- model.setValue(ipt_acptdd.attribute("ref"), acptdate.getAddDate(-6, "M").getDateFormat("YYYYMMDD") );
- model.setValue(ipt_acptdd2.attribute("ref"), getCurrentDate());
-
- //의공쪽에서 수리의뢰만 빼고 다보여달라고해서 REQDD 로 날짜 검색
- //var reqdate = getCurrentDate().toDate("YYYYMMDD");
- //model.setValue(ipt_reqdd1S.attribute("ref"), reqdate.getAddDate(-6, "M").getDateFormat("YYYYMMDD") );
- //model.setValue(ipt_reqdd2S.attribute("ref"), getCurrentDate());
- model.setValue(cmb_fixtrseqmtflag.attribute("ref"), "EQ");
- // 자산구분및 수리/예방여부 기본 설정.
- rdo_rfehrhfchflag.select(1);
-
- fAllControlDisabled(true);
- model.refresh();
- fdeptGrantYN();
- }
- //수리/예방점검 승인권한 여부 판별하여 Grid의 승인 컬럼을 설정.
- function fdeptGrantYN()
- {
- /* ---------------------------------------------------------------------------------------
- * [2007.12.12 HBH ] 청구주기 추가.
- * 수리,장비등 청구주기가 없는 것들은 '1'로셋팅
- ---------------------------------------------------------------------------------------*/
- rszfGetPurcReqAuthInfo(cmb_instcd.value, "S", getUserInfo("dutplcecd"), getUserInfo("userid"),"1");
- // for(var fRow = grd_rfehemhtlist.fixedRows; fRow < grd_rfehemhtlist.rows; fRow++)
- // {
- if( rszfGetPurcAuthInfoByCond("reqaprvflag") == "2" )
- {
- btn_save.disabled = false;
- }else{
- btn_save.disabled = true;
- }
- // }
- model.refresh();
- }
-
- function fAfterRetr()
- {
- /* 점검중이면 결재를 하지 못한다. */
- for(var fRow = grd_rfchprvnlist.fixedRows; fRow < grd_rfchprvnlist.rows ; fRow++ )
- {
- if(grd_rfchprvnlist.valueMatrix(fRow, grd_rfchprvnlist.colRef("prvnchkprcsstat")) == "1")
- {
- grd_rfchprvnlist.isReadOnly(fRow, grd_rfchprvnlist.fixedCols-1, fRow, grd_rfchprvnlist.cols-1) = true;
- }
-
- if(grd_rfchprvnlist.valueMatrix(fRow, grd_rfchprvnlist.colRef("sanctyn")) == "Y")
- {
- model.setValue(grd_rfchprvnlist.nodeset +"[" + fRow + "]/select" ,"Y");
-
- }
- }
-
- }
- /* grid에서 점검여부 click시 value setting */
- function fCheckSanctYn(prow,pval)
- {
- if(pval=="Y")
- {
- model.setValue(grd_rfchprvnlist.nodeset +"[" + prow + "]/sanctyn" ,"Y");
- model.setValue(grd_rfchprvnlist.nodeset +"[" + prow + "]/sanctdd" ,getCurrentDate());
- model.setValue(grd_rfchprvnlist.nodeset +"[" + prow + "]/prvnchkprcsstat" ,"3");
- model.refresh();
- }
- else
- {
- model.setValue(grd_rfchprvnlist.nodeset +"[" + prow + "]/sanctyn" ,"N");
- model.setValue(grd_rfchprvnlist.nodeset +"[" + prow + "]/sanctdd" ,"");
- model.setValue(grd_rfchprvnlist.nodeset +"[" + prow + "]/prvnchkprcsstat" ,"2");
- }
- }
-
- /*--------------------------------------------------------------------------------*/
- /* 화면 open시 disable ..행추가시 또는 조회후 값 존재시 enable */
- /*--------------------------------------------------------------------------------*/
- function fAllControlDisabled(pDisable)
- {
- rdo_vischk.disabled=pDisable;
- txt_viscmt.disabled=pDisable;
- rdo_pwrchk.disabled=pDisable;
- txt_pwrcmt.disabled=pDisable;
- rdo_syschk.disabled=pDisable;
- txt_syscmt.disabled=pDisable;
- rdo_clnchk.disabled=pDisable;
- txt_clncmt.disabled=pDisable;
- rdo_itslfchkyn.disabled=pDisable;
- cmb_prvnchkprcsstat.disabled=pDisable;
- ipt_todd.disabled=pDisable;
- ipt_chkpsnid.disabled=pDisable;
- ipt_chkpsnnm.disabled=pDisable;
- btn_chrgpsnid.disabled=pDisable;
- rdo_rpircvrtyn.disabled=pDisable;
- opt_reqdd.disabled=pDisable;
- opt_reqno.disabled=pDisable;
- ipt_bugtyy.disabled=pDisable;
- cmb_bugtcd.disabled=pDisable;
- ipt_stdysubjno.disabled=pDisable;
- ipt_stdysubjnm.disabled=pDisable;
- btn_stdysubjnm.disabled=pDisable;
- }
-
- function fpurctrsmynDisabled(pDisable)
- {
- for(var i = grd_rfehemhtlist.fixedRows; i < grd_rfehemhtlist.rows; i++) {
- if(grd_rfehemhtlist.valueMatrix(i, grd_rfehemhtlist.colRef("purctrsmyn")) == "Y")
- {
- grd_rfehemhtlist.cellAttribute("disabled", i, grd_rfehemhtlist.colRef("purctrsmyn")) = "true";
- grd_rfehemhtlist.cellAttribute("disabled", i, grd_rfehemhtlist.colRef("sanctyn")) = "true";
- }
- else
- {
- grd_rfehemhtlist.cellAttribute("disabled", i, grd_rfehemhtlist.colRef("purctrsmyn")) = "false";
- grd_rfehemhtlist.cellAttribute("disabled", i, grd_rfehemhtlist.colRef("sanctyn")) = "false";
- }
- }
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body guideline="2,360;2,356;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:207px; height:14px; ">예방점검 결재</caption>
- </group>
- <group id="group4" style="left:0px; top:13; width:1195px; height:27px; ">
- <button id="btn_print" class="btn6_letter2" visibility="hidden" style="left:0px; top:3; width:56px; height:22px; ">
- <caption>출력</caption>
- </button>
- <button id="btn_save" class="btn4_letter2" style="left:1067px; top:3px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- if(rdo_rfehrhfchflag.value == 1)
- {
- // if(grd_rfehemhtlist.valueMatrix(grd_rfehemhtlist.row, grd_rfehemhtlist.colRef("purctrsmyn")) = "Y")
- // {
- // messageBox("구매전송을 선택하셨습니다","Q002");
- // return false;
- // }
-
- if(getGridUpdateData(grd_rfehemhtlist) == "")
- {
- messageBox("변경된 데이터가", "I004");
- return;
- }
- misfSave("TXRFE00601");
- }
- else if(rdo_rfehrhfchflag.value == 2)
- {
- if(getGridUpdateData(grd_rfchprvnlist) == "")
- {
- messageBox("변경된 데이터가", "I004");
- return;
- }
-
-
-
- misfSave("TXRFE02001");
-
- }
-
- if (model.getValue(gvErrorMsgPath + "/type") != "error") btn_search.dispatch("DOMActivate");
-
- ]]>
- </script>
- </button>
- <button id="btn_init" class="btn4_letter3" style="left:1126px; top:3; width:68px; height:22px; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(getGridUpdateData(grd_rfehemhtlist) != "")
- {
- if(messageBox("변경된 데이터가 있습니다. \n초기화 작업을", "Q003") == 7)
- return;
- }
- fInitialize();
- ]]>
- </script>
- </button>
- <line id="line15" class="line_6" style="x1:0px; y1:25; x2:1194px; y2:25; "/>
- </group>
- <group id="grp_biz" scroll="auto" style="left:0px; top:40px; width:1195px; height:740; ">
- <group id="grp_sea" style="left:0px; top:5px; width:1194px; height:65px; vertical-align:top; ">
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:60px; background-color:#fffbf2; border-color:#ffd799; "/>
- <caption id="cap_instcd" class="search_name" style="left:15px; top:8px; width:86px; height:17px; ">기관코드:</caption>
- <button id="btn_search" class="btn1_letter2" style="left:1125px; top:20px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
-
- if(!isRequiredControls("cmb_instcd")) return;
- if(!isRequiredControls("cmb_fixtrseqmtflag")) return;
- if(!isRequiredControls("ipt_acptdd")) return;
- if(!isRequiredControls("ipt_acptdd2")) return;
-
- if(rdo_rfehrhfchflag.value == 1)
- {
- if(getGridUpdateData(grd_rfehemhtlist) != "")
- {
- if(messageBox("변경된 데이터가 있습니다. \n조회작업을", "Q003") == 7)
- return;
- }
- //그리드 초기화.
- misfGridInit(grd_rfemdamklist);
- misfGridInit(grd_rfehdabplist);
-
- // 컴포넌트 초기화.
- model.resetInstanceNode("/root/main/com_rfehemhtlist");
- model.resetInstanceNode("/root/send/grid/rfehemhtlist");
-
- //수리 테이블 조회
- submit("TRRFE00601");
-
- if(grd_rfehemhtlist.rows > 1)
- {
- // 기본 Select 설정.
- grd_rfehemhtlist.row = grd_rfehemhtlist.fixedRows;
- grd_rfehemhtlist.select(grd_rfehemhtlist.fixedRows, grd_rfehemhtlist.colRef("fixasetnm")) = true;
-
- // 회송 처리
- for (var i = 1; i <= grd_rfehemhtlist.rows; i++)
- {
- if (grd_rfehemhtlist.valueMatrix(i, grd_rfehemhtlist.colRef("purctrsmyn")) == "R")
- {
- grd_rfehemhtlist.valueMatrix(i, grd_rfehemhtlist.colRef("sanctyn")) = "N";
- }
-
- }
-
- grd_rfehemhtlist.dispatch("onrowchanged");
- }
-
- }else if(rdo_rfehrhfchflag.value == 2){
- //예방 테이블 조회
- //그리드 초기화.
- misfGridInit(grd_rfchprvnlist);
- model.resetInstanceNode("/root/main/control/rfchprvnlist");
-
- model.setValue("/root/send/todd1",model.getValue("/root/send/acptdd"));
- model.setValue("/root/send/todd2",model.getValue("/root/send/acptdd2"));
-
- // 자산마스터 조회
- submit("TRRFE02001");
-
- fAfterRetr();
-
- }
-
- fpurctrsmynDisabled();
-
- model.refresh();
- ]]>
- </script>
- </button>
- <select1 id="cmb_instcd" ref="/root/send/instcd" class="combo_s_essential" appearance="minimal" style="left:104px; top:8px; width:246px; height:19px; text-align:center; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <line id="line13" class="line_4" style="x1:1112px; y1:7px; x2:1112px; y2:55px; border-color:#ffe4bb; border-left-style:solid; "/>
- <caption id="cap_acptdd" class="search_name" style="left:721px; top:9px; width:119px; height:17px; ">점검완료 일자 :</caption>
- <select1 id="cmb_fixtrseqmtflag" ref="/root/send/fixtrseqmtflag" class="combo_s_essential" disabled="true" visibility="hidden" appearance="minimal" style="left:757px; top:0px; width:145px; height:19px; text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/fixtrseqmflag">
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- </select1>
- <caption id="cap_fixtrseqmtflag" class="search_name" visibility="hidden" style="left:665px; top:0px; width:86px; height:17px; ">자산구분 :</caption>
- <input id="ipt_acptdd2" ref="/root/send/acptdd2" class="input_s_essential" visibility="visible" inputtype="date" style="left:975px; top:10px; width:111px; height:19px; text-align:center; "/>
- <input id="ipt_acptdd" ref="/root/send/acptdd" class="input_s_essential" visibility="visible" inputtype="date" style="left:850px; top:10px; width:107px; height:19px; text-align:center; "/>
- <caption id="cap_chrgpsnid" class="search_name" style="left:15px; top:35px; width:83px; height:17px; ">담 당 자 :</caption>
- <button id="btn_chrgpsnid" class="icon_search" style="left:205px; top:35px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- misfOpenPopUpList("01", ipt_chrgpsnid, "", "chrgpsnid,chrgpsnnm");
- model.refresh();
- ]]>
- </script>
- </button>
- <input id="ipt_chrgpsnid" ref="/root/send/chrgpsnid" class="input_search" style="left:104px; top:35px; width:97px; height:19px; text-align:center; ">
- <script type="javascript" ev:event="xfroms-value-changed">
- <![CDATA[
- if(ipt_chrgpsnid.value.length == 0)
- {
- ipt_chrgpsnnm.value = "";
- }else{
- misfValidationCheck("01-1", "", "chrgpsnid,chrgpsnnm");
- }
- model.refresh();
- ]]>
- </script>
- </input>
- <input id="ipt_chrgpsnnm" ref="/root/send/chrgpsnnm" class="input_search" appearance="output" style="left:225px; top:35px; width:125px; height:19px; text-align:center; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(ipt_chrgpsnnm.value.length == 0)
- {
- ipt_chrgpsnid.value = "";
- }else {
- misfValidationCheck("01-2", "", "chrgpsnid,chrgpsnnm");
- }
- model.refresh();
- ]]>
- </script>
- </input>
- <caption id="cap_sanctyn" class="search_name" style="left:720px; top:35px; width:86px; height:17px; ">결재여부 :</caption>
- <select1 id="rdo_sanctyn" ref="/root/send/sanctyn" class="radio_search" appearance="full" cellspacing="10" cols="4" overflow="visible" style="left:812px; top:35px; width:240px; height:20px; text-align:center; vertical-align:middle; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/sanctyn">
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption1" style="left:961px; top:10px; width:15px; height:20px; ">~</caption>
- <input id="ipt_sancttrsmyn" ref="/root/send/sancttrsmyn" class="input_search" visibility="hidden" style="left:360px; top:10px; width:65px; height:19px; "/>
- <caption id="cap_rfehrhfchflag" class="search_name" visibility="hidden" style="left:935px; top:30px; width:124px; height:17px; ">수리/예방 여부 :</caption>
- <select1 id="rdo_rfehrhfchflag" ref="/root/send/rfehrhfchflag" class="radio_search" disabled="false" visibility="hidden" appearance="full" cellspacing="10" cols="2" overflow="visible" style="left:1065px; top:30px; width:105px; height:20px; text-align:center; vertical-align:middle; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/rfehrhfchflag">
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(rdo_rfehrhfchflag.value == 1)
- {
- model.toggle("RFEH");
- cap_chrgpsnid.text = "담 당 자 :";
- cmb_fixtrseqmtflag.disabled = false;
- }else if(rdo_rfehrhfchflag.value == 2){
- model.toggle("RFCH");
- cap_chrgpsnid.text = "점 검 자 :";
- cmb_fixtrseqmtflag.disabled = true;
- }
- ]]>
- </script>
- </select1>
- <output id="ipt_installplcenm" ref="/root/send/installplcenm" class="output_fix" navindex="-1" appearance="output" style="left:580px; top:36px; width:120px; height:19px; "/>
- <button id="btn_mngtdeptcd" class="icon_search" navindex="6" style="left:560px; top:6px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- misfOpenPopUpList("02", ipt_mngtdeptcd,"","mngtdeptcd,mngtdeptnm");
- model.refresh();
- ]]>
- </script>
- </button>
- <input id="ipt_installplcecd" ref="/root/send/installplcecd" class="input_default" navindex="5" style="left:470px; top:36px; width:84px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- misfSearchDept(ipt_installplcenm);
- ]]>
- </script>
- </input>
- <caption id="cap_mngtdeptcd" class="search_name" style="left:380px; top:6px; width:86px; height:17px; ">사용부서 :</caption>
- <button id="btn_installplcecd" class="icon_search" navindex="6" style="left:560px; top:36px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- misfOpenPopUpList("02", ipt_installplcecd,"","installplcecd,installplcenm");
- model.refresh();
- ]]>
- </script>
- </button>
- <output id="ipt_mngtdeptnm" ref="/root/send/mngtdeptnm" class="output_fix" navindex="-1" appearance="output" style="left:580px; top:6px; width:120px; height:19px; "/>
- <caption id="cap_installplcecd" class="search_name" style="left:380px; top:36px; width:86px; height:17px; ">설치장소 :</caption>
- <input id="ipt_mngtdeptcd" ref="/root/send/mngtdeptcd" class="input_default" navindex="5" style="left:470px; top:6px; width:84px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- misfSearchDept(ipt_mngtdeptnm);
- ]]>
- </script>
- </input>
- </group>
- <switch id="swt_choice" style="left:1px; top:70px; width:1190px; height:660px; ">
- <case id="RFCH" selected="true" style="left:0px; top:0px; width:1188px; height:658px; ">
- <output id="opt_mngtno" ref="/root/main/control/rfchprvnlist/mngtno" class="output_fix" style="left:872px; top:37px; width:312px; height:19px; "/>
- <output id="opt_installplcenm" ref="/root/main/control/rfchprvnlist/installplcenm" class="output_fix" style="left:872px; top:112px; width:312px; height:19px; "/>
- <output id="opt_reqdd" ref="/root/main/control/rfchprvnlist/reqdd" class="output_fix" format="yyyy-mm-dd" style="left:877px; top:598px; width:108px; height:19px; "/>
- <output id="opt_reqno" ref="/root/main/control/rfchprvnlist/reqno" class="output_fix" style="left:987px; top:598px; width:63px; height:19px; "/>
- <select1 id="rdo_vischk" ref="/root/main/control/rfchprvnlist/vischk" class="input_fix" appearance="full" cellspacing="50" cols="2" style="left:877px; top:161px; width:210px; height:20px; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/check">
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="rdo_itslfchkyn" ref="/root/main/control/rfchprvnlist/itslfchkyn" class="input_fix" appearance="full" cellspacing="50" cols="2" overflow="visible" style="left:877px; top:502px; width:210px; height:20px; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/itslfchkyn">
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="rdo_syschk" ref="/root/main/control/rfchprvnlist/syschk" class="input_fix" appearance="full" cellspacing="50" cols="2" overflow="visible" style="left:877px; top:332px; width:210px; height:20px; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/check">
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- </select1>
- <input id="ipt_chkpsnid" ref="/root/main/control/rfchprvnlist/chkpsnid" class="input_search" style="left:877px; top:550px; width:107px; height:19px; text-align:center; ">
- <script type="javascript" ev:event="xfroms-value-changed">
- <![CDATA[
- if(ipt_chkpsnid.value.length == 0)
- {
- chkpsnnm.value = "";
- }else{
- misfValidationCheck("01-1", "", "chkpsnid,chkpsnnm");
- }
- model.refresh();
- ]]>
- </script>
- </input>
- <select1 id="rdo_pwrchk" ref="/root/main/control/rfchprvnlist/pwrchk" class="input_fix" appearance="full" cellspacing="50" cols="2" overflow="visible" style="left:877px; top:247px; width:210px; height:20px; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/check">
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption10" class="cell_1" style="left:780px; top:86px; width:90px; height:23px; vertical-align:middle; ">제조회사</caption>
- <button id="button1" class="icon_search" style="left:990px; top:550px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- misfOpenPopUpList("01", ipt_chrgpsnid, "", "chrgpsnid,chrgpsnnm");
- model.refresh();
- ]]>
- </script>
- </button>
- <caption id="caption11" class="cell_1" style="left:780px; top:111px; width:90px; height:23px; vertical-align:middle; ">설치장소</caption>
- <caption id="caption3" class="tit_2" style="left:5px; top:10px; width:95px; height:13px; ">예방점검목록</caption>
- <caption id="caption12" class="tit_2" style="left:785px; top:141px; width:106px; height:13px; ">예방결과내역</caption>
- <caption id="caption8" class="tit_2" style="left:785px; top:10px; width:95px; height:13px; ">상세</caption>
- <caption id="caption9" class="cell_1" style="left:780px; top:501px; width:95px; height:23px; vertical-align:middle; ">점검구분</caption>
- <input id="ipt_todd" ref="/root/main/control/rfchprvnlist/todd" class="input_search" inputtype="date" style="left:987px; top:527px; width:133px; height:19px; text-align:center; ">
- <script type="javascript" ev:event="xfroms-value-changed">
- <![CDATA[
- if(ipt_chkpsnid.value.length == 0)
- {
- chkpsnnm.value = "";
- }else{
- misfValidationCheck("01-1", "", "chkpsnid,chkpsnnm");
- }
- model.refresh();
- ]]>
- </script>
- </input>
- <caption id="caption13" class="cell_1" style="left:780px; top:525px; width:95px; height:23px; vertical-align:middle; ">점검상태/일자</caption>
- <caption id="caption14" class="cell_1" style="left:780px; top:160px; width:95px; height:83px; vertical-align:middle; ">
- <![CDATA[ VISUAL
- CHECK]]>
- </caption>
- <line id="line6" class="line_1" style="x1:1px; y1:31px; x2:775px; y2:30px; "/>
- <line id="line7" class="line_1" style="x1:780px; y1:30px; x2:1185px; y2:31px; "/>
- <output id="opt_suplplcenm" ref="/root/main/control/rfchprvnlist/suplplcenm" class="output_fix" style="left:872px; top:62px; width:312px; height:19px; "/>
- <select1 id="rdo_rpircvrtyn" ref="/root/main/control/rfchprvnlist/rpircvrtyn" class="input_fix" appearance="full" cellspacing="50" cols="2" overflow="visible" style="left:877px; top:574px; width:210px; height:20px; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/rpircvrtyn">
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption15" class="cell_1" style="left:780px; top:246px; width:95px; height:83px; vertical-align:middle; ">
- <![CDATA[ FUNCTION
- CHECK]]>
- </caption>
- <caption id="caption16" class="cell_1" style="left:780px; top:573px; width:95px; height:23px; vertical-align:middle; ">수리전환</caption>
- <caption id="caption17" class="cell_1" style="left:780px; top:331px; width:95px; height:83px; vertical-align:middle; ">
- <![CDATA[ SYSTEM
- CHECK]]>
- </caption>
- <caption id="caption18" class="cell_1" style="left:780px; top:597px; width:95px; height:23px; vertical-align:middle; ">수리의뢰번호</caption>
- <caption id="caption19" class="cell_1" style="left:780px; top:36px; width:90px; height:23px; vertical-align:middle; ">SERIAL_NO</caption>
- <caption id="caption20" class="cell_1" style="left:780px; top:549px; width:95px; height:23px; vertical-align:middle; ">점검자</caption>
- <caption id="caption21" class="cell_1" style="left:780px; top:61px; width:90px; height:23px; vertical-align:middle; ">거래처</caption>
- <select1 id="cmb_prvnchkprcsstat" ref="/root/main/control/rfchprvnlist/prvnchkprcsstat" appearance="minimal" style="left:877px; top:527px; width:100px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/prvnchkprcsstat">
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
-
- if(cmb_prvnchkprcsstat.value=="2")
- {
- model.setValue(ipt_todd.attribute("ref"),getCurrentDate());
- model.setValue(ipt_chkpsnid.attribute("ref"),getUserInfo("userid"));
- model.setValue(ipt_chkpsnnm.attribute("ref"),getUserInfo("usernm"));
-
- model.setValue(rdo_rpircvrtyn.attribute("ref"),"N");
- }
- else if(cmb_prvnchkprcsstat.value=="1")
- {
- model.setValue(ipt_todd.attribute("ref"),"");
- model.setValue(ipt_chkpsnid.attribute("ref"),"");
- model.setValue(ipt_chkpsnnm.attribute("ref"),"");
-
- model.setValue(rdo_rpircvrtyn.attribute("ref"),"N");
- }
- model.refresh();
- ]]>
- </script>
- </select1>
- <output id="opt_prodcmpynm" ref="/root/main/control/rfchprvnlist/prodcmpynm" class="output_fix" style="left:872px; top:87px; width:312px; height:19px; "/>
- <textarea id="txt_viscmt" ref="/root/main/control/rfchprvnlist/viscmt" scroll="vertical" style="left:876px; top:182px; width:309px; height:60px; "/>
- <textarea id="txt_syscmt" ref="/root/main/control/rfchprvnlist/syscmt" scroll="vertical" style="left:876px; top:354px; width:309px; height:60px; "/>
- <textarea id="txt_pwrcmt" ref="/root/main/control/rfchprvnlist/pwrcmt" scroll="vertical" style="left:876px; top:268px; width:309px; height:60px; "/>
- <line id="line8" class="line_1" style="x1:780px; y1:156px; x2:1180px; y2:157px; "/>
- <input id="ipt_chkpsnnm" ref="/root/main/control/rfchprvnlist/chkpsnnm" class="input_search" appearance="output" style="left:1010px; top:550px; width:170px; height:19px; text-align:center; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(ipt_chkpsnnm.value.length == 0)
- {
- ipt_chkpsnnm.value = "";
- }else {
- misfValidationCheck("01-2", "", "chkpsnid,chkpsnnm");
- }
- model.refresh();
- ]]>
- </script>
- </input>
- <caption id="cap_bugtyy" class="cell_1" style="left:780px; top:621px; width:95px; height:23px; vertical-align:middle; ">예산년도</caption>
- <caption id="cap_bugtcd" class="cell_1" style="left:984px; top:621px; width:60px; height:23px; vertical-align:middle; ">예산계정</caption>
- <caption id="cap_stdysubjno" class="cell_1" visibility="hidden" style="left:780px; top:629px; width:95px; height:23px; vertical-align:middle; ">연구과제</caption>
- <input id="ipt_bugtyy" ref="/root/main/control/rfchprvnlist/bugtyy" class="input_default" disabled="true" inputtype="date" format="yyyy" style="left:877px; top:623px; width:103px; height:19px; "/>
- <input id="ipt_stdysubjnm" ref="/root/main/control/rfchprvnlist/stdysubjnm" class="input_search" disabled="true" visibility="hidden" style="left:994px; top:630px; width:191px; height:19px; text-align:center; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(ipt_stdysubjnm.value != "")
- {
- rszfValidationCheck("TRRSD00261", "studylist", "refcond,instcd,stdysubjnm", "stdysubjnm," + cmb_instcd.value + "," + ipt_stdysubjnm.value, "",
- "stdysubjno,stdysubjnm", ipt_stdysubjnm, "SPRSD00260", "instcd", "cmb_instcd");
- }else
- {
- ipt_stdysubjno.value = "";
- ipt_stdysubjnm.value = "";
- }
-
- model.refresh();
- ]]>
- </script>
- </input>
- <input id="ipt_stdysubjno" ref="/root/main/control/rfchprvnlist/stdysubjno" class="input_search" disabled="true" visibility="hidden" style="left:877px; top:630px; width:93px; 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," + 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>
- <select1 id="cmb_bugtcd" ref="/root/main/control/rfchprvnlist/bugtcd" disabled="true" appearance="minimal" style="left:1045px; top:623px; width:140px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <button id="btn_stdysubjnm" class="icon_search" disabled="true" visibility="hidden" style="left:974px; top:631px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- rszfOpenPopUpListByWndName(ipt_stdysubjno,"","stdysubjno,stdysubjnm","SPRSD00260","instcd","cmb_instcd");
- model.refresh();
- ]]>
- </script>
- </button>
- <caption id="caption22" class="cell_1" style="left:780px; top:416px; width:95px; height:83px; vertical-align:middle; ">
- <![CDATA[ CLEANING
- CHECK]]>
- </caption>
- <select1 id="rdo_clnchk" ref="/root/main/control/rfchprvnlist/clnchk" class="input_fix" appearance="full" cellspacing="50" cols="2" overflow="visible" style="left:877px; top:416px; width:210px; height:20px; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/check">
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- </select1>
- <textarea id="txt_clncmt" ref="/root/main/control/rfchprvnlist/clncmt" scroll="vertical" style="left:876px; top:438px; width:309px; height:60px; "/>
- <button id="btn_allchoi" class="btn2_letter5" style="left:700px; top:5px; width:75px; height:19px; ">
- <caption>전체 취소</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- for(var liRow = grd_rfchprvnlist.fixedRows; liRow < grd_rfchprvnlist.rows ; liRow++)
- {
- if (model.getValue(grd_rfchprvnlist.nodeset + "[" + (liRow - grd_rfchprvnlist.fixedRows + 1) + "]/prvnchkprcsstat") != "1"){
-
- if(grd_rfchprvnlist.valueMatrix(liRow,grd_rfchprvnlist.colRef("select")) == "Y")
- {
- model.setValue(grd_rfchprvnlist.nodeset + "[" + (liRow - grd_rfchprvnlist.fixedRows + 1) + "]/select" , "N");
- model.setValue(grd_rfchprvnlist.nodeset + "[" + (liRow - grd_rfchprvnlist.fixedRows + 1) + "]/sanctyn" , "N");
- model.setValue(grd_rfchprvnlist.nodeset + "[" + (liRow - grd_rfchprvnlist.fixedRows + 1) + "]/sanctdd" , "");
- model.setValue(grd_rfchprvnlist.nodeset + "[" + (liRow - grd_rfchprvnlist.fixedRows + 1) + "]/prvnchkprcsstat" , "2");
- }
- if (model.getValue(grd_rfchprvnlist.nodeset + "[" + (liRow - grd_rfchprvnlist.fixedRows + 1) + "]/prvnchkprcsstat") != model.getValue(grd_rfchprvnlist.nodeset + "[" + (liRow - grd_rfchprvnlist.fixedRows + 1) + "]/preprvnchkprcsstat")){
- grd_rfchprvnlist.rowStatus(liRow) = "2";
- }else{
- grd_rfchprvnlist.rowStatus(liRow) = "0";
- }
- }
- }
- model.refresh();
- ]]>
- </script>
- </button>
- <button id="button2" class="btn2_letter5" style="left:624px; top:5px; width:75px; height:19px; ">
- <caption>전체 선택</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- for(var liRow = grd_rfchprvnlist.fixedRows; liRow < grd_rfchprvnlist.rows ; liRow++)
- {
- if (model.getValue(grd_rfchprvnlist.nodeset + "[" + (liRow - grd_rfchprvnlist.fixedRows + 1) + "]/prvnchkprcsstat") != "1"){
-
- if(grd_rfchprvnlist.valueMatrix(liRow,grd_rfchprvnlist.colRef("select")) != "Y")
- {
- model.setValue(grd_rfchprvnlist.nodeset + "[" + (liRow - grd_rfchprvnlist.fixedRows + 1) + "]/select" , "Y");
- model.setValue(grd_rfchprvnlist.nodeset + "[" + (liRow - grd_rfchprvnlist.fixedRows + 1) + "]/sanctyn" , "Y");
- model.setValue(grd_rfchprvnlist.nodeset + "[" + (liRow - grd_rfchprvnlist.fixedRows + 1) + "]/sanctdd" , getCurrentDate());
- model.setValue(grd_rfchprvnlist.nodeset + "[" + (liRow - grd_rfchprvnlist.fixedRows + 1) + "]/prvnchkprcsstat" , "3");
- }
- if (model.getValue(grd_rfchprvnlist.nodeset + "[" + (liRow - grd_rfchprvnlist.fixedRows + 1) + "]/prvnchkprcsstat") != model.getValue(grd_rfchprvnlist.nodeset + "[" + (liRow - grd_rfchprvnlist.fixedRows + 1) + "]/preprvnchkprcsstat")){
- grd_rfchprvnlist.rowStatus(liRow) = "2";
- }else{
- grd_rfchprvnlist.rowStatus(liRow) = "0";
- }
- }
- }
- model.refresh();
- ]]>
- </script>
- </button>
- <button id="btn_grdsize" class="btn2_letter4" navindex="33" style="left:559px; top:5px; width:64px; height:19px; ">
- <caption>펼치기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if( btn_grdsize.attribute("text") == "펼치기"){
-
- btn_grdsize.attribute("text") = "줄이기";
- grd_rfchprvnlist.attribute("width") =1190 ;
- }
- else {
- btn_grdsize.attribute("text") ="펼치기";
- grd_rfchprvnlist.attribute("width") =778 ;
- }
- ]]>
- </script>
- </button>
- <datagrid id="grd_rfchprvnlist" nodeset="/root/main/rfchprvnlist" caption="선택^점검상태^계획일자^순번^자산코드^자산명칭^사용부서^설치장소^V.C^F.C^S.C^C.C^수리^규격^S/N^모델^담당자" colsep="^" colwidth="37, 75, 66, 47, 83, 303, 100, 100, 33, 33, 31, 31, 53, 132, 107, 96, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100" ellipsis="true" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:0px; top:35px; width:778px; height:613px; ">
- <col checkvalue="Y,N" ref="select" type="checkbox"/>
- <col checkvalue="Y,N" disabled="true" ref="prvnchkprcsstat" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/prvnchkprcsstat">
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- </col>
- <col ref="prvnchkdd" format="yyyymmdd"/>
- <col ref="acptno" style="text-align:center; "/>
- <col ref="fixasetcd"/>
- <col ref="goodflaghngnm"/>
- <col ref="mngtdeptnm" style="text-align:center; "/>
- <col ref="installplcenm" style="text-align:center; "/>
- <col disabled="true" ref="vischk" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/check2">
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="pwrchk" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/check2">
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="syschk" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/check2">
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="clnchk" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/check2">
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- </col>
- <col checkvalue="Y,N" disabled="true" ref="rpircvrtyn" type="checkbox"/>
- <col ref="goodspec"/>
- <col ref="mngtno"/>
- <col ref="goodmodel" visibility="hidden"/>
- <col ref="acptpsnnm"/>
- <col ref="medelectacptyn" visibility="hidden"/>
- <col ref="medelectacptpsnid" visibility="hidden"/>
- <col ref="usedeprtmangrcnfm" visibility="hidden"/>
- <col ref="rpircvrtyn" visibility="hidden"/>
- <col ref="reqdd" visibility="hidden"/>
- <col ref="reqno" visibility="hidden"/>
- <col ref="prvnchkprcsstat" visibility="hidden"/>
- <col ref="sanctyn" visibility="hidden"/>
- <col ref="sanctdd" visibility="hidden"/>
- <col ref="instcd" visibility="hidden"/>
- <col ref="viscmt" visibility="hidden"/>
- <col ref="pwrcmt" visibility="hidden"/>
- <col ref="syscmt" visibility="hidden"/>
- <col ref="itslfchkyn" visibility="hidden"/>
- <col ref="acsrsuseyn" visibility="hidden"/>
- <col ref="todd" visibility="hidden"/>
- <col ref="chkpsnid" visibility="hidden"/>
- <col ref="installplcenm" visibility="hidden"/>
- <col ref="suplplcenm" visibility="hidden"/>
- <col ref="prodcmpynm" visibility="hidden"/>
- <col ref="chkpsnnm" visibility="hidden"/>
- <col ref="acptpsnid" visibility="hidden"/>
- <col ref="prerpircvrtyn" visibility="hidden"/>
- <col ref="bugtyy" visibility="hidden"/>
- <col ref="bugtcd" visibility="hidden"/>
- <col ref="stdysubjno" visibility="hidden"/>
- <col ref="clncmt" visibility="hidden"/>
- <col ref="preprvnchkprcsstat" visibility="hidden"/>
- <script type="javascript" ev:event="onrowchanged">
- <![CDATA[
- if( grd_rfchprvnlist.rows >= grd_rfchprvnlist.fixedRows )
- {
- model.resetInstanceNode("/root/main/control/rfchprvnlist");
- model.copyNode("/root/main/control/rfchprvnlist" ,grd_rfchprvnlist.nodeset + "["+ (grd_rfchprvnlist.row-grd_rfchprvnlist.fixedrows+1) + "]");
- }
- model.refresh();
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- //if (grd_rfchprvnlist.col == grd_rfchprvnlist.colRef("prvnchkprcsstat") )
- if (grd_rfchprvnlist.col == grd_rfchprvnlist.colRef("select") )
- {
- fCheckSanctYn(grd_rfchprvnlist.row,grd_rfchprvnlist.valueMatrix(grd_rfchprvnlist.row, grd_rfchprvnlist.colRef("select")));
- if (grd_rfchprvnlist.valueMatrix(grd_rfchprvnlist.row, grd_rfchprvnlist.colRef("prvnchkprcsstat")) != grd_rfchprvnlist.valueMatrix(grd_rfchprvnlist.row, grd_rfchprvnlist.colRef("preprvnchkprcsstat"))){
- grd_rfchprvnlist.rowStatus(grd_rfchprvnlist.row) = "2";
- }else{
- grd_rfchprvnlist.rowStatus(grd_rfchprvnlist.row) = "0";
- }
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_rfchprvnlist.gridToInstance();
- ]]>
- </script>
- </datagrid>
- </case>
- <case id="RFEH" style="left:0px; top:0px; width:1193px; height:658px; ">
- <caption id="cap_estimateamt" class="cell_1" style="left:243px; top:259px; width:83px; height:23px; vertical-align:middle; ">외주견적금액</caption>
- <input id="ipt_estimateamt" ref="/root/main/com_rfehemhtlist/estimateamt" class="output_fix" disabled="true" format="#,###" style="left:325px; top:261px; width:159px; height:19px; text-align:right; "/>
- <datagrid id="grd_rfehemhtlist" nodeset="/root/main/rfehemhtlist" allowselection="false" caption="의뢰일자^의뢰일자^의뢰부서^자산구분^S/N^자산명^접수일자^완료일자^담당자^확정금액^접수구분^수리상태^수리구분^결재승인^구매전송^결재COMMENTS^청구구분^청구부서^1^1^1^1^1^1^1^1^1^1^1^1^1^1^1^1^1^1^1^1^1^1" colsep="^" colwidth="67, 31, 81, 60, 100, 172, 72, 66, 66, 80, 75, 81, 78, 62, 83, 156, 60, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100" ellipsis="true" explorerbar="sortshow" extendlastcol="scroll" frozencols="10" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" rows="2" rowsep="|" selectionmode="byrow" tooltip="true" style="left:0px; top:25px; width:1187px; height:208px; ">
- <col disabled="true" ref="reqdd" format="yyyy-mm-dd" _key="true"/>
- <col disabled="true" ref="reqno" _key="true"/>
- <col ref="depthngnm"/>
- <col disabled="true" ref="fixtrseqmtflag" type="combo" _key="true" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/fixtrseqmflag">
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="mngtno"/>
- <col disabled="true" ref="fixasetnm"/>
- <col disabled="true" ref="acptdd" format="yyyy-mm-dd"/>
- <col disabled="true" ref="rpirenddd" format="yyyy-mm-dd"/>
- <col disabled="true" ref="chrgpsnnm" style="text-align:center; "/>
- <col disabled="true" ref="rpiramt" visibility="hidden" format="#,###" style="text-align:right; "/>
- <col disabled="true" ref="workstat" type="combo" style="text-align:center; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="rpirflag1" type="combo" style="text-align:center; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="useyn" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/useyn">
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- </col>
- <col class="input_essential" ref="sanctyn" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/grdsanctyn">
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- </col>
- <col ref="purctrsmyn" type="combo">
- <choices>
- <itemset nodeset="/root/init/purctrsmyn">
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- </col>
- <col class="input_essential" ref="chrgpsncmt" type="input" style="text-align:left; "/>
- <col ref="sanctdd" visibility="hidden" format="yyyy-mm-dd"/>
- <col ref="reqdeptcd" visibility="hidden"/>
- <col ref="chrgpsnid" visibility="hidden"/>
- <col ref="genrdd" visibility="hidden"/>
- <col ref="estimateamt" visibility="hidden"/>
- <col ref="rpirflag2" visibility="hidden"/>
- <col ref="sanctid" visibility="hidden"/>
- <col ref="sanctnm" visibility="hidden"/>
- <col ref="reductionamt" visibility="hidden"/>
- <col disabled="true" ref="lastrpirstat" visibility="hidden"/>
- <col ref="nonworkdayno" visibility="hidden"/>
- <col ref="custcd" visibility="hidden"/>
- <col ref="custnm" visibility="hidden"/>
- <col ref="hdrncspec" visibility="hidden"/>
- <col ref="lastrpirrslt" visibility="hidden"/>
- <col ref="instcd" visibility="hidden" _key="true"/>
- <col ref="reqpsnid" visibility="hidden"/>
- <col ref="reqpsnnm" visibility="hidden"/>
- <col ref="genrtm" visibility="hidden"/>
- <col ref="acpttm" visibility="hidden"/>
- <col ref="acptpsnid" visibility="hidden"/>
- <col ref="acptpsnnm" visibility="hidden"/>
- <col ref="acptdeptcd" visibility="hidden"/>
- <col ref="acptdeptnm" visibility="hidden"/>
- <col ref="itemnm" visibility="hidden"/>
- <col ref="acptpsncnfm" visibility="hidden"/>
- <col ref="deptacptdd" visibility="hidden"/>
- <col ref="deptacptpsnid" visibility="hidden"/>
- <col ref="deptacptpsnnm" visibility="hidden"/>
- <col ref="cmt" visibility="hidden"/>
- <col ref="emaildeliveyn" visibility="hidden"/>
- <col ref="goodmodel" visibility="hidden"/>
- <col ref="installplcecd" visibility="hidden"/>
- <col ref="installplcenm" visibility="hidden"/>
- <col ref="sancttrsmyn" visibility="hidden"/>
- <col ref="chrgtel" visibility="hidden"/>
- <col ref="bugtyy" visibility="hidden"/>
- <col ref="bugtcd" visibility="hidden"/>
- <col ref="stdysubjno" visibility="hidden"/>
- <col ref="stdysubjnm" visibility="hidden"/>
- <col ref="deptaprvyn" visibility="hidden"/>
- <col ref="deptaprvpsnid" visibility="hidden"/>
- <col ref="deptaprvdd" visibility="hidden"/>
- <col ref="rfehdabptotal" visibility="hidden"/>
- <col ref="reqtel" visibility="hidden"/>
- <col ref="acptflag" visibility="hidden"/>
- <col ref="fixasetcd" visibility="hidden"/>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if( grd_rfehemhtlist.colRef("sanctyn") == grd_rfehemhtlist.col )
- {
-
- if( grd_rfehemhtlist.valueMatrix(grd_rfehemhtlist.row, grd_rfehemhtlist.colRef("sanctyn")) == "Y" )
- {
- grd_rfehemhtlist.valueMatrix(grd_rfehemhtlist.row, grd_rfehemhtlist.colRef("sanctdd")) = getCurrentDate();
- grd_rfehemhtlist.valueMatrix(grd_rfehemhtlist.row, grd_rfehemhtlist.colRef("purctrsmyn")) = "Y"; // 구매결제 기본SETTING
-
- }else if(grd_rfehemhtlist.valueMatrix(grd_rfehemhtlist.row, grd_rfehemhtlist.colRef("sanctyn")) == "N")
- {
- grd_rfehemhtlist.valueMatrix(grd_rfehemhtlist.row, grd_rfehemhtlist.colRef("sanctdd")) = "";
- grd_rfehemhtlist.valueMatrix(grd_rfehemhtlist.row, grd_rfehemhtlist.colRef("chrgpsncmt")) = "";
- grd_rfehemhtlist.valueMatrix(grd_rfehemhtlist.row, grd_rfehemhtlist.colRef("purctrsmyn")) = "N";
- }else if( grd_rfehemhtlist.valueMatrix(grd_rfehemhtlist.row, grd_rfehemhtlist.colRef("sanctyn")) == "R" )
- {
- grd_rfehemhtlist.valueMatrix(grd_rfehemhtlist.row, grd_rfehemhtlist.colRef("sancttrsmyn")) = "N";
- grd_rfehemhtlist.valueMatrix(grd_rfehemhtlist.row, grd_rfehemhtlist.colRef("sanctdd")) = "";
- grd_rfehemhtlist.valueMatrix(grd_rfehemhtlist.row, grd_rfehemhtlist.colRef("purctrsmyn")) = "N";
- }else if( grd_rfehemhtlist.valueMatrix(grd_rfehemhtlist.row, grd_rfehemhtlist.colRef("sanctyn")) == "A" )
- {
- grd_rfehemhtlist.valueMatrix(grd_rfehemhtlist.row, grd_rfehemhtlist.colRef("sancttrsmyn")) = "Y";
- grd_rfehemhtlist.valueMatrix(grd_rfehemhtlist.row, grd_rfehemhtlist.colRef("sanctdd")) = "";
- grd_rfehemhtlist.valueMatrix(grd_rfehemhtlist.row, grd_rfehemhtlist.colRef("purctrsmyn")) = "A";
-
- }else{
- grd_rfehemhtlist.valueMatrix(grd_rfehemhtlist.row, grd_rfehemhtlist.colRef("sancttrsmyn")) = "Y";
- grd_rfehemhtlist.valueMatrix(grd_rfehemhtlist.row, grd_rfehemhtlist.colRef("purctrsmyn")) = "N";
- }
- }
-
- model.refresh();
- ]]>
- </script>
- <script type="javascript" ev:event="onrowchanged">
- <![CDATA[
- grd_rfehemhtlist.dispatch("onmouseup");
-
- // 상세 내용을 컴포넌트에 설정.
- model.copyNode("/root/main/com_rfehemhtlist","/root/main/rfehemhtlist["+grd_rfehemhtlist.row+"]");
-
- // 수리일자별 목록 조회값 설정.
- model.copyNode("/root/send/grid/rfehemhtlist","/root/main/rfehemhtlist["+grd_rfehemhtlist.row+"]");
-
- submit("TRRFE00602");
-
- if(grd_rfemdamklist.rows > 1)
- {
- // 기본 Select 설정.
- grd_rfemdamklist.row = grd_rfemdamklist.fixedRows;
- grd_rfemdamklist.select(grd_rfemdamklist.fixedRows, grd_rfemdamklist.colRef("mainrpirpsnnm")) = true;
- grd_rfemdamklist.dispatch("onrowchanged");
- }
-
- model.refresh();
- ]]>
- </script>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_rfehemhtlist.gridToInstance();
- ]]>
- </script>
- </datagrid>
- <caption id="cap_rpiramt" class="cell_1" style="left:243px; top:284px; width:80px; height:23px; vertical-align:middle; ">확정 금액</caption>
- <caption id="cap_lastrpirrslt" class="cell_1" style="left:0px; top:413px; width:80px; height:239px; vertical-align:middle; ">최종수리결과</caption>
- <input id="ipt_rfehdabptotal" ref="/root/main/com_rfehemhtlist/rfehdabptotal" class="output_fix" disabled="true" format="#,###" style="left:82px; top:261px; width:159px; height:19px; text-align:right; "/>
- <line id="line22" class="line_3" style="x1:0px; y1:652px; x2:488px; y2:652px; "/>
- <textarea id="txt_hdrncspec" ref="/root/main/com_rfehemhtlist/hdrncspec" scroll="vertical" editable="false" style="left:82px; top:311px; width:403px; height:98px; "/>
- <caption id="cap_hdrncspec" class="cell_1" style="left:0px; top:309px; width:80px; height:102px; vertical-align:middle; ">의뢰내역</caption>
- <datagrid id="grd_rfehdabplist" nodeset="/root/main/rfehdabplist" caption="순번^수리일자^부품명^지급형태^유형^비용구분^규격^부품수량^단위^부품단가^금액" colsep="^" colwidth="43, 80, 190, 65, 65, 65, 150, 60, 70, 70, 100, 100, 100, 100, 100, 100, 100, 100" dataheight="25" ellipsis="true" extendlastcol="scroll" frozencols="4" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" style="left:492px; top:458px; width:695px; height:195px; ">
- <col class="input_essential" disabled="true" ref="rpirseq" format="#,###" maxlength="3" _key="true" style="text-align:right; "/>
- <col class="input_essential" ref="rpirdd" visibility="hidden" format="yyyy-mm-dd" _key="true"/>
- <col ref="acsrsnm" style="left:500px; top:23px; width:300px; height:23px; "/>
- <col disabled="true" ref="paytype" type="combo">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="kind" type="combo">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="costflag" type="combo">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </col>
- <col ref="acsrsspec" type="input"/>
- <col ref="acsrsqty" type="input" format="#,###" style="text-align:right; "/>
- <col disabled="true" ref="acsrsunit" type="combo">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </col>
- <col ref="acsrsamt" type="input" format="#,###" style="text-align:right; "/>
- <col ref="acsrsmoney" format="#,###" style="text-align:right; "/>
- <col ref="instcd" visibility="hidden" _key="true"/>
- <col ref="fixtrseqmtflag" visibility="hidden" _key="true"/>
- <col ref="reqdd" visibility="hidden" _key="true"/>
- <col ref="reqno" visibility="hidden" _key="true"/>
- <col ref="delivedd" visibility="hidden"/>
- <col ref="deliveno" visibility="hidden"/>
- <col ref="deliveseqno" visibility="hidden"/>
- <col ref="acsrscd" visibility="hidden"/>
- </datagrid>
- <datagrid id="grd_rfemdamklist" nodeset="/root/main/rfemdamklist" allowselection="false" caption="수리일자^주수리자^보조수리자^작업시간^1^1^수리내역^1" colsep="^" colwidth="90, 109, 109, 54, 100, 50, 249, 100, 100, 100, 100" dataheight="25" ellipsis="true" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rows="2" rowsep="|" selectionmode="byrow" style="left:492px; top:258px; width:695px; height:175px; ">
- <col ref="rpirdd" format="yyyy-mm-dd" _key="true" style="text-align:center; "/>
- <col ref="mainrpirpsnnm" style="text-align:center; "/>
- <col ref="supprpirpsnnm" style="text-align:center; "/>
- <col ref="rpirtm" visibility="visible" format="hh:nn" _key="true" style="text-align:right; "/>
- <col ref="mainrpirpsn" visibility="hidden"/>
- <col ref="supprpirpsn" visibility="hidden"/>
- <col ref="rpirspec"/>
- <col ref="instcd" visibility="hidden" _key="true"/>
- <col ref="fixtrseqmtflag" visibility="hidden" _key="true"/>
- <col ref="reqdd" visibility="hidden" _key="true"/>
- <col ref="reqno" visibility="hidden" _key="true"/>
- <script type="javascript" ev:event="onrowchanged">
- <![CDATA[
- grd_rfemdamklist.dispatch("onmouseup");
- model.copyNode("/root/send/grid/rfemdamklist","/root/main/rfemdamklist["+ grd_rfemdamklist.row +"]");
- submit("TRRFE00603");
- ]]>
- </script>
- </datagrid>
- <caption id="caption2" class="tit_2" style="left:2px; top:238px; width:110px; height:13px; ">수리상세내용</caption>
- <line id="line26" class="line_2" style="x1:0px; y1:282px; x2:488px; y2:282px; "/>
- <caption id="caption4" class="tit_2" style="left:2px; top:4px; width:110px; height:13px; ">수리접수목록</caption>
- <textarea id="txt_lastrpirrslt" ref="/root/main/com_rfehemhtlist/lastrpirrslt" scroll="vertical" editable="false" maxlength="600" style="left:82px; top:415px; width:403px; height:235px; "/>
- <caption id="caption5" class="tit_2" style="left:495px; top:238px; width:113px; height:13px; ">수리일자별 목록</caption>
- <line id="line17" class="line_1" style="x1:0px; y1:253px; x2:488px; y2:253px; "/>
- <line id="line1" class="line_1" style="x1:0px; y1:20px; x2:1187px; y2:20px; "/>
- <input id="ipt_reductionamt" ref="/root/main/com_rfehemhtlist/reductionamt" class="output_fix" disabled="true" format="#,###" style="left:82px; top:286px; width:159px; height:19px; text-align:right; "/>
- <line id="line2" class="line_1" style="x1:492px; y1:253px; x2:1188px; y2:253px; "/>
- <caption id="cap_rfehdabptotal" class="cell_1" style="left:0px; top:259px; width:80px; height:23px; vertical-align:middle; ">전 도 금</caption>
- <caption id="cap_reductionamt" class="cell_1" style="left:0px; top:284px; width:80px; height:23px; vertical-align:middle; ">절 감 액</caption>
- <caption id="caption7" class="tit_2" style="left:493px; top:438px; width:113px; height:13px; ">수리부품 목록</caption>
- <line id="line3" class="line_1" style="x1:492px; y1:453px; x2:1188px; y2:453px; "/>
- <line id="line4" class="line_2" style="x1:0px; y1:307px; x2:488px; y2:307px; "/>
- <input id="ipt_rpiramt" ref="/root/main/com_rfehemhtlist/rpiramt" class="output_fix" disabled="true" format="#,###" style="left:325px; top:286px; width:159px; height:19px; text-align:right; "/>
- <line id="line5" class="line_2" style="x1:0px; y1:411px; x2:488px; y2:411px; "/>
- </case>
- </switch>
- </group>
- </xhtml:body>
- </xhtml:html>
|