SMRFE00500_수리접수 및 결과등록.xrw 62 KB

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