SMRFR00700_수리 예방점검 결재.xrw 59 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/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:ms="urn:schemas-microsoft-com:xslt" xmlns:my="http://www.comsquare.co.kr/example" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:cs="http://www.comsquare.co.kr/xforms">
  4. <xhtml:head>
  5. <xhtml:title>수리/예방점검 결재</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <rfehemhtlist/>
  11. <rfemdamklist/>
  12. <rfehdabplist/>
  13. <com_rfehemhtlist/>
  14. <rfchprvnlist/>
  15. <control>
  16. <rfchprvnlist/>
  17. </control>
  18. </main>
  19. <send>
  20. <instcd/>
  21. <fixtrseqmtflag/>
  22. <acptdd/>
  23. <acptdd2/>
  24. <chrgpsnid/>
  25. <chrgpsnnm/>
  26. <rfehrhfchflag/>
  27. <sanctyn/>
  28. <sancttrsmyn/>
  29. <grid>
  30. <rfehemhtlist/>
  31. <rfemdamklist/>
  32. </grid>
  33. <prvnchkfrdd/>
  34. <prvnchktodd/>
  35. <reqdd1/>
  36. <reqdd2/>
  37. <todd1/>
  38. <todd2/>
  39. <flag/>
  40. <mngtdeptcd/>
  41. <mngtdeptnm/>
  42. <installplcecd/>
  43. <installplcenm/>
  44. </send>
  45. <init>
  46. <useyn>
  47. <label>내부</label>
  48. <value>1</value>
  49. <label>외부</label>
  50. <value>2</value>
  51. </useyn>
  52. <fixtrseqmflag>
  53. <label>의료장비</label>
  54. <value>EQ</value>
  55. <label>의료비품</label>
  56. <value>U</value>
  57. </fixtrseqmflag>
  58. <sanctyn>
  59. <label/>
  60. <value>A</value>
  61. <label>결재</label>
  62. <value>Y</value>
  63. <label>미결재</label>
  64. <value>N</value>
  65. </sanctyn>
  66. <grdsanctyn>
  67. <label/>
  68. <value>A</value>
  69. <label>결재</label>
  70. <value>Y</value>
  71. <label>반송</label>
  72. <value>R</value>
  73. </grdsanctyn>
  74. <rfehrhfchflag>
  75. <label>수리</label>
  76. <value>1</value>
  77. <label>예방</label>
  78. <value>2</value>
  79. </rfehrhfchflag>
  80. <prvnchkprcsstat>
  81. <label>점검중</label>
  82. <value>1</value>
  83. <label>점검완료</label>
  84. <value>2</value>
  85. <label>결제완료</label>
  86. <value>3</value>
  87. </prvnchkprcsstat>
  88. <check>
  89. <label>GOOD</label>
  90. <value>G</value>
  91. <label>BAD</label>
  92. <value>B</value>
  93. </check>
  94. <check2>
  95. <label>O</label>
  96. <value>G</value>
  97. <label>X</label>
  98. <value>B</value>
  99. </check2>
  100. <itslfchkyn>
  101. <label>자체점검</label>
  102. <value>1</value>
  103. <label>외부점검</label>
  104. <value>2</value>
  105. </itslfchkyn>
  106. <rpircvrtyn>
  107. <label>Yes</label>
  108. <value>Y</value>
  109. <label>No</label>
  110. <value>N</value>
  111. </rpircvrtyn>
  112. <purctrsmyn>
  113. <label/>
  114. <value>A</value>
  115. <label>구매전송</label>
  116. <value>Y</value>
  117. <label>내부결제</label>
  118. <value>C</value>
  119. <label>미결제</label>
  120. <value>N</value>
  121. <label>회송</label>
  122. <value>R</value>
  123. </purctrsmyn>
  124. </init>
  125. <temp/>
  126. </root>
  127. </instance>
  128. <script type="javascript" ev:event="xforms-ready">
  129. <![CDATA[
  130. misfMsterDetailSet(grd_rfehemhtlist, null, "TRRFE00601", "Y");
  131. misfMsterDetailSet(grd_rfemdamklist, null, "TRRFE00602", "N");
  132. misfMsterDetailSet(grd_rfehdabplist, null, "TRRFE00603", "N");
  133. misfMsterDetailSet(grd_rfchprvnlist, null, "TRRFE02001", "Y");
  134. fInitialize();
  135. // 공통코드 설정
  136. misfComboComCdListMulti("Z0007,R0055,R0286,R0288,R0289,R0290,R0032",
  137. "cmb_instcd,grd_rfehemhtlist.workstat,grd_rfehemhtlist.rpirflag1,grd_rfehdabplist.paytype,grd_rfehdabplist.kind,grd_rfehdabplist.costflag,grd_rfehdabplist.acsrsunit");
  138. addComboItem("rdo_sanctyn", "전체", "", "above");
  139. //rszGridAddComboItem("grd_rfehemhtlist.sanctyn", "1", "00", "above");
  140. //model.setValue("/root/send/flag","2");
  141. model.refresh();
  142. // for(var i = 0 ; i < grd_rfehemhtlist.rows ; i++)
  143. // {
  144. // grd_rfehemhtlist.colAttribute.disa
  145. ]]>
  146. </script>
  147. <submission id="TRRFE00601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/rfehemhtlist"/>
  148. <submission id="TRRFE00602" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/grid/rfehemhtlist" resultref="/root/main/rfemdamklist"/>
  149. <submission id="TRRFE00603" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/grid/rfemdamklist" resultref="/root/main/rfehdabplist"/>
  150. <submission id="TXRFE00601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/grid/rfehemhtlist" resultref="/root/temp"/>
  151. <submission id="TRRFE02001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/rfchprvnlist"/>
  152. <submission id="TXRFE02001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save" resultref="/root/temp"/>
  153. </model>
  154. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  155. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  156. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  157. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  158. <script type="javascript" src="../../../mis/miscommonweb/js/RSZ001.js"/>
  159. <script type="javascript">
  160. <![CDATA[
  161. function fInitialize()
  162. {
  163. //조회 컴포넌트 초기화.
  164. model.resetInstanceNode("/root/send");
  165. model.resetInstanceNode("/root/main");
  166. // 그리드 초기화
  167. misfGridInit(grd_rfehemhtlist);
  168. misfGridInit(grd_rfemdamklist);
  169. misfGridInit(grd_rfehdabplist);
  170. misfGridInit(grd_rfchprvnlist);
  171. // 사용자 기관코드 설정.
  172. model.setValue(cmb_instcd.attribute("ref"), getUserInfo("dutplceinstcd"));
  173. //결재전송 인것만 조회하기위한 값 설정.
  174. model.setValue("/root/send/sancttrsmyn", "Y");
  175. //rszGridAddComboItem("grd_rfehemhtlist.sanctyn", "1", "00", "above");
  176. // 현재 날짜 기본 입력(6개월 간격 설정)
  177. var acptdate = getCurrentDate().toDate("YYYYMMDD");
  178. model.setValue(ipt_acptdd.attribute("ref"), acptdate.getAddDate(-6, "M").getDateFormat("YYYYMMDD") );
  179. model.setValue(ipt_acptdd2.attribute("ref"), getCurrentDate());
  180. //의공쪽에서 수리의뢰만 빼고 다보여달라고해서 REQDD 로 날짜 검색
  181. //var reqdate = getCurrentDate().toDate("YYYYMMDD");
  182. //model.setValue(ipt_reqdd1S.attribute("ref"), reqdate.getAddDate(-6, "M").getDateFormat("YYYYMMDD") );
  183. //model.setValue(ipt_reqdd2S.attribute("ref"), getCurrentDate());
  184. model.setValue(cmb_fixtrseqmtflag.attribute("ref"), "EQ");
  185. // 자산구분및 수리/예방여부 기본 설정.
  186. rdo_rfehrhfchflag.select(1);
  187. fAllControlDisabled(true);
  188. model.refresh();
  189. fdeptGrantYN();
  190. }
  191. //수리/예방점검 승인권한 여부 판별하여 Grid의 승인 컬럼을 설정.
  192. function fdeptGrantYN()
  193. {
  194. /* ---------------------------------------------------------------------------------------
  195. * [2007.12.12 HBH ] 청구주기 추가.
  196. * 수리,장비등 청구주기가 없는 것들은 '1'로셋팅
  197. ---------------------------------------------------------------------------------------*/
  198. rszfGetPurcReqAuthInfo(cmb_instcd.value, "S", getUserInfo("dutplcecd"), getUserInfo("userid"),"1");
  199. // for(var fRow = grd_rfehemhtlist.fixedRows; fRow < grd_rfehemhtlist.rows; fRow++)
  200. // {
  201. if( rszfGetPurcAuthInfoByCond("reqaprvflag") == "2" )
  202. {
  203. btn_save.disabled = false;
  204. }else{
  205. btn_save.disabled = true;
  206. }
  207. // }
  208. model.refresh();
  209. }
  210. function fAfterRetr()
  211. {
  212. /* 점검중이면 결재를 하지 못한다. */
  213. for(var fRow = grd_rfchprvnlist.fixedRows; fRow < grd_rfchprvnlist.rows ; fRow++ )
  214. {
  215. if(grd_rfchprvnlist.valueMatrix(fRow, grd_rfchprvnlist.colRef("prvnchkprcsstat")) == "1")
  216. {
  217. grd_rfchprvnlist.isReadOnly(fRow, grd_rfchprvnlist.fixedCols-1, fRow, grd_rfchprvnlist.cols-1) = true;
  218. }
  219. if(grd_rfchprvnlist.valueMatrix(fRow, grd_rfchprvnlist.colRef("sanctyn")) == "Y")
  220. {
  221. model.setValue(grd_rfchprvnlist.nodeset +"[" + fRow + "]/select" ,"Y");
  222. }
  223. }
  224. }
  225. /* grid에서 점검여부 click시 value setting */
  226. function fCheckSanctYn(prow,pval)
  227. {
  228. if(pval=="Y")
  229. {
  230. model.setValue(grd_rfchprvnlist.nodeset +"[" + prow + "]/sanctyn" ,"Y");
  231. model.setValue(grd_rfchprvnlist.nodeset +"[" + prow + "]/sanctdd" ,getCurrentDate());
  232. model.setValue(grd_rfchprvnlist.nodeset +"[" + prow + "]/prvnchkprcsstat" ,"3");
  233. model.refresh();
  234. }
  235. else
  236. {
  237. model.setValue(grd_rfchprvnlist.nodeset +"[" + prow + "]/sanctyn" ,"N");
  238. model.setValue(grd_rfchprvnlist.nodeset +"[" + prow + "]/sanctdd" ,"");
  239. model.setValue(grd_rfchprvnlist.nodeset +"[" + prow + "]/prvnchkprcsstat" ,"2");
  240. }
  241. }
  242. /*--------------------------------------------------------------------------------*/
  243. /* 화면 open시 disable ..행추가시 또는 조회후 값 존재시 enable */
  244. /*--------------------------------------------------------------------------------*/
  245. function fAllControlDisabled(pDisable)
  246. {
  247. rdo_vischk.disabled=pDisable;
  248. txt_viscmt.disabled=pDisable;
  249. rdo_pwrchk.disabled=pDisable;
  250. txt_pwrcmt.disabled=pDisable;
  251. rdo_syschk.disabled=pDisable;
  252. txt_syscmt.disabled=pDisable;
  253. rdo_clnchk.disabled=pDisable;
  254. txt_clncmt.disabled=pDisable;
  255. rdo_itslfchkyn.disabled=pDisable;
  256. cmb_prvnchkprcsstat.disabled=pDisable;
  257. ipt_todd.disabled=pDisable;
  258. ipt_chkpsnid.disabled=pDisable;
  259. ipt_chkpsnnm.disabled=pDisable;
  260. btn_chrgpsnid.disabled=pDisable;
  261. rdo_rpircvrtyn.disabled=pDisable;
  262. opt_reqdd.disabled=pDisable;
  263. opt_reqno.disabled=pDisable;
  264. ipt_bugtyy.disabled=pDisable;
  265. cmb_bugtcd.disabled=pDisable;
  266. ipt_stdysubjno.disabled=pDisable;
  267. ipt_stdysubjnm.disabled=pDisable;
  268. btn_stdysubjnm.disabled=pDisable;
  269. }
  270. function fpurctrsmynDisabled(pDisable)
  271. {
  272. for(var i = grd_rfehemhtlist.fixedRows; i < grd_rfehemhtlist.rows; i++) {
  273. if(grd_rfehemhtlist.valueMatrix(i, grd_rfehemhtlist.colRef("purctrsmyn")) == "Y")
  274. {
  275. grd_rfehemhtlist.cellAttribute("disabled", i, grd_rfehemhtlist.colRef("purctrsmyn")) = "true";
  276. grd_rfehemhtlist.cellAttribute("disabled", i, grd_rfehemhtlist.colRef("sanctyn")) = "true";
  277. }
  278. else
  279. {
  280. grd_rfehemhtlist.cellAttribute("disabled", i, grd_rfehemhtlist.colRef("purctrsmyn")) = "false";
  281. grd_rfehemhtlist.cellAttribute("disabled", i, grd_rfehemhtlist.colRef("sanctyn")) = "false";
  282. }
  283. }
  284. }
  285. ]]>
  286. </script>
  287. </xhtml:head>
  288. <xhtml:body guideline="2,360;2,356;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  289. <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
  290. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:207px; height:14px; ">예방점검 결재</caption>
  291. </group>
  292. <group id="group4" style="left:0px; top:13; width:1195px; height:27px; ">
  293. <button id="btn_print" class="btn6_letter2" visibility="hidden" style="left:0px; top:3; width:56px; height:22px; ">
  294. <caption>출력</caption>
  295. </button>
  296. <button id="btn_save" class="btn4_letter2" style="left:1067px; top:3px; width:56px; height:22px; ">
  297. <caption>저장</caption>
  298. <script type="javascript" ev:event="DOMActivate">
  299. <![CDATA[
  300. if(rdo_rfehrhfchflag.value == 1)
  301. {
  302. // if(grd_rfehemhtlist.valueMatrix(grd_rfehemhtlist.row, grd_rfehemhtlist.colRef("purctrsmyn")) = "Y")
  303. // {
  304. // messageBox("구매전송을 선택하셨습니다","Q002");
  305. // return false;
  306. // }
  307. if(getGridUpdateData(grd_rfehemhtlist) == "")
  308. {
  309. messageBox("변경된 데이터가", "I004");
  310. return;
  311. }
  312. misfSave("TXRFE00601");
  313. }
  314. else if(rdo_rfehrhfchflag.value == 2)
  315. {
  316. if(getGridUpdateData(grd_rfchprvnlist) == "")
  317. {
  318. messageBox("변경된 데이터가", "I004");
  319. return;
  320. }
  321. misfSave("TXRFE02001");
  322. }
  323. if (model.getValue(gvErrorMsgPath + "/type") != "error") btn_search.dispatch("DOMActivate");
  324. ]]>
  325. </script>
  326. </button>
  327. <button id="btn_init" class="btn4_letter3" style="left:1126px; top:3; width:68px; height:22px; ">
  328. <caption>초기화</caption>
  329. <script type="javascript" ev:event="DOMActivate">
  330. <![CDATA[
  331. if(getGridUpdateData(grd_rfehemhtlist) != "")
  332. {
  333. if(messageBox("변경된 데이터가 있습니다. \n초기화 작업을", "Q003") == 7)
  334. return;
  335. }
  336. fInitialize();
  337. ]]>
  338. </script>
  339. </button>
  340. <line id="line15" class="line_6" style="x1:0px; y1:25; x2:1194px; y2:25; "/>
  341. </group>
  342. <group id="grp_biz" scroll="auto" style="left:0px; top:40px; width:1195px; height:740; ">
  343. <group id="grp_sea" style="left:0px; top:5px; width:1194px; height:65px; vertical-align:top; ">
  344. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:60px; background-color:#fffbf2; border-color:#ffd799; "/>
  345. <caption id="cap_instcd" class="search_name" style="left:15px; top:8px; width:86px; height:17px; ">기관코드:</caption>
  346. <button id="btn_search" class="btn1_letter2" style="left:1125px; top:20px; width:56px; height:22px; ">
  347. <caption>조회</caption>
  348. <script type="javascript" ev:event="DOMActivate">
  349. <![CDATA[
  350. if(!isRequiredControls("cmb_instcd")) return;
  351. if(!isRequiredControls("cmb_fixtrseqmtflag")) return;
  352. if(!isRequiredControls("ipt_acptdd")) return;
  353. if(!isRequiredControls("ipt_acptdd2")) return;
  354. if(rdo_rfehrhfchflag.value == 1)
  355. {
  356. if(getGridUpdateData(grd_rfehemhtlist) != "")
  357. {
  358. if(messageBox("변경된 데이터가 있습니다. \n조회작업을", "Q003") == 7)
  359. return;
  360. }
  361. //그리드 초기화.
  362. misfGridInit(grd_rfemdamklist);
  363. misfGridInit(grd_rfehdabplist);
  364. // 컴포넌트 초기화.
  365. model.resetInstanceNode("/root/main/com_rfehemhtlist");
  366. model.resetInstanceNode("/root/send/grid/rfehemhtlist");
  367. //수리 테이블 조회
  368. submit("TRRFE00601");
  369. if(grd_rfehemhtlist.rows > 1)
  370. {
  371. // 기본 Select 설정.
  372. grd_rfehemhtlist.row = grd_rfehemhtlist.fixedRows;
  373. grd_rfehemhtlist.select(grd_rfehemhtlist.fixedRows, grd_rfehemhtlist.colRef("fixasetnm")) = true;
  374. // 회송 처리
  375. for (var i = 1; i <= grd_rfehemhtlist.rows; i++)
  376. {
  377. if (grd_rfehemhtlist.valueMatrix(i, grd_rfehemhtlist.colRef("purctrsmyn")) == "R")
  378. {
  379. grd_rfehemhtlist.valueMatrix(i, grd_rfehemhtlist.colRef("sanctyn")) = "N";
  380. }
  381. }
  382. grd_rfehemhtlist.dispatch("onrowchanged");
  383. }
  384. }else if(rdo_rfehrhfchflag.value == 2){
  385. //예방 테이블 조회
  386. //그리드 초기화.
  387. misfGridInit(grd_rfchprvnlist);
  388. model.resetInstanceNode("/root/main/control/rfchprvnlist");
  389. model.setValue("/root/send/todd1",model.getValue("/root/send/acptdd"));
  390. model.setValue("/root/send/todd2",model.getValue("/root/send/acptdd2"));
  391. // 자산마스터 조회
  392. submit("TRRFE02001");
  393. fAfterRetr();
  394. }
  395. fpurctrsmynDisabled();
  396. model.refresh();
  397. ]]>
  398. </script>
  399. </button>
  400. <select1 id="cmb_instcd" ref="/root/send/instcd" class="combo_s_essential" appearance="minimal" style="left:104px; top:8px; width:246px; height:19px; text-align:center; ">
  401. <choices>
  402. <itemset>
  403. <label/>
  404. <value/>
  405. </itemset>
  406. </choices>
  407. </select1>
  408. <line id="line13" class="line_4" style="x1:1112px; y1:7px; x2:1112px; y2:55px; border-color:#ffe4bb; border-left-style:solid; "/>
  409. <caption id="cap_acptdd" class="search_name" style="left:721px; top:9px; width:119px; height:17px; ">점검완료 일자 :</caption>
  410. <select1 id="cmb_fixtrseqmtflag" ref="/root/send/fixtrseqmtflag" class="combo_s_essential" disabled="true" visibility="hidden" appearance="minimal" style="left:757px; top:0px; width:145px; height:19px; text-align:center; ">
  411. <choices>
  412. <itemset nodeset="/root/init/fixtrseqmflag">
  413. <label ref="label"/>
  414. <value ref="value"/>
  415. </itemset>
  416. </choices>
  417. </select1>
  418. <caption id="cap_fixtrseqmtflag" class="search_name" visibility="hidden" style="left:665px; top:0px; width:86px; height:17px; ">자산구분 :</caption>
  419. <input id="ipt_acptdd2" ref="/root/send/acptdd2" class="input_s_essential" visibility="visible" inputtype="date" style="left:975px; top:10px; width:111px; height:19px; text-align:center; "/>
  420. <input id="ipt_acptdd" ref="/root/send/acptdd" class="input_s_essential" visibility="visible" inputtype="date" style="left:850px; top:10px; width:107px; height:19px; text-align:center; "/>
  421. <caption id="cap_chrgpsnid" class="search_name" style="left:15px; top:35px; width:83px; height:17px; ">담 당 자 :</caption>
  422. <button id="btn_chrgpsnid" class="icon_search" style="left:205px; top:35px; width:16px; height:16px; ">
  423. <caption/>
  424. <script type="javascript" ev:event="xforms-value-changed">
  425. <![CDATA[
  426. misfOpenPopUpList("01", ipt_chrgpsnid, "", "chrgpsnid,chrgpsnnm");
  427. model.refresh();
  428. ]]>
  429. </script>
  430. </button>
  431. <input id="ipt_chrgpsnid" ref="/root/send/chrgpsnid" class="input_search" style="left:104px; top:35px; width:97px; height:19px; text-align:center; ">
  432. <script type="javascript" ev:event="xfroms-value-changed">
  433. <![CDATA[
  434. if(ipt_chrgpsnid.value.length == 0)
  435. {
  436. ipt_chrgpsnnm.value = "";
  437. }else{
  438. misfValidationCheck("01-1", "", "chrgpsnid,chrgpsnnm");
  439. }
  440. model.refresh();
  441. ]]>
  442. </script>
  443. </input>
  444. <input id="ipt_chrgpsnnm" ref="/root/send/chrgpsnnm" class="input_search" appearance="output" style="left:225px; top:35px; width:125px; height:19px; text-align:center; ">
  445. <script type="javascript" ev:event="xforms-value-changed">
  446. <![CDATA[
  447. if(ipt_chrgpsnnm.value.length == 0)
  448. {
  449. ipt_chrgpsnid.value = "";
  450. }else {
  451. misfValidationCheck("01-2", "", "chrgpsnid,chrgpsnnm");
  452. }
  453. model.refresh();
  454. ]]>
  455. </script>
  456. </input>
  457. <caption id="cap_sanctyn" class="search_name" style="left:720px; top:35px; width:86px; height:17px; ">결재여부 :</caption>
  458. <select1 id="rdo_sanctyn" ref="/root/send/sanctyn" class="radio_search" appearance="full" cellspacing="10" cols="4" overflow="visible" style="left:812px; top:35px; width:240px; height:20px; text-align:center; vertical-align:middle; border-style:none; ">
  459. <choices>
  460. <itemset nodeset="/root/init/sanctyn">
  461. <label ref="label"/>
  462. <value ref="value"/>
  463. </itemset>
  464. </choices>
  465. </select1>
  466. <caption id="caption1" style="left:961px; top:10px; width:15px; height:20px; ">~</caption>
  467. <input id="ipt_sancttrsmyn" ref="/root/send/sancttrsmyn" class="input_search" visibility="hidden" style="left:360px; top:10px; width:65px; height:19px; "/>
  468. <caption id="cap_rfehrhfchflag" class="search_name" visibility="hidden" style="left:935px; top:30px; width:124px; height:17px; ">수리/예방 여부 :</caption>
  469. <select1 id="rdo_rfehrhfchflag" ref="/root/send/rfehrhfchflag" class="radio_search" disabled="false" visibility="hidden" appearance="full" cellspacing="10" cols="2" overflow="visible" style="left:1065px; top:30px; width:105px; height:20px; text-align:center; vertical-align:middle; border-style:none; ">
  470. <choices>
  471. <itemset nodeset="/root/init/rfehrhfchflag">
  472. <label ref="label"/>
  473. <value ref="value"/>
  474. </itemset>
  475. </choices>
  476. <script type="javascript" ev:event="xforms-value-changed">
  477. <![CDATA[
  478. if(rdo_rfehrhfchflag.value == 1)
  479. {
  480. model.toggle("RFEH");
  481. cap_chrgpsnid.text = "담 당 자 :";
  482. cmb_fixtrseqmtflag.disabled = false;
  483. }else if(rdo_rfehrhfchflag.value == 2){
  484. model.toggle("RFCH");
  485. cap_chrgpsnid.text = "점 검 자 :";
  486. cmb_fixtrseqmtflag.disabled = true;
  487. }
  488. ]]>
  489. </script>
  490. </select1>
  491. <output id="ipt_installplcenm" ref="/root/send/installplcenm" class="output_fix" navindex="-1" appearance="output" style="left:580px; top:36px; width:120px; height:19px; "/>
  492. <button id="btn_mngtdeptcd" class="icon_search" navindex="6" style="left:560px; top:6px; width:16px; height:16px; ">
  493. <caption/>
  494. <script type="javascript" ev:event="DOMActivate">
  495. <![CDATA[
  496. misfOpenPopUpList("02", ipt_mngtdeptcd,"","mngtdeptcd,mngtdeptnm");
  497. model.refresh();
  498. ]]>
  499. </script>
  500. </button>
  501. <input id="ipt_installplcecd" ref="/root/send/installplcecd" class="input_default" navindex="5" style="left:470px; top:36px; width:84px; height:19px; ">
  502. <script type="javascript" ev:event="xforms-value-changed">
  503. <![CDATA[
  504. misfSearchDept(ipt_installplcenm);
  505. ]]>
  506. </script>
  507. </input>
  508. <caption id="cap_mngtdeptcd" class="search_name" style="left:380px; top:6px; width:86px; height:17px; ">사용부서 :</caption>
  509. <button id="btn_installplcecd" class="icon_search" navindex="6" style="left:560px; top:36px; width:16px; height:16px; ">
  510. <caption/>
  511. <script type="javascript" ev:event="DOMActivate">
  512. <![CDATA[
  513. misfOpenPopUpList("02", ipt_installplcecd,"","installplcecd,installplcenm");
  514. model.refresh();
  515. ]]>
  516. </script>
  517. </button>
  518. <output id="ipt_mngtdeptnm" ref="/root/send/mngtdeptnm" class="output_fix" navindex="-1" appearance="output" style="left:580px; top:6px; width:120px; height:19px; "/>
  519. <caption id="cap_installplcecd" class="search_name" style="left:380px; top:36px; width:86px; height:17px; ">설치장소 :</caption>
  520. <input id="ipt_mngtdeptcd" ref="/root/send/mngtdeptcd" class="input_default" navindex="5" style="left:470px; top:6px; width:84px; height:19px; ">
  521. <script type="javascript" ev:event="xforms-value-changed">
  522. <![CDATA[
  523. misfSearchDept(ipt_mngtdeptnm);
  524. ]]>
  525. </script>
  526. </input>
  527. </group>
  528. <switch id="swt_choice" style="left:1px; top:70px; width:1190px; height:660px; ">
  529. <case id="RFCH" selected="true" style="left:0px; top:0px; width:1188px; height:658px; ">
  530. <output id="opt_mngtno" ref="/root/main/control/rfchprvnlist/mngtno" class="output_fix" style="left:872px; top:37px; width:312px; height:19px; "/>
  531. <output id="opt_installplcenm" ref="/root/main/control/rfchprvnlist/installplcenm" class="output_fix" style="left:872px; top:112px; width:312px; height:19px; "/>
  532. <output id="opt_reqdd" ref="/root/main/control/rfchprvnlist/reqdd" class="output_fix" format="yyyy-mm-dd" style="left:877px; top:598px; width:108px; height:19px; "/>
  533. <output id="opt_reqno" ref="/root/main/control/rfchprvnlist/reqno" class="output_fix" style="left:987px; top:598px; width:63px; height:19px; "/>
  534. <select1 id="rdo_vischk" ref="/root/main/control/rfchprvnlist/vischk" class="input_fix" appearance="full" cellspacing="50" cols="2" style="left:877px; top:161px; width:210px; height:20px; border-style:none; ">
  535. <choices>
  536. <itemset nodeset="/root/init/check">
  537. <label ref="label"/>
  538. <value ref="value"/>
  539. </itemset>
  540. </choices>
  541. </select1>
  542. <select1 id="rdo_itslfchkyn" ref="/root/main/control/rfchprvnlist/itslfchkyn" class="input_fix" appearance="full" cellspacing="50" cols="2" overflow="visible" style="left:877px; top:502px; width:210px; height:20px; border-style:none; ">
  543. <choices>
  544. <itemset nodeset="/root/init/itslfchkyn">
  545. <label ref="label"/>
  546. <value ref="value"/>
  547. </itemset>
  548. </choices>
  549. </select1>
  550. <select1 id="rdo_syschk" ref="/root/main/control/rfchprvnlist/syschk" class="input_fix" appearance="full" cellspacing="50" cols="2" overflow="visible" style="left:877px; top:332px; width:210px; height:20px; border-style:none; ">
  551. <choices>
  552. <itemset nodeset="/root/init/check">
  553. <label ref="label"/>
  554. <value ref="value"/>
  555. </itemset>
  556. </choices>
  557. </select1>
  558. <input id="ipt_chkpsnid" ref="/root/main/control/rfchprvnlist/chkpsnid" class="input_search" style="left:877px; top:550px; width:107px; height:19px; text-align:center; ">
  559. <script type="javascript" ev:event="xfroms-value-changed">
  560. <![CDATA[
  561. if(ipt_chkpsnid.value.length == 0)
  562. {
  563. chkpsnnm.value = "";
  564. }else{
  565. misfValidationCheck("01-1", "", "chkpsnid,chkpsnnm");
  566. }
  567. model.refresh();
  568. ]]>
  569. </script>
  570. </input>
  571. <select1 id="rdo_pwrchk" ref="/root/main/control/rfchprvnlist/pwrchk" class="input_fix" appearance="full" cellspacing="50" cols="2" overflow="visible" style="left:877px; top:247px; width:210px; height:20px; border-style:none; ">
  572. <choices>
  573. <itemset nodeset="/root/init/check">
  574. <label ref="label"/>
  575. <value ref="value"/>
  576. </itemset>
  577. </choices>
  578. </select1>
  579. <caption id="caption10" class="cell_1" style="left:780px; top:86px; width:90px; height:23px; vertical-align:middle; ">제조회사</caption>
  580. <button id="button1" class="icon_search" style="left:990px; top:550px; width:16px; height:16px; ">
  581. <caption/>
  582. <script type="javascript" ev:event="xforms-value-changed">
  583. <![CDATA[
  584. misfOpenPopUpList("01", ipt_chrgpsnid, "", "chrgpsnid,chrgpsnnm");
  585. model.refresh();
  586. ]]>
  587. </script>
  588. </button>
  589. <caption id="caption11" class="cell_1" style="left:780px; top:111px; width:90px; height:23px; vertical-align:middle; ">설치장소</caption>
  590. <caption id="caption3" class="tit_2" style="left:5px; top:10px; width:95px; height:13px; ">예방점검목록</caption>
  591. <caption id="caption12" class="tit_2" style="left:785px; top:141px; width:106px; height:13px; ">예방결과내역</caption>
  592. <caption id="caption8" class="tit_2" style="left:785px; top:10px; width:95px; height:13px; ">상세</caption>
  593. <caption id="caption9" class="cell_1" style="left:780px; top:501px; width:95px; height:23px; vertical-align:middle; ">점검구분</caption>
  594. <input id="ipt_todd" ref="/root/main/control/rfchprvnlist/todd" class="input_search" inputtype="date" style="left:987px; top:527px; width:133px; height:19px; text-align:center; ">
  595. <script type="javascript" ev:event="xfroms-value-changed">
  596. <![CDATA[
  597. if(ipt_chkpsnid.value.length == 0)
  598. {
  599. chkpsnnm.value = "";
  600. }else{
  601. misfValidationCheck("01-1", "", "chkpsnid,chkpsnnm");
  602. }
  603. model.refresh();
  604. ]]>
  605. </script>
  606. </input>
  607. <caption id="caption13" class="cell_1" style="left:780px; top:525px; width:95px; height:23px; vertical-align:middle; ">점검상태/일자</caption>
  608. <caption id="caption14" class="cell_1" style="left:780px; top:160px; width:95px; height:83px; vertical-align:middle; ">
  609. <![CDATA[ VISUAL
  610. CHECK]]>
  611. </caption>
  612. <line id="line6" class="line_1" style="x1:1px; y1:31px; x2:775px; y2:30px; "/>
  613. <line id="line7" class="line_1" style="x1:780px; y1:30px; x2:1185px; y2:31px; "/>
  614. <output id="opt_suplplcenm" ref="/root/main/control/rfchprvnlist/suplplcenm" class="output_fix" style="left:872px; top:62px; width:312px; height:19px; "/>
  615. <select1 id="rdo_rpircvrtyn" ref="/root/main/control/rfchprvnlist/rpircvrtyn" class="input_fix" appearance="full" cellspacing="50" cols="2" overflow="visible" style="left:877px; top:574px; width:210px; height:20px; border-style:none; ">
  616. <choices>
  617. <itemset nodeset="/root/init/rpircvrtyn">
  618. <label ref="label"/>
  619. <value ref="value"/>
  620. </itemset>
  621. </choices>
  622. </select1>
  623. <caption id="caption15" class="cell_1" style="left:780px; top:246px; width:95px; height:83px; vertical-align:middle; ">
  624. <![CDATA[ FUNCTION
  625. CHECK]]>
  626. </caption>
  627. <caption id="caption16" class="cell_1" style="left:780px; top:573px; width:95px; height:23px; vertical-align:middle; ">수리전환</caption>
  628. <caption id="caption17" class="cell_1" style="left:780px; top:331px; width:95px; height:83px; vertical-align:middle; ">
  629. <![CDATA[ SYSTEM
  630. CHECK]]>
  631. </caption>
  632. <caption id="caption18" class="cell_1" style="left:780px; top:597px; width:95px; height:23px; vertical-align:middle; ">수리의뢰번호</caption>
  633. <caption id="caption19" class="cell_1" style="left:780px; top:36px; width:90px; height:23px; vertical-align:middle; ">SERIAL_NO</caption>
  634. <caption id="caption20" class="cell_1" style="left:780px; top:549px; width:95px; height:23px; vertical-align:middle; ">점검자</caption>
  635. <caption id="caption21" class="cell_1" style="left:780px; top:61px; width:90px; height:23px; vertical-align:middle; ">거래처</caption>
  636. <select1 id="cmb_prvnchkprcsstat" ref="/root/main/control/rfchprvnlist/prvnchkprcsstat" appearance="minimal" style="left:877px; top:527px; width:100px; height:19px; ">
  637. <choices>
  638. <itemset nodeset="/root/init/prvnchkprcsstat">
  639. <label ref="label"/>
  640. <value ref="value"/>
  641. </itemset>
  642. </choices>
  643. <script type="javascript" ev:event="xforms-value-changed">
  644. <![CDATA[
  645. if(cmb_prvnchkprcsstat.value=="2")
  646. {
  647. model.setValue(ipt_todd.attribute("ref"),getCurrentDate());
  648. model.setValue(ipt_chkpsnid.attribute("ref"),getUserInfo("userid"));
  649. model.setValue(ipt_chkpsnnm.attribute("ref"),getUserInfo("usernm"));
  650. model.setValue(rdo_rpircvrtyn.attribute("ref"),"N");
  651. }
  652. else if(cmb_prvnchkprcsstat.value=="1")
  653. {
  654. model.setValue(ipt_todd.attribute("ref"),"");
  655. model.setValue(ipt_chkpsnid.attribute("ref"),"");
  656. model.setValue(ipt_chkpsnnm.attribute("ref"),"");
  657. model.setValue(rdo_rpircvrtyn.attribute("ref"),"N");
  658. }
  659. model.refresh();
  660. ]]>
  661. </script>
  662. </select1>
  663. <output id="opt_prodcmpynm" ref="/root/main/control/rfchprvnlist/prodcmpynm" class="output_fix" style="left:872px; top:87px; width:312px; height:19px; "/>
  664. <textarea id="txt_viscmt" ref="/root/main/control/rfchprvnlist/viscmt" scroll="vertical" style="left:876px; top:182px; width:309px; height:60px; "/>
  665. <textarea id="txt_syscmt" ref="/root/main/control/rfchprvnlist/syscmt" scroll="vertical" style="left:876px; top:354px; width:309px; height:60px; "/>
  666. <textarea id="txt_pwrcmt" ref="/root/main/control/rfchprvnlist/pwrcmt" scroll="vertical" style="left:876px; top:268px; width:309px; height:60px; "/>
  667. <line id="line8" class="line_1" style="x1:780px; y1:156px; x2:1180px; y2:157px; "/>
  668. <input id="ipt_chkpsnnm" ref="/root/main/control/rfchprvnlist/chkpsnnm" class="input_search" appearance="output" style="left:1010px; top:550px; width:170px; height:19px; text-align:center; ">
  669. <script type="javascript" ev:event="xforms-value-changed">
  670. <![CDATA[
  671. if(ipt_chkpsnnm.value.length == 0)
  672. {
  673. ipt_chkpsnnm.value = "";
  674. }else {
  675. misfValidationCheck("01-2", "", "chkpsnid,chkpsnnm");
  676. }
  677. model.refresh();
  678. ]]>
  679. </script>
  680. </input>
  681. <caption id="cap_bugtyy" class="cell_1" style="left:780px; top:621px; width:95px; height:23px; vertical-align:middle; ">예산년도</caption>
  682. <caption id="cap_bugtcd" class="cell_1" style="left:984px; top:621px; width:60px; height:23px; vertical-align:middle; ">예산계정</caption>
  683. <caption id="cap_stdysubjno" class="cell_1" visibility="hidden" style="left:780px; top:629px; width:95px; height:23px; vertical-align:middle; ">연구과제</caption>
  684. <input id="ipt_bugtyy" ref="/root/main/control/rfchprvnlist/bugtyy" class="input_default" disabled="true" inputtype="date" format="yyyy" style="left:877px; top:623px; width:103px; height:19px; "/>
  685. <input id="ipt_stdysubjnm" ref="/root/main/control/rfchprvnlist/stdysubjnm" class="input_search" disabled="true" visibility="hidden" style="left:994px; top:630px; width:191px; height:19px; text-align:center; ">
  686. <script type="javascript" ev:event="xforms-value-changed">
  687. <![CDATA[
  688. if(ipt_stdysubjnm.value != "")
  689. {
  690. rszfValidationCheck("TRRSD00261", "studylist", "refcond,instcd,stdysubjnm", "stdysubjnm," + cmb_instcd.value + "," + ipt_stdysubjnm.value, "",
  691. "stdysubjno,stdysubjnm", ipt_stdysubjnm, "SPRSD00260", "instcd", "cmb_instcd");
  692. }else
  693. {
  694. ipt_stdysubjno.value = "";
  695. ipt_stdysubjnm.value = "";
  696. }
  697. model.refresh();
  698. ]]>
  699. </script>
  700. </input>
  701. <input id="ipt_stdysubjno" ref="/root/main/control/rfchprvnlist/stdysubjno" class="input_search" disabled="true" visibility="hidden" style="left:877px; top:630px; width:93px; height:19px; text-align:center; ">
  702. <script type="javascript" ev:event="xforms-value-changed">
  703. <![CDATA[
  704. if(ipt_stdysubjno.value != "")
  705. {
  706. rszfValidationCheck("TRRSD00261", "studylist", "refcond,instcd,stdysubjno", "stdysubjno," + cmb_instcd.value + "," + ipt_stdysubjno.value, "",
  707. "stdysubjno,stdysubjnm", ipt_stdysubjno, "SPRSD00260", "instcd", "cmb_instcd");
  708. }else
  709. {
  710. ipt_stdysubjno.value = "";
  711. ipt_stdysubjnm.value = "";
  712. }
  713. model.refresh();
  714. ]]>
  715. </script>
  716. </input>
  717. <select1 id="cmb_bugtcd" ref="/root/main/control/rfchprvnlist/bugtcd" disabled="true" appearance="minimal" style="left:1045px; top:623px; width:140px; height:19px; ">
  718. <choices>
  719. <itemset>
  720. <label/>
  721. <value/>
  722. </itemset>
  723. </choices>
  724. </select1>
  725. <button id="btn_stdysubjnm" class="icon_search" disabled="true" visibility="hidden" style="left:974px; top:631px; width:16px; height:16px; ">
  726. <caption/>
  727. <script type="javascript" ev:event="DOMActivate">
  728. <![CDATA[
  729. rszfOpenPopUpListByWndName(ipt_stdysubjno,"","stdysubjno,stdysubjnm","SPRSD00260","instcd","cmb_instcd");
  730. model.refresh();
  731. ]]>
  732. </script>
  733. </button>
  734. <caption id="caption22" class="cell_1" style="left:780px; top:416px; width:95px; height:83px; vertical-align:middle; ">
  735. <![CDATA[ CLEANING
  736. CHECK]]>
  737. </caption>
  738. <select1 id="rdo_clnchk" ref="/root/main/control/rfchprvnlist/clnchk" class="input_fix" appearance="full" cellspacing="50" cols="2" overflow="visible" style="left:877px; top:416px; width:210px; height:20px; border-style:none; ">
  739. <choices>
  740. <itemset nodeset="/root/init/check">
  741. <label ref="label"/>
  742. <value ref="value"/>
  743. </itemset>
  744. </choices>
  745. </select1>
  746. <textarea id="txt_clncmt" ref="/root/main/control/rfchprvnlist/clncmt" scroll="vertical" style="left:876px; top:438px; width:309px; height:60px; "/>
  747. <button id="btn_allchoi" class="btn2_letter5" style="left:700px; top:5px; width:75px; height:19px; ">
  748. <caption>전체 취소</caption>
  749. <script type="javascript" ev:event="DOMActivate">
  750. <![CDATA[
  751. for(var liRow = grd_rfchprvnlist.fixedRows; liRow < grd_rfchprvnlist.rows ; liRow++)
  752. {
  753. if (model.getValue(grd_rfchprvnlist.nodeset + "[" + (liRow - grd_rfchprvnlist.fixedRows + 1) + "]/prvnchkprcsstat") != "1"){
  754. if(grd_rfchprvnlist.valueMatrix(liRow,grd_rfchprvnlist.colRef("select")) == "Y")
  755. {
  756. model.setValue(grd_rfchprvnlist.nodeset + "[" + (liRow - grd_rfchprvnlist.fixedRows + 1) + "]/select" , "N");
  757. model.setValue(grd_rfchprvnlist.nodeset + "[" + (liRow - grd_rfchprvnlist.fixedRows + 1) + "]/sanctyn" , "N");
  758. model.setValue(grd_rfchprvnlist.nodeset + "[" + (liRow - grd_rfchprvnlist.fixedRows + 1) + "]/sanctdd" , "");
  759. model.setValue(grd_rfchprvnlist.nodeset + "[" + (liRow - grd_rfchprvnlist.fixedRows + 1) + "]/prvnchkprcsstat" , "2");
  760. }
  761. if (model.getValue(grd_rfchprvnlist.nodeset + "[" + (liRow - grd_rfchprvnlist.fixedRows + 1) + "]/prvnchkprcsstat") != model.getValue(grd_rfchprvnlist.nodeset + "[" + (liRow - grd_rfchprvnlist.fixedRows + 1) + "]/preprvnchkprcsstat")){
  762. grd_rfchprvnlist.rowStatus(liRow) = "2";
  763. }else{
  764. grd_rfchprvnlist.rowStatus(liRow) = "0";
  765. }
  766. }
  767. }
  768. model.refresh();
  769. ]]>
  770. </script>
  771. </button>
  772. <button id="button2" class="btn2_letter5" style="left:624px; top:5px; width:75px; height:19px; ">
  773. <caption>전체 선택</caption>
  774. <script type="javascript" ev:event="DOMActivate">
  775. <![CDATA[
  776. for(var liRow = grd_rfchprvnlist.fixedRows; liRow < grd_rfchprvnlist.rows ; liRow++)
  777. {
  778. if (model.getValue(grd_rfchprvnlist.nodeset + "[" + (liRow - grd_rfchprvnlist.fixedRows + 1) + "]/prvnchkprcsstat") != "1"){
  779. if(grd_rfchprvnlist.valueMatrix(liRow,grd_rfchprvnlist.colRef("select")) != "Y")
  780. {
  781. model.setValue(grd_rfchprvnlist.nodeset + "[" + (liRow - grd_rfchprvnlist.fixedRows + 1) + "]/select" , "Y");
  782. model.setValue(grd_rfchprvnlist.nodeset + "[" + (liRow - grd_rfchprvnlist.fixedRows + 1) + "]/sanctyn" , "Y");
  783. model.setValue(grd_rfchprvnlist.nodeset + "[" + (liRow - grd_rfchprvnlist.fixedRows + 1) + "]/sanctdd" , getCurrentDate());
  784. model.setValue(grd_rfchprvnlist.nodeset + "[" + (liRow - grd_rfchprvnlist.fixedRows + 1) + "]/prvnchkprcsstat" , "3");
  785. }
  786. if (model.getValue(grd_rfchprvnlist.nodeset + "[" + (liRow - grd_rfchprvnlist.fixedRows + 1) + "]/prvnchkprcsstat") != model.getValue(grd_rfchprvnlist.nodeset + "[" + (liRow - grd_rfchprvnlist.fixedRows + 1) + "]/preprvnchkprcsstat")){
  787. grd_rfchprvnlist.rowStatus(liRow) = "2";
  788. }else{
  789. grd_rfchprvnlist.rowStatus(liRow) = "0";
  790. }
  791. }
  792. }
  793. model.refresh();
  794. ]]>
  795. </script>
  796. </button>
  797. <button id="btn_grdsize" class="btn2_letter4" navindex="33" style="left:559px; top:5px; width:64px; height:19px; ">
  798. <caption>펼치기</caption>
  799. <script type="javascript" ev:event="DOMActivate">
  800. <![CDATA[
  801. if( btn_grdsize.attribute("text") == "펼치기"){
  802. btn_grdsize.attribute("text") = "줄이기";
  803. grd_rfchprvnlist.attribute("width") =1190 ;
  804. }
  805. else {
  806. btn_grdsize.attribute("text") ="펼치기";
  807. grd_rfchprvnlist.attribute("width") =778 ;
  808. }
  809. ]]>
  810. </script>
  811. </button>
  812. <datagrid id="grd_rfchprvnlist" nodeset="/root/main/rfchprvnlist" caption="선택^점검상태^계획일자^순번^자산코드^자산명칭^사용부서^설치장소^V.C^F.C^S.C^C.C^수리^규격^S/N^모델^담당자" colsep="^" colwidth="37, 75, 66, 47, 83, 303, 100, 100, 33, 33, 31, 31, 53, 132, 107, 96, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100" ellipsis="true" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:0px; top:35px; width:778px; height:613px; ">
  813. <col checkvalue="Y,N" ref="select" type="checkbox"/>
  814. <col checkvalue="Y,N" disabled="true" ref="prvnchkprcsstat" type="combo" style="text-align:center; ">
  815. <choices>
  816. <itemset nodeset="/root/init/prvnchkprcsstat">
  817. <label ref="label"/>
  818. <value ref="value"/>
  819. </itemset>
  820. </choices>
  821. </col>
  822. <col ref="prvnchkdd" format="yyyymmdd"/>
  823. <col ref="acptno" style="text-align:center; "/>
  824. <col ref="fixasetcd"/>
  825. <col ref="goodflaghngnm"/>
  826. <col ref="mngtdeptnm" style="text-align:center; "/>
  827. <col ref="installplcenm" style="text-align:center; "/>
  828. <col disabled="true" ref="vischk" type="combo" style="text-align:center; ">
  829. <choices>
  830. <itemset nodeset="/root/init/check2">
  831. <label ref="label"/>
  832. <value ref="value"/>
  833. </itemset>
  834. </choices>
  835. </col>
  836. <col disabled="true" ref="pwrchk" type="combo" style="text-align:center; ">
  837. <choices>
  838. <itemset nodeset="/root/init/check2">
  839. <label ref="label"/>
  840. <value ref="value"/>
  841. </itemset>
  842. </choices>
  843. </col>
  844. <col disabled="true" ref="syschk" type="combo" style="text-align:center; ">
  845. <choices>
  846. <itemset nodeset="/root/init/check2">
  847. <label ref="label"/>
  848. <value ref="value"/>
  849. </itemset>
  850. </choices>
  851. </col>
  852. <col disabled="true" ref="clnchk" type="combo" style="text-align:center; ">
  853. <choices>
  854. <itemset nodeset="/root/init/check2">
  855. <label ref="label"/>
  856. <value ref="value"/>
  857. </itemset>
  858. </choices>
  859. </col>
  860. <col checkvalue="Y,N" disabled="true" ref="rpircvrtyn" type="checkbox"/>
  861. <col ref="goodspec"/>
  862. <col ref="mngtno"/>
  863. <col ref="goodmodel" visibility="hidden"/>
  864. <col ref="acptpsnnm"/>
  865. <col ref="medelectacptyn" visibility="hidden"/>
  866. <col ref="medelectacptpsnid" visibility="hidden"/>
  867. <col ref="usedeprtmangrcnfm" visibility="hidden"/>
  868. <col ref="rpircvrtyn" visibility="hidden"/>
  869. <col ref="reqdd" visibility="hidden"/>
  870. <col ref="reqno" visibility="hidden"/>
  871. <col ref="prvnchkprcsstat" visibility="hidden"/>
  872. <col ref="sanctyn" visibility="hidden"/>
  873. <col ref="sanctdd" visibility="hidden"/>
  874. <col ref="instcd" visibility="hidden"/>
  875. <col ref="viscmt" visibility="hidden"/>
  876. <col ref="pwrcmt" visibility="hidden"/>
  877. <col ref="syscmt" visibility="hidden"/>
  878. <col ref="itslfchkyn" visibility="hidden"/>
  879. <col ref="acsrsuseyn" visibility="hidden"/>
  880. <col ref="todd" visibility="hidden"/>
  881. <col ref="chkpsnid" visibility="hidden"/>
  882. <col ref="installplcenm" visibility="hidden"/>
  883. <col ref="suplplcenm" visibility="hidden"/>
  884. <col ref="prodcmpynm" visibility="hidden"/>
  885. <col ref="chkpsnnm" visibility="hidden"/>
  886. <col ref="acptpsnid" visibility="hidden"/>
  887. <col ref="prerpircvrtyn" visibility="hidden"/>
  888. <col ref="bugtyy" visibility="hidden"/>
  889. <col ref="bugtcd" visibility="hidden"/>
  890. <col ref="stdysubjno" visibility="hidden"/>
  891. <col ref="clncmt" visibility="hidden"/>
  892. <col ref="preprvnchkprcsstat" visibility="hidden"/>
  893. <script type="javascript" ev:event="onrowchanged">
  894. <![CDATA[
  895. if( grd_rfchprvnlist.rows >= grd_rfchprvnlist.fixedRows )
  896. {
  897. model.resetInstanceNode("/root/main/control/rfchprvnlist");
  898. model.copyNode("/root/main/control/rfchprvnlist" ,grd_rfchprvnlist.nodeset + "["+ (grd_rfchprvnlist.row-grd_rfchprvnlist.fixedrows+1) + "]");
  899. }
  900. model.refresh();
  901. ]]>
  902. </script>
  903. <script type="javascript" ev:event="xforms-value-changed">
  904. <![CDATA[
  905. //if (grd_rfchprvnlist.col == grd_rfchprvnlist.colRef("prvnchkprcsstat") )
  906. if (grd_rfchprvnlist.col == grd_rfchprvnlist.colRef("select") )
  907. {
  908. fCheckSanctYn(grd_rfchprvnlist.row,grd_rfchprvnlist.valueMatrix(grd_rfchprvnlist.row, grd_rfchprvnlist.colRef("select")));
  909. if (grd_rfchprvnlist.valueMatrix(grd_rfchprvnlist.row, grd_rfchprvnlist.colRef("prvnchkprcsstat")) != grd_rfchprvnlist.valueMatrix(grd_rfchprvnlist.row, grd_rfchprvnlist.colRef("preprvnchkprcsstat"))){
  910. grd_rfchprvnlist.rowStatus(grd_rfchprvnlist.row) = "2";
  911. }else{
  912. grd_rfchprvnlist.rowStatus(grd_rfchprvnlist.row) = "0";
  913. }
  914. }
  915. ]]>
  916. </script>
  917. <script type="javascript" ev:event="onaftersort">
  918. <![CDATA[
  919. grd_rfchprvnlist.gridToInstance();
  920. ]]>
  921. </script>
  922. </datagrid>
  923. </case>
  924. <case id="RFEH" style="left:0px; top:0px; width:1193px; height:658px; ">
  925. <caption id="cap_estimateamt" class="cell_1" style="left:243px; top:259px; width:83px; height:23px; vertical-align:middle; ">외주견적금액</caption>
  926. <input id="ipt_estimateamt" ref="/root/main/com_rfehemhtlist/estimateamt" class="output_fix" disabled="true" format="#,###" style="left:325px; top:261px; width:159px; height:19px; text-align:right; "/>
  927. <datagrid id="grd_rfehemhtlist" nodeset="/root/main/rfehemhtlist" allowselection="false" caption="의뢰일자^의뢰일자^의뢰부서^자산구분^S/N^자산명^접수일자^완료일자^담당자^확정금액^접수구분^수리상태^수리구분^결재승인^구매전송^결재COMMENTS^청구구분^청구부서^1^1^1^1^1^1^1^1^1^1^1^1^1^1^1^1^1^1^1^1^1^1" colsep="^" colwidth="67, 31, 81, 60, 100, 172, 72, 66, 66, 80, 75, 81, 78, 62, 83, 156, 60, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100" ellipsis="true" explorerbar="sortshow" extendlastcol="scroll" frozencols="10" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" rows="2" rowsep="|" selectionmode="byrow" tooltip="true" style="left:0px; top:25px; width:1187px; height:208px; ">
  928. <col disabled="true" ref="reqdd" format="yyyy-mm-dd" _key="true"/>
  929. <col disabled="true" ref="reqno" _key="true"/>
  930. <col ref="depthngnm"/>
  931. <col disabled="true" ref="fixtrseqmtflag" type="combo" _key="true" style="text-align:center; ">
  932. <choices>
  933. <itemset nodeset="/root/init/fixtrseqmflag">
  934. <label ref="label"/>
  935. <value ref="value"/>
  936. </itemset>
  937. </choices>
  938. </col>
  939. <col disabled="true" ref="mngtno"/>
  940. <col disabled="true" ref="fixasetnm"/>
  941. <col disabled="true" ref="acptdd" format="yyyy-mm-dd"/>
  942. <col disabled="true" ref="rpirenddd" format="yyyy-mm-dd"/>
  943. <col disabled="true" ref="chrgpsnnm" style="text-align:center; "/>
  944. <col disabled="true" ref="rpiramt" visibility="hidden" format="#,###" style="text-align:right; "/>
  945. <col disabled="true" ref="workstat" type="combo" style="text-align:center; ">
  946. <choices>
  947. <itemset>
  948. <label/>
  949. <value/>
  950. </itemset>
  951. </choices>
  952. </col>
  953. <col disabled="true" ref="rpirflag1" type="combo" style="text-align:center; ">
  954. <choices>
  955. <itemset>
  956. <label/>
  957. <value/>
  958. </itemset>
  959. </choices>
  960. </col>
  961. <col disabled="true" ref="useyn" type="combo" style="text-align:center; ">
  962. <choices>
  963. <itemset nodeset="/root/init/useyn">
  964. <label ref="label"/>
  965. <value ref="value"/>
  966. </itemset>
  967. </choices>
  968. </col>
  969. <col class="input_essential" ref="sanctyn" type="combo" style="text-align:center; ">
  970. <choices>
  971. <itemset nodeset="/root/init/grdsanctyn">
  972. <label ref="label"/>
  973. <value ref="value"/>
  974. </itemset>
  975. </choices>
  976. </col>
  977. <col ref="purctrsmyn" type="combo">
  978. <choices>
  979. <itemset nodeset="/root/init/purctrsmyn">
  980. <label ref="label"/>
  981. <value ref="value"/>
  982. </itemset>
  983. </choices>
  984. </col>
  985. <col class="input_essential" ref="chrgpsncmt" type="input" style="text-align:left; "/>
  986. <col ref="sanctdd" visibility="hidden" format="yyyy-mm-dd"/>
  987. <col ref="reqdeptcd" visibility="hidden"/>
  988. <col ref="chrgpsnid" visibility="hidden"/>
  989. <col ref="genrdd" visibility="hidden"/>
  990. <col ref="estimateamt" visibility="hidden"/>
  991. <col ref="rpirflag2" visibility="hidden"/>
  992. <col ref="sanctid" visibility="hidden"/>
  993. <col ref="sanctnm" visibility="hidden"/>
  994. <col ref="reductionamt" visibility="hidden"/>
  995. <col disabled="true" ref="lastrpirstat" visibility="hidden"/>
  996. <col ref="nonworkdayno" visibility="hidden"/>
  997. <col ref="custcd" visibility="hidden"/>
  998. <col ref="custnm" visibility="hidden"/>
  999. <col ref="hdrncspec" visibility="hidden"/>
  1000. <col ref="lastrpirrslt" visibility="hidden"/>
  1001. <col ref="instcd" visibility="hidden" _key="true"/>
  1002. <col ref="reqpsnid" visibility="hidden"/>
  1003. <col ref="reqpsnnm" visibility="hidden"/>
  1004. <col ref="genrtm" visibility="hidden"/>
  1005. <col ref="acpttm" visibility="hidden"/>
  1006. <col ref="acptpsnid" visibility="hidden"/>
  1007. <col ref="acptpsnnm" visibility="hidden"/>
  1008. <col ref="acptdeptcd" visibility="hidden"/>
  1009. <col ref="acptdeptnm" visibility="hidden"/>
  1010. <col ref="itemnm" visibility="hidden"/>
  1011. <col ref="acptpsncnfm" visibility="hidden"/>
  1012. <col ref="deptacptdd" visibility="hidden"/>
  1013. <col ref="deptacptpsnid" visibility="hidden"/>
  1014. <col ref="deptacptpsnnm" visibility="hidden"/>
  1015. <col ref="cmt" visibility="hidden"/>
  1016. <col ref="emaildeliveyn" visibility="hidden"/>
  1017. <col ref="goodmodel" visibility="hidden"/>
  1018. <col ref="installplcecd" visibility="hidden"/>
  1019. <col ref="installplcenm" visibility="hidden"/>
  1020. <col ref="sancttrsmyn" visibility="hidden"/>
  1021. <col ref="chrgtel" visibility="hidden"/>
  1022. <col ref="bugtyy" visibility="hidden"/>
  1023. <col ref="bugtcd" visibility="hidden"/>
  1024. <col ref="stdysubjno" visibility="hidden"/>
  1025. <col ref="stdysubjnm" visibility="hidden"/>
  1026. <col ref="deptaprvyn" visibility="hidden"/>
  1027. <col ref="deptaprvpsnid" visibility="hidden"/>
  1028. <col ref="deptaprvdd" visibility="hidden"/>
  1029. <col ref="rfehdabptotal" visibility="hidden"/>
  1030. <col ref="reqtel" visibility="hidden"/>
  1031. <col ref="acptflag" visibility="hidden"/>
  1032. <col ref="fixasetcd" visibility="hidden"/>
  1033. <script type="javascript" ev:event="xforms-value-changed">
  1034. <![CDATA[
  1035. if( grd_rfehemhtlist.colRef("sanctyn") == grd_rfehemhtlist.col )
  1036. {
  1037. if( grd_rfehemhtlist.valueMatrix(grd_rfehemhtlist.row, grd_rfehemhtlist.colRef("sanctyn")) == "Y" )
  1038. {
  1039. grd_rfehemhtlist.valueMatrix(grd_rfehemhtlist.row, grd_rfehemhtlist.colRef("sanctdd")) = getCurrentDate();
  1040. grd_rfehemhtlist.valueMatrix(grd_rfehemhtlist.row, grd_rfehemhtlist.colRef("purctrsmyn")) = "Y"; // 구매결제 기본SETTING
  1041. }else if(grd_rfehemhtlist.valueMatrix(grd_rfehemhtlist.row, grd_rfehemhtlist.colRef("sanctyn")) == "N")
  1042. {
  1043. grd_rfehemhtlist.valueMatrix(grd_rfehemhtlist.row, grd_rfehemhtlist.colRef("sanctdd")) = "";
  1044. grd_rfehemhtlist.valueMatrix(grd_rfehemhtlist.row, grd_rfehemhtlist.colRef("chrgpsncmt")) = "";
  1045. grd_rfehemhtlist.valueMatrix(grd_rfehemhtlist.row, grd_rfehemhtlist.colRef("purctrsmyn")) = "N";
  1046. }else if( grd_rfehemhtlist.valueMatrix(grd_rfehemhtlist.row, grd_rfehemhtlist.colRef("sanctyn")) == "R" )
  1047. {
  1048. grd_rfehemhtlist.valueMatrix(grd_rfehemhtlist.row, grd_rfehemhtlist.colRef("sancttrsmyn")) = "N";
  1049. grd_rfehemhtlist.valueMatrix(grd_rfehemhtlist.row, grd_rfehemhtlist.colRef("sanctdd")) = "";
  1050. grd_rfehemhtlist.valueMatrix(grd_rfehemhtlist.row, grd_rfehemhtlist.colRef("purctrsmyn")) = "N";
  1051. }else if( grd_rfehemhtlist.valueMatrix(grd_rfehemhtlist.row, grd_rfehemhtlist.colRef("sanctyn")) == "A" )
  1052. {
  1053. grd_rfehemhtlist.valueMatrix(grd_rfehemhtlist.row, grd_rfehemhtlist.colRef("sancttrsmyn")) = "Y";
  1054. grd_rfehemhtlist.valueMatrix(grd_rfehemhtlist.row, grd_rfehemhtlist.colRef("sanctdd")) = "";
  1055. grd_rfehemhtlist.valueMatrix(grd_rfehemhtlist.row, grd_rfehemhtlist.colRef("purctrsmyn")) = "A";
  1056. }else{
  1057. grd_rfehemhtlist.valueMatrix(grd_rfehemhtlist.row, grd_rfehemhtlist.colRef("sancttrsmyn")) = "Y";
  1058. grd_rfehemhtlist.valueMatrix(grd_rfehemhtlist.row, grd_rfehemhtlist.colRef("purctrsmyn")) = "N";
  1059. }
  1060. }
  1061. model.refresh();
  1062. ]]>
  1063. </script>
  1064. <script type="javascript" ev:event="onrowchanged">
  1065. <![CDATA[
  1066. grd_rfehemhtlist.dispatch("onmouseup");
  1067. // 상세 내용을 컴포넌트에 설정.
  1068. model.copyNode("/root/main/com_rfehemhtlist","/root/main/rfehemhtlist["+grd_rfehemhtlist.row+"]");
  1069. // 수리일자별 목록 조회값 설정.
  1070. model.copyNode("/root/send/grid/rfehemhtlist","/root/main/rfehemhtlist["+grd_rfehemhtlist.row+"]");
  1071. submit("TRRFE00602");
  1072. if(grd_rfemdamklist.rows > 1)
  1073. {
  1074. // 기본 Select 설정.
  1075. grd_rfemdamklist.row = grd_rfemdamklist.fixedRows;
  1076. grd_rfemdamklist.select(grd_rfemdamklist.fixedRows, grd_rfemdamklist.colRef("mainrpirpsnnm")) = true;
  1077. grd_rfemdamklist.dispatch("onrowchanged");
  1078. }
  1079. model.refresh();
  1080. ]]>
  1081. </script>
  1082. <script type="javascript" ev:event="onaftersort">
  1083. <![CDATA[
  1084. grd_rfehemhtlist.gridToInstance();
  1085. ]]>
  1086. </script>
  1087. </datagrid>
  1088. <caption id="cap_rpiramt" class="cell_1" style="left:243px; top:284px; width:80px; height:23px; vertical-align:middle; ">확정 금액</caption>
  1089. <caption id="cap_lastrpirrslt" class="cell_1" style="left:0px; top:413px; width:80px; height:239px; vertical-align:middle; ">최종수리결과</caption>
  1090. <input id="ipt_rfehdabptotal" ref="/root/main/com_rfehemhtlist/rfehdabptotal" class="output_fix" disabled="true" format="#,###" style="left:82px; top:261px; width:159px; height:19px; text-align:right; "/>
  1091. <line id="line22" class="line_3" style="x1:0px; y1:652px; x2:488px; y2:652px; "/>
  1092. <textarea id="txt_hdrncspec" ref="/root/main/com_rfehemhtlist/hdrncspec" scroll="vertical" editable="false" style="left:82px; top:311px; width:403px; height:98px; "/>
  1093. <caption id="cap_hdrncspec" class="cell_1" style="left:0px; top:309px; width:80px; height:102px; vertical-align:middle; ">의뢰내역</caption>
  1094. <datagrid id="grd_rfehdabplist" nodeset="/root/main/rfehdabplist" caption="순번^수리일자^부품명^지급형태^유형^비용구분^규격^부품수량^단위^부품단가^금액" colsep="^" colwidth="43, 80, 190, 65, 65, 65, 150, 60, 70, 70, 100, 100, 100, 100, 100, 100, 100, 100" dataheight="25" ellipsis="true" extendlastcol="scroll" frozencols="4" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" style="left:492px; top:458px; width:695px; height:195px; ">
  1095. <col class="input_essential" disabled="true" ref="rpirseq" format="#,###" maxlength="3" _key="true" style="text-align:right; "/>
  1096. <col class="input_essential" ref="rpirdd" visibility="hidden" format="yyyy-mm-dd" _key="true"/>
  1097. <col ref="acsrsnm" style="left:500px; top:23px; width:300px; height:23px; "/>
  1098. <col disabled="true" ref="paytype" type="combo">
  1099. <choices>
  1100. <itemset>
  1101. <label/>
  1102. <value/>
  1103. </itemset>
  1104. </choices>
  1105. </col>
  1106. <col disabled="true" ref="kind" type="combo">
  1107. <choices>
  1108. <itemset>
  1109. <label/>
  1110. <value/>
  1111. </itemset>
  1112. </choices>
  1113. </col>
  1114. <col disabled="true" ref="costflag" type="combo">
  1115. <choices>
  1116. <itemset>
  1117. <label/>
  1118. <value/>
  1119. </itemset>
  1120. </choices>
  1121. </col>
  1122. <col ref="acsrsspec" type="input"/>
  1123. <col ref="acsrsqty" type="input" format="#,###" style="text-align:right; "/>
  1124. <col disabled="true" ref="acsrsunit" type="combo">
  1125. <choices>
  1126. <itemset>
  1127. <label/>
  1128. <value/>
  1129. </itemset>
  1130. </choices>
  1131. </col>
  1132. <col ref="acsrsamt" type="input" format="#,###" style="text-align:right; "/>
  1133. <col ref="acsrsmoney" format="#,###" style="text-align:right; "/>
  1134. <col ref="instcd" visibility="hidden" _key="true"/>
  1135. <col ref="fixtrseqmtflag" visibility="hidden" _key="true"/>
  1136. <col ref="reqdd" visibility="hidden" _key="true"/>
  1137. <col ref="reqno" visibility="hidden" _key="true"/>
  1138. <col ref="delivedd" visibility="hidden"/>
  1139. <col ref="deliveno" visibility="hidden"/>
  1140. <col ref="deliveseqno" visibility="hidden"/>
  1141. <col ref="acsrscd" visibility="hidden"/>
  1142. </datagrid>
  1143. <datagrid id="grd_rfemdamklist" nodeset="/root/main/rfemdamklist" allowselection="false" caption="수리일자^주수리자^보조수리자^작업시간^1^1^수리내역^1" colsep="^" colwidth="90, 109, 109, 54, 100, 50, 249, 100, 100, 100, 100" dataheight="25" ellipsis="true" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rows="2" rowsep="|" selectionmode="byrow" style="left:492px; top:258px; width:695px; height:175px; ">
  1144. <col ref="rpirdd" format="yyyy-mm-dd" _key="true" style="text-align:center; "/>
  1145. <col ref="mainrpirpsnnm" style="text-align:center; "/>
  1146. <col ref="supprpirpsnnm" style="text-align:center; "/>
  1147. <col ref="rpirtm" visibility="visible" format="hh:nn" _key="true" style="text-align:right; "/>
  1148. <col ref="mainrpirpsn" visibility="hidden"/>
  1149. <col ref="supprpirpsn" visibility="hidden"/>
  1150. <col ref="rpirspec"/>
  1151. <col ref="instcd" visibility="hidden" _key="true"/>
  1152. <col ref="fixtrseqmtflag" visibility="hidden" _key="true"/>
  1153. <col ref="reqdd" visibility="hidden" _key="true"/>
  1154. <col ref="reqno" visibility="hidden" _key="true"/>
  1155. <script type="javascript" ev:event="onrowchanged">
  1156. <![CDATA[
  1157. grd_rfemdamklist.dispatch("onmouseup");
  1158. model.copyNode("/root/send/grid/rfemdamklist","/root/main/rfemdamklist["+ grd_rfemdamklist.row +"]");
  1159. submit("TRRFE00603");
  1160. ]]>
  1161. </script>
  1162. </datagrid>
  1163. <caption id="caption2" class="tit_2" style="left:2px; top:238px; width:110px; height:13px; ">수리상세내용</caption>
  1164. <line id="line26" class="line_2" style="x1:0px; y1:282px; x2:488px; y2:282px; "/>
  1165. <caption id="caption4" class="tit_2" style="left:2px; top:4px; width:110px; height:13px; ">수리접수목록</caption>
  1166. <textarea id="txt_lastrpirrslt" ref="/root/main/com_rfehemhtlist/lastrpirrslt" scroll="vertical" editable="false" maxlength="600" style="left:82px; top:415px; width:403px; height:235px; "/>
  1167. <caption id="caption5" class="tit_2" style="left:495px; top:238px; width:113px; height:13px; ">수리일자별 목록</caption>
  1168. <line id="line17" class="line_1" style="x1:0px; y1:253px; x2:488px; y2:253px; "/>
  1169. <line id="line1" class="line_1" style="x1:0px; y1:20px; x2:1187px; y2:20px; "/>
  1170. <input id="ipt_reductionamt" ref="/root/main/com_rfehemhtlist/reductionamt" class="output_fix" disabled="true" format="#,###" style="left:82px; top:286px; width:159px; height:19px; text-align:right; "/>
  1171. <line id="line2" class="line_1" style="x1:492px; y1:253px; x2:1188px; y2:253px; "/>
  1172. <caption id="cap_rfehdabptotal" class="cell_1" style="left:0px; top:259px; width:80px; height:23px; vertical-align:middle; ">전 도 금</caption>
  1173. <caption id="cap_reductionamt" class="cell_1" style="left:0px; top:284px; width:80px; height:23px; vertical-align:middle; ">절 감 액</caption>
  1174. <caption id="caption7" class="tit_2" style="left:493px; top:438px; width:113px; height:13px; ">수리부품 목록</caption>
  1175. <line id="line3" class="line_1" style="x1:492px; y1:453px; x2:1188px; y2:453px; "/>
  1176. <line id="line4" class="line_2" style="x1:0px; y1:307px; x2:488px; y2:307px; "/>
  1177. <input id="ipt_rpiramt" ref="/root/main/com_rfehemhtlist/rpiramt" class="output_fix" disabled="true" format="#,###" style="left:325px; top:286px; width:159px; height:19px; text-align:right; "/>
  1178. <line id="line5" class="line_2" style="x1:0px; y1:411px; x2:488px; y2:411px; "/>
  1179. </case>
  1180. </switch>
  1181. </group>
  1182. </xhtml:body>
  1183. </xhtml:html>