SMRFE00900_수리접수 및 결과등록(통합).xrw 74 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
  3. <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">
  4. <xhtml:head>
  5. <xhtml:title>수리접수 및 결과 등록</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <grid>
  11. <rfehemhtlist/>
  12. <erfehemhtlist/>
  13. <prttemp/>
  14. <prtrfehemht/>
  15. <lastprtrfehemht/>
  16. <totfehemht/>
  17. </grid>
  18. <component>
  19. <rfehemhtlist>
  20. <bugtcd/>
  21. </rfehemhtlist>
  22. </component>
  23. <printdata>
  24. <data/>
  25. </printdata>
  26. </main>
  27. <send>
  28. <instcd/>
  29. <fixtrseqmtflag/>
  30. <reqdd1/>
  31. <reqdd2/>
  32. <chrgpsnid/>
  33. <chrgpsnnm/>
  34. <reqdeptcd/>
  35. <reqdeptnm/>
  36. <deptaprvyn/>
  37. <condflag>Y</condflag>
  38. <chrgpsnid/>
  39. <chrgpsnnm/>
  40. <rpirflag2/>
  41. <workstatmulti/>
  42. <bizscrnid>SMRFE00900</bizscrnid>
  43. <workstat/>
  44. <chkyn/>
  45. <acptyn/>
  46. <execdeptcd/>
  47. <sendprint>
  48. <instcd/>
  49. <reqdd/>
  50. <reqno/>
  51. <fixtrseqmtflag/>
  52. </sendprint>
  53. <fixasetcd/>
  54. <rpirenddd1/>
  55. <rpirenddd2/>
  56. <rpirenmm/>
  57. <lastrpirenmm/>
  58. </send>
  59. <init>
  60. <radio1>
  61. <label>전체</label>
  62. <value/>
  63. <label>수리의뢰</label>
  64. <value>01</value>
  65. <label>수리접수</label>
  66. <value>02</value>
  67. <label>수리중</label>
  68. <value>03</value>
  69. <label>수리완료</label>
  70. <value>04</value>
  71. <label>인수완료</label>
  72. <value>05</value>
  73. <label>부품대기중</label>
  74. <value>06</value>
  75. <label>반송</label>
  76. <value>07</value>
  77. <label>수리불가</label>
  78. <value>08</value>
  79. </radio1>
  80. <rowtemp/>
  81. <useyn>
  82. <label>내부</label>
  83. <value>1</value>
  84. <label>외부</label>
  85. <value>2</value>
  86. </useyn>
  87. <acptflag>
  88. <label>수리</label>
  89. <value>1</value>
  90. <label>예방</label>
  91. <value>2</value>
  92. </acptflag>
  93. <sanctyn>
  94. <label>결재</label>
  95. <value>Y</value>
  96. <label>반송</label>
  97. <value>R</value>
  98. </sanctyn>
  99. <grdsanctyn>
  100. <label>결재중</label>
  101. <value>I</value>
  102. <label>결재</label>
  103. <value>Y</value>
  104. <label>반송</label>
  105. <value>R</value>
  106. </grdsanctyn>
  107. <comtemp/>
  108. <goodflag>
  109. <label>전체</label>
  110. <value/>
  111. <label>비품</label>
  112. <value>GE</value>
  113. <label>의료장비</label>
  114. <value>EQ</value>
  115. </goodflag>
  116. <docustat>
  117. <label>검토</label>
  118. <value>01</value>
  119. <label>완료</label>
  120. <value>02</value>
  121. <label>완결</label>
  122. <value>03</value>
  123. </docustat>
  124. </init>
  125. <temp>
  126. <rfehemhtlist/>
  127. <acptpsnid/>
  128. <chrgpsnid/>
  129. </temp>
  130. <song/>
  131. <print/>
  132. </root>
  133. </instance>
  134. <script type="javascript" ev:event="xforms-ready">
  135. <![CDATA[
  136. fInitialize();
  137. btn_search.dispatch("DOMActivate");
  138. ]]>
  139. </script>
  140. <submission id="TRRFE00502" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/grid/rfehemhtlist"/>
  141. <submission id="TXRFE00502" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/component/rfehemhtlist" resultref="/root/temp"/>
  142. <submission id="TRRFE00703" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/sendprint" resultref="/root/print/rpirprntinfo"/>
  143. <submission id="TRRFE00503" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/grid"/>
  144. </model>
  145. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  146. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  147. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  148. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  149. <script type="javascript" src="../../../mis/miscommonweb/js/RSZ001.js"/>
  150. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  151. <script type="javascript">
  152. <![CDATA[
  153. function fInitialize()
  154. {
  155. //초기화
  156. misfGridInit(grd_rfehemhtlist);
  157. model.resetInstanceNode("/root/main/component/rfehemhtlist");
  158. // misfComboComCdList("R0067", cmb_fixtrseqmtflag); // 자산구분
  159. rszfComboBugtList(cmb_bugtcd,getUserInfo("dutplceinstcd"));
  160. misfComboComCdListMulti("R0285,R0055,R0055,R0055,R0055"
  161. + ",R0285,R0285,R0286,R0285,R0286"
  162. + ",030M0012,C0048" ,
  163. "grd_rfehemhtlist.rpirflag2,chk_workstatmulti,grd_rfehemhtlist.workstat,grd_erfehemhtlist.workstat,cmb_workstat"
  164. + ",cmb_rpirflag2_search,cmb_rpirflag2,cmb_rpirflag1,grd_erfehemhtlist.rpirflag2,grd_erfehemhtlist.rpirflag1"
  165. + ",cmb_docustat,cmb_instcd" );
  166. addComboItem( "chk_workstatmulti", "전체", "A", "below" );
  167. addComboItem( "cmb_rpirflag2_search", "서류접수", "02", "above");
  168. addComboItem( "cmb_rpirflag2_search", "전체", "", "above");
  169. //addComboItem( "cmb_workstatS", "전체", "", "above");
  170. //addComboItem("cmb_workstat", "청구승인의뢰", "00", "above");
  171. //rszGridAddComboItem("grd_rfehemhtlist.workstat", "청구승인의뢰", "00", "above");
  172. //rszGridAddComboItem("grd_erfehemhtlist.workstat", "청구승인의뢰", "00", "above");
  173. // 사용자 권한에 따른 기관코드 Setting. [(6)수리관리, (B)이력등록]
  174. //rszfUserReqInstList(cmb_instcd,getUserInfo("userid"),"6","B");
  175. // 현재 날짜 기본 입력(6개월 간격 설정)
  176. var reqdate = getCurrentDate().toDate("YYYYMMDD");
  177. model.setValue(ipt_reqdd1S.attribute("ref"), reqdate.getAddDate(-6, "M").getDateFormat("YYYYMMDD") );
  178. model.setValue(ipt_reqdd2S.attribute("ref"), getCurrentDate());
  179. // 청구승인이 된것만 조회하기 위한 구분자 값.
  180. /*---------------------------------------------------------------------------------------------
  181. * [2007.11.28 HBH] 승인이 안되어도 이후 진행이 되게 해달라. 2007.11.28 8개병원 전체회의에서 결정
  182. * 하단 1줄 막음.
  183. ---------------------------------------------------------------------------------------------*/
  184. //model.setValue("/root/send/deptaprvyn", "Y");
  185. misfMsterDetailSet(grd_rfehemhtlist, null, "TRRFE00502", "Y");
  186. // 기본 사용자 설정값
  187. model.setValue("/root/send/instcd", getUserInfo("dutplceinstcd"));
  188. //model.setValue(ipt_chrgpsnidS.attribute("ref") , getUserInfo("userid"));
  189. //model.setValue(ipt_chrgpsnnmS.attribute("ref") , getUserInfo("usernm"));
  190. fdisabledTF(true);
  191. if(!checkAuth("X"))
  192. {
  193. btn_save.disabled = true;
  194. }
  195. grd_rfehemhtlist.fixedcellcheckbox(0,grd_rfehemhtlist.colRef("chk"),false) = true;
  196. cmb_exedeptcd.value = getUserInfo("dutplcecd");
  197. model.refresh();
  198. model.setFocus("ipt_fixasetcd_search");
  199. }
  200. function fRdoChangedInit()
  201. {
  202. //초기화
  203. misfGridInit(grd_rfehemhtlist);
  204. model.resetInstanceNode("/root/main/component/rfehemhtlist");
  205. model.refresh();
  206. }
  207. //R0055 01 수리의뢰 -> 수리요구
  208. //R0055 02 수리접수 -> 수리검토
  209. //R0055 03 수리중 -> 수리진행
  210. //R0055 04 수리완료 -> 수리완료
  211. //R0055 05 인수완료 -> 최종완료
  212. //R0055 06 부품대기중 -> 삭제
  213. //R0055 07 반송 -> 삭제
  214. //R0055 08 수리불가 -> 삭제
  215. function fdisabledTF( fbool)
  216. {
  217. //ipt_deptacptpsnnm.disabled = true; //인수자
  218. //ipt_deptacptdd.disabled = true; //완료인수일
  219. //ipt_reqtel.disabled = true; //의뢰자 연락처
  220. //ipt_acptdd.disabled = fbool; //납품일자
  221. cmb_rpirflag1.disabled = true; //고장유형
  222. //cmb_rpirflag2.disabled = true; //수리형태
  223. //rdo_useyn.disabled = fbool; //수리구분
  224. //ipt_acptpsnid.disabled = fbool; //접수자ID
  225. //btn_acptpsnid.disabled = fbool; //접수자 입력BT
  226. //ipt_acptpsnnm.disabled = fbool; //접수자명
  227. //txt_cmt.disabled = fbool; //비고
  228. //txt_hdrncspec.disabled = true; //의뢰내역
  229. //txt_rpirspec.disabled = true; //수리내역
  230. //ipt_genrdd.disabled = true; //발생일자
  231. //ipt_chrgpsnid.disabled = fbool; //검토자ID
  232. //ipt_chrgtel.disabled = fbool; //검토자 연락처
  233. //btn_chrgpsnid.disabled = fbool; //검토자 검색버튼
  234. //ipt_chrgpsnnm.disabled = fbool; //검토자명
  235. }
  236. function fGridRowChangedEvent()
  237. {
  238. model.copyNode("/root/main/component/rfehemhtlist", "/root/main/grid/rfehemhtlist["+ grd_rfehemhtlist.row +"]");
  239. /* if(model.getValue(cmb_workstat.attribute("ref")) !="04")
  240. {
  241. if (model.getValue(ipt_acptdd.attribute("ref" )) =="") model.setValue(ipt_acptdd.attribute("ref" ), getCurrentDate() );
  242. if (model.getValue(ipt_acptpsnid.attribute("ref" )) =="") model.setValue(ipt_acptpsnid.attribute("ref"), getUserInfo("userid"));
  243. if (model.getValue(ipt_acptpsnnm.attribute("ref" )) =="") model.setValue(ipt_acptpsnnm.attribute("ref"), getUserInfo("usernm"));
  244. //if (model.getValue(ipt_chrgpsnid.attribute("ref")) =="") model.setValue(ipt_chrgpsnid.attribute("ref"), getUserInfo("userid"));
  245. //if (model.getValue(ipt_chrgpsnnm.attribute("ref")) =="") model.setValue(ipt_chrgpsnnm.attribute("ref"), getUserInfo("usernm"));
  246. }*/
  247. // fdisabledTF(false);
  248. // 서류상태, 수리상태 재설정
  249. // fResetState();
  250. // 상태에따른 활성비활성 설정
  251. fResetDisabled();
  252. model.refresh();
  253. }
  254. function fUpdateData()
  255. {
  256. var detailNode = "/root/main/component/rfehemhtlist";
  257. var mainGrid = grd_rfehemhtlist;
  258. var gridRow = mainGrid.row;
  259. if ( ! (model.getValue(detailNode + "/acptdd" ) == mainGrid.valueMatrix(gridRow, mainGrid.colRef("acptdd" )))) return "Y" ;
  260. if ( ! (model.getValue(detailNode + "/acptpsnid" ) == mainGrid.valueMatrix(gridRow, mainGrid.colRef("acptpsnid" )))) return "Y" ;
  261. if ( ! (model.getValue(detailNode + "/bugtcd" ) == mainGrid.valueMatrix(gridRow, mainGrid.colRef("bugtcd" )))) return "Y" ;
  262. if ( ! (model.getValue(detailNode + "/bugtyy" ) == mainGrid.valueMatrix(gridRow, mainGrid.colRef("bugtyy" )))) return "Y" ;
  263. if ( ! (model.getValue(detailNode + "/chrgpsnid" ) == mainGrid.valueMatrix(gridRow, mainGrid.colRef("chrgpsnid" )))) return "Y" ;
  264. if ( ! (model.getValue(detailNode + "/chrgtel" ) == mainGrid.valueMatrix(gridRow, mainGrid.colRef("chrgtel" )))) return "Y" ;
  265. if ( ! (model.getValue(detailNode + "/cmt" ) == mainGrid.valueMatrix(gridRow, mainGrid.colRef("cmt" )))) return "Y" ;
  266. if ( ! (model.getValue(detailNode + "/deptacptdd" ) == mainGrid.valueMatrix(gridRow, mainGrid.colRef("deptacptdd" )))) return "Y" ;
  267. if ( ! (model.getValue(detailNode + "/genrdd" ) == mainGrid.valueMatrix(gridRow, mainGrid.colRef("genrdd" )))) return "Y" ;
  268. if ( ! (model.getValue(detailNode + "/hdrncspec" ) == mainGrid.valueMatrix(gridRow, mainGrid.colRef("hdrncspec" )))) return "Y" ;
  269. if ( ! (model.getValue(detailNode + "/lastrpirrslt" ) == mainGrid.valueMatrix(gridRow, mainGrid.colRef("lastrpirrslt" )))) return "Y" ;
  270. if ( ! (model.getValue(detailNode + "/reqtel" ) == mainGrid.valueMatrix(gridRow, mainGrid.colRef("reqtel" )))) return "Y" ;
  271. if ( ! (model.getValue(detailNode + "/rpirflag1" ) == mainGrid.valueMatrix(gridRow, mainGrid.colRef("rpirflag1" )))) return "Y" ;
  272. if ( ! (model.getValue(detailNode + "/rpirflag2" ) == mainGrid.valueMatrix(gridRow, mainGrid.colRef("rpirflag2" )))) return "Y" ;
  273. if ( ! (model.getValue(detailNode + "/stdysubjno" ) == mainGrid.valueMatrix(gridRow, mainGrid.colRef("stdysubjno" )))) return "Y" ;
  274. if ( ! (model.getValue(detailNode + "/mngersanctid" ) == mainGrid.valueMatrix(gridRow, mainGrid.colRef("mngersanctid")))) return "Y" ;
  275. if ( ! (model.getValue(detailNode + "/docustat" ) == mainGrid.valueMatrix(gridRow, mainGrid.colRef("docustat" )))) return "Y" ;
  276. if ( ! (model.getValue(detailNode + "/workstat" ) == mainGrid.valueMatrix(gridRow, mainGrid.colRef("workstat" )))) return "Y" ;
  277. if ( ! (model.getValue(detailNode + "/deprtmangrsanctid") == mainGrid.valueMatrix(gridRow, mainGrid.colRef("deprtmangrsanctid")))) return "Y" ;
  278. return "N";
  279. }
  280. // 수리상태, 서류상태 재설정
  281. function fResetState()
  282. {
  283. var workstat = "01";
  284. var docustat = "";
  285. var chrgpsnid = ipt_chrgpsnid.value;
  286. if(chrgpsnid.length != 0){ // 검토자가 있을 경우
  287. workstat = "02";
  288. docustat = "01";
  289. }else{
  290. workstat = "01";
  291. docustat = "01";
  292. }
  293. if(cmb_rpirflag2.value.length != 0){ // 수리형태(조치사항) 이 있을 경우
  294. workstat = "03";
  295. }
  296. if(model.getValue("/root/main/component/rfehemhtlist/rpirendyn") == "Y"){ // 수리완료가 체크되어 있을 경우
  297. workstat = "04";
  298. }
  299. switch(cmb_rpirflag2.value){
  300. case "1": // 무비용
  301. case "2": // 전도금
  302. case "5": // 폐기
  303. case "7": // 검토의견
  304. if(fSanctState()){
  305. docustat = "03";
  306. if(workstat == "04") workstat = "05";
  307. }
  308. break;
  309. case "6": // 용역
  310. if(fSanctState()){
  311. docustat = "03";
  312. if(workstat == "04")workstat = "05";
  313. }
  314. break;
  315. case "3": // 부품
  316. case "4": // 외주
  317. if(fSanctState()){
  318. if(workstat == "04" && model.getValue("/root/main/component/rfehemhtlist/chkpsn").length != 0){
  319. workstat = "05";
  320. docustat = "03";
  321. }else{
  322. docustat = "02";
  323. }
  324. }
  325. break;
  326. default:
  327. }
  328. cmb_workstat.value = workstat;
  329. cmb_docustat.value = docustat;
  330. cmb_workstat.refresh();
  331. cmb_docustat.refresh();
  332. fResetDisabled();
  333. }
  334. // 활성 비활성 처리
  335. function fResetDisabled()
  336. {
  337. var workstat = cmb_workstat.value;
  338. var docustat = cmb_docustat.value;
  339. if(workstat == "01" || workstat == "02" || workstat == "03"){
  340. fDisabledControl(false,"chr");
  341. }else{
  342. fDisabledControl(true,"chr");
  343. }
  344. if(cmb_rpirflag2.value.length != 0){ // 수리형태(조치사항) 이 있을 경우
  345. fDisabledControl(false,"sanct");
  346. }else{
  347. fDisabledControl(true,"sanct");
  348. }
  349. }
  350. // 결재 상태
  351. function fSanctState()
  352. {
  353. if(cmb_rpirflag2.value == "1" && ipt_deprtmangrsanctid.value.length != 0) return true; // 무비용일 경우 실장만 결재
  354. else if(cmb_rpirflag2.value == "6" && ipt_deprtmangrsanctid.value.length != 0) return true; // 용역일 경우 실장만 결재
  355. else if(ipt_deprtmangrsanctid.value.length != 0 && ipt_mngersanctid.value.length != 0) return true; // 다른상태일경우 실장&과장 결재
  356. return false;
  357. }
  358. function fDisabledControl(state,control)
  359. {
  360. switch(control){
  361. case "sanct":
  362. if (getUserInfo("userid") == "93518" || getUserInfo("userid") == "MIS" || getUserInfo("userid") == "93717"|| getUserInfo("userid") == "KNUH99207" ){ // 과장
  363. btn_mngersanctid.disabled = state;
  364. ipt_mngersanctid.disabled = state;
  365. ipt_mngersanctnm.disabled = state;
  366. btn_deprtmangrsanctid.disabled = true;
  367. ipt_deprtmangrsanctid.disabled = true;
  368. ipt_deprtmangrsanctnm.disabled = true;
  369. }else if (getUserInfo("userid") == "93361"){ // 실장
  370. btn_mngersanctid.disabled = true;
  371. ipt_mngersanctid.disabled = true;
  372. ipt_mngersanctnm.disabled = true;
  373. btn_deprtmangrsanctid.disabled = state;
  374. ipt_deprtmangrsanctid.disabled = state;
  375. ipt_deprtmangrsanctnm.disabled = state;
  376. }else{ // 그외...
  377. btn_mngersanctid.disabled = true;
  378. ipt_mngersanctid.disabled = true;
  379. ipt_mngersanctnm.disabled = true;
  380. btn_deprtmangrsanctid.disabled = true;
  381. ipt_deprtmangrsanctid.disabled = true;
  382. ipt_deprtmangrsanctnm.disabled = true;
  383. }
  384. break;
  385. case "chr":
  386. ipt_chrgpsnid.disabled = state;
  387. btn_chrgpsnid.disabled = state;
  388. ipt_chrgpsnnm.disabled = state;
  389. ipt_chrgtel.disabled = state;
  390. break;
  391. }
  392. }
  393. //전자결재 호출
  394. function fElctSanct()
  395. {
  396. if(fUpdateData() != "N") {
  397. alert("변경 된 내역이 있습니다.");
  398. return;
  399. }
  400. if(model.getValue("/root/main/component/rfehemhtlist/chrgpsnid") == "") {
  401. alert("미접수 상태입니다.");
  402. return;
  403. }
  404. var pInstcd = model.getValue("/root/main/component/rfehemhtlist/instcd");
  405. var pFixtrseqmtflag = model.getValue("/root/main/component/rfehemhtlist/fixtrseqmtflag");
  406. var pReqdd = model.getValue("/root/main/component/rfehemhtlist/reqdd");
  407. var pReqno = model.getValue("/root/main/component/rfehemhtlist/reqno");
  408. var pmaprefcol = "knuhdomain,formType,instId";
  409. var pmaprefvalue = "KnuhMisAssetsRepare,01," + pInstcd + "-" + pFixtrseqmtflag + "-" + pReqdd + "-" + pReqno;
  410. misfMakeElctSanct("assetsRepare", pmaprefcol, pmaprefvalue);
  411. }
  412. ]]>
  413. </script>
  414. </xhtml:head>
  415. <xhtml:body guideline="2,785;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  416. <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
  417. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:186px; height:14px; ">수리접수 및 결과 등록</caption>
  418. </group>
  419. <group id="grp_biz" scroll="auto" style="left:0px; top:38px; width:1195px; height:744px; ">
  420. <textarea id="txt_rpirspec" ref="/root/main/component/rfehemhtlist/rpirspec" visibility="hidden" style="left:731px; top:599px; width:461px; height:129px; "/>
  421. <caption id="caption9" class="cell_1" visibility="hidden" style="left:639px; top:270px; width:90px; height:23px; vertical-align:middle; ">예산년도/계정</caption>
  422. <select1 id="cmb_bugtcd" ref="/root/main/component/rfehemhtlist/bugtcd" disabled="true" visibility="hidden" appearance="minimal" style="left:781px; top:271px; width:73px; height:19px; ">
  423. <choices>
  424. <itemset>
  425. <label/>
  426. <value/>
  427. </itemset>
  428. </choices>
  429. </select1>
  430. <input id="ipt_stdysubjno" ref="/root/main/component/rfehemhtlist/stdysubjno" class="input_dafault" disabled="true" visibility="hidden" style="left:947px; top:271px; width:106px; height:19px; ">
  431. <script type="javascript" ev:event="xforms-value-changed">
  432. <![CDATA[
  433. if(ipt_stdysubjno.value != "")
  434. {
  435. rszfValidationCheck("TRRSD00261", "studylist", "refcond,instcd,stdysubjno", "stdysubjno," + cmb_instcd.value + "," + ipt_stdysubjno.value, "",
  436. "stdysubjno,stdysubjnm", ipt_stdysubjno, "SPRSD00260", "instcd", "cmb_instcd");
  437. }else
  438. {
  439. ipt_stdysubjno.value = "";
  440. ipt_stdysubjnm.value = "";
  441. }
  442. model.refresh();
  443. ]]>
  444. </script>
  445. </input>
  446. <input id="ipt_stdysubjnm" ref="/root/main/component/rfehemhtlist/stdysubjnm" class="input_dafault" disabled="true" visibility="hidden" style="left:1055px; top:271px; width:137px; height:19px; ">
  447. <script type="javascript" ev:event="xforms-value-changed">
  448. <![CDATA[
  449. if(ipt_stdysubjnm.value != "")
  450. {
  451. rszfValidationCheck("TRRSD00261", "studylist", "refcond,instcd,stdysubjnm", "stdysubjnm," + cmb_instcd.value + "," + ipt_stdysubjnm.value, "",
  452. "stdysubjno,stdysubjnm", ipt_stdysubjnm, "SPRSD00260", "instcd", "cmb_instcd");
  453. }else
  454. {
  455. ipt_stdysubjno.value = "";
  456. ipt_stdysubjnm.value = "";
  457. }
  458. model.refresh();
  459. ]]>
  460. </script>
  461. </input>
  462. <caption id="caption13" class="cell_1" visibility="hidden" style="left:855px; top:270px; width:65px; height:23px; vertical-align:middle; ">연구과제</caption>
  463. <input id="ipt_bugtyy" ref="/root/main/component/rfehemhtlist/bugtyy" class="input_default" disabled="true" visibility="hidden" style="left:731px; top:271px; width:49px; height:19px; "/>
  464. <line id="line4" class="line_2" style="x1:639px; y1:340px; x2:1194px; y2:340px; "/>
  465. <line id="line28" class="line_2" style="x1:639px; y1:220px; x2:1194px; y2:220px; "/>
  466. <line id="line1" class="line_1" style="x1:639px; y1:121px; x2:1194px; y2:121px; "/>
  467. <line id="line15" class="line_2" style="x1:640px; y1:364px; x2:1195px; y2:364px; "/>
  468. <line id="line37" class="line_2" style="x1:639px; y1:268px; x2:1194px; y2:268px; "/>
  469. <line id="line14" class="line_2" style="x1:639px; y1:615px; x2:1194px; y2:615px; "/>
  470. <line id="line35" class="line_2" style="x1:639px; y1:244px; x2:1194px; y2:244px; "/>
  471. <line id="line10" class="line_2" style="x1:639px; y1:148px; x2:1194px; y2:148px; "/>
  472. <line id="line9" class="line_2" style="x1:639px; y1:196px; x2:1194px; y2:196px; "/>
  473. <line id="line40" class="line_2" style="x1:639px; y1:316px; x2:1194px; y2:316px; "/>
  474. <line id="line8" class="line_2" style="x1:639px; y1:172px; x2:1194px; y2:172px; "/>
  475. <group id="grp_sea" style="left:0px; top:10px; width:1195px; height:87px; vertical-align:top; ">
  476. <shape id="roundrect1" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1195px; height:87px; "/>
  477. <caption id="caption2" class="search_name" style="left:15px; top:35px; width:86px; height:17px; ">자산구분 :</caption>
  478. <button id="btn_search" class="btn1_letter2" navindex="17" style="left:1124px; top:30px; width:56px; height:22px; ">
  479. <caption>조회</caption>
  480. <script type="javascript" ev:event="DOMActivate">
  481. <![CDATA[
  482. if(!isRequiredControls("cmb_instcd"))return;
  483. if(!isRequiredControls("ipt_reqdd1S"))return;
  484. if(!isRequiredControls("ipt_reqdd2S"))return;
  485. fRdoChangedInit();
  486. misfMsterDetailRetrieve();
  487. misfSetReadOnlyCol(grd_rfehemhtlist, "acptflag,reqdd,reqno,depthngnm,fixasetnm,workstat", true);
  488. model.refresh();
  489. ]]>
  490. </script>
  491. </button>
  492. <line id="line13" class="line_4" style="x1:1109px; y1:9px; x2:1109px; y2:77px; border-color:#ffe4bb; border-left-style:solid; "/>
  493. <button id="btn_reqdeptcd" class="icon_search" navindex="7" style="left:441px; top:60px; width:16px; height:16px; ">
  494. <caption/>
  495. <script type="javascript" ev:event="DOMActivate">
  496. <![CDATA[
  497. misfOpenPopUpList("02", ipt_reqdeptcdS, "", "reqdeptcd,reqdeptnm");
  498. ipt_reqdeptcdS.refresh();
  499. ipt_reqdeptnmS.refresh();
  500. ]]>
  501. </script>
  502. </button>
  503. <input id="ipt_reqdeptcdS" ref="/root/send/reqdeptcd" class="input_default" navindex="6" style="left:360px; top:58px; width:78px; height:19px; ">
  504. <script type="javascript" ev:event="xforms-value-changed">
  505. <![CDATA[
  506. misfSearchDept(ipt_reqdeptnmS);
  507. ]]>
  508. </script>
  509. </input>
  510. <input id="ipt_reqdeptnmS" ref="/root/send/reqdeptnm" class="output_fix" navindex="-1" editable="false" style="left:460px; top:58px; width:160px; height:19px; "/>
  511. <caption id="caption3" class="search_name" style="left:268px; top:59px; width:87px; height:17px; ">의뢰부서 :</caption>
  512. <caption id="cap_reqdd1S" class="search_name" style="left:268px; top:8px; width:86px; height:17px; ">의뢰일자 :</caption>
  513. <input id="ipt_reqdd1S" ref="/root/send/reqdd1" class="input_s_essential" navindex="4" inputtype="date" style="left:360px; top:7px; width:95px; height:19px; "/>
  514. <input id="ipt_reqdd2S" ref="/root/send/reqdd2" class="input_s_essential" navindex="5" inputtype="date" style="left:475px; top:7px; width:95px; height:19px; "/>
  515. <button id="btn_chrgpsnidS" class="icon_search" navindex="10" style="left:823px; top:61px; width:16px; height:16px; ">
  516. <script type="javascript" ev:event="DOMActivate">
  517. <![CDATA[
  518. misfOpenPopUpList("12", ipt_chrgpsnidS, "", "chrgpsnid,chrgpsnnm");
  519. ipt_chrgpsnidS.refresh();
  520. ipt_chrgpsnnmS.refresh();
  521. ]]>
  522. </script>
  523. <caption/>
  524. </button>
  525. <caption id="caption20" class="search_name" style="left:650px; top:60px; width:87px; height:17px; ">검 토 자 :</caption>
  526. <input id="ipt_chrgpsnidS" ref="/root/send/chrgpsnid" class="input_default" navindex="9" style="left:742px; top:59px; width:78px; height:19px; ">
  527. <script type="javascript" ev:event="xforms-value-changed">
  528. <![CDATA[
  529. if(ipt_chrgpsnidS.value.length == 0)
  530. ipt_chrgpsnnmS.value = "";
  531. else
  532. misfValidationCheck("01-1", "", "chrgpsnid,chrgpsnnm");
  533. ipt_chrgpsnidS.refresh();
  534. ipt_chrgpsnnmS.refresh();
  535. ]]>
  536. </script>
  537. </input>
  538. <input id="ipt_chrgpsnnmS" ref="/root/send/chrgpsnnm" class="output_fix" navindex="-1" editable="false" style="left:842px; top:60px; width:118px; height:19px; "/>
  539. <select1 id="cmb_fixtrseqmtflag" ref="/root/send/fixtrseqmtflag" class="combo_s_essential" navindex="2" appearance="minimal" style="left:105px; top:34px; width:140px; height:19px; ">
  540. <choices>
  541. <itemset nodeset="/root/init/goodflag">
  542. <label ref="label"/>
  543. <value ref="value"/>
  544. </itemset>
  545. </choices>
  546. <script type="javascript" ev:event="xforms-value-changed">
  547. <![CDATA[
  548. btn_search.dispatch("DOMActivate");
  549. ]]>
  550. </script>
  551. </select1>
  552. <select1 id="cmb_instcd" ref="/root/send/instcd" class="combo_s_essential" navindex="1" appearance="minimal" style="left:105px; top:8px; width:140px; height:19px; ">
  553. <choices>
  554. <itemset>
  555. <label/>
  556. <value/>
  557. </itemset>
  558. </choices>
  559. <script type="javascript" ev:event="xforms-value-changed">
  560. <![CDATA[
  561. btn_search.dispatch("DOMActivate");
  562. ]]>
  563. </script>
  564. </select1>
  565. <caption id="caption11" class="search_name" style="left:15px; top:9; width:86px; height:17px; ">기관코드 :</caption>
  566. <caption id="caption12" style="left:460px; top:9px; width:20px; height:20px; font-weight:bold; ">~</caption>
  567. <caption id="caption30" class="search_name" style="left:650px; top:10px; width:89px; height:17px; ">수리형태 :</caption>
  568. <select1 id="cmb_rpirflag2_search" ref="/root/send/rpirflag2" navindex="14" appearance="minimal" style="left:740px; top:10px; width:98px; height:19px; ">
  569. <choices>
  570. <itemset>
  571. <label/>
  572. <value/>
  573. </itemset>
  574. </choices>
  575. </select1>
  576. <caption id="caption34" class="search_name" style="left:810px; top:35px; width:91px; height:17px; ">검수여부 :</caption>
  577. <caption id="caption35" class="search_name" style="left:650px; top:35px; width:91px; height:17px; ">결재여부 :</caption>
  578. <bool id="chk_chkyn" navindex="13" checkvalue="Y,N" ref="/root/send/chkyn" style="left:900px; top:36px; width:20px; height:15px; ">
  579. <script type="javascript" ev:event="xforms-value-changed">
  580. <![CDATA[
  581. if(chk_chkyn.value == "Y" && chk_acptyn.value == "Y") chk_acptyn.value = "N";
  582. ]]>
  583. </script>
  584. </bool>
  585. <bool id="chk_acptyn" navindex="12" checkvalue="Y,N" ref="/root/send/acptyn" style="left:740px; top:36px; width:20px; height:15px; ">
  586. <script type="javascript" ev:event="xforms-value-changed">
  587. <![CDATA[
  588. if(chk_chkyn.value == "Y" && chk_acptyn.value == "Y") chk_chkyn.value = "N";
  589. ]]>
  590. </script>
  591. </bool>
  592. <select id="chk_workstatmulti" ref="/root/send/workstatmulti" disabled="false" navindex="16" visibility="visible" overflow="visible" appearance="full" cols="2" sep="," vcellspacing="3" style="left:960px; top:9px; width:140px; height:50px; text-align:center; border-style:none; ">
  593. <choices>
  594. <itemset>
  595. <label/>
  596. <value/>
  597. </itemset>
  598. </choices>
  599. <script type="javascript" ev:event="xforms-value-changed">
  600. <![CDATA[
  601. var bfworkstatmulti = model.getValue("/root/temp/bfworkstatmulti");
  602. var workstatmulti = model.getValue(chk_workstatmulti.attribute("ref"));
  603. if (isSearchString(bfworkstatmulti, 'A')){
  604. model.setValue(chk_workstatmulti.attribute("ref"), workstatmulti.replace("A", ""));
  605. }else{
  606. workstatmultiArr = workstatmulti.split(",");
  607. for (var i=0; i< workstatmultiArr.length; i++){
  608. if (workstatmultiArr[i] == "A"){
  609. model.setValue(chk_workstatmulti.attribute("ref"), "A");
  610. break;
  611. }
  612. }
  613. }
  614. model.makeValue("/root/temp/bfworkstatmulti", model.getValue(chk_workstatmulti.attribute("ref")));
  615. chk_workstatmulti.refresh();
  616. ]]>
  617. </script>
  618. </select>
  619. <caption id="caption22" class="search_name" visibility="visible" style="left:865px; top:9px; width:101px; height:17px; ">진행상태 :</caption>
  620. <select1 id="cmb_exedeptcd" ref="/root/send/execdeptcd" navindex="15" visibility="hidden" appearance="minimal" style="left:1090px; top:60px; width:100px; height:19px; ">
  621. <choices>
  622. <item>
  623. <label>전체</label>
  624. <value/>
  625. </item>
  626. <item>
  627. <label>의공학과</label>
  628. <value>4090500000</value>
  629. </item>
  630. <item>
  631. <label>물류파트</label>
  632. <value>4020334000</value>
  633. </item>
  634. <item>
  635. <label>정보통신실</label>
  636. <value>4130100000</value>
  637. </item>
  638. </choices>
  639. </select1>
  640. <input id="ipt_fixasetcd_search" ref="/root/send/fixasetcd" class="input_default" navindex="3" imemode="disabled" _chartype="upper" style="left:105px; top:59px; width:140px; height:19px; ">
  641. <script type="javascript" ev:event="onkeyup">
  642. <![CDATA[
  643. inputEnterKey("btn_search", "DOMActivate");
  644. ]]>
  645. </script>
  646. </input>
  647. <caption id="caption38" class="search_name" style="left:16px; top:60px; width:88px; height:17px; ">자산코드 :</caption>
  648. <input id="ipt_rpirenddd2" ref="/root/send/rpirenddd2" class="input_s_essential" navindex="31" inputtype="date" style="left:475px; top:34px; width:95px; height:19px; "/>
  649. <caption id="caption41" style="left:460px; top:36px; width:20px; height:20px; font-weight:bold; ">~</caption>
  650. <input id="input2" ref="/root/send/rpirenddd1" class="input_s_essential" navindex="30" inputtype="date" style="left:360px; top:34px; width:95px; height:19px; "/>
  651. <caption id="caption42" class="search_name" style="left:268px; top:35px; width:86px; height:17px; ">완료일자:</caption>
  652. </group>
  653. <caption id="caption1" class="tit_2" style="left:5px; top:106px; width:157px; height:13px; ">의뢰내역</caption>
  654. <line id="line2" class="line_1" style="x1:0px; y1:121px; x2:634px; y2:121px; "/>
  655. <caption id="caption60" class="cell_1" style="left:639px; top:414px; width:90px; height:23px; vertical-align:middle; ">서류상태</caption>
  656. <select1 id="cmb_docustat" ref="/root/main/component/rfehemhtlist/docustat" class="combo_default" disabled="true" navindex="37" appearance="minimal" style="left:731px; top:415px; width:115px; height:19px; text-align:center; ">
  657. <choices>
  658. <itemset>
  659. <label/>
  660. <value/>
  661. </itemset>
  662. </choices>
  663. </select1>
  664. <caption id="caption4" class="cell_1" style="left:900px; top:414px; width:90px; height:23px; vertical-align:middle; ">수리상태</caption>
  665. <caption id="caption32" class="cell_1" style="left:639px; top:246px; width:90px; height:23px; vertical-align:middle; ">의뢰번호</caption>
  666. <caption id="caption5" class="cell_1" style="left:639px; top:222px; width:90px; height:23px; vertical-align:middle; ">의뢰부서</caption>
  667. <input id="ipt_depthngnm" ref="/root/main/component/rfehemhtlist/depthngnm" class="output_fix" navindex="-1" editable="false" style="left:731px; top:223px; width:123px; height:19px; "/>
  668. <caption id="caption7" class="cell_1" style="left:639px; top:198px; width:90px; height:23px; vertical-align:middle; ">완료인수일</caption>
  669. <input id="ipt_installplcecd" ref="/root/main/component/rfehemhtlist/installplcecd" class="output_fix" navindex="-1" editable="false" style="left:947px; top:199px; width:106px; height:19px; "/>
  670. <caption id="caption8" class="cell_1" style="left:855px; top:198px; width:90px; height:23px; vertical-align:middle; ">설치장소</caption>
  671. <input id="ipt_reqtel" ref="/root/main/component/rfehemhtlist/reqtel" class="output_fix" navindex="-1" editable="false" maxlength="15" style="left:947px; top:223px; width:106px; height:19px; "/>
  672. <caption id="cap_reqtel" class="cell_1" style="left:855px; top:222px; width:90px; height:23px; vertical-align:middle; ">의뢰자 연락처</caption>
  673. <line id="line11" class="line_2" style="x1:639px; y1:683px; x2:1194px; y2:683px; "/>
  674. <caption id="caption18" class="cell_1" style="left:639px; top:583px; width:90px; height:141px; vertical-align:middle; ">수리내역</caption>
  675. <input id="ipt_genrdd" ref="/root/main/component/rfehemhtlist/genrdd" class="output_fix" navindex="-1" editable="false" format="yyyy-mm-dd" style="left:1040px; top:247px; width:152px; height:19px; text-align:center; "/>
  676. <textarea id="txt_lastrpirrslt" ref="/root/main/component/rfehemhtlist/lastrpirrslt" navindex="-1" editable="false" style="left:731px; top:583px; width:461px; height:141px; background-color:#eaeaea; "/>
  677. <caption id="caption19" style="left:295px; top:400px; width:100px; height:20px; vertical-align:middle; "/>
  678. <caption id="caption23" class="cell_1" style="left:855px; top:174px; width:90px; height:23px; vertical-align:middle; ">인수자</caption>
  679. <caption id="caption26" class="cell_1" style="left:639px; top:174px; width:90px; height:23px; vertical-align:middle; ">의뢰자</caption>
  680. <caption id="caption27" class="cell_1" style="left:639px; top:126px; width:90px; height:23px; vertical-align:middle; ">자산코드</caption>
  681. <input id="ipt_fixasetcd" ref="/root/main/component/rfehemhtlist/fixasetcd" class="output_fix" navindex="-1" editable="false" style="left:731px; top:127px; width:124px; height:19px; "/>
  682. <input id="ipt_fixasetnm" ref="/root/main/component/rfehemhtlist/fixasetnm" class="output_fix" navindex="-1" editable="false" style="left:731px; top:151px; width:461px; height:19px; "/>
  683. <input id="ipt_deptacptpsnnm" ref="/root/main/component/rfehemhtlist/deptacptpsnnm" class="output_fix" navindex="-1" editable="false" style="left:947px; top:175px; width:106px; height:19px; "/>
  684. <input id="ipt_reqpsnnm" ref="/root/main/component/rfehemhtlist/reqpsnnm" class="output_fix" navindex="-1" editable="false" style="left:731px; top:175px; width:123px; height:19px; "/>
  685. <input id="ipt_deptacptdd" ref="/root/main/component/rfehemhtlist/deptacptdd" class="output_fix" navindex="-1" editable="false" style="left:731px; top:199px; width:123px; height:19px; "/>
  686. <input id="ipt_installplcenm" ref="/root/main/component/rfehemhtlist/installplcenm" class="output_fix" navindex="-1" editable="false" style="left:1055px; top:199px; width:137px; height:19px; "/>
  687. <caption id="caption31" class="cell_1" style="left:639px; top:270px; width:90px; height:23px; vertical-align:middle; ">고장유형</caption>
  688. <caption id="caption10" class="cell_1" style="left:855px; top:270px; width:90px; height:23px; vertical-align:middle; ">수리형태</caption>
  689. <select1 id="cmb_workstat" ref="/root/main/component/rfehemhtlist/workstat" class="combo_default" disabled="true" navindex="38" appearance="minimal" style="left:992px; top:415px; width:115px; height:19px; text-align:center; ">
  690. <choices>
  691. <itemset>
  692. <label/>
  693. <value/>
  694. </itemset>
  695. </choices>
  696. </select1>
  697. <input id="ipt_acptpsnid" ref="/root/main/component/rfehemhtlist/acptpsnid" class="input_s_essential" disabled="true" visibility="hidden" style="left:731px; top:295px; width:97px; height:19px; text-align:center; ">
  698. <script type="javascript" ev:event="xforms-value-changed">
  699. <![CDATA[
  700. misfValidationCheck("01-1", "", "acptpsnid,acptpsnnm");
  701. // misfValidationCheck("12", "", "acptpsnid,acptpsnnm");
  702. ipt_acptpsnid.refresh();
  703. ipt_acptpsnnm.refresh();
  704. ]]>
  705. </script>
  706. </input>
  707. <button id="btn_acptpsnid" class="icon_search" disabled="true" visibility="hidden" style="left:831px; top:296px; width:16px; height:16px; ">
  708. <caption/>
  709. <script type="javascript" ev:event="DOMActivate">
  710. <![CDATA[
  711. misfOpenPopUpList("12", ipt_acptpsnid, "", "acptpsnid,acptpsnnm");
  712. ipt_acptpsnid.refresh();
  713. ipt_acptpsnnm.refresh();
  714. ]]>
  715. </script>
  716. </button>
  717. <input id="ipt_acptpsnnm" ref="/root/main/component/rfehemhtlist/acptpsnnm" class="input_defalut" disabled="true" visibility="hidden" style="left:849px; top:295px; width:95px; height:19px; text-align:center; ">
  718. <script type="javascript" ev:event="xforms-value-changed">
  719. <![CDATA[
  720. misfValidationCheck("01-2", "", "acptpsnid,acptpsnnm");
  721. ipt_acptpsnid.refresh();
  722. ipt_acptpsnnm.refresh();
  723. ]]>
  724. </script>
  725. </input>
  726. <caption id="caption24" class="cell_1" style="left:639px; top:318px; width:90px; height:23px; vertical-align:middle; ">비고</caption>
  727. <caption id="cap_acptpsnid" class="cell_1" visibility="hidden" style="left:639px; top:294px; width:90px; height:23px; vertical-align:middle; ">접수자</caption>
  728. <textarea id="txt_cmt" ref="/root/main/component/rfehemhtlist/cmt" navindex="-1" editable="false" style="left:731px; top:319px; width:461px; height:19px; background-color:#eaeaea; "/>
  729. <textarea id="txt_hdrncspec" ref="/root/main/component/rfehemhtlist/hdrncspec" navindex="-1" editable="false" style="left:731px; top:438px; width:461px; height:142px; background-color:#eaeaea; "/>
  730. <caption id="cap_genrdd" class="cell_1" style="left:948px; top:246px; width:90px; height:23px; vertical-align:middle; ">발생일자</caption>
  731. <input id="ipt_reqno" ref="/root/main/component/rfehemhtlist/reqno" class="output_fix" navindex="-1" editable="false" style="left:856px; top:247px; width:89px; height:19px; "/>
  732. <select1 id="cmb_rpirflag1" ref="/root/main/component/rfehemhtlist/rpirflag1" class="combo_default" navindex="34" appearance="minimal" style="left:731px; top:271px; width:123px; height:19px; text-align:center; ">
  733. <choices>
  734. <itemset>
  735. <label/>
  736. <value/>
  737. </itemset>
  738. </choices>
  739. </select1>
  740. <select1 id="cmb_rpirflag2" ref="/root/main/component/rfehemhtlist/rpirflag2" class="combo_default" disabled="true" navindex="35" appearance="minimal" style="left:947px; top:271px; width:106px; height:19px; text-align:center; ">
  741. <choices>
  742. <itemset>
  743. <label/>
  744. <value/>
  745. </itemset>
  746. </choices>
  747. </select1>
  748. <select1 id="rdo_useyn" ref="/root/main/component/rfehemhtlist/useyn" disabled="true" navindex="36" visibility="hidden" appearance="full" cols="2" overflow="visible" style="left:1065px; top:487px; width:90px; height:19px; background-color:transparent; border-style:none; ">
  749. <choices>
  750. <itemset nodeset="/root/init/useyn">
  751. <label ref="label"/>
  752. <value ref="value"/>
  753. </itemset>
  754. </choices>
  755. </select1>
  756. <caption id="caption14" class="cell_1" visibility="hidden" style="left:1010px; top:485px; width:55px; height:23px; vertical-align:middle; ">수리구분</caption>
  757. <caption id="cap_acptdd" class="cell_1" visibility="hidden" style="left:1010px; top:465px; width:55px; height:23px; vertical-align:middle; ">납품일자</caption>
  758. <input id="ipt_acptdd" ref="/root/main/component/rfehemhtlist/acptdd" class="input_s_essential" disabled="true" navindex="39" visibility="hidden" style="left:1067px; top:466px; width:63px; height:19px; text-align:center; "/>
  759. <input id="ipt_reqdd" ref="/root/main/component/rfehemhtlist/reqdd" class="output_fix" navindex="-1" editable="false" format="yyyy-mm-dd" style="left:731px; top:247px; width:123px; height:19px; "/>
  760. <line id="line5" class="line_2" style="x1:638px; y1:292px; x2:1193px; y2:292px; "/>
  761. <button id="btn_chrgpsnid" class="icon_search" disabled="true" navindex="48" style="left:831px; top:346px; width:16px; height:16px; ">
  762. <caption/>
  763. <script type="javascript" ev:event="DOMActivate">
  764. <![CDATA[
  765. misfOpenPopUpList("01", ipt_chrgpsnid, "", "chrgpsnid,chrgpsnnm");
  766. ipt_chrgpsnid.refresh();
  767. ipt_chrgpsnnm.refresh();
  768. ]]>
  769. </script>
  770. </button>
  771. <input id="ipt_chrgpsnid" ref="/root/main/component/rfehemhtlist/chrgpsnid" class="input_s_essential" disabled="true" navindex="47" style="left:731px; top:343px; width:97px; height:19px; text-align:center; ">
  772. <script type="javascript" ev:event="xforms-value-changed">
  773. <![CDATA[
  774. misfValidationCheck("01-1", "", "chrgpsnid,chrgpsnnm");
  775. // misfValidationCheck("12", "", "chrgpsnid,chrgpsnnm");
  776. // setValue("/root/temp/rfehemhtlist.chrgpsnid", ipt_chrgpsnid.value);
  777. ipt_chrgpsnid.refresh();
  778. ipt_chrgpsnnm.refresh();
  779. fResetState();
  780. ]]>
  781. </script>
  782. </input>
  783. <input id="ipt_chrgpsnnm" ref="/root/main/component/rfehemhtlist/chrgpsnnm" class="input_search" disabled="true" navindex="49" style="left:849px; top:343px; width:95px; height:19px; text-align:center; ">
  784. <script type="javascript" ev:event="xforms-value-changed">
  785. <![CDATA[
  786. misfValidationCheck("01-2", "", "chrgpsnid,chrgpsnnm");
  787. ipt_chrgpsnid.refresh();
  788. ipt_chrgpsnnm.refresh();
  789. ]]>
  790. </script>
  791. </input>
  792. <input id="ipt_chrgtel" ref="/root/main/component/rfehemhtlist/chrgtel" class="input_s_essential" disabled="true" navindex="50" maxlength="15" style="left:1038px; top:343px; width:154px; height:19px; text-align:left; "/>
  793. <line id="line6" class="line_2" style="x1:637px; y1:388px; x2:1192px; y2:388px; "/>
  794. <button id="btn_excel" class="btn5_letter3" navindex="19" style="left:1138px; top:101px; width:53px; height:19px; ">
  795. <caption>Excel</caption>
  796. <script type="javascript" ev:event="DOMActivate">
  797. <![CDATA[
  798. copyNodesetType("/root/main/grid/erfehemhtlist", "/root/main/grid/rfehemhtlist");
  799. grd_erfehemhtlist.rebuild();
  800. var fileName = "수리접수리스트_" + getCurrentDate();
  801. var fileName = window.fileDialog("save", ",", false, fileName, "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  802. if (fileName != "")
  803. {
  804. grd_erfehemhtlist.saveExcel(fileName, "수리접수",true,true, "");
  805. }
  806. ]]>
  807. </script>
  808. </button>
  809. <input id="ipt_flwgrnttermto" ref="/root/main/component/rfehemhtlist/flwgrnttermto" class="output_fix" navindex="-1" editable="false" format="yyyy-mm-dd" style="left:877px; top:367px; width:125px; height:19px; "/>
  810. <input id="ipt_flwgrnttermfr" ref="/root/main/component/rfehemhtlist/flwgrnttermfr" class="output_fix" navindex="-1" editable="false" format="yyyy-mm-dd" style="left:731px; top:367px; width:125px; height:19px; "/>
  811. <caption id="caption16" style="left:859px; top:369px; width:20px; height:20px; font-weight:bold; ">~</caption>
  812. <input id="ipt_possnamt" ref="/root/main/component/rfehemhtlist/possnamt" class="output_fix" navindex="-1" visibility="visible" editable="false" format="#,###" appearance="input" style="left:731px; top:391px; width:166px; height:19px; text-align:right; "/>
  813. <input id="ipt_agency" ref="/root/main/component/rfehemhtlist/agency" class="input_default" navindex="56" visibility="hidden" style="left:1074px; top:511px; width:14px; height:19px; "/>
  814. <input id="ipt_possndd" ref="/root/main/component/rfehemhtlist/possndd" class="output_fix" navindex="-1" editable="false" format="yyyy-mm-dd" style="left:1067px; top:367px; width:125px; height:19px; "/>
  815. <input id="ipt_agencycntctel" ref="/root/main/component/rfehemhtlist/agencycntctel" class="input_default" navindex="57" visibility="hidden" style="left:1157px; top:511px; width:13px; height:19px; "/>
  816. <datagrid id="grd_erfehemhtlist" nodeset="/root/main/grid/erfehemhtlist" visibility="hidden" caption="의뢰일자^의뢰일자^의뢰부서^계정과목^코드번호^구코드번호^장비명^모델^S/N^취득일자^의뢰인명^승인자^전화번호^제조원명^공급처명^수리거래처명^수리진행상태^담당자명^청구구분^고장구분^수리형태^수리시간^견적금액^부품사용금액^절감액^확정금액^수리완료일^팀장결재일^의뢰내용^수리내용^접수구분" colsep="^" colwidth="100, 50, 120, 85, 120, 120, 150, 110, 120, 100, 80, 80, 80, 100, 120, 120, 100, 80, 80, 80, 80, 80, 80, 100, 80, 80, 100, 100, 180, 180, 100" mergecellsfixedrows="bycolrec" rowsep="|" style="left:10px; top:365px; width:620px; height:135px; ">
  817. <col ref="reqdd" format="yyyy-mm-dd"/>
  818. <col ref="reqno"/>
  819. <col ref="depthngnm"/>
  820. <col ref="acntnm"/>
  821. <col ref="fixasetcd"/>
  822. <col ref="oldcd"/>
  823. <col ref="fixasetnm"/>
  824. <col ref="goodmodel"/>
  825. <col ref="mngtno"/>
  826. <col ref="possndd" format="yyyy-mm-dd"/>
  827. <col ref="reqpsnnm"/>
  828. <col ref="deptaprvpsnnm"/>
  829. <col ref="reqtel"/>
  830. <col ref="prodcmpynm"/>
  831. <col ref="suplplcenm"/>
  832. <col ref="agency"/>
  833. <col ref="workstat" type="combo">
  834. <choices>
  835. <itemset>
  836. <label/>
  837. <value/>
  838. </itemset>
  839. </choices>
  840. </col>
  841. <col ref="chrgpsnnm"/>
  842. <col ref="useyn" type="combo">
  843. <choices>
  844. <itemset nodeset="/root/init/useyn">
  845. <label ref="label"/>
  846. <value ref="value"/>
  847. </itemset>
  848. </choices>
  849. </col>
  850. <col ref="rpirflag1" type="combo">
  851. <choices>
  852. <itemset>
  853. <label/>
  854. <value/>
  855. </itemset>
  856. </choices>
  857. </col>
  858. <col ref="rpirflag2" type="combo">
  859. <choices>
  860. <itemset>
  861. <label/>
  862. <value/>
  863. </itemset>
  864. </choices>
  865. </col>
  866. <col ref="rpirtm" format="hh:nn"/>
  867. <col ref="estimateamt" format="#,###"/>
  868. <col ref="rfehdabptotal" format="#,###"/>
  869. <col ref="reductionamt" format="#,###"/>
  870. <col ref="rpiramt" format="#,###"/>
  871. <col ref="rpirenddd" format="yyyy-mm-dd"/>
  872. <col ref="sanctdd" format="yyyy-mm-dd"/>
  873. <col ref="hdrncspec"/>
  874. <col ref="lastrpirrslt"/>
  875. <col ref="acptflag" type="combo" style="left:3912px; top:23px; width:100px; height:23px; ">
  876. <choices>
  877. <itemset nodeset="/root/init/acptflag">
  878. <label ref="label"/>
  879. <value ref="value"/>
  880. </itemset>
  881. </choices>
  882. </col>
  883. </datagrid>
  884. <input id="ipt_rpiramt" ref="/root/main/component/rfehemhtlist/rpiramt" class="output_fix" navindex="-1" visibility="visible" editable="false" format="#,###" appearance="input" style="left:992px; top:391px; width:200px; height:19px; text-align:right; "/>
  885. <caption id="cap_chrgpsnid" class="cell_1" style="left:639px; top:342px; width:90px; height:23px; vertical-align:middle; ">검토자</caption>
  886. <caption id="cap_chrgtel" class="cell_1" style="left:946px; top:342px; width:90px; height:23px; vertical-align:middle; ">검토자 연락처</caption>
  887. <line id="line7" class="line_2" style="x1:639px; y1:412px; x2:1194px; y2:412px; "/>
  888. <caption id="caption15" class="cell_1" style="left:639px; top:366px; width:90px; height:23px; vertical-align:middle; ">하자보수기간</caption>
  889. <caption id="caption17" class="cell_1" style="left:1005px; top:366px; width:60px; height:23px; vertical-align:middle; ">취득일</caption>
  890. <line id="line12" class="line_2" style="x1:640px; y1:436px; x2:1195px; y2:436px; "/>
  891. <caption id="caption29" class="cell_1" style="left:900px; top:390px; width:90px; height:23px; vertical-align:middle; ">확정금액</caption>
  892. <caption id="caption21" class="cell_1" style="left:639px; top:390px; width:90px; height:23px; vertical-align:middle; ">구입금액</caption>
  893. <caption id="caption25" class="cell_1" visibility="hidden" style="left:1007px; top:510px; width:66px; height:23px; vertical-align:middle; ">A/S대리점</caption>
  894. <caption id="caption28" class="cell_1" visibility="hidden" style="left:1090px; top:510px; width:65px; height:23px; vertical-align:middle; ">A/S연락처</caption>
  895. <line id="line17" class="line_2" style="x1:640px; y1:581px; x2:1195px; y2:581px; "/>
  896. <caption id="caption33" class="cell_1" style="left:639px; top:438px; width:90px; height:142px; vertical-align:middle; ">의뢰내역</caption>
  897. <line id="line24" class="line_3" style="x1:639px; y1:727px; x2:1194px; y2:727px; "/>
  898. <input id="ipt_deprtmangrsanctnm" ref="/root/main/component/rfehemhtlist/deprtmangrsanctnm" class="input_default" disabled="true" navindex="42" appearance="input" style="left:833px; top:296px; width:80px; height:19px; ">
  899. <script type="javascript" ev:event="xforms-value-changed">
  900. <![CDATA[
  901. if(ipt_deprtmangrsanctnm.value.length == 0)
  902. ipt_deprtmangrsanctid.value = "";
  903. else
  904. misfValidationCheck("01-2", "", "deprtmangrsanctid,deprtmangrsanctnm");
  905. ipt_deprtmangrsanctid.refresh();
  906. ipt_deprtmangrsanctnm.refresh();
  907. fResetState();
  908. ]]>
  909. </script>
  910. </input>
  911. <input id="ipt_mngersanctid" ref="/root/main/component/rfehemhtlist/mngersanctid" class="input_default" navindex="43" style="left:984px; top:295px; width:80px; height:19px; ">
  912. <script type="javascript" ev:event="xforms-value-changed">
  913. <![CDATA[
  914. // misfValidationCheck("12", "", "mngersanctid,mngersanctnm");
  915. if(ipt_mngersanctid.value.length == 0)
  916. ipt_mngersanctnm.value = "";
  917. else
  918. misfValidationCheck("01-1", "", "mngersanctid,mngersanctnm");
  919. ipt_mngersanctid.refresh();
  920. ipt_mngersanctnm.refresh();
  921. fResetState();
  922. ]]>
  923. </script>
  924. </input>
  925. <button id="btn_mngersanctid" class="icon_search" navindex="44" style="left:1068px; top:296px; width:16px; height:16px; ">
  926. <caption/>
  927. <script type="javascript" ev:event="DOMActivate">
  928. <![CDATA[
  929. misfOpenPopUpList("12", ipt_mngersanctid, "", "mngersanctid,mngersanctnm");
  930. ipt_mngersanctid.refresh();
  931. ipt_mngersanctnm.refresh();
  932. fResetState();
  933. ]]>
  934. </script>
  935. </button>
  936. <input id="ipt_mngersanctnm" ref="/root/main/component/rfehemhtlist/mngersanctnm" class="input_default" disabled="true" navindex="45" appearance="input" style="left:1087px; top:295px; width:80px; height:19px; ">
  937. <script type="javascript" ev:event="xforms-value-changed">
  938. <![CDATA[
  939. if(ipt_mngersanctnm.value.length == 0)
  940. ipt_mngersanctid.value = "";
  941. else
  942. misfValidationCheck("01-2", "", "mngersanctid,mngersanctnm");
  943. ipt_mngersanctid.refresh();
  944. ipt_mngersanctnm.refresh();
  945. fResetState();
  946. ]]>
  947. </script>
  948. </input>
  949. <caption id="caption36" class="cell_1" style="left:916px; top:294px; width:65px; height:23px; vertical-align:middle; ">과장 결재</caption>
  950. <button id="btn_deprtmangrsanctid" class="icon_search" navindex="41" style="left:813px; top:296px; width:16px; height:16px; ">
  951. <caption/>
  952. <script type="javascript" ev:event="DOMActivate">
  953. <![CDATA[
  954. misfOpenPopUpList("12", ipt_deprtmangrsanctid, "", "deprtmangrsanctid,deprtmangrsanctnm");
  955. ipt_deprtmangrsanctid.refresh();
  956. ipt_deprtmangrsanctnm.refresh();
  957. fResetState();
  958. ]]>
  959. </script>
  960. </button>
  961. <caption id="caption37" class="cell_1" style="left:639px; top:294px; width:90px; height:23px; vertical-align:middle; ">실장 결재</caption>
  962. <input id="ipt_deprtmangrsanctid" ref="/root/main/component/rfehemhtlist/deprtmangrsanctid" class="input_default" navindex="40" imemode="disabled" style="left:731px; top:295px; width:80px; height:19px; ">
  963. <script type="javascript" ev:event="xforms-value-changed">
  964. <![CDATA[
  965. // misfValidationCheck("12", "", "deprtmangrsanctid,deprtmangrsanctnm");
  966. if(ipt_deprtmangrsanctid.value.length == 0)
  967. ipt_deprtmangrsanctnm.value = "";
  968. else
  969. misfValidationCheck("01-1", "", "deprtmangrsanctid,deprtmangrsanctnm");
  970. ipt_deprtmangrsanctid.refresh();
  971. ipt_deprtmangrsanctnm.refresh();
  972. fResetState();
  973. ]]>
  974. </script>
  975. </input>
  976. <datagrid id="grd_rfehemhtlist" nodeset="/root/main/grid/rfehemhtlist" scroll="auto" caption="^자산구분^의뢰일자^의뢰일자^의뢰부서^계정과목^자산번호^자산명^수리형태^완료상태^담당자^서류상태^수리상태^실장^과장^검수자^승인^S/N^접수일자^결재상태^담당자comment^미가동일수^접수구분^기관코드^비품_장비구분^접수자ID^접수자이름^A/S대리점^A/S연락처^예산년도^담당자전화번호(사내전화번호)^완료인수일^인수자이름^의뢰부서명^하자보수기간from^하자보수기간to^발생일자^물품모델^설치장소CODE^설치장소^구입금액^취득일^의뢰자이름^의뢰자연락처^수리비^연구과제명^담당자ID(수리담당자)^연구과제code^예산계정^고장유형^청구구분^비고^고장내역(의뢰내역)^최종수리결과^수리내역^화면id^승인자^견적금액^구코드번호^제조원명^절감액^부품사용금액^수리완료일^수리시간^팀장결재일^거래처명^^^^^caption1^^^^^^^공급처코드^공급처명^수리거래처명^구매품의일자^구매품의번호" colsep="^" colwidth="19, 75, 74, 37, 71, 81, 100, 167, 68, 74, 70, 57, 75, 70, 70, 70, 35, 100, 100, 100, 52, 100, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 100, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 100,80,150,150,100,80" dataheight="25" ellipsis="true" explorerbar="sortshow" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" rowsep="|" selectionmode="byrow" tooltip="true" navindex="18" style="left:0px; top:130px; width:634px; height:603px; text-align:center; ">
  977. <col checkvalue="Y,N" ref="chk" type="checkbox"/>
  978. <col ref="fixtrseqmtflag" type="combo" visibility="hidden" style="text-align:left; padding-left:10; ">
  979. <choices>
  980. <itemset nodeset="/root/init/goodflag">
  981. <label ref="label"/>
  982. <value ref="value"/>
  983. </itemset>
  984. </choices>
  985. </col>
  986. <col ref="reqdd" format="yyyy-mm-dd"/>
  987. <col ref="reqno" style="text-align:center; "/>
  988. <col ref="depthngnm" style="text-align:left; padding-left:5; "/>
  989. <col ref="acntnm" style="text-align:left; padding-left:5; "/>
  990. <col ref="fixasetcd" style="text-align:left; padding-left:5; "/>
  991. <col ref="fixasetnm" style="text-align:left; padding-left:5; cursor:hand; "/>
  992. <col disabled="true" ref="rpirflag2" type="combo" visibility="visible" style="text-align:left; padding-left:10; ">
  993. <choices>
  994. <itemset>
  995. <label/>
  996. <value/>
  997. </itemset>
  998. </choices>
  999. </col>
  1000. <col ref="endflag" visibility="hidden" style="text-align:center; "/>
  1001. <col ref="chrgpsnnm" visibility="visible"/>
  1002. <col disabled="true" ref="docustat" type="combo" visibility="visible" style="text-align:center; ">
  1003. <choices>
  1004. <itemset nodeset="/root/init/docustat">
  1005. <label ref="label"/>
  1006. <value ref="value"/>
  1007. </itemset>
  1008. </choices>
  1009. </col>
  1010. <col ref="workstat" type="combo" style="text-align:center; ">
  1011. <choices>
  1012. <itemset>
  1013. <label/>
  1014. <value/>
  1015. </itemset>
  1016. </choices>
  1017. </col>
  1018. <col ref="deprtmangrsanctnm" visibility="visible" style="text-align:center; "/>
  1019. <col ref="mngersanctnm" visibility="visible" style="text-align:center; "/>
  1020. <col ref="chkpsnnm" visibility="visible" style="text-align:center; "/>
  1021. <col checkvalue="Y,N" disabled="true" ref="deptaprvyn" type="checkbox" visibility="hidden"/>
  1022. <col ref="mngtno" visibility="hidden"/>
  1023. <col ref="acptdd" visibility="hidden"/>
  1024. <col disabled="true" ref="sanctyn" type="combo" visibility="hidden" taxt-align="center">
  1025. <choices>
  1026. <itemset nodeset="/root/init/grdsanctyn">
  1027. <label ref="label"/>
  1028. <value ref="value"/>
  1029. </itemset>
  1030. </choices>
  1031. </col>
  1032. <col ref="chrgpsncmt" visibility="hidden"/>
  1033. <col ref="nonworkdayno" visibility="hidden"/>
  1034. <col ref="acptflag" type="combo" visibility="hidden" style="left:3912px; top:23px; width:100px; height:23px; ">
  1035. <choices>
  1036. <itemset nodeset="/root/init/acptflag">
  1037. <label ref="label"/>
  1038. <value ref="value"/>
  1039. </itemset>
  1040. </choices>
  1041. </col>
  1042. <col ref="instcd" visibility="hidden" style="text-align:left; "/>
  1043. <col ref="fixtrseqmtflag" visibility="hidden" style="text-align:left; "/>
  1044. <col ref="acptpsnid" visibility="hidden" style="text-align:left; "/>
  1045. <col ref="acptpsnnm" visibility="hidden" style="text-align:left; "/>
  1046. <col ref="agency" visibility="hidden" style="text-align:left; "/>
  1047. <col ref="agencycntctel" visibility="hidden" style="text-align:left; "/>
  1048. <col ref="bugtyy" visibility="hidden" style="text-align:left; "/>
  1049. <col ref="chrgtel" visibility="hidden" style="text-align:left; "/>
  1050. <col ref="deptacptdd" visibility="hidden" style="text-align:left; "/>
  1051. <col ref="deptacptpsnnm" visibility="hidden" style="text-align:left; "/>
  1052. <col ref="depthngnm" visibility="hidden" style="text-align:left; "/>
  1053. <col ref="flwgrnttermfr" visibility="hidden" style="text-align:left; "/>
  1054. <col ref="flwgrnttermto" visibility="hidden" style="text-align:left; "/>
  1055. <col ref="genrdd" visibility="hidden" style="text-align:left; "/>
  1056. <col ref="goodmodel" visibility="hidden" style="text-align:left; "/>
  1057. <col ref="installplcecd" visibility="hidden" style="text-align:left; "/>
  1058. <col ref="installplcenm" visibility="hidden" style="text-align:left; "/>
  1059. <col ref="possnamt" visibility="hidden" style="text-align:left; "/>
  1060. <col ref="possndd" visibility="hidden" style="text-align:left; "/>
  1061. <col ref="reqpsnnm" visibility="hidden" style="text-align:left; "/>
  1062. <col ref="reqtel" visibility="hidden" style="text-align:left; "/>
  1063. <col ref="rpiramt" visibility="hidden" style="text-align:left; "/>
  1064. <col ref="stdysubjnm" visibility="hidden" style="text-align:left; "/>
  1065. <col ref="chrgpsnid" visibility="hidden" style="text-align:left; "/>
  1066. <col ref="stdysubjno" visibility="hidden" style="text-align:left; "/>
  1067. <col ref="bugtcd" visibility="hidden" style="text-align:left; "/>
  1068. <col ref="rpirflag1" visibility="hidden" style="text-align:left; "/>
  1069. <col ref="useyn" visibility="hidden" style="text-align:left; "/>
  1070. <col ref="cmt" visibility="hidden" style="text-align:left; "/>
  1071. <col ref="hdrncspec" visibility="hidden" style="text-align:left; "/>
  1072. <col ref="lastrpirrslt" visibility="hidden" style="text-align:left; "/>
  1073. <col ref="rpirspec" visibility="hidden" style="text-align:left; "/>
  1074. <col ref="bizscrnid" visibility="hidden" style="text-align:left; "/>
  1075. <col ref="deptaprvpsnnm" visibility="hidden" style="text-align:left; "/>
  1076. <col ref="estimateamt" visibility="hidden" style="text-align:left; "/>
  1077. <col ref="oldcd" visibility="hidden" style="text-align:left; "/>
  1078. <col ref="prodcmpynm" visibility="hidden" style="text-align:left; "/>
  1079. <col ref="reductionamt" visibility="hidden" style="text-align:left; "/>
  1080. <col ref="rfehdabptotal" visibility="hidden" style="text-align:left; "/>
  1081. <col ref="rpirenddd" visibility="hidden" style="text-align:left; "/>
  1082. <col ref="rpirtm" visibility="hidden" style="text-align:left; "/>
  1083. <col ref="sanctdd" visibility="hidden" style="text-align:left; "/>
  1084. <col ref="suplplcenm" visibility="hidden" style="text-align:left; "/>
  1085. <col ref="mngersanctyn" visibility="hidden" style="text-align:left; "/>
  1086. <col ref="mngersanctdd" visibility="hidden" style="text-align:left; "/>
  1087. <col ref="mngersanctid" visibility="hidden" style="text-align:left; "/>
  1088. <col ref="deprtmangrsanctyn" visibility="hidden" style="text-align:left; "/>
  1089. <col ref="deprtmangrsanctdd" visibility="hidden" style="text-align:left; "/>
  1090. <col ref="deprtmangrsanctid" visibility="hidden" style="text-align:left; "/>
  1091. <col ref="execdept" visibility="hidden" style="text-align:left; "/>
  1092. <col ref="execdeptnm" visibility="hidden" style="text-align:left; "/>
  1093. <col ref="rpirendyn" visibility="hidden" style="text-align:left; "/>
  1094. <col ref="chkpsn" visibility="hidden" style="text-align:left; "/>
  1095. <col ref="goodspec" visibility="hidden"/>
  1096. <col ref="suplplcecd" style="text-align:center; "/>
  1097. <col ref="suplplcenm" style="text-align:center; "/>
  1098. <col ref="agency" style="text-align:center; "/>
  1099. <col ref="purccnsttndd" style="text-align:center; "/>
  1100. <col ref="purccnsttnno" style="text-align:center; "/>
  1101. <script type="javascript" ev:event="onrowchanged">
  1102. <![CDATA[
  1103. fGridRowChangedEvent();
  1104. ]]>
  1105. </script>
  1106. <script type="javascript" ev:event="ondblclick">
  1107. <![CDATA[
  1108. if(grd_rfehemhtlist.isCell(event.target)&&grd_rfehemhtlist.col == grd_rfehemhtlist.colRef("fixasetnm"))
  1109. {
  1110. var workstat = grd_rfehemhtlist.valueMatrix(grd_rfehemhtlist.row, grd_rfehemhtlist.colRef("workstat"));
  1111. var deptaprvreqyn = grd_rfehemhtlist.valueMatrix(grd_rfehemhtlist.row, grd_rfehemhtlist.colRef("deptaprvreqyn"));
  1112. if (workstat == "00" && deptaprvreqyn == "Y"){
  1113. messageBox("상태가 청구 의뢰(부서장 승인 필요)인 건은 접근 하실 수 ","I004");
  1114. return;
  1115. }else{
  1116. modal("SMRFE01000", "", "", "", "popup", grd_rfehemhtlist.attribute("nodeset") + "[" + grd_rfehemhtlist.row + "]", "/root/temp" );
  1117. }
  1118. }
  1119. ]]>
  1120. </script>
  1121. <script type="javascript" ev:event="onaftersort">
  1122. <![CDATA[
  1123. grd_rfehemhtlist.gridToInstance();
  1124. ]]>
  1125. </script>
  1126. </datagrid>
  1127. <input id="ipt_goodspec" ref="/root/main/component/rfehemhtlist/goodspec" class="output_fix" navindex="-1" editable="false" style="left:948px; top:127px; width:244px; height:19px; "/>
  1128. <input id="ipt_goodmodel" ref="/root/main/component/rfehemhtlist/goodmodel" class="input_default" disabled="true" navindex="22" visibility="hidden" style="left:1040px; top:137px; width:147px; height:19px; "/>
  1129. <caption id="caption39" class="cell_1" style="left:856px; top:125px; width:90px; height:23px; vertical-align:middle; ">규격</caption>
  1130. <caption id="caption40" class="cell_1" style="left:639px; top:150px; width:90px; height:23px; vertical-align:middle; ">자산명</caption>
  1131. <datagrid id="grd_prttemp" nodeset="/root/main/grid/prttemp" visibility="hidden" caption="자산번호^자산명^수리형태^의뢰부서^의뢰일자^완료일자^수리거래처명^견적금액" colsep="^" colwidth="50, 50, 50, 50, 50, 50, 50, 50" mergecellsfixedrows="bycolrec" rowsep="|" style="left:165px; top:280px; width:350px; height:150px; ">
  1132. <col ref="fixasetcd"/>
  1133. <col ref="fixasetnm"/>
  1134. <col ref="depthngnm"/>
  1135. <col ref="rpirflag2"/>
  1136. <col ref="reqdd"/>
  1137. <col ref="rpirenddd"/>
  1138. <col ref="agency"/>
  1139. <col ref="estimateamt"/>
  1140. </datagrid>
  1141. </group>
  1142. <group id="group4" style="left:0px; top:12px; width:1195px; height:27px; ">
  1143. <button id="button26" class="btn3_letter4" navindex="62" visibility="hidden" style="left:510px; top:5px; width:80px; height:22px; ">
  1144. <caption>화면이동</caption>
  1145. </button>
  1146. <button id="btn_prnt" class="btn6_letter2" navindex="61" visibility="visible" style="left:0px; top:3; width:56px; height:22px; ">
  1147. <caption>출력</caption>
  1148. <script type="javascript" ev:event="DOMActivate">
  1149. <![CDATA[
  1150. var Cnt = getNodesetCount("/root/main/grid/rfehemhtlist");
  1151. var print = 0;
  1152. for(var i=1;i<=Cnt;i++){
  1153. if(grd_rfehemhtlist.valueMatrix(i, grd_rfehemhtlist.colRef("chk")) == "Y") {
  1154. model.resetInstanceNode("/root/send/sendprint");
  1155. model.setValue("/root/send/sendprint/instcd", grd_rfehemhtlist.valueMatrix(i, grd_rfehemhtlist.colRef("instcd")) );
  1156. model.setValue("/root/send/sendprint/reqdd", grd_rfehemhtlist.valueMatrix(i, grd_rfehemhtlist.colRef("reqdd")) );
  1157. model.setValue("/root/send/sendprint/reqno", grd_rfehemhtlist.valueMatrix(i, grd_rfehemhtlist.colRef("reqno")) );
  1158. model.setValue("/root/send/sendprint/fixtrseqmtflag", grd_rfehemhtlist.valueMatrix(i, grd_rfehemhtlist.colRef("fixtrseqmtflag")) );
  1159. if(submit("TRRFE00703")){
  1160. exeReportPreview("RPRFE00601", "XMLSTR");
  1161. // exeReportPreview("RPRFE00601", "XMLSTR" , "" , "" , "true" , "false", "", "", "", "true");
  1162. }
  1163. print = print + 1;
  1164. }
  1165. }
  1166. if(print == "0"){
  1167. messageBox("출력할 리스트가 없습니다.\n일괄출력 가능합니다.\n출력을 원하는 리스트를 체크","I008");
  1168. return;
  1169. }
  1170. ]]>
  1171. </script>
  1172. </button>
  1173. <button id="btn_save" class="btn4_letter2" navindex="63" style="left:1069px; top:3px; width:56px; height:22px; ">
  1174. <caption>저장</caption>
  1175. <script type="javascript" ev:event="DOMActivate">
  1176. <![CDATA[
  1177. // 기본 값 검사!.
  1178. var focus = grd_rfehemhtlist.row;
  1179. if(fUpdateData() == "N")
  1180. {
  1181. messageBox("변경된 데이터가","I004");
  1182. return;
  1183. }
  1184. model.makeValue("/root/main/component/rfehemhtlist/bizscrnid", "SMRFE00900_수리접수 및 결과등록.xrw");
  1185. var instcd = getUserInfo("dutplceinstcd");
  1186. if(instcd == "033"){
  1187. for ( var i = 0 ; i< grd_rfehemhtlist.selectedRows;i++){
  1188. // alert(i);
  1189. // alert(grd_rfehemhtlist.selectedRow(i));
  1190. if(ipt_chrgpsnid.value.length != 0){ //검토자
  1191. if(ipt_mngersanctid.value.length != 0) { // 과장결재
  1192. model.setValue("/root/main/component/rfehemhtlist/docustat", "03");
  1193. model.setValue("/root/main/component/rfehemhtlist/workstat", "05");
  1194. }else{
  1195. model.setValue("/root/main/component/rfehemhtlist/docustat", "01");
  1196. model.setValue("/root/main/component/rfehemhtlist/workstat", "02");
  1197. }
  1198. }else{
  1199. model.setValue("/root/main/component/rfehemhtlist/docustat", "01");
  1200. model.setValue("/root/main/component/rfehemhtlist/workstat", "01");
  1201. }
  1202. }
  1203. }
  1204. misfSave("TXRFE00502");
  1205. if (model.getValue(gvErrorMsgPath + "/type") != "error") btn_search.dispatch("DOMActivate");
  1206. //misfMsterDetailRetrieve();
  1207. model.setFocus("grd_rfehemhtlist");
  1208. grd_rfehemhtlist.row = focus;
  1209. grd_rfehemhtlist.dispatch("onrowchanged");
  1210. ]]>
  1211. </script>
  1212. </button>
  1213. <button id="btn_init" class="btn4_letter3" navindex="64" style="left:1127px; top:3px; width:68px; height:22px; ">
  1214. <caption>초기화</caption>
  1215. <script type="javascript" ev:event="DOMActivate">
  1216. <![CDATA[
  1217. fInitialize();
  1218. ]]>
  1219. </script>
  1220. </button>
  1221. <line id="line3" class="line_6" style="x1:0px; y1:25; x2:1194px; y2:25; "/>
  1222. <button id="button1" class="btn6_letter2" navindex="60" visibility="hidden" style="left:592px; top:5px; width:56px; height:22px; ">
  1223. <caption>출력</caption>
  1224. <script type="javascript" ev:event="DOMActivate">
  1225. <![CDATA[
  1226. model.copyNode("/root/main/printdata/data", grd_rfehemhtlist.attribute("nodeset") + "[" + grd_rfehemhtlist.row + "]");
  1227. model.removenode("/root/main/printdata/data/instnm");
  1228. model.makeNode("/root/main/printdata/data/instnm");
  1229. model.setValue("/root/main/printdata/data/instnm", cmb_instcd.label);
  1230. exeReportPreview("RPRFE00501", "XMLSTR");
  1231. ]]>
  1232. </script>
  1233. </button>
  1234. <button id="button5" class="btn6_letter4" navindex="-1" visibility="hidden" style="left:377px; top:3px; width:80px; height:22px; ">
  1235. <caption>전자결재</caption>
  1236. <script type="javascript" ev:event="DOMActivate">
  1237. <![CDATA[
  1238. fElctSanct();
  1239. ]]>
  1240. </script>
  1241. </button>
  1242. <button id="button2" class="btn6_letter5" navindex="61" visibility="visible" style="left:58px; top:3px; width:92px; height:22px; ">
  1243. <caption>출력(일괄)</caption>
  1244. <script type="javascript" ev:event="DOMActivate">
  1245. <![CDATA[
  1246. var Cnt = getNodesetCount("/root/main/grid/rfehemhtlist");
  1247. var print = 0;
  1248. for(var i=1;i<=Cnt;i++){
  1249. if(grd_rfehemhtlist.valueMatrix(i, grd_rfehemhtlist.colRef("chk")) == "Y") {
  1250. model.resetInstanceNode("/root/send/sendprint");
  1251. model.setValue("/root/send/sendprint/instcd", grd_rfehemhtlist.valueMatrix(i, grd_rfehemhtlist.colRef("instcd")) );
  1252. model.setValue("/root/send/sendprint/reqdd", grd_rfehemhtlist.valueMatrix(i, grd_rfehemhtlist.colRef("reqdd")) );
  1253. model.setValue("/root/send/sendprint/reqno", grd_rfehemhtlist.valueMatrix(i, grd_rfehemhtlist.colRef("reqno")) );
  1254. model.setValue("/root/send/sendprint/fixtrseqmtflag", grd_rfehemhtlist.valueMatrix(i, grd_rfehemhtlist.colRef("fixtrseqmtflag")) );
  1255. if(submit("TRRFE00703")){
  1256. // exeReportPreview("RPRFE00601", "XMLSTR");
  1257. exeReportPreview("RPRFE00601", "XMLSTR" , "" , "" , "true" , "false", "", "", "", "true");
  1258. }
  1259. print = print + 1;
  1260. }
  1261. }
  1262. if(print == "0"){
  1263. messageBox("출력할 리스트가 없습니다.\n일괄출력 가능합니다.\n출력을 원하는 리스트를 체크","I008");
  1264. return;
  1265. }
  1266. ]]>
  1267. </script>
  1268. </button>
  1269. <button id="button3" class="btn6_letter5" navindex="61" visibility="hidden" style="left:282px; top:3px; width:92px; height:22px; ">
  1270. <caption>미처리내역</caption>
  1271. <script type="javascript" ev:event="DOMActivate">
  1272. <![CDATA[
  1273. misfGridInit(grd_prttemp);
  1274. var print = 0;
  1275. for(var row = grd_rfehemhtlist.fixedRows ; row < grd_rfehemhtlist.rows; row++)
  1276. {
  1277. if(grd_rfehemhtlist.valueMatrix(row, grd_rfehemhtlist.colRef("chk")) == "Y") {
  1278. var fixasetcd = model.getValue(grd_rfehemhtlist.nodeset + "[" + row + "]/fixasetcd");
  1279. var fixasetnm = model.getValue(grd_rfehemhtlist.nodeset + "[" + row + "]/fixasetnm");
  1280. var depthngnm = model.getValue(grd_rfehemhtlist.nodeset + "[" + row + "]/depthngnm");
  1281. var reqdd = model.getValue(grd_rfehemhtlist.nodeset + "[" + row + "]/reqdd");
  1282. var rpirenddd = model.getValue(grd_rfehemhtlist.nodeset + "[" + row + "]/rpirenddd");
  1283. var agency = model.getValue(grd_rfehemhtlist.nodeset + "[" + row + "]/agency");
  1284. var estimateamt = model.getValue(grd_rfehemhtlist.nodeset + "[" + row + "]/estimateamt");
  1285. var rpirflag2 = model.getValue(grd_rfehemhtlist.nodeset + "[" + row + "]/rpirflag2");
  1286. misfGridIUD(grd_prttemp,"A","N");
  1287. model.setValue(grd_prttemp.nodeset + "[" + grd_prttemp.row + "]/fixasetcd", fixasetcd );
  1288. model.setValue(grd_prttemp.nodeset + "[" + grd_prttemp.row + "]/fixasetnm", fixasetnm );
  1289. model.setValue(grd_prttemp.nodeset + "[" + grd_prttemp.row + "]/depthngnm", depthngnm );
  1290. model.setValue(grd_prttemp.nodeset + "[" + grd_prttemp.row + "]/reqdd", reqdd );
  1291. model.setValue(grd_prttemp.nodeset + "[" + grd_prttemp.row + "]/rpirenddd", rpirenddd );
  1292. model.setValue(grd_prttemp.nodeset + "[" + grd_prttemp.row + "]/agency", agency );
  1293. model.setValue(grd_prttemp.nodeset + "[" + grd_prttemp.row + "]/estimateamt", estimateamt );
  1294. model.setValue(grd_prttemp.nodeset + "[" + grd_prttemp.row + "]/rpirflag2", rpirflag2 );
  1295. print = print + 1;
  1296. }
  1297. }
  1298. model.makeNode("/root/print/prtinfo");
  1299. copyNodesetType("/root/print/prtinfo","/root/main/grid/prttemp","replace");
  1300. model.makeValue("/root/print/prtinfo/temp/reqdd1",model.getValue("/root/send/reqdd1"));
  1301. model.makeValue("/root/print/prtinfo/temp/reqdd2",model.getValue("/root/send/reqdd2"));
  1302. exeReportPreview("RPRFE00603", "XMLSTR");
  1303. // exeReportPreview("RPRFE00603", "XMLSTR" , "" , "" , "true" , "false", "", "", "", "true");
  1304. if(print == "0"){
  1305. messageBox("출력할 리스트가 없습니다.\n출력을 원하는 리스트를 체크","I008");
  1306. return;
  1307. }
  1308. ]]>
  1309. </script>
  1310. </button>
  1311. <button id="button4" class="btn6_letter6" navindex="61" visibility="visible" style="left:152px; top:3px; width:97px; height:22px; ">
  1312. <caption>(미)정산현황</caption>
  1313. <script type="javascript" ev:event="DOMActivate">
  1314. <![CDATA[
  1315. model.removeNodeset("/root/print");
  1316. var rpirenddd1 = model.getValue("/root/send/rpirenddd1");
  1317. var rpirenddd2 = model.getValue("/root/send/rpirenddd2");
  1318. if(rpirenddd1 == "" || rpirenddd2 == ""){
  1319. messageBox("완료일자를 입력","I008");
  1320. return;
  1321. }
  1322. var reqdate = ipt_rpirenddd2.value.toDate("YYYYMM");
  1323. model.setValue("/root/send/rpirenmm",ipt_rpirenddd2.value.substr(0,6));
  1324. model.setValue("/root/send/lastrpirenmm", reqdate.getAddDate(-1, "M").getDateFormat("YYYYMM") );
  1325. // alert(model.getValue("/root/send/rpirenmm"));
  1326. submit("TRRFE00503");
  1327. var Cnt = getNodesetCount("/root/main/grid/prtrfehemht");
  1328. var Cnt1 = getNodesetCount("/root/main/grid/lastprtrfehemht");
  1329. if(Cnt == 0 && Cnt1 != 0) {
  1330. messageBox("당월 정산 내역이","I004");
  1331. model.makeNode("/root/print/lastprtrfehemht");
  1332. copyNodesetType("/root/print/lastprtrfehemht","/root/main/grid/lastprtrfehemht","replace");
  1333. model.makeValue("/root/print/temp/rpirenddd1",model.getValue("/root/send/rpirenddd1"));
  1334. model.makeValue("/root/print/temp/rpirenddd2",model.getValue("/root/send/rpirenddd2"));
  1335. exeReportPreview("RPRFE00605", "XMLSTR"); //이월
  1336. }else if(Cnt != 0 && Cnt1 == 0){
  1337. messageBox("이월 정산 내역이","I004");
  1338. model.makeNode("/root/print/prtrfehemht");
  1339. copyNodesetType("/root/print/prtrfehemht","/root/main/grid/prtrfehemht","replace");
  1340. model.makeValue("/root/print/temp/rpirenddd1",model.getValue("/root/send/rpirenddd1"));
  1341. model.makeValue("/root/print/temp/rpirenddd2",model.getValue("/root/send/rpirenddd2"));
  1342. exeReportPreview("RPRFE00604", "XMLSTR"); // 당월
  1343. }else if(Cnt == 0 && Cnt1 == 0){
  1344. messageBox("당월 정산 내역과 이월 미정산 내역이","I004");
  1345. return;
  1346. }else {
  1347. model.makeNode("/root/print/prtrfehemht");
  1348. model.makeNode("/root/print/lastprtrfehemht");
  1349. copyNodesetType("/root/print/prtrfehemht","/root/main/grid/prtrfehemht","replace");
  1350. copyNodesetType("/root/print/lastprtrfehemht","/root/main/grid/lastprtrfehemht","replace");
  1351. model.makeValue("/root/print/temp/rpirenddd1",model.getValue("/root/send/rpirenddd1"));
  1352. model.makeValue("/root/print/temp/rpirenddd2",model.getValue("/root/send/rpirenddd2"));
  1353. exeReportPreview("RPRFE00604", "XMLSTR"); // 당월
  1354. exeReportPreview("RPRFE00605", "XMLSTR"); //이월
  1355. }
  1356. model.makeNode("/root/print/totfehemht");
  1357. copyNodesetType("/root/print/totfehemht","/root/main/grid/totfehemht","replace");
  1358. model.makeValue("/root/print/temp/rpirenddd1",model.getValue("/root/send/rpirenddd1"));
  1359. model.makeValue("/root/print/temp/rpirenddd2",model.getValue("/root/send/rpirenddd2"));
  1360. model.makeValue("/root/print/temp/rpirenmm",model.getValue("/root/send/rpirenmm"));
  1361. exeReportPreview("RPRFE00606", "XMLSTR"); // 정산현황
  1362. ]]>
  1363. </script>
  1364. </button>
  1365. </group>
  1366. </xhtml:body>
  1367. </xhtml:html>