SMRFE01100_수리신청등록(통합).xfdl 134 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMRFE01100" position="absolute 0 0 1197 788" titletext="비품/장비 수리 신청 등록" onload="SMRFE01100_onload">
  5. <Layouts>
  6. <Layout>
  7. <Div position="absolute 0 48 1195 787" id="grp_biz" scrollbars="autoboth" anchor="all">
  8. <Layouts>
  9. <Layout>
  10. <Div position="absolute 697 71 1195 738" id="grp_detail" anchor="top right bottom" onsetfocus="grp_biz_grp_detail_onsetfocus">
  11. <Layouts>
  12. <Layout>
  13. <TextArea position="absolute 92 360 495 539" id="txt_lastrpirrslt" taborder="53" anchor="default" readonly="true" class="output" wordwrap="word"/>
  14. <Shape position="absolute 0 536 495 542" linetype="horizontal" id="line12" class="line_2" anchor="default"/>
  15. <Static text="수리내역" position="absolute 0 360 90 539" align="align:center middle;" id="cap_lastrpirrslt" class="cell_1" anchor="default"/>
  16. <Shape position="absolute 0 404 495 410" linetype="horizontal" id="line16" class="line_2" visible="false" anchor="default"/>
  17. <Shape position="absolute 0 380 495 386" linetype="horizontal" id="line10" class="line_3" anchor="default" visible="false"/>
  18. <Shape position="absolute 0 356 494 362" linetype="horizontal" id="line18" class="line_2" anchor="default"/>
  19. <Shape position="absolute 0 332 495 338" linetype="horizontal" id="line7" class="line_2" anchor="default"/>
  20. <Shape position="absolute 0 308 495 314" linetype="horizontal" id="line6" class="line_2" anchor="default"/>
  21. <Shape position="absolute 0 284 498 290" linetype="horizontal" id="line5" class="line_2" anchor="default"/>
  22. <Shape position="absolute 0 260 494 266" linetype="horizontal" id="line4" class="line_2" anchor="default"/>
  23. <Shape position="absolute -1 212 493 218" linetype="horizontal" id="line40" class="line_2" anchor="default"/>
  24. <Shape position="absolute 0 188 495 194" linetype="horizontal" id="line38" class="line_2" anchor="default"/>
  25. <Shape position="absolute 0 164 495 170" linetype="horizontal" id="line37" class="line_2" anchor="default"/>
  26. <Shape position="absolute 0 140 495 146" linetype="horizontal" id="line35" class="line_2" anchor="default"/>
  27. <Shape id="line00" class="line_2" position="absolute 0 116 495 122" anchor="default"/>
  28. <Shape position="absolute 0 92 495 98" linetype="horizontal" id="line28" class="line_2" anchor="default"/>
  29. <Shape position="absolute 0 45 495 51" linetype="horizontal" id="line19" class="line_2" anchor="default"/>
  30. <Static position="absolute 85 365 185 385" align="align:center middle;" id="caption19" anchor="default"/>
  31. <Edit position="absolute 358 430 399 449" align="align:center middle;" id="ipt_deptacptpsnid" class="input_default" visible="false" anchor="default" autoselect="true"/>
  32. <Button position="absolute 243 123 259 139" id="btn_reqdeptcdSearch" class="icon_search" taborder="29" text="" anchor="default" onclick="grp_biz_grp_detail_btn_reqdeptcdSearch_onclick"/>
  33. <Static text="의뢰자 연락처" position="absolute 249 192 339 215" align="align:center middle;" id="cap_reqtel" class="cell_1" anchor="default"/>
  34. <Static text="예산년도" position="absolute 195 264 255 287" align="align:center middle;" id="cap_bugtyy" class="cell_1" anchor="default"/>
  35. <Radio position="absolute 93 98 493 118" id="rdo_execdept" enable="false" taborder="27" visible="true" columncount="4" codecolumn="codecolumn" datacolumn="datacolumn" anchor="default" style=":disabled {border:1 solid #808080ff ;}" onkillfocus="grp_biz_grp_detail_rdo_execdept_onkillfocus" onitemchanged="grp_biz_grp_detail_rdo_execdept_onitemchanged" onitemclick="grp_biz_grp_detail_rdo_execdept_onitemclick">
  36. <Dataset id="innerdataset">
  37. <ColumnInfo>
  38. <Column id="codecolumn" size="256"/>
  39. <Column id="datacolumn" size="256"/>
  40. </ColumnInfo>
  41. <Rows>
  42. <Row>
  43. <Col id="codecolumn">4090500000</Col>
  44. <Col id="datacolumn">의공학과</Col>
  45. </Row>
  46. <Row>
  47. <Col id="codecolumn">4020334000</Col>
  48. <Col id="datacolumn">물류팀</Col>
  49. </Row>
  50. <Row>
  51. <Col id="codecolumn">4130100000</Col>
  52. <Col id="datacolumn">의료정보과</Col>
  53. </Row>
  54. <Row>
  55. <Col id="codecolumn">4060100000</Col>
  56. <Col id="datacolumn">시설과</Col>
  57. </Row>
  58. </Rows>
  59. </Dataset>
  60. </Radio>
  61. <Static text="부서승인자" position="absolute 249 360 339 383" align="align:center middle;" id="cap_deptaprvpsnid" class="cell_1" visible="false" anchor="default"/>
  62. <Static text="예산계정" position="absolute 358 264 418 287" align="align:center middle;" id="cap_bugtcd" class="cell_1" anchor="default"/>
  63. <Edit readonly="true" position="absolute 263 122 495 141" align="align:center middle;" id="ipt_depthngnm" taborder="30" anchor="default" class="output"/>
  64. <Edit position="absolute 342 194 495 213" id="ipt_reqtel" class="input_essential" taborder="36" anchor="default" autoselect="true"/>
  65. <Static text="연구과제" position="absolute 293 480 356 503" align="align:center middle;" id="cap_stdysubjno" class="cell_1" visible="false" anchor="default"/>
  66. <Radio position="absolute 92 362 244 382" id="rdo_deptaprvreqyn" taborder="46" visible="false" columncount="-1" codecolumn="codecolumn" datacolumn="datacolumn" anchor="default" rowcount="-1" onitemchanged="grp_biz_grp_detail_rdo_deptaprvreqyn_onitemchanged">
  67. <Dataset id="innerdataset">
  68. <ColumnInfo>
  69. <Column id="codecolumn"/>
  70. <Column id="datacolumn"/>
  71. </ColumnInfo>
  72. <Rows>
  73. <Row>
  74. <Col id="codecolumn">Y</Col>
  75. <Col id="datacolumn">승인필요</Col>
  76. </Row>
  77. <Row>
  78. <Col id="codecolumn">N</Col>
  79. <Col id="datacolumn">승인불필요</Col>
  80. </Row>
  81. </Rows>
  82. </Dataset>
  83. </Radio>
  84. <Calendar position="absolute 256 266 357 285" id="ipt_bugtyy" class="input_default" enable="false" taborder="39" mask="yyyy" anchor="default" autoselect="true"/>
  85. <Edit position="absolute 92 146 238 165" align="align:center middle;" id="ipt_reqpsnid" class="input_essential" taborder="31" anchor="default" onkeydown="Edit_onkeydown" autoselect="true"/>
  86. <Static text="의뢰자" position="absolute 0 144 90 167" align="align:center middle;" id="cap_reqpsnid" class="cell_1" anchor="default"/>
  87. <Static text="접수부서" position="absolute 0 168 90 191" align="align:center middle;" id="cap_acptdeptcd" class="cell_1" anchor="default"/>
  88. <Edit position="absolute 397 430 442 449" align="align:center middle;" id="ipt_deptacptpsnnm" class="input_default" visible="false" anchor="default" autoselect="true"/>
  89. <Static text="담당자 연락처" position="absolute 249 288 339 311" align="align:center middle;" id="cap_chrgtel" class="cell_1" anchor="default"/>
  90. <Calendar position="absolute 92 74 245 93" align="align:center middle;" id="ipt_reqdd" class="input_essential" enable="false" taborder="26" anchor="default" autoselect="true"/>
  91. <TextArea position="absolute 92 218 495 261" id="txt_hdrncspec" class="input_essential" taborder="37" anchor="default" acceptstab="true"/>
  92. <Shape position="absolute 0 68 495 74" linetype="horizontal" id="line23" class="line_2" anchor="default"/>
  93. <Grid position="absolute 92 540 495 662" id="grd_rfehdabplist" taborder="54" binddataset="ds_main_rfehdabplist" anchor="all" cellsizingtype="col" cellclickbound="cell" selecttype="multirow">
  94. <Formats>
  95. <Format id="default">
  96. <Columns>
  97. <Column size="90"/>
  98. <Column size="203"/>
  99. <Column size="40"/>
  100. <Column size="52"/>
  101. <Column size="0"/>
  102. </Columns>
  103. <Rows>
  104. <Row size="24" band="head"/>
  105. <Row size="24"/>
  106. </Rows>
  107. <Band id="head">
  108. <Cell text="부품코드"/>
  109. <Cell col="1" text="부품명"/>
  110. <Cell col="2" text="수량"/>
  111. <Cell col="3" text="단위"/>
  112. <Cell col="4" text="금액"/>
  113. </Band>
  114. <Band id="body">
  115. <Cell displaytype="text" text="bind:acsrscd"/>
  116. <Cell col="1" displaytype="text" text="bind:acsrsnm"/>
  117. <Cell col="2" displaytype="number" text="bind:acsrsqty"/>
  118. <Cell col="3" displaytype="combo" edittype="combo" text="bind:acsrsunit"/>
  119. <Cell col="4" text="bind:acsrsamt" mask="#,###"/>
  120. </Band>
  121. </Format>
  122. </Formats>
  123. </Grid>
  124. <Static text="부품사용내역" position="absolute 0 540 90 662" align="align:center middle;" id="cap_acsrslist" class="cell_1" anchor="left top bottom"/>
  125. <Static text="의뢰내역" position="absolute 0 216 90 263" align="align:center middle;" id="cap_hdrncspec" class="cell_1" anchor="default"/>
  126. <Static text="발생일자" position="absolute 0 264 90 287" align="align:center middle;" id="cap_genrdd" class="cell_1" anchor="default"/>
  127. <Edit readonly="true" position="absolute 342 74 495 93" id="ipt_reqno" anchor="default" class="output"/>
  128. <Shape position="absolute 0 661 496 667" linetype="horizontal" id="line24" class="line_3" anchor="left right bottom"/>
  129. <Static text="담당부서" position="absolute 0 96 90 119" align="align:center middle;" id="caption11" class="cell_1" anchor="default"/>
  130. <Static text="의뢰부서" position="absolute 0 120 90 143" align="align:center middle;" id="caption2" class="cell_1" anchor="default"/>
  131. <Static text="부서승인일자" position="absolute 0 384 90 407" align="align:center middle;" id="cap_deptaprvdd" class="cell_1" visible="false" anchor="default"/>
  132. <Static text="※수리진행상태가 '수리의뢰'인 경우에만 수정,삭제가 가능합니다." position="absolute 85 0 495 23" align="align:center middle;" id="caption23" anchor="default" style="color:#ff6600ff;font:Dotum,9,bold;"/>
  133. <Calendar position="absolute 92 266 193 285" align="align:center middle;" id="ipt_genrdd" class="input_default" enable="false" taborder="38" anchor="default" autoselect="true"/>
  134. <Edit readonly="true" position="absolute 263 146 495 165" align="align:center middle;" id="ipt_reqpsnnm" taborder="33" anchor="default" class="output"/>
  135. <Static text="의뢰일자" position="absolute 0 72 90 95" align="align:center middle;" id="caption3" class="cell_1" anchor="default"/>
  136. <Edit readonly="true" position="absolute 413 480 443 499" align="align:center middle;" id="ipt_stdysubjnm" taborder="61" visible="false" anchor="default" class="output"/>
  137. <Edit position="absolute 240 170 495 189" align="align:center middle;" id="ipt_acptdeptnm" enable="false" taborder="35" anchor="default" autoselect="true"/>
  138. <Static text="의뢰현황" position="absolute 0 3 157 24" id="caption24" class="tit_2" anchor="default"/>
  139. <Static text="의뢰번호" position="absolute 249 72 339 95" align="align:center middle;" id="caption4" class="cell_1" anchor="default"/>
  140. <Static text="접수일자" position="absolute 249 312 339 335" align="align:center middle;" id="cap_acptdd" class="cell_1" anchor="default"/>
  141. <Edit position="absolute 92 50 495 69" id="ipt_fixasetnm" taborder="25" anchor="default" readonly="true" class="output"/>
  142. <Shape position="absolute 0 18 495 26" linetype="horizontal" id="line1" class="line_10" anchor="default"/>
  143. <Edit position="absolute 362 480 393 499" align="align:center middle;" id="ipt_stdysubjno" class="input_search" taborder="59" visible="false" anchor="default" autoselect="true"/>
  144. <CheckBox position="absolute 307 430 357 450" id="che_acptpsncnfm" visible="false" anchor="default" text="확인" truevalue="Y" onclick="grp_biz_grp_detail_che_acptpsncnfm_onclick"/>
  145. <Edit position="absolute 92 290 158 309" align="align:center middle;" id="ipt_chrgpsnid" enable="false" taborder="41" anchor="default" class="output"/>
  146. <Edit position="absolute 92 170 238 189" align="align:center middle;" id="ipt_acptdeptcd" enable="false" taborder="34" anchor="default" autoselect="true"/>
  147. <MaskEdit position="absolute 365 26 495 45" align="align:center middle;" id="ipt_possndd" taborder="24" mask="####-##-##" anchor="default" readonly="true" class="output" maskchar=" " trimtype="both" type="string" displaynulltext=" " style="align:center middle;"/>
  148. <Static text="부서승인여부" position="absolute 0 360 90 383" align="align:center middle;" id="caption7" class="cell_1" visible="false" anchor="default"/>
  149. <Edit position="absolute 341 362 417 381" align="align:center middle;" id="ipt_deptaprvpsnid" class="input_search" enable="false" taborder="48" visible="false" anchor="default" autoselect="true"/>
  150. <Combo position="absolute 419 266 495 285" id="cmb_bugtcd" taborder="40" anchor="default"/>
  151. <MaskEdit position="absolute 342 314 495 333" align="align:center middle;" id="ipt_acptdd" enable="false" taborder="45" mask="####-##-##" anchor="default" class="output" autoselect="true"/>
  152. <Static text="수리담당자" position="absolute 0 288 90 311" align="align:center middle;" id="cap_chrgpsnid" class="cell_1" anchor="default"/>
  153. <Edit position="absolute 92 26 263 45" align="align:center middle;" id="ipt_fixasetcd" taborder="23" anchor="default" readonly="true" class="output"/>
  154. <Static text="자산취득일자" position="absolute 268 25 360 48" align="align:center middle;" id="caption8" class="cell_1" anchor="default"/>
  155. <Static text="자산코드" position="absolute 0 24 90 71" align="align:center middle;" id="cap_fixasetcd" class="cell_1" anchor="default"/>
  156. <Button position="absolute 396 481 412 497" id="btn_stdysubjnm" class="icon_search" taborder="60" visible="false" text="" anchor="default" onclick="grp_biz_grp_detail_btn_stdysubjnm_onclick"/>
  157. <Calendar position="absolute 92 386 245 405" id="ipt_deptaprvdd" class="input_default" enable="false" taborder="52" visible="false" mask="yyyy-mm-dd" anchor="default" autoselect="true"/>
  158. <Combo position="absolute 92 314 245 333" align="align:center middle;" id="cmb_workstat" class="combo_essential" enable="false" taborder="44" anchor="default"/>
  159. <Edit position="absolute 160 290 245 309" align="align:center middle;" id="ipt_chrgpsnnm" enable="false" taborder="42" anchor="default" class="output"/>
  160. <Button position="absolute 243 147 259 163" id="btn_reqpsnidSearch" class="icon_search" taborder="32" text="" anchor="default" onclick="grp_biz_grp_detail_btn_reqpsnidSearch_onclick"/>
  161. <Static text="수리진행상태" position="absolute 0 312 90 335" align="align:center middle;" id="cap_workstat" class="cell_1" anchor="default"/>
  162. <Static text="자산구분" position="absolute 0 192 90 215" align="align:center middle;" id="cap_" class="cell_1" anchor="default"/>
  163. <Edit position="absolute 419 362 495 381" align="align:center middle;" id="ipt_deptaprvpsnnm" class="input_search" enable="false" taborder="50" visible="false" anchor="default" autoselect="true"/>
  164. <Edit position="absolute 342 290 495 309" align="align:left middle;" id="ipt_chrgtel" enable="false" taborder="43" anchor="default" class="output"/>
  165. <Edit position="absolute 92 122 238 141" align="align:center middle;" id="ipt_reqdeptcd" class="input_essential" taborder="28" anchor="default" onkeydown="grp_biz_grp_detail_Edit_onkeydown" autoselect="true"/>
  166. <Edit position="absolute 92 338 429 357" id="ipt_attfilenm" class="input_default" enable="false" taborder="47" visible="true" anchor="default" autoselect="true"/>
  167. <Button position="absolute 431 337 495 357" id="btn_downfile" class="btn2" taborder="51" visible="true" text="다운로드" anchor="default" onclick="grp_biz_grp_detail_btn_downfile_onclick"/>
  168. <Static text="첨부파일" position="absolute 0 336 90 359" align="align:center middle;" id="caption16" class="cell_1" visible="true" anchor="default"/>
  169. <Combo position="absolute 92 194 240 213" id="combo1" class="input_default" enable="false" taborder="-1" innerdataset="@ds_init_goodflag" datacolumn="label" codecolumn="value" anchor="default"/>
  170. </Layout>
  171. </Layouts>
  172. </Div>
  173. <Div position="absolute 0 3 1195 63" align="align:center top;" id="grp_search" anchor="left top right" class="div_SA2">
  174. <Layouts>
  175. <Layout>
  176. <Edit position="absolute 780 9 855 28" id="opt_reqdeptcd" class="input_essential" taborder="8" anchor="default" onkeydown="grp_biz_grp_search_ipt_onkeydown" autoselect="true"/>
  177. <Static text="의뢰(사용)부서 :" position="absolute 656 11 790 28" id="cap_reqdeptcd" class="search_name" anchor="default"/>
  178. <Calendar position="absolute 530 9 630 28" id="ipt_reqdd2" class="input_essential" taborder="2" anchor="default" dateformat="yyyy-MM-dd" autoselect="true"/>
  179. <Button position="absolute 1126 18 1182 40" id="btn_search" class="btn1" taborder="11" text="조회" anchor="top right" onclick="grp_biz_grp_search_btn_search_onclick"/>
  180. <Edit readonly="true" position="absolute 880 9 1010 28" id="opt_reqdeptnm" anchor="default" class="output"/>
  181. <Calendar position="absolute 415 9 515 28" id="ipt_reqdd1" class="input_essential" taborder="3" anchor="default" dateformat="yyyy-MM-dd" value="null" autoselect="true"/>
  182. <Static text="의뢰일자 :" position="absolute 320 11 406 28" id="cap_reqdd2" class="search_name" visible="true" anchor="default"/>
  183. <Static text="기관코드 :" position="absolute 15 11 101 28" id="cap_instcd" class="search_name" anchor="default"/>
  184. <Button position="absolute 492 34 508 50" id="btn_userSearch" class="icon_search" taborder="5" text="" anchor="default" onclick="grp_biz_grp_search_btn_userSearch_onclick"/>
  185. <Combo position="absolute 110 33 270 52" id="cmb_fixtrseqmtflag" class="input_default" taborder="1" innerdataset="@ds_init_goodflag" datacolumn="label" codecolumn="value" anchor="default" onitemchanged="grp_biz_grp_search_cmb_fixtrseqmtflag_onitemchanged"/>
  186. <Static text="~" position="absolute 516 9 536 28" id="caption13" anchor="default"/>
  187. <Static text="자산구분 :" position="absolute 15 35 101 52" id="caption12" class="search_name" anchor="default"/>
  188. <Shape position="absolute 1109 9 1115 51" linetype="vertical" id="line13" class="line_4" anchor="top right"/>
  189. <Edit position="absolute 415 33 490 52" id="ipt_reqpsnids" class="input_default" taborder="4" anchor="default" onkeydown="grp_biz_grp_search_ipt_onkeydown" autoselect="true"/>
  190. <Button position="absolute 859 10 875 26" id="btn_dept" class="icon_search" taborder="9" text="" anchor="default" onclick="grp_biz_grp_search_btn_dept_onclick"/>
  191. <Combo position="absolute 110 9 270 28" id="cmb_instcd" class="combo_essential" enable="false" taborder="-2" anchor="default" onitemchanged="grp_biz_grp_search_cmb_instcd_onitemchanged"/>
  192. <Edit readonly="true" position="absolute 510 33 605 52" id="ipt_reqpsnnms" taborder="6" anchor="default" class="output"/>
  193. <Static text="의 뢰 자 :" position="absolute 320 35 403 52" id="cap_reqno" class="search_name" anchor="default"/>
  194. <Edit readonly="true" position="absolute 880 33 1010 52" id="opt_installplcenm" anchor="default" class="output"/>
  195. <Edit position="absolute 780 33 855 52" id="ipt_installplcecd" class="input_search" taborder="7" anchor="default" onkeydown="grp_biz_grp_search_ipt_onkeydown" autoselect="true"/>
  196. <Button position="absolute 859 34 875 50" id="btn_installplce" class="icon_search" taborder="10" text="" anchor="default" onclick="grp_biz_grp_search_btn_installplce_onclick"/>
  197. <Static text="설 치 장 소 :" position="absolute 656 35 785 52" id="caption15" class="search_name" anchor="default"/>
  198. <CheckBox position="absolute 1013 8 1108 29" id="chk_includesubdept" anchor="default" text="하위부서포함" truevalue="Y" onclick="grp_biz_grp_search_chk_includesubdept_onclick"/>
  199. </Layout>
  200. </Layouts>
  201. </Div>
  202. <Div position="absolute 0 340 692 735" align="align:center top;" id="grp_goodsearch" anchor="all">
  203. <Layouts>
  204. <Layout>
  205. <Div id="grp_srch2" taborder="57" position="absolute 0 0 692 60" class="div_SA2" anchor="left top right"/>
  206. <Button position="absolute 500 65 628 87" id="button4" class="btn4" taborder="56" text="자산리스트 출력" anchor="top right" onclick="grp_biz_grp_goodsearch_button4_onclick"/>
  207. <Button position="absolute 630 65 691 87" id="button1" class="btn7" taborder="19" visible="true" text="Excel" anchor="top right" onclick="grp_biz_grp_goodsearch_button1_onclick"/>
  208. <Static text="자산코드 :" position="absolute 15 33 108 50" id="caption9" class="search_name" anchor="default"/>
  209. <Edit position="absolute 107 33 221 52" id="input2" class="input_search" taborder="14" anchor="default" onkeydown="grp_biz_grp_goodsearch_Edit_onkeydown" autoselect="true"/>
  210. <Grid position="absolute 0 92 691 395" align="align:center middle;" id="grd_rfcmfacdlist" taborder="13" binddataset="ds_main_grid_rfcmfacdlist" anchor="all" cellsizingtype="col" cellclickbound="cell" selecttype="multirow" oncelldblclick="grp_biz_grp_goodsearch_grd_rfcmfacdlist_oncelldblclick" tooltiptype="hover">
  211. <Formats>
  212. <Format id="default">
  213. <Columns>
  214. <Column size="25" band="left"/>
  215. <Column size="0" band="left"/>
  216. <Column size="76" band="left"/>
  217. <Column size="59" band="left"/>
  218. <Column size="100" band="left"/>
  219. <Column size="0" band="left"/>
  220. <Column size="180" band="left"/>
  221. <Column size="0" band="left"/>
  222. <Column size="0" band="left"/>
  223. <Column size="110" band="left"/>
  224. <Column size="100"/>
  225. <Column size="75"/>
  226. <Column size="0"/>
  227. <Column size="100"/>
  228. <Column size="60"/>
  229. <Column size="0"/>
  230. <Column size="0"/>
  231. <Column size="87"/>
  232. <Column size="79"/>
  233. <Column size="87"/>
  234. <Column size="85"/>
  235. <Column size="89"/>
  236. <Column size="70"/>
  237. <Column size="0"/>
  238. <Column size="0"/>
  239. <Column size="80"/>
  240. <Column size="0"/>
  241. <Column size="0"/>
  242. </Columns>
  243. <Rows>
  244. <Row size="24" band="head"/>
  245. <Row size="24"/>
  246. </Rows>
  247. <Band id="head">
  248. <Cell/>
  249. <Cell col="1" text="기관"/>
  250. <Cell col="2" text="입고계정"/>
  251. <Cell col="3" text="자산구분"/>
  252. <Cell col="4" text="자산코드"/>
  253. <Cell col="5" text="INVENTORY장비"/>
  254. <Cell col="6" text="자산명"/>
  255. <Cell col="7" text="자산명(한글)"/>
  256. <Cell col="8" text="자산명(영문)"/>
  257. <Cell col="9" text="규격"/>
  258. <Cell col="10" text="모델"/>
  259. <Cell col="11" text="S/N"/>
  260. <Cell col="12" text="사용부서"/>
  261. <Cell col="13" text="사용부서"/>
  262. <Cell col="14" text="관리등급"/>
  263. <Cell col="15" text="관리부서"/>
  264. <Cell col="16" text="관리부서"/>
  265. <Cell col="17" text="구코드"/>
  266. <Cell col="18" text="설치장소"/>
  267. <Cell col="19" text="거래처"/>
  268. <Cell col="20" text="제조원"/>
  269. <Cell col="21" text="제조국"/>
  270. <Cell col="22" text="취득일자"/>
  271. <Cell col="23" text="취득금액"/>
  272. <Cell col="24" text="기관코드"/>
  273. <Cell col="25" text="사용부서코드"/>
  274. <Cell col="26" text="제조회사"/>
  275. <Cell col="27" text="취득일자"/>
  276. </Band>
  277. <Band id="body">
  278. <Cell celltype="head" text="expr:currow+1"/>
  279. <Cell col="1" text="bind:instnm"/>
  280. <Cell col="2" style="align:left middle;" text="bind:acntnm" tooltiptext="bind:acntnm"/>
  281. <Cell col="3" displaytype="combo" style="align:center;" text="bind:goodflag" tooltiptext="bind:goodflag" enable="false"/>
  282. <Cell col="4" displaytype="text" text="bind:fixasetcd" tooltiptext="bind:fixasetcd"/>
  283. <Cell col="5" text="bind:inventoryflag"/>
  284. <Cell col="6" displaytype="text" text="bind:fixasetnm" tooltiptext="bind:fixasetnm"/>
  285. <Cell col="7" text="bind:goodflaghngnm"/>
  286. <Cell col="8" text="bind:goodflagengnm"/>
  287. <Cell col="9" displaytype="text" text="bind:goodspec" tooltiptext="bind:goodspec"/>
  288. <Cell col="10" displaytype="text" text="bind:goodmodel" tooltiptext="bind:goodmodel"/>
  289. <Cell col="11" displaytype="text" text="bind:mngtno" tooltiptext="bind:mngtno"/>
  290. <Cell col="12" text="bind:mngtdeptcd"/>
  291. <Cell col="13" displaytype="text" text="bind:mngtdeptnm" tooltiptext="bind:mngtdeptnm"/>
  292. <Cell col="14" displaytype="combo" edittype="combo" text="bind:mngtgrade" tooltiptext="bind:mngtgrade" enable="false"/>
  293. <Cell col="15" text="bind:tempmngtdeptcd"/>
  294. <Cell col="16" text="bind:tempmngtdeptnm"/>
  295. <Cell col="17" displaytype="text" text="bind:oldcd" tooltiptext="bind:oldcd"/>
  296. <Cell col="18" displaytype="text" text="bind:installplcenm" tooltiptext="bind:installplcenm"/>
  297. <Cell col="19" displaytype="text" text="bind:suplplcenm" tooltiptext="bind:suplplcenm"/>
  298. <Cell col="20" displaytype="text" text="bind:prodcmpynm" tooltiptext="bind:prodcmpynm"/>
  299. <Cell col="21" displaytype="combo" edittype="combo" text="bind:prodplce" tooltiptext="bind:prodplce" enable="false"/>
  300. <Cell col="22" displaytype="expr:utlf_isNull(possndd) ? 'normal' : 'date'" text="bind:possndd" tooltiptext="bind:possndd"/>
  301. <Cell col="23" text="bind:possnamt" mask="#,###"/>
  302. <Cell col="24" text="bind:instcd"/>
  303. <Cell col="25" displaytype="text" text="bind:mngtdeptcd" tooltiptext="bind:mngtdeptcd"/>
  304. <Cell col="26" text="bind:prodcmpy"/>
  305. <Cell col="27" text="bind:possndd" mask="yyyy-mm-dd"/>
  306. </Band>
  307. </Format>
  308. </Formats>
  309. </Grid>
  310. <Edit position="absolute 322 9 535 28" id="input1" class="input_search" enable="true" taborder="15" anchor="default" onkeydown="grp_biz_grp_goodsearch_Edit_onkeydown" autoselect="true"/>
  311. <Shape position="absolute 0 86 692 95" linetype="horizontal" id="line15" class="line_10" anchor="left top right"/>
  312. <Button position="absolute 624 19 680 41" id="btn_goodsearch" class="btn1" taborder="18" visible="true" text="조회" anchor="top right" onclick="grp_biz_grp_goodsearch_btn_goodsearch_onclick"/>
  313. <Static text="자 산 명 :" position="absolute 229 9 340 26" id="caption10" class="search_name" anchor="default"/>
  314. <Shape position="absolute 607 11 613 51" linetype="vertical" id="line17" class="line_4" anchor="top right"/>
  315. <Static text="보유자산" position="absolute 0 70 115 88" id="caption5" class="tit_2" anchor="default"/>
  316. <Combo position="absolute 107 9 221 28" id="cmb_goodfixtrseqmtflag" class="input_default" taborder="0" innerdataset="@ds_init_goodflag" datacolumn="label" codecolumn="value" anchor="default"/>
  317. <Static text="자산구분 :" position="absolute 16 9 102 26" id="caption14" class="search_name" anchor="default"/>
  318. <Static text="규격/모델:" position="absolute 229 33 324 50" id="caption17" class="search_name" anchor="default"/>
  319. <Edit position="absolute 322 33 425 52" id="input3" class="input_search" enable="true" taborder="16" anchor="default" onkeydown="grp_biz_grp_goodsearch_Edit_onkeydown" autoselect="true"/>
  320. <Static text="※조회 된 자산을 더블클릭 하시면 수리 신청이 추가 됩니다." position="absolute 110 66 490 91" align="align:center middle;" id="caption18" anchor="default" style="color:#ff6600ff;font:Dotum,9,bold;"/>
  321. <Static text="S/N :" position="absolute 442 33 502 50" id="caption20" class="search_name" anchor="default"/>
  322. <Edit position="absolute 501 33 599 52" id="input4" class="input_search" enable="true" taborder="17" anchor="default" onkeydown="grp_biz_grp_goodsearch_Edit_onkeydown" autoselect="true"/>
  323. </Layout>
  324. </Layouts>
  325. </Div>
  326. <Static text="의뢰내역" position="absolute 0 74 157 90" id="caption1" class="tit_2" anchor="default"/>
  327. <Shape position="absolute 0 90 692 96" id="line2" class="line_10" anchor="left top right"/>
  328. <Button position="absolute 576 68 629 90" id="btn_delete" class="btn2" taborder="21" text="행삭제" anchor="top right" onclick="grp_biz_btn_delete_onclick"/>
  329. <Button position="absolute 631 68 692 90" id="btn_excel" class="btn7" taborder="22" text="Excel" anchor="top right" onclick="grp_biz_btn_excel_onclick"/>
  330. <Button position="absolute 521 68 574 90" id="btn_insert" class="btn2" taborder="20" visible="true" text="행추가" anchor="top right" onclick="grp_biz_btn_insert_onclick"/>
  331. <Radio position="absolute 92 72 197 89" id="rdo_view" columncount="2" codecolumn="codecolumn" datacolumn="datacolumn" anchor="default" onitemchanged="grp_biz_rdo_view_onitemchanged">
  332. <Dataset id="innerdataset">
  333. <ColumnInfo>
  334. <Column id="codecolumn"/>
  335. <Column id="datacolumn"/>
  336. </ColumnInfo>
  337. <Rows>
  338. <Row>
  339. <Col id="codecolumn">spec</Col>
  340. <Col id="datacolumn">규격</Col>
  341. </Row>
  342. <Row>
  343. <Col id="codecolumn">model</Col>
  344. <Col id="datacolumn">모델</Col>
  345. </Row>
  346. </Rows>
  347. </Dataset>
  348. </Radio>
  349. <Button position="absolute 455 68 519 90" id="btn_grdsize" class="btn2" taborder="33" text="확대보기" anchor="top right" onclick="grp_biz_btn_grdsize_onclick"/>
  350. <Grid position="absolute 0 95 692 338" id="grd_rfehemhtlist" enable="true" visible="true" taborder="12" binddataset="ds_main_grid_rfehemhtlist" anchor="left top right" cellsizingtype="col" cellclickbound="cell" selecttype="multirow" onheadclick="grp_biz_grd_rfehemhtlist_onheadclick" onselectchanged="grp_biz_grd_rfehemhtlist_onselectchanged" ontextchanged="grp_biz_grd_rfehemhtlist_ontextchanged" tooltiptype="hover">
  351. <Formats>
  352. <Format id="default">
  353. <Columns>
  354. <Column size="25" band="left"/>
  355. <Column size="24"/>
  356. <Column size="0"/>
  357. <Column size="0"/>
  358. <Column size="66"/>
  359. <Column size="35"/>
  360. <Column size="0"/>
  361. <Column size="0"/>
  362. <Column size="0"/>
  363. <Column size="65"/>
  364. <Column size="0"/>
  365. <Column size="0"/>
  366. <Column size="0"/>
  367. <Column size="0"/>
  368. <Column size="0"/>
  369. <Column size="0"/>
  370. <Column size="0"/>
  371. <Column size="0"/>
  372. <Column size="0"/>
  373. <Column size="0"/>
  374. <Column size="0"/>
  375. <Column size="255"/>
  376. <Column size="100"/>
  377. <Column size="0"/>
  378. <Column size="70"/>
  379. <Column size="0"/>
  380. <Column size="0"/>
  381. <Column size="0"/>
  382. <Column size="60"/>
  383. <Column size="0"/>
  384. <Column size="0"/>
  385. <Column size="0"/>
  386. <Column size="0"/>
  387. <Column size="0"/>
  388. <Column size="0"/>
  389. <Column size="0"/>
  390. <Column size="0"/>
  391. <Column size="0"/>
  392. <Column size="0"/>
  393. <Column size="0"/>
  394. <Column size="0"/>
  395. <Column size="0"/>
  396. <Column size="0"/>
  397. <Column size="0"/>
  398. <Column size="41"/>
  399. <Column size="0"/>
  400. <Column size="0"/>
  401. <Column size="0"/>
  402. <Column size="0"/>
  403. <Column size="0"/>
  404. <Column size="0"/>
  405. <Column size="0"/>
  406. <Column size="0"/>
  407. <Column size="0"/>
  408. <Column size="0"/>
  409. <Column size="0"/>
  410. <Column size="0"/>
  411. <Column size="0"/>
  412. <Column size="0"/>
  413. <Column size="0"/>
  414. <Column size="0"/>
  415. <Column size="100"/>
  416. <Column size="100"/>
  417. <Column size="0"/>
  418. </Columns>
  419. <Rows>
  420. <Row size="24" band="head"/>
  421. <Row size="24"/>
  422. </Rows>
  423. <Band id="head">
  424. <Cell/>
  425. <Cell col="1" displaytype="checkbox" edittype="checkbox" expr="0"/>
  426. <Cell col="2" text="기관코드"/>
  427. <Cell col="3" text="자산구분"/>
  428. <Cell col="4" colspan="2" text="의뢰일자" taborder="undefined"/>
  429. <Cell col="6" text="의뢰부서"/>
  430. <Cell col="7" text="의뢰부서"/>
  431. <Cell col="8" text="의뢰자"/>
  432. <Cell col="9" text="의뢰자"/>
  433. <Cell col="10" text="발생일자"/>
  434. <Cell col="11" text="발생시간"/>
  435. <Cell col="12" text="담당자ID"/>
  436. <Cell col="13" text="담당자"/>
  437. <Cell col="14" text="접수일자"/>
  438. <Cell col="15" text="접수시간"/>
  439. <Cell col="16" text="접수자ID"/>
  440. <Cell col="17" text="접수자"/>
  441. <Cell col="18" text="접수확인"/>
  442. <Cell col="19" text="접수부서CODE"/>
  443. <Cell col="20" text="접수부서"/>
  444. <Cell col="21" text="자산명"/>
  445. <Cell col="22" text="규격"/>
  446. <Cell col="23" text="모델"/>
  447. <Cell col="24" text="작업상태"/>
  448. <Cell col="25" text="품명"/>
  449. <Cell col="26" text="고장내역"/>
  450. <Cell col="27" text="수리구분1"/>
  451. <Cell col="28" text="수리구분"/>
  452. <Cell col="29" text="사용여부"/>
  453. <Cell col="30" text="최종수리상태"/>
  454. <Cell col="31" text="인수자확인"/>
  455. <Cell col="32" text="부서인수일자"/>
  456. <Cell col="33" text="부서인수자ID"/>
  457. <Cell col="34" text="부서인수자"/>
  458. <Cell col="35" text="수리비"/>
  459. <Cell col="36" text="비고"/>
  460. <Cell col="37" text="수리완료일자"/>
  461. <Cell col="38" text="담당자전화번호"/>
  462. <Cell col="39" text="결재여부"/>
  463. <Cell col="40" text="담당자comment"/>
  464. <Cell col="41" text="결재일자"/>
  465. <Cell col="42" text="미가동일수"/>
  466. <Cell col="43" text="메일방송여부"/>
  467. <Cell col="44" text="승인"/>
  468. <Cell col="45" text="부서승인자ID"/>
  469. <Cell col="46" text="부서승인자명"/>
  470. <Cell col="47" text="부서승인일자"/>
  471. <Cell col="48" text="caption1"/>
  472. <Cell col="49" text="caption2"/>
  473. <Cell col="50" text="caption3"/>
  474. <Cell col="51" text="caption4"/>
  475. <Cell col="52" text="1"/>
  476. <Cell col="53" text="2"/>
  477. <Cell col="54" text="3"/>
  478. <Cell col="55" text="4"/>
  479. <Cell col="56" text="5"/>
  480. <Cell col="57" text="6"/>
  481. <Cell col="58" text="7"/>
  482. <Cell col="59" text="8"/>
  483. <Cell col="60" text="9"/>
  484. <Cell col="61" text="고정자산코드"/>
  485. <Cell col="62" text="취득금액"/>
  486. <Cell col="63" text="담당부서명"/>
  487. </Band>
  488. <Band id="body">
  489. <Cell celltype="head"/>
  490. <Cell col="1" displaytype="checkbox" edittype="checkbox" text="bind:choice" expr="expr:(choice==&quot;Y&quot;||choice==1)?1:0"/>
  491. <Cell col="2" text="bind:instcd"/>
  492. <Cell col="3" text="bind:fixtrseqmtflag"/>
  493. <Cell col="4" displaytype="expr:utlf_isNull(reqdd) ? 'normal' : 'date'" style="padding:2 2 2 2;" text="bind:reqdd" tooltiptext="bind:reqdd" enable="false"/>
  494. <Cell col="5" text="bind:reqno" tooltiptext="bind:reqno" enable="false"/>
  495. <Cell col="6" text="bind:reqdeptcd"/>
  496. <Cell col="7" text="bind:depthngnm"/>
  497. <Cell col="8" text="bind:reqpsnid"/>
  498. <Cell col="9" text="bind:reqpsnnm" tooltiptext="bind:reqpsnnm" enable="false"/>
  499. <Cell col="10" text="bind:genrdd"/>
  500. <Cell col="11" text="bind:genrtm"/>
  501. <Cell col="12" text="bind:chrgpsnid"/>
  502. <Cell col="13" text="bind:chrgpsnnm"/>
  503. <Cell col="14" text="bind:acptdd"/>
  504. <Cell col="15" text="bind:acpttm"/>
  505. <Cell col="16" text="bind:acptpsnid"/>
  506. <Cell col="17" text="bind:acptpsnnm"/>
  507. <Cell col="18" displaytype="checkbox" edittype="checkbox"/>
  508. <Cell col="19" text="bind:acptdeptcd"/>
  509. <Cell col="20" text="bind:acptdeptnm"/>
  510. <Cell col="21" displaytype="text" text="bind:fixasetnm" tooltiptext="bind:fixasetnm" enable="false"/>
  511. <Cell col="22" displaytype="text" text="bind:goodspec" tooltiptext="bind:goodspec" enable="false"/>
  512. <Cell col="23" displaytype="text" text="bind:goodmodel" enable="false"/>
  513. <Cell col="24" displaytype="combo" edittype="combo" style="align:center;" text="bind:workstat" tooltiptext="bind:workstat" enable="false"/>
  514. <Cell col="25" text="bind:itemnm"/>
  515. <Cell col="26" text="bind:hdrncspec"/>
  516. <Cell col="27" text="bind:rpirflag1"/>
  517. <Cell col="28" displaytype="combo" edittype="combo" style="align:center;" text="bind:rpirflag2" tooltiptext="bind:rpirflag2" enable="false"/>
  518. <Cell col="29" text="bind:useyn"/>
  519. <Cell col="30" text="bind:lastrpirstat"/>
  520. <Cell col="31" text="bind:acptpsncnfm"/>
  521. <Cell col="32" text="bind:possndd"/>
  522. <Cell col="33" text="bind:deptacptpsnid"/>
  523. <Cell col="34" text="bind:deptacptpsnnm"/>
  524. <Cell col="35" text="bind:rpiramt"/>
  525. <Cell col="36" text="bind:cmt"/>
  526. <Cell col="37" text="bind:rpirenddd"/>
  527. <Cell col="38" text="bind:chrgtel"/>
  528. <Cell col="39" text="bind:sanctyn"/>
  529. <Cell col="40" text="bind:chrgpsncmt"/>
  530. <Cell col="41" text="bind:sanctdd"/>
  531. <Cell col="42" text="bind:nonworkdayno"/>
  532. <Cell col="43" text="bind:emaildeliveyn"/>
  533. <Cell col="44" displaytype="checkbox" edittype="checkbox" text="bind:deptaprvyn" expr="expr:(deptaprvyn==&quot;Y&quot;||deptaprvyn==1)?1:0"/>
  534. <Cell col="45" text="bind:deptaprvpsnid"/>
  535. <Cell col="46" text="bind:deptaprvpsnnm"/>
  536. <Cell col="47" text="bind:deptaprvdd"/>
  537. <Cell col="48" text="bind:deptaprvreqyn"/>
  538. <Cell col="49" text="bind:lastrpirrslt"/>
  539. <Cell col="50" text="bind:custcd"/>
  540. <Cell col="51" text="bind:reqtel"/>
  541. <Cell col="52" text="bind:bugtyy"/>
  542. <Cell col="53" text="bind:bugtcd"/>
  543. <Cell col="54" text="bind:stdysubjno"/>
  544. <Cell col="55" text="bind:stdysubjnm"/>
  545. <Cell col="56" text="bind:acptflag"/>
  546. <Cell col="57" text="bind:possndd"/>
  547. <Cell col="58" text="bind:execdept"/>
  548. <Cell col="59" text="bind:attfilenm"/>
  549. <Cell col="60" text="bind:attfilepathnm"/>
  550. <Cell col="61" displaytype="text" text="bind:fixasetcd" tooltiptext="bind:fixasetcd"/>
  551. <Cell col="62" displaytype="number" text="bind:possnamt" mask="#,###" tooltiptext="bind:possnamt"/>
  552. <Cell col="63" text="bind:execdeptnm"/>
  553. </Band>
  554. </Format>
  555. </Formats>
  556. </Grid>
  557. <Grid position="absolute 5 240 685 310" id="grd_temp" visible="false" binddataset="ds_temp_rfehemhtlist" anchor="default">
  558. <Formats>
  559. <Format id="default">
  560. <Columns>
  561. <Column size="25" band="left"/>
  562. <Column size="70"/>
  563. <Column size="0"/>
  564. <Column size="70"/>
  565. <Column size="70"/>
  566. <Column size="38"/>
  567. <Column size="70"/>
  568. <Column size="70"/>
  569. <Column size="70"/>
  570. <Column size="70"/>
  571. <Column size="70"/>
  572. <Column size="70"/>
  573. <Column size="70"/>
  574. <Column size="70"/>
  575. <Column size="70"/>
  576. <Column size="70"/>
  577. <Column size="70"/>
  578. <Column size="70"/>
  579. <Column size="70"/>
  580. <Column size="70"/>
  581. <Column size="70"/>
  582. <Column size="70"/>
  583. <Column size="70"/>
  584. <Column size="70"/>
  585. <Column size="50"/>
  586. <Column size="70"/>
  587. <Column size="100"/>
  588. <Column size="100"/>
  589. <Column size="100"/>
  590. <Column size="100"/>
  591. <Column size="100"/>
  592. <Column size="100"/>
  593. <Column size="100"/>
  594. <Column size="100"/>
  595. <Column size="100"/>
  596. <Column size="100"/>
  597. <Column size="100"/>
  598. <Column size="100"/>
  599. <Column size="100"/>
  600. <Column size="100"/>
  601. <Column size="100"/>
  602. <Column size="100"/>
  603. <Column size="100"/>
  604. <Column size="100"/>
  605. <Column size="100"/>
  606. <Column size="100"/>
  607. <Column size="100"/>
  608. <Column size="100"/>
  609. <Column size="100"/>
  610. <Column size="100"/>
  611. <Column size="100"/>
  612. <Column size="100"/>
  613. <Column size="100"/>
  614. <Column size="100"/>
  615. <Column size="100"/>
  616. <Column size="100"/>
  617. <Column size="100"/>
  618. <Column size="100"/>
  619. <Column size="100"/>
  620. <Column size="0"/>
  621. <Column size="0"/>
  622. </Columns>
  623. <Rows>
  624. <Row size="24" band="head"/>
  625. <Row size="24"/>
  626. </Rows>
  627. <Band id="head">
  628. <Cell/>
  629. <Cell col="1" text="기관코드"/>
  630. <Cell col="2" text="담당부서"/>
  631. <Cell col="3" text="자산구분"/>
  632. <Cell col="4" colspan="2" text="의뢰일자" taborder="undefined"/>
  633. <Cell col="6" colspan="2" text="의뢰부서" taborder="undefined"/>
  634. <Cell col="8" text="의뢰자ID"/>
  635. <Cell col="9" text="의뢰자 명"/>
  636. <Cell col="10" text="발생일자"/>
  637. <Cell col="11" text="발생시간"/>
  638. <Cell col="12" text="담당자ID"/>
  639. <Cell col="13" text="담당자명"/>
  640. <Cell col="14" text="접수일자"/>
  641. <Cell col="15" text="접수시간"/>
  642. <Cell col="16" text="접수자ID"/>
  643. <Cell col="17" text="접수자이름"/>
  644. <Cell col="18" text="접수확인"/>
  645. <Cell col="19" text="접수부서"/>
  646. <Cell col="20" text="접수부서명"/>
  647. <Cell col="21" text="모델"/>
  648. <Cell col="22" text="고정자산코드"/>
  649. <Cell col="23" text="자산명"/>
  650. <Cell col="24" text="작업상태"/>
  651. <Cell col="25" text="품명"/>
  652. <Cell col="26" text="고장내역"/>
  653. <Cell col="27" text="수리구분1"/>
  654. <Cell col="28" text="수리구분2"/>
  655. <Cell col="29" text="사용여부"/>
  656. <Cell col="30" text="최종수리상태"/>
  657. <Cell col="31" text="인수자확인"/>
  658. <Cell col="32" text="부서인수일자"/>
  659. <Cell col="33" text="부서인수자ID"/>
  660. <Cell col="34" text="부서인수자명"/>
  661. <Cell col="35" text="수리비"/>
  662. <Cell col="36" text="비고"/>
  663. <Cell col="37" text="수리완료일자"/>
  664. <Cell col="38" text="담당자전화번호"/>
  665. <Cell col="39" text="결재여부"/>
  666. <Cell col="40" text="담당자comment"/>
  667. <Cell col="41" text="결재일자"/>
  668. <Cell col="42" text="미가동일수"/>
  669. <Cell col="43" text="메일방송여부"/>
  670. <Cell col="44" text="caption1"/>
  671. <Cell col="45" text="caption2"/>
  672. <Cell col="46"/>
  673. <Cell col="47"/>
  674. <Cell col="48"/>
  675. <Cell col="49"/>
  676. <Cell col="50"/>
  677. <Cell col="51"/>
  678. <Cell col="52"/>
  679. <Cell col="53"/>
  680. <Cell col="54"/>
  681. <Cell col="55"/>
  682. <Cell col="56"/>
  683. <Cell col="57"/>
  684. <Cell col="58"/>
  685. <Cell col="59"/>
  686. <Cell col="60"/>
  687. </Band>
  688. <Band id="body">
  689. <Cell celltype="head"/>
  690. <Cell col="1" text="bind:instcd"/>
  691. <Cell col="2" text="bind:execdeptnm"/>
  692. <Cell col="3" text="bind:fixtrseqmtflag"/>
  693. <Cell col="4" text="bind:reqdd"/>
  694. <Cell col="5" text="bind:reqno"/>
  695. <Cell col="6" text="bind:reqdeptcd"/>
  696. <Cell col="7" text="bind:depthngnm"/>
  697. <Cell col="8" text="bind:reqpsnid"/>
  698. <Cell col="9" text="bind:reqpsnnm"/>
  699. <Cell col="10" text="bind:genrdd"/>
  700. <Cell col="11" text="bind:genrtm"/>
  701. <Cell col="12" text="bind:chrgpsnid"/>
  702. <Cell col="13" text="bind:chrgpsnnm"/>
  703. <Cell col="14" text="bind:acptdd"/>
  704. <Cell col="15" text="bind:acpttm"/>
  705. <Cell col="16" text="bind:acptpsnid"/>
  706. <Cell col="17" text="bind:acptpsnnm"/>
  707. <Cell col="18" displaytype="checkbox" edittype="checkbox"/>
  708. <Cell col="19" text="bind:acptdeptcd"/>
  709. <Cell col="20" text="bind:acptdeptnm"/>
  710. <Cell col="21" text="bind:goodmodel"/>
  711. <Cell col="22" text="bind:fixasetcd"/>
  712. <Cell col="23" text="bind:fixasetnm"/>
  713. <Cell col="24" text="bind:workstat"/>
  714. <Cell col="25" text="bind:itemnm"/>
  715. <Cell col="26" text="bind:hdrncspec"/>
  716. <Cell col="27" text="bind:rpirflag1"/>
  717. <Cell col="28" text="bind:rpirflag2"/>
  718. <Cell col="29" text="bind:useyn"/>
  719. <Cell col="30" text="bind:lastrpirstat"/>
  720. <Cell col="31" text="bind:acptpsncnfm"/>
  721. <Cell col="32" text="bind:possndd"/>
  722. <Cell col="33" text="bind:deptacptpsnid"/>
  723. <Cell col="34" text="bind:deptacptpsnnm"/>
  724. <Cell col="35" text="bind:rpiramt"/>
  725. <Cell col="36" text="bind:cmt"/>
  726. <Cell col="37" text="bind:rpirenddd"/>
  727. <Cell col="38" text="bind:chrgtel"/>
  728. <Cell col="39" text="bind:sanctyn"/>
  729. <Cell col="40" text="bind:chrgpsncmt"/>
  730. <Cell col="41" text="bind:sanctdd"/>
  731. <Cell col="42" text="bind:nonworkdayno"/>
  732. <Cell col="43" text="bind:emaildeliveyn"/>
  733. <Cell col="44" text="bind:deptaprvyn"/>
  734. <Cell col="45" text="bind:deptaprvpsnid"/>
  735. <Cell col="46" text="bind:deptaprvpsnnm"/>
  736. <Cell col="47" text="bind:deptaprvdd"/>
  737. <Cell col="48" text="bind:deptaprvreqyn"/>
  738. <Cell col="49" text="bind:lastrpirrslt"/>
  739. <Cell col="50" text="bind:custcd"/>
  740. <Cell col="51" text="bind:reqtel"/>
  741. <Cell col="52" text="bind:bugtyy"/>
  742. <Cell col="53" text="bind:bugtcd"/>
  743. <Cell col="54" text="bind:stdysubjno"/>
  744. <Cell col="55" text="bind:stdysubjnm"/>
  745. <Cell col="56" text="bind:acptflag"/>
  746. <Cell col="57" text="bind:possndd"/>
  747. <Cell col="58" text="bind:execdept"/>
  748. <Cell col="59" text="bind:attfilenm"/>
  749. <Cell col="60" text="bind:attfilepathnm"/>
  750. </Band>
  751. </Format>
  752. </Formats>
  753. </Grid>
  754. <Edit position="absolute 35 175 135 194" id="ipt_rowtemp" visible="false" anchor="default" autoselect="true"/>
  755. </Layout>
  756. </Layouts>
  757. </Div>
  758. <Div position="absolute 0 26 1195 53" id="group4" anchor="left top right">
  759. <Layouts>
  760. <Layout>
  761. <Button position="absolute 0 0 56 22" id="btn_prnt" class="btn6" taborder="55" visible="true" text="출력" anchor="default" onclick="group4_btn_prnt_onclick"/>
  762. <Button position="absolute 1127 0 1195 22" id="btn_init" class="btn4" taborder="58" text="초기화" anchor="top right" onclick="group4_btn_init_onclick"/>
  763. <Shape position="absolute 0 21 1195 27" id="line9" class="line_6" anchor="left top right"/>
  764. <Button position="absolute 1069 0 1125 22" id="btn_save" class="btn4" taborder="57" text="저장" anchor="top right" onclick="group4_btn_save_onclick"/>
  765. <Button position="absolute 939 0 1067 22" id="button2" class="btn3" taborder="56" text="예방점검상세조회" anchor="top right" onclick="group4_button2_onclick"/>
  766. <Button position="absolute 809 0 937 22" id="button3" class="btn3" taborder="56" text="점검리스트 출력" anchor="top right" onclick="group4_button3_onclick"/>
  767. <Button id="btn_help" taborder="59" text="의료기기 도움말" class="btn3" position="absolute 687 0 807 22" anchor="top right" visible="false" onclick="group4_btn_help_onclick"/>
  768. <Edit id="ipt_count" taborder="60" position="absolute 639 1 675 21" visible="false"/>
  769. </Layout>
  770. </Layouts>
  771. </Div>
  772. <Button position="absolute 378 116 453 138" id="btn_barcodeprt" class="btn2" taborder="16" text="바코드출력" onclick="btn_barcodeprt_onclick" anchor="top right"/>
  773. <Static id="caption6" text="비품/장비 수리 신청 등록" class="tit_1" position="absolute 0 0 186 25"/>
  774. </Layout>
  775. </Layouts>
  776. <Objects>
  777. <Dataset id="ds_init_goodflag" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  778. <ColumnInfo>
  779. <Column id="label" type="STRING" size="256"/>
  780. <Column id="value" type="STRING" size="256"/>
  781. </ColumnInfo>
  782. <Rows>
  783. <Row>
  784. <Col id="label">전체</Col>
  785. <Col id="value"/>
  786. </Row>
  787. <Row>
  788. <Col id="label">비품</Col>
  789. <Col id="value">GE</Col>
  790. </Row>
  791. <Row>
  792. <Col id="label">의료장비</Col>
  793. <Col id="value">EQ</Col>
  794. </Row>
  795. <Row>
  796. <Col id="label">시험용(데모)</Col>
  797. <Col id="value">DE</Col>
  798. </Row>
  799. <Row>
  800. <Col id="label">대여</Col>
  801. <Col id="value">RE</Col>
  802. </Row>
  803. <Row>
  804. <Col id="label">임상시험용</Col>
  805. <Col id="value">CT</Col>
  806. </Row>
  807. </Rows>
  808. </Dataset>
  809. <Dataset id="ds_init" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  810. <ColumnInfo>
  811. <Column id="rowtemp" type="STRING" size="256"/>
  812. <Column id="workstattemp" type="STRING" size="256"/>
  813. <Column id="viewOption" type="STRING" size="256"/>
  814. </ColumnInfo>
  815. <Rows>
  816. <Row>
  817. <Col id="rowtemp"/>
  818. <Col id="workstattemp"/>
  819. <Col id="viewOption">spec</Col>
  820. </Row>
  821. </Rows>
  822. </Dataset>
  823. <Dataset id="ds_send_rpirsrch" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep" oncolumnchanged="ds_send_rpirsrch_oncolumnchanged">
  824. <ColumnInfo>
  825. <Column id="instcd" type="STRING" size="256"/>
  826. <Column id="instcdnm" type="STRING" size="256"/>
  827. <Column id="reqdd1" type="STRING" size="256"/>
  828. <Column id="reqdd2" type="STRING" size="256"/>
  829. <Column id="reqpsnid" type="STRING" size="256"/>
  830. <Column id="reqpsnnm" type="STRING" size="256"/>
  831. <Column id="reqflag" type="STRING" size="256"/>
  832. <Column id="fixtrseqmtflag" type="STRING" size="256"/>
  833. <Column id="reqdd" type="STRING" size="256"/>
  834. <Column id="reqno" type="STRING" size="256"/>
  835. <Column id="reqdeptcd" type="STRING" size="256"/>
  836. <Column id="reqdeptnm" type="STRING" size="256"/>
  837. <Column id="deptcd" type="STRING" size="256"/>
  838. <Column id="goodflag" type="STRING" size="256"/>
  839. <Column id="tempmngtdeptcd" type="STRING" size="256"/>
  840. <Column id="bizflag" type="STRING" size="256"/>
  841. <Column id="installplcecd" type="STRING" size="256"/>
  842. <Column id="includesubdept" type="STRING" size="256"/>
  843. </ColumnInfo>
  844. <Rows>
  845. <Row>
  846. <Col id="instcd"/>
  847. <Col id="instcdnm"/>
  848. <Col id="reqdd1"/>
  849. <Col id="reqdd2"/>
  850. <Col id="reqpsnid"/>
  851. <Col id="reqpsnnm"/>
  852. <Col id="reqflag">S</Col>
  853. <Col id="fixtrseqmtflag"/>
  854. <Col id="reqdd"/>
  855. <Col id="reqno"/>
  856. <Col id="reqdeptcd"/>
  857. <Col id="reqdeptnm"/>
  858. <Col id="deptcd"/>
  859. <Col id="goodflag"/>
  860. <Col id="tempmngtdeptcd"/>
  861. <Col id="bizflag">E</Col>
  862. <Col id="installplcecd"/>
  863. <Col id="includesubdept"/>
  864. </Row>
  865. </Rows>
  866. </Dataset>
  867. <Dataset id="ds_send_goodsrch" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep" oncolumnchanged="ds_send_goodsrch_oncolumnchanged">
  868. <ColumnInfo>
  869. <Column id="instcd" type="STRING" size="256"/>
  870. <Column id="goodflag" type="STRING" size="256"/>
  871. <Column id="lrgcd_search" type="STRING" size="256"/>
  872. <Column id="mngtdeptcd" type="STRING" size="256"/>
  873. <Column id="mngtdeptnm" type="STRING" size="256"/>
  874. <Column id="tempmngtdeptcd" type="STRING" size="256"/>
  875. <Column id="fixasetcd" type="STRING" size="256"/>
  876. <Column id="goodflagnm" type="STRING" size="256"/>
  877. <Column id="installplcecd" type="STRING" size="256"/>
  878. <Column id="installplcenm" type="STRING" size="256"/>
  879. <Column id="goodspec" type="STRING" size="256"/>
  880. <Column id="mngtno" type="STRING" size="256"/>
  881. <Column id="screenid" type="STRING" size="256"/>
  882. </ColumnInfo>
  883. <Rows>
  884. <Row>
  885. <Col id="instcd"/>
  886. <Col id="goodflag"/>
  887. <Col id="lrgcd_search"/>
  888. <Col id="mngtdeptcd"/>
  889. <Col id="mngtdeptnm"/>
  890. <Col id="tempmngtdeptcd"/>
  891. <Col id="fixasetcd"/>
  892. <Col id="goodflagnm"/>
  893. <Col id="installplcecd"/>
  894. <Col id="installplcenm"/>
  895. <Col id="goodspec"/>
  896. <Col id="mngtno"/>
  897. <Col id="screenid"/>
  898. </Row>
  899. </Rows>
  900. </Dataset>
  901. <Dataset id="ds_send_fileupcolumn" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  902. <ColumnInfo>
  903. <Column id="instcd" type="STRING" size="256"/>
  904. <Column id="reqdd" type="STRING" size="256"/>
  905. <Column id="fileseqno" type="STRING" size="256"/>
  906. <Column id="reqflag" type="STRING" size="256"/>
  907. <Column id="reqno" type="STRING" size="256"/>
  908. <Column id="reqseqno" type="STRING" size="256"/>
  909. <Column id="reqpsnid" type="STRING" size="256"/>
  910. <Column id="attfilenm" type="STRING" size="256"/>
  911. <Column id="attfilepathnm" type="STRING" size="256"/>
  912. <Column id="reqdeptcd" type="STRING" size="256"/>
  913. <Column id="scrnid" type="STRING" size="256"/>
  914. </ColumnInfo>
  915. <Rows>
  916. <Row>
  917. <Col id="instcd"/>
  918. <Col id="reqdd"/>
  919. <Col id="fileseqno"/>
  920. <Col id="reqflag"/>
  921. <Col id="reqno"/>
  922. <Col id="reqseqno"/>
  923. <Col id="reqpsnid"/>
  924. <Col id="attfilenm"/>
  925. <Col id="attfilepathnm"/>
  926. <Col id="reqdeptcd"/>
  927. </Row>
  928. </Rows>
  929. </Dataset>
  930. <Dataset id="ds_main_rfehdabplist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep"/>
  931. <Dataset id="ds_send_fileupcolumn_fileupload_file" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  932. <ColumnInfo>
  933. <Column id="filename" type="STRING" size="256"/>
  934. </ColumnInfo>
  935. <Rows>
  936. <Row>
  937. <Col id="filename"/>
  938. </Row>
  939. </Rows>
  940. </Dataset>
  941. <Dataset id="ds_main_printdata_data" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep"/>
  942. <Dataset id="ds_temp_rfehemhtlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep" oncolumnchanged="ds_temp_rfehemhtlist_oncolumnchanged"/>
  943. <Dataset id="ds_main_control" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  944. <ColumnInfo>
  945. <Column id="instcd" type="STRING" size="256"/>
  946. </ColumnInfo>
  947. </Dataset>
  948. <Dataset id="ds_main_control_rfehemhtlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  949. <ColumnInfo>
  950. <Column id="fixasetcd" type="STRING" size="256"/>
  951. <Column id="fixasetnm" type="STRING" size="256"/>
  952. <Column id="reqdeptcd" type="STRING" size="256"/>
  953. <Column id="depthngnm" type="STRING" size="256"/>
  954. <Column id="reqpsnid" type="STRING" size="256"/>
  955. <Column id="reqpsnnm" type="STRING" size="256"/>
  956. <Column id="fixtrseqmtflag" type="STRING" size="256"/>
  957. <Column id="workstat" type="STRING" size="256"/>
  958. <Column id="btnfixasetcd" type="STRING" size="256"/>
  959. <Column id="deptaprvreqyn" type="STRING" size="256"/>
  960. <Column id="execdept" type="STRING" size="256"/>
  961. </ColumnInfo>
  962. <Rows>
  963. <Row>
  964. <Col id="fixasetcd"/>
  965. <Col id="fixasetnm"/>
  966. <Col id="reqdeptcd"/>
  967. <Col id="depthngnm"/>
  968. <Col id="reqpsnid"/>
  969. <Col id="reqpsnnm"/>
  970. <Col id="fixtrseqmtflag"/>
  971. <Col id="workstat"/>
  972. <Col id="btnfixasetcd"/>
  973. <Col id="deptaprvreqyn">N</Col>
  974. <Col id="execdept"/>
  975. </Row>
  976. </Rows>
  977. </Dataset>
  978. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  979. <ColumnInfo>
  980. <Column id="filepath" type="STRING" size="256"/>
  981. <Column id="fileseqno" type="STRING" size="256"/>
  982. </ColumnInfo>
  983. <Rows>
  984. <Row/>
  985. </Rows>
  986. </Dataset>
  987. <Dataset id="ds_main_grid_rfehemhtlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep" oncolumnchanged="ds_main_grid_rfehemhtlist_oncolumnchanged"/>
  988. <Dataset id="ds_main_grid_rfcmfacdlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep"/>
  989. <Dataset id="ds_send_attach" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  990. <ColumnInfo>
  991. <Column id="filenm" type="STRING" size="256"/>
  992. <Column id="filesize" type="STRING" size="256"/>
  993. <Column id="filetype" type="STRING" size="256"/>
  994. <Column id="fullpath" type="STRING" size="256"/>
  995. <Column id="file" type="STRING" size="256"/>
  996. </ColumnInfo>
  997. <Rows>
  998. <Row>
  999. <Col id="filenm"/>
  1000. <Col id="filesize"/>
  1001. <Col id="filetype"/>
  1002. <Col id="fullpath"/>
  1003. <Col id="file"/>
  1004. </Row>
  1005. </Rows>
  1006. </Dataset>
  1007. <Dataset id="ds_init_main_custlist" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1008. <ColumnInfo>
  1009. <Column id="installplcecd" type="STRING" size="255"/>
  1010. <Column id="installplcenm" type="STRING" size="255"/>
  1011. <Column id="deptcd" type="STRING" size="255"/>
  1012. <Column id="deptnm" type="STRING" size="255"/>
  1013. <Column id="mainmnger" type="STRING" size="255"/>
  1014. <Column id="mainmngernm" type="STRING" size="255"/>
  1015. <Column id="submnger" type="STRING" size="255"/>
  1016. <Column id="submngernm" type="STRING" size="255"/>
  1017. <Column id="fstrgstrid" type="STRING" size="255"/>
  1018. <Column id="fstrgstdt" type="STRING" size="255"/>
  1019. <Column id="lastupdtrid" type="STRING" size="255"/>
  1020. <Column id="lastupdtdt" type="STRING" size="255"/>
  1021. </ColumnInfo>
  1022. </Dataset>
  1023. <Dataset id="ds_main_ReqpsnLists_reqpsnlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1024. <ColumnInfo>
  1025. <Column id="reqaprvflag" type="STRING" size="256"/>
  1026. </ColumnInfo>
  1027. <Rows>
  1028. <Row/>
  1029. </Rows>
  1030. </Dataset>
  1031. <Dataset id="ds_main_attachfile" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1032. <ColumnInfo>
  1033. <Column id="filedata" type="STRING" size="256" sumtext="파일데이터"/>
  1034. </ColumnInfo>
  1035. </Dataset>
  1036. </Objects>
  1037. <Bind>
  1038. <BindItem id="item0" compid="grp_biz.grp_detail.ipt_deptacptpsnid" propid="value" datasetid="ds_temp_rfehemhtlist" columnid="deptacptpsnid"/>
  1039. <BindItem id="item1" compid="grp_biz.grp_detail.rdo_execdept" propid="value" datasetid="ds_temp_rfehemhtlist" columnid="execdept"/>
  1040. <BindItem id="item2" compid="grp_biz.grp_detail.ipt_depthngnm" propid="value" datasetid="ds_temp_rfehemhtlist" columnid="depthngnm"/>
  1041. <BindItem id="item3" compid="grp_biz.grp_detail.ipt_reqtel" propid="value" datasetid="ds_temp_rfehemhtlist" columnid="reqtel"/>
  1042. <BindItem id="item4" compid="grp_biz.grp_detail.rdo_deptaprvreqyn" propid="value" datasetid="ds_temp_rfehemhtlist" columnid="deptaprvreqyn"/>
  1043. <BindItem id="item5" compid="grp_biz.grp_detail.ipt_bugtyy" propid="value" datasetid="ds_temp_rfehemhtlist" columnid="bugtyy"/>
  1044. <BindItem id="item6" compid="grp_biz.grp_detail.ipt_reqpsnid" propid="value" datasetid="ds_temp_rfehemhtlist" columnid="reqpsnid"/>
  1045. <BindItem id="item7" compid="grp_biz.grp_detail.ipt_deptacptpsnnm" propid="value" datasetid="ds_temp_rfehemhtlist" columnid="deptacptpsnnm"/>
  1046. <BindItem id="item8" compid="grp_biz.grp_detail.ipt_reqdd" propid="value" datasetid="ds_temp_rfehemhtlist" columnid="reqdd"/>
  1047. <BindItem id="item9" compid="grp_biz.grp_detail.txt_hdrncspec" propid="value" datasetid="ds_temp_rfehemhtlist" columnid="hdrncspec"/>
  1048. <BindItem id="item10" compid="grp_biz.grp_detail.ipt_reqno" propid="value" datasetid="ds_temp_rfehemhtlist" columnid="reqno"/>
  1049. <BindItem id="item11" compid="grp_biz.grp_detail.ipt_genrdd" propid="value" datasetid="ds_temp_rfehemhtlist" columnid="genrdd"/>
  1050. <BindItem id="item12" compid="grp_biz.grp_detail.ipt_reqpsnnm" propid="value" datasetid="ds_temp_rfehemhtlist" columnid="reqpsnnm"/>
  1051. <BindItem id="item13" compid="grp_biz.grp_detail.ipt_stdysubjnm" propid="value" datasetid="ds_temp_rfehemhtlist" columnid="stdysubjnm"/>
  1052. <BindItem id="item14" compid="grp_biz.grp_detail.ipt_acptdeptnm" propid="value" datasetid="ds_temp_rfehemhtlist" columnid="acptdeptnm"/>
  1053. <BindItem id="item15" compid="grp_biz.grp_detail.txt_lastrpirrslt" propid="value" datasetid="ds_temp_rfehemhtlist" columnid="lastrpirrslt"/>
  1054. <BindItem id="item16" compid="grp_biz.grp_detail.ipt_fixasetnm" propid="value" datasetid="ds_temp_rfehemhtlist" columnid="fixasetnm"/>
  1055. <BindItem id="item17" compid="grp_biz.grp_detail.ipt_stdysubjno" propid="value" datasetid="ds_temp_rfehemhtlist" columnid="stdysubjno"/>
  1056. <BindItem id="item18" compid="grp_biz.grp_detail.che_acptpsncnfm" propid="value" datasetid="ds_temp_rfehemhtlist" columnid="acptpsncnfm"/>
  1057. <BindItem id="item19" compid="grp_biz.grp_detail.ipt_chrgpsnid" propid="value" datasetid="ds_temp_rfehemhtlist" columnid="chrgpsnid"/>
  1058. <BindItem id="item20" compid="grp_biz.grp_detail.ipt_acptdeptcd" propid="value" datasetid="ds_temp_rfehemhtlist" columnid="acptdeptcd"/>
  1059. <BindItem id="item21" compid="grp_biz.grp_detail.ipt_possndd" propid="value" datasetid="ds_temp_rfehemhtlist" columnid="possndd"/>
  1060. <BindItem id="item22" compid="grp_biz.grp_detail.ipt_deptaprvpsnid" propid="value" datasetid="ds_temp_rfehemhtlist" columnid="deptaprvpsnid"/>
  1061. <BindItem id="item23" compid="grp_biz.grp_detail.cmb_bugtcd" propid="value" datasetid="ds_temp_rfehemhtlist" columnid="bugtcd"/>
  1062. <BindItem id="item24" compid="grp_biz.grp_detail.ipt_acptdd" propid="value" datasetid="ds_temp_rfehemhtlist" columnid="acptdd"/>
  1063. <BindItem id="item25" compid="grp_biz.grp_detail.ipt_fixasetcd" propid="value" datasetid="ds_temp_rfehemhtlist" columnid="fixasetcd"/>
  1064. <BindItem id="item26" compid="grp_biz.grp_detail.ipt_deptaprvdd" propid="value" datasetid="ds_temp_rfehemhtlist" columnid="deptaprvdd"/>
  1065. <BindItem id="item27" compid="grp_biz.grp_detail.cmb_workstat" propid="value" datasetid="ds_temp_rfehemhtlist" columnid="workstat"/>
  1066. <BindItem id="item28" compid="grp_biz.grp_detail.ipt_chrgpsnnm" propid="value" datasetid="ds_temp_rfehemhtlist" columnid="chrgpsnnm"/>
  1067. <BindItem id="item29" compid="grp_biz.grp_detail.ipt_deptaprvpsnnm" propid="value" datasetid="ds_temp_rfehemhtlist" columnid="deptaprvpsnnm"/>
  1068. <BindItem id="item30" compid="grp_biz.grp_detail.ipt_chrgtel" propid="value" datasetid="ds_temp_rfehemhtlist" columnid="chrgtel"/>
  1069. <BindItem id="item31" compid="grp_biz.grp_detail.ipt_reqdeptcd" propid="value" datasetid="ds_temp_rfehemhtlist" columnid="reqdeptcd"/>
  1070. <BindItem id="item32" compid="grp_biz.grp_detail.ipt_attfilenm" propid="value" datasetid="ds_temp_rfehemhtlist" columnid="filenm"/>
  1071. <BindItem id="item33" compid="grp_biz.grp_detail.combo1" propid="value" datasetid="ds_temp_rfehemhtlist" columnid="fixtrseqmtflag"/>
  1072. <BindItem id="item34" compid="grp_biz.grp_search.opt_reqdeptcd" propid="value" datasetid="ds_send_rpirsrch" columnid="reqdeptcd"/>
  1073. <BindItem id="item35" compid="grp_biz.grp_search.ipt_reqdd2" propid="value" datasetid="ds_send_rpirsrch" columnid="reqdd2"/>
  1074. <BindItem id="item36" compid="grp_biz.grp_search.opt_reqdeptnm" propid="value" datasetid="ds_send_rpirsrch" columnid="reqdeptnm"/>
  1075. <BindItem id="item37" compid="grp_biz.grp_search.ipt_reqdd1" propid="value" datasetid="ds_send_rpirsrch" columnid="reqdd1"/>
  1076. <BindItem id="item38" compid="grp_biz.grp_search.cmb_fixtrseqmtflag" propid="value" datasetid="ds_send_rpirsrch" columnid="fixtrseqmtflag"/>
  1077. <BindItem id="item39" compid="grp_biz.grp_search.ipt_reqpsnids" propid="value" datasetid="ds_send_rpirsrch" columnid="reqpsnid"/>
  1078. <BindItem id="item40" compid="grp_biz.grp_search.cmb_instcd" propid="value" datasetid="ds_send_rpirsrch" columnid="instcd"/>
  1079. <BindItem id="item41" compid="grp_biz.grp_search.ipt_reqpsnnms" propid="value" datasetid="ds_send_rpirsrch" columnid="reqpsnnm"/>
  1080. <BindItem id="item42" compid="grp_biz.grp_search.opt_installplcenm" propid="value" datasetid="ds_send_goodsrch" columnid="installplcenm"/>
  1081. <BindItem id="item43" compid="grp_biz.grp_search.ipt_installplcecd" propid="value" datasetid="ds_send_goodsrch" columnid="installplcecd"/>
  1082. <BindItem id="item44" compid="grp_biz.grp_search.chk_includesubdept" propid="value" datasetid="ds_send_rpirsrch" columnid="includesubdept"/>
  1083. <BindItem id="item45" compid="grp_biz.grp_goodsearch.input2" propid="value" datasetid="ds_send_goodsrch" columnid="fixasetcd"/>
  1084. <BindItem id="item46" compid="grp_biz.grp_goodsearch.input1" propid="value" datasetid="ds_send_goodsrch" columnid="goodflagnm"/>
  1085. <BindItem id="item47" compid="grp_biz.grp_goodsearch.cmb_goodfixtrseqmtflag" propid="value" datasetid="ds_send_goodsrch" columnid="goodflag"/>
  1086. <BindItem id="item48" compid="grp_biz.grp_goodsearch.input3" propid="value" datasetid="ds_send_goodsrch" columnid="goodspec"/>
  1087. <BindItem id="item49" compid="grp_biz.grp_goodsearch.input4" propid="value" datasetid="ds_send_goodsrch" columnid="mngtno"/>
  1088. <BindItem id="item50" compid="grp_biz.ipt_rowtemp" propid="value" datasetid="ds_init" columnid="rowtemp"/>
  1089. <BindItem id="item51" compid="grp_biz.rdo_view" propid="value" datasetid="ds_init" columnid="viewOption"/>
  1090. </Bind>
  1091. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  1092. * System Name :
  1093. * Job Name :
  1094. * Creator :
  1095. * Make Date : 2017-06-19
  1096. * Description :
  1097. *---------------------------------------------------------------------------------------
  1098. * Modify Date Modifier Modify Description
  1099. *---------------------------------------------------------------------------------------
  1100. * 2017-06-19 Live Converter TF->XP
  1101. *
  1102. *---------------------------------------------------------------------------------------
  1103. ****************************************************************************************/
  1104. //=======================================================================================
  1105. // Lib Include
  1106. //---------------------------------------------------------------------------------------
  1107. include "com_commonxp::comm_main.xjs";
  1108. include "mis_miscommonxp::MIS.xjs";
  1109. include "mis_miscommonxp::RSZ001.xjs";
  1110. include "mis_purcbasexp::SMRSC05303.xjs";
  1111. //=======================================================================================
  1112. // Global Form Variable
  1113. //---------------------------------------------------------------------------------------
  1114. var arErrorCode = new HashArray();
  1115. //=======================================================================================
  1116. // Function
  1117. //---------------------------------------------------------------------------------------
  1118. /****************************************************************************************
  1119. * Argument : N/A
  1120. * Description : 초기화
  1121. ****************************************************************************************/
  1122. function fInitialize()
  1123. {
  1124. //misfGridInit(grp_biz.grd_rfehemhtlist);
  1125. //grdf_setGridSort(grp_biz.grd_rfehemhtlist);
  1126. misfGridInit(grp_biz.grp_detail.grd_rfehdabplist);
  1127. misfGridInit(grp_biz.grd_temp);
  1128. misfGridInit(grp_biz.grp_goodsearch.grd_rfcmfacdlist);
  1129. rszfComboBugtList("grp_biz.grp_detail.cmb_bugtcd",sysf_getUserInfo("dutplceinstcd"));
  1130. misfComboComCdListMulti("C0048,R0055,R0055,R0032,R0025,R0035,R0285,030R0033"
  1131. , "grp_biz.grp_search.cmb_instcd,grp_biz.grp_detail.cmb_workstat,grp_biz.grd_rfehemhtlist.workstat,grp_biz.grp_detail.grd_rfehdabplist.acsrsunit,grp_biz.grp_goodsearch.grd_rfcmfacdlist.goodflag,grp_biz.grp_goodsearch.grd_rfcmfacdlist.prodplce,grp_biz.grd_rfehemhtlist.rpirflag2,grp_biz.grp_goodsearch.grd_rfcmfacdlist.mngtgrade");
  1132. misfMsterDetailSet(grp_biz.grd_rfehemhtlist, null, "TRRFE00401", "Y");
  1133. misfMsterDetailSet(grp_biz.grp_goodsearch.grd_rfcmfacdlist, null, "TRRSE01504", "N");
  1134. // 기관코드 설정
  1135. ds_send_rpirsrch.setColumn( 0, "instcd", sysf_getUserInfo("dutplceinstcd"));
  1136. ds_send_rpirsrch.setColumn( 0, "instcdnm", sysf_getUserInfo("dutplceinstnm"));
  1137. ds_send_rpirsrch.enableevent = false;
  1138. ds_send_rpirsrch.updatecontrol = false;
  1139. ds_send_rpirsrch.setColumn( 0, "reqdeptcd" , sysf_getUserInfo("dutplcecd"));
  1140. ds_send_rpirsrch.setColumn( 0, "reqdeptnm" , sysf_getUserInfo("dutplcenm"));
  1141. ds_send_rpirsrch.updatecontrol = true;
  1142. ds_send_rpirsrch.enableevent = true;
  1143. ds_send_goodsrch.setColumn( 0, "mngtdeptcd", ds_send_rpirsrch.getColumn( 0, "reqdeptcd"));
  1144. ds_send_goodsrch.setColumn( 0, "mngtdeptnm", ds_send_rpirsrch.getColumn( 0, "reqdeptnm"));
  1145. // 금일 날자 설정
  1146. ds_send_rpirsrch.setColumn( 0, "reqdd1", utlf_getCurrentDate());
  1147. ds_send_rpirsrch.setColumn( 0, "reqdd2", utlf_getCurrentDate());
  1148. ds_init.setColumn( 0, "rowtemp", "");
  1149. fcontrolEnableYN(false);
  1150. misfSetReadOnlyCol(grp_biz.grd_rfehemhtlist, "workstat", true);
  1151. // grp_biz.grd_rfehemhtlist.fixedcellcheckbox(0,grp_biz.grd_rfehemhtlist.colRef("choice"),false) = true;
  1152. //수리 청구 승인권한 여부 판별하여 Grid의 승인 컬럼을 설정.
  1153. fdeptGrantYN();
  1154. //2019.05.28 도움말 추가
  1155. if(sysf_getUserInfo("dutplceinstcd") == "032"){
  1156. group4.btn_help.visible = true;
  1157. }
  1158. }
  1159. /****************************************************************************************
  1160. * Argument : N/A
  1161. * Description : 수리 청구 승인권한 여부 판별하여 Grid의 승인 컬럼을 설정.
  1162. * : 수리,장비등 청구주기가 없는 것들은 '1'로셋팅
  1163. ****************************************************************************************/
  1164. function fdeptGrantYN()
  1165. {
  1166. rszfGetPurcReqAuthInfo(grp_biz.grp_search.cmb_instcd.value, "S", sysf_getUserInfo("dutplcecd"), sysf_getUserInfo("userid"), "1");
  1167. for(var fRow = 0; fRow < ds_main_grid_rfehemhtlist.rowcount; fRow++)
  1168. {
  1169. if( rszfGetPurcAuthInfoByCond("reqaprvflag") == "2" && ds_main_grid_rfehemhtlist.getColumn(fRow, "deptaprvreqyn") == "Y" )
  1170. {
  1171. if(ds_main_grid_rfehemhtlist.getColumn(fRow, "workstat") == "00" || ds_main_grid_rfehemhtlist.getColumn(fRow, "workstat") == "01" )
  1172. {
  1173. misfSetReadOnlyCol(grp_biz.grd_rfehemhtlist, "deptaprvyn", false, fRow);
  1174. }else{
  1175. misfSetReadOnlyCol(grp_biz.grd_rfehemhtlist, "deptaprvyn", true, fRow);
  1176. }
  1177. }else{
  1178. misfSetReadOnlyCol(grp_biz.grd_rfehemhtlist, "deptaprvyn", true, fRow);
  1179. }
  1180. }
  1181. }
  1182. /****************************************************************************************
  1183. * Argument : TrueFalse : true/false
  1184. * Description : 컴포넌트 사용여부
  1185. ****************************************************************************************/
  1186. function fcontrolEnableYN(TrueFalse)
  1187. {
  1188. grp_biz.grp_detail.ipt_reqdeptcd.enable = TrueFalse;
  1189. grp_biz.grp_detail.btn_reqdeptcdSearch.enable = TrueFalse;
  1190. //grp_biz.grp_detail.ipt_depthngnm.enable = TrueFalse;
  1191. grp_biz.grp_detail.ipt_reqpsnid.enable = TrueFalse;
  1192. grp_biz.grp_detail.btn_reqpsnidSearch.enable = TrueFalse;
  1193. //grp_biz.grp_detail.ipt_reqpsnnm.enable = TrueFalse;
  1194. grp_biz.grp_detail.ipt_acptdeptcd.enable = false;
  1195. grp_biz.grp_detail.ipt_acptdeptnm.enable = false;
  1196. grp_biz.grp_detail.rdo_execdept.enable = TrueFalse;
  1197. grp_biz.grp_detail.ipt_reqtel.enable = TrueFalse;
  1198. grp_biz.grp_detail.txt_hdrncspec.enable = TrueFalse;
  1199. grp_biz.grp_detail.ipt_genrdd.enable = TrueFalse;
  1200. // ipt_genrtm.enable = TrueFalse;
  1201. grp_biz.grp_detail.rdo_deptaprvreqyn.enable = TrueFalse;
  1202. grp_biz.grp_detail.ipt_bugtyy.enable = false;
  1203. grp_biz.grp_detail.cmb_bugtcd.enable = false;
  1204. grp_biz.grp_detail.ipt_stdysubjno.enable = false;
  1205. grp_biz.grp_detail.btn_stdysubjnm.enable = false;
  1206. grp_biz.grp_detail.ipt_stdysubjnm.enable = false;
  1207. grp_biz.grp_detail.ipt_chrgpsnid.enable = false;
  1208. //grp_biz.grp_detail.ipt_chrgpsnnm.enable = false;
  1209. //grp_biz.grp_detail.cmb_workstat.enable = false;
  1210. grp_biz.grp_detail.ipt_acptdd.enable = false;
  1211. //grp_biz.grp_detail.che_acptpsncnfm.enable = TrueFalse;
  1212. //grp_biz.grp_detail.ipt_possndd.enable = false;
  1213. grp_biz.grp_detail.ipt_deptacptpsnid.enable = false;
  1214. grp_biz.grp_detail.ipt_deptacptpsnnm.enable = false;
  1215. grp_biz.grp_detail.txt_lastrpirrslt.enable = false;
  1216. // 부품사용내역 그리드 설정
  1217. //grp_biz.grp_detail.grd_rfehdabplist.enable = false;
  1218. }
  1219. function fCheckTime(ftimeset)
  1220. {
  1221. var sTime = ftimeset.value;
  1222. if(sTime.length != 4)
  1223. {
  1224. messageBox("네자리를 ","C001");
  1225. ftimeset.value = "";
  1226. return;
  1227. }
  1228. var sFrontTime = sTime.substr(0, 2);
  1229. var sBackTime = sTime.substr(2, 2);
  1230. if(parseInt(sFrontTime) > 24)
  1231. {
  1232. messageBox("24시를 ","E003");
  1233. ftimeset.value = "";
  1234. return;
  1235. }
  1236. if(parseInt(sBackTime) > 59)
  1237. {
  1238. messageBox("59분을 ","E003");
  1239. ftimeset.value = "";
  1240. return;
  1241. }
  1242. }
  1243. /****************************************************************************************
  1244. * Argument : N/A
  1245. * Description : 수리진행상태 check
  1246. ****************************************************************************************/
  1247. function fcomboValueCheck()
  1248. {
  1249. grp_biz.btn_delete.enable = true;
  1250. // control 수정 금지
  1251. fcontrolEnableYN(false);
  1252. if(grp_biz.grp_detail.cmb_workstat.value == '00' || grp_biz.grp_detail.cmb_workstat.value == '01')
  1253. {
  1254. grp_biz.grp_detail.ipt_reqtel.enable = true;
  1255. grp_biz.grp_detail.ipt_reqdeptcd.enable = true;
  1256. grp_biz.grp_detail.btn_reqdeptcdSearch.enable = true;
  1257. grp_biz.grp_detail.ipt_depthngnm.enable = true;
  1258. if(grp_biz.grp_search.cmb_instcd.value == "103")
  1259. {
  1260. grp_biz.grp_detail.ipt_bugtyy.enable = true;
  1261. grp_biz.grp_detail.cmb_bugtcd.enable = true;
  1262. grp_biz.grp_detail.ipt_stdysubjno.enable = true;
  1263. grp_biz.grp_detail.btn_stdysubjnm.enable = true;
  1264. grp_biz.grp_detail.ipt_stdysubjnm.enable = true;
  1265. }
  1266. grp_biz.grp_detail.ipt_reqpsnid.enable = true;
  1267. grp_biz.grp_detail.btn_reqpsnidSearch.enable = true;
  1268. grp_biz.grp_detail.ipt_reqpsnnm.enable = true;
  1269. grp_biz.grp_detail.txt_hdrncspec.enable = true;
  1270. grp_biz.grp_detail.ipt_genrdd.enable = true;
  1271. grp_biz.grp_detail.rdo_execdept.enable = true;
  1272. grp_biz.grp_detail.rdo_deptaprvreqyn.enable = true;
  1273. }else if(grp_biz.grp_detail.cmb_workstat.value == '04' || (grp_biz.grp_detail.cmb_workstat.value == '07' || grp_biz.grp_detail.cmb_workstat.value == '08' )){
  1274. // 삭제 금지
  1275. grp_biz.btn_delete.enable = false;
  1276. // 인수확인 수정
  1277. grp_biz.grp_detail.che_acptpsncnfm.enable = true;
  1278. grp_biz.grp_detail.rdo_execdept.enable = false;
  1279. grp_biz.grp_detail.rdo_deptaprvreqyn.enable = false;
  1280. }else{
  1281. grp_biz.btn_delete.enable = false;
  1282. grp_biz.grp_detail.rdo_execdept.enable = false;
  1283. grp_biz.grp_detail.rdo_deptaprvreqyn.enable = false;
  1284. }
  1285. }
  1286. /****************************************************************************************
  1287. * Argument : N/A
  1288. * Description : 인수 확인시 기본 사항
  1289. ****************************************************************************************/
  1290. function facptCheck()
  1291. {
  1292. /*-----------------------------------------------------------------------------
  1293. * check box 에 체크를 하면 value 가 'N Y' 가 된다.
  1294. * 'N'일경우를 먼저 체크해야하는데 VALUE가 정의되지 않아 NULL이 된다.
  1295. ----------------------------------------------------------------------------- */
  1296. if(utlf_isNull(grp_biz.grp_detail.che_acptpsncnfm.value))
  1297. {
  1298. grp_biz.grp_detail.ipt_possndd.value = "";
  1299. grp_biz.grp_detail.ipt_deptacptpsnid.value = "";
  1300. grp_biz.grp_detail.ipt_deptacptpsnnm.value = "";
  1301. }else{
  1302. grp_biz.grp_detail.ipt_possndd.value = utlf_getCurrentDate().substr(0, 8);
  1303. grp_biz.grp_detail.ipt_deptacptpsnid.value = sysf_getUserInfo("userid");
  1304. grp_biz.grp_detail.ipt_deptacptpsnnm.value = sysf_getUserInfo("usernm");
  1305. grp_biz.grp_detail.cmb_workstat.value = "05";
  1306. grp_biz.grp_detail.che_acptpsncnfm.value= "Y";
  1307. }
  1308. }
  1309. /****************************************************************************************
  1310. * Argument : tmpStat : 조회여부
  1311. * Description : 행추가시 필요 없는 submission이 발생하여 우선은 제어를 위해 "N" 셋팅시 submission pass
  1312. ****************************************************************************************/
  1313. function fgridClickEvent(tmpStat)
  1314. {
  1315. ds_temp_rfehemhtlist.clear();
  1316. dsf_copyColInfo(ds_temp_rfehemhtlist, ds_main_grid_rfehemhtlist);
  1317. if( ds_main_grid_rfehemhtlist.rowposition > -1 ){
  1318. ds_temp_rfehemhtlist.enableevent = false;
  1319. ds_temp_rfehemhtlist.updatecontrol = false;
  1320. ds_temp_rfehemhtlist.copyRow(ds_temp_rfehemhtlist.addRow(), ds_main_grid_rfehemhtlist, ds_main_grid_rfehemhtlist.rowposition);
  1321. ds_temp_rfehemhtlist.updatecontrol = true;
  1322. ds_temp_rfehemhtlist.enableevent = true;
  1323. }
  1324. // 부품사용내역을 조회 하기 위한 기본값 설정.
  1325. if(ds_main_rfehdabplist.rowcount > 0){
  1326. misfGridInit(grp_biz.grp_detail.grd_rfehdabplist);
  1327. }
  1328. if(ds_main_grid_rfehemhtlist.rowcount != 0 && tmpStat != "N")
  1329. {
  1330. ds_send_rpirsrch.setColumn( 0, "reqdd", ds_main_grid_rfehemhtlist.getColumn(ds_main_grid_rfehemhtlist.rowposition, "reqdd") );
  1331. ds_send_rpirsrch.setColumn( 0, "reqno", ds_main_grid_rfehemhtlist.getColumn(ds_main_grid_rfehemhtlist.rowposition, "reqno") );
  1332. var oParam = {};
  1333. oParam.id = "TRRFE00402";
  1334. oParam.service = "reqapp.ReqMngt";
  1335. oParam.method = "reqGetHistRfehdabpList";
  1336. oParam.inds = "req=ds_send_rpirsrch";
  1337. oParam.outds = "ds_main_rfehdabplist=rfehdabplist";
  1338. oParam.async = false;
  1339. //oParam.callback = "cf_TRRFE00402";
  1340. tranf_submit(oParam);
  1341. misfSetReadOnlyAll(grp_biz.grp_detail.grd_rfehdabplist);
  1342. }
  1343. if(ds_temp_rfehemhtlist.rowcount > 0) ds_temp_rfehemhtlist.rowposition = ds_temp_rfehemhtlist.rowcount-1;
  1344. }
  1345. /****************************************************************************************
  1346. * Argument : N/A
  1347. * Description : 그리드 row 이동시 작업 check
  1348. ****************************************************************************************/
  1349. function fmoveCheck()
  1350. {
  1351. //사용 안하는듯
  1352. // var dsUpdate = grdf_getGridUpdateData(grp_biz.grd_temp, "all");
  1353. // if ( dsUpdate.rowcount > 0) {
  1354. // var ret = sysf_messageBox("그리드에 작업 중인 내용이 있습니다. 조회 작업을","Q003");
  1355. // if (ret != 6) { // not OK
  1356. // ds_main_grid_rfehemhtlist.rowposition = grp_biz.ipt_rowtemp.value;
  1357. // return false;
  1358. // }else{
  1359. // ds_temp_rfehemhtlist.applyChange();
  1360. // }
  1361. // }
  1362. grp_biz.ipt_rowtemp.value = ds_main_grid_rfehemhtlist.rowposition;
  1363. fgridClickEvent();
  1364. fcomboValueCheck();
  1365. }
  1366. /****************************************************************************************
  1367. * Argument : N/A
  1368. * Description : 저장실행
  1369. ****************************************************************************************/
  1370. function fupdateCheckSave()
  1371. {
  1372. if(!frmf_isRequiredControls("grp_biz.grp_detail.ipt_fixasetcd"))return false;
  1373. if(!frmf_isRequiredControls("grp_biz.grp_detail.ipt_reqdd"))return false;
  1374. if(!frmf_isRequiredControls("grp_biz.grp_detail.ipt_reqdeptcd"))return false;
  1375. if(!frmf_isRequiredControls("grp_biz.grp_detail.ipt_reqpsnid"))return false;
  1376. if(!frmf_isRequiredControls("grp_biz.grp_detail.ipt_reqtel"))return false;
  1377. if(!frmf_isRequiredControls("grp_biz.grp_detail.cmb_workstat"))return false;
  1378. if(!frmf_isRequiredControls("grp_biz.grp_detail.txt_hdrncspec"))return false;
  1379. if(ds_temp_rfehemhtlist.getRowType(ds_temp_rfehemhtlist.rowposition) != 1)
  1380. {
  1381. var iStatus = ds_temp_rfehemhtlist.getRowType(ds_temp_rfehemhtlist.rowposition);
  1382. var sStatus = "U";
  1383. ds_main_grid_rfehemhtlist.copyRow(ds_main_grid_rfehemhtlist.rowposition, ds_temp_rfehemhtlist, ds_temp_rfehemhtlist.rowposition);
  1384. var sCurStatus = ds_main_grid_rfehemhtlist.getRowType(ds_main_grid_rfehemhtlist.rowposition);
  1385. if(sCurStatus == 2)
  1386. {
  1387. sStatus = "I";
  1388. }
  1389. grdf_setStatus(grp_biz.grd_rfehemhtlist, sStatus, [ds_main_grid_rfehemhtlist.rowposition]);
  1390. }
  1391. var updtdata = grdf_getGridUpdateData(grp_biz.grd_rfehemhtlist, "all");
  1392. if (updtdata.rowcount == 0)
  1393. {
  1394. sysf_messageBox("변경된 데이터가","I004");
  1395. return false;
  1396. }
  1397. var rtn = misfSave("TXRFE00401");
  1398. if(ds_main_grid_rfehemhtlist.getColumn(ds_main_grid_rfehemhtlist.rowposition, "deptaprvyn") != "Y" && grp_biz.grp_detail.rdo_deptaprvreqyn.value == "Y")
  1399. sysf_messageBox("부서장 승인이 되지 않았습니다.","");
  1400. //if (model.getValue(gvErrorMsgPath + "/type") != "error") grp_biz.grd_rfehemhtlist.dispatch("onrowchanged");
  1401. if(rtn) fmoveCheck();
  1402. }
  1403. function fmaxreqno(grd_obj) {
  1404. var maxreqno = 0;
  1405. for( cnt=1; cnt< grp_biz.grd_rfehemhtlist.rows-grp_biz.grd_rfehemhtlist.fixedRows ; cnt++) {
  1406. if ( grp_biz.grd_rfehemhtlist.valueMatrix(cnt, grp_biz.grd_rfehemhtlist.colRef("reqdd")) == getCurrentDate().substr(0, 8) ) {
  1407. if ( maxreqno < eval (grp_biz.grd_rfehemhtlist.valueMatrix(cnt, grp_biz.grd_rfehemhtlist.colRef("reqno"))) )
  1408. maxreqno = eval (grp_biz.grd_rfehemhtlist.valueMatrix(cnt, grp_biz.grd_rfehemhtlist.colRef("reqno")));
  1409. }
  1410. }
  1411. maxreqno = maxreqno + 1;
  1412. return getRightPad(maxreqno+"", 4,'0');
  1413. }
  1414. function getRightPad(pStr, pLength, padString )
  1415. {
  1416. var tmpStr = "";
  1417. if (pStr.length < pLength) {
  1418. for( var i = pStr.length; i < pLength; i++){
  1419. tmpStr = tmpStr + padString;
  1420. }
  1421. }
  1422. return tmpStr + pStr;
  1423. }
  1424. /****************************************************************************************
  1425. * Argument : objVFile
  1426. * : nRow
  1427. * Description : 파일 화면에 저장
  1428. ****************************************************************************************/
  1429. function lf_saveFile(objVFile, nRow)
  1430. {
  1431. // var sRowType = ds_send_attach.getRowType(nRow);
  1432. // 그 파일의 데이터를 데이터셋의 특정 컬럼에 BLOB 형식으로 write 한다.
  1433. var file = dsf_writeFileToDs(objVFile, ds_send_attach, nRow, "filedata");
  1434. if(file.filesize > 5242880) {
  1435. ds_send_attach.deleteRow(nRow);
  1436. sysf_messageBox("파일 크기가 최대치(5242880Byte)를", "E003");
  1437. return;
  1438. }
  1439. var filename = file.filename;
  1440. var filesize = file.filesize;
  1441. var idx = filename.indexOf(".");
  1442. ds_send_attach.setColumn(nRow, "filedata", filename);
  1443. ds_send_attach.setColumn(nRow, "filenm", file.filename);
  1444. ds_send_attach.setColumn(nRow, "filesize", file.filesize);
  1445. ds_send_attach.setColumn(nRow, "filetype", file.filetype);
  1446. ds_send_attach.setColumn(nRow, "fullpath", objVFile.fullpath);
  1447. fAttfileAdd();
  1448. }
  1449. /****************************************************************************************
  1450. * Argument : N/A
  1451. * Description : 파일 업로드
  1452. ****************************************************************************************/
  1453. function fAttfileAdd(){
  1454. //파일 다운로드 하는 기능
  1455. //var maxsize = upd_uploadfile.attribute("filesize");
  1456. ds_send_fileupcolumn.setColumn(0,"instcd" , ds_main_grid_rfehemhtlist.getColumn(ds_main_grid_rfehemhtlist.rowposition, "instcd"));
  1457. ds_send_fileupcolumn.setColumn(0,"reqdd" , ds_main_grid_rfehemhtlist.getColumn(ds_main_grid_rfehemhtlist.rowposition, "reqdd"));
  1458. ds_send_fileupcolumn.setColumn(0,"reqflag" , "S" ); //비품수리신청등록시 하드코딩 - 나중에 query에서 control
  1459. ds_send_fileupcolumn.setColumn(0,"reqno" , ds_main_grid_rfehemhtlist.getColumn(ds_main_grid_rfehemhtlist.rowposition, "reqno"));
  1460. ds_send_fileupcolumn.setColumn(0,"reqpsnid" , ds_main_grid_rfehemhtlist.getColumn(ds_main_grid_rfehemhtlist.rowposition, "reqpsnid"));
  1461. ds_send_fileupcolumn.setColumn(0,"reqdeptcd" , ds_main_grid_rfehemhtlist.getColumn(ds_main_grid_rfehemhtlist.rowposition, "reqdeptcd"));
  1462. ds_send_fileupcolumn.setColumn(0,"attfilenm" , ds_main_control_rfehemhtlist.getColumn(0,"attfilenm"));
  1463. ds_send_fileupcolumn.setColumn(0,"attfilepathnm", ds_send_attach.getColumn(0, "fullpath"));
  1464. var oParam = {};
  1465. oParam.id = "TXRSD00423";
  1466. oParam.service = "reqapp.ReqMngt";
  1467. oParam.method = "insReqAttfileTT";
  1468. oParam.inds = "sfile=ds_send_attach req=ds_send_fileupcolumn";
  1469. oParam.outds = "";
  1470. oParam.async = false;
  1471. oParam.callback = "cf_TXRSD00423";
  1472. tranf_submit(oParam);
  1473. if (arErrorCode.pop("TXRSD00423") > -1){
  1474. sysf_messageBox("첨부파일이 업로드" , "I002");
  1475. grp_biz.grp_search.btn_search.click();
  1476. }
  1477. }
  1478. function cf_TXRSD00423(sSvcId, nErrorCode, sErrorMsg) {
  1479. arErrorCode.push(sSvcId, nErrorCode);
  1480. }
  1481. /****************************************************************************************
  1482. * Argument : N/A
  1483. * Description : 첨부파일 다운로드
  1484. ****************************************************************************************/
  1485. function fAttfileDown(){
  1486. if(ds_main_grid_rfehemhtlist.rowcount <= 0) return;
  1487. else alert("danger");
  1488. return;
  1489. ds_send_fileupcolumn.setColumn(0,"instcd" , ds_main_grid_rfehemhtlist.getColumn(ds_main_grid_rfehemhtlist.rowposition, "instcd"));
  1490. ds_send_fileupcolumn.setColumn(0,"reqdd" , ds_main_grid_rfehemhtlist.getColumn(ds_main_grid_rfehemhtlist.rowposition, "reqdd"));
  1491. //ds_send_fileupcolumn.setColumn(0,"fileseqno" , model.getValue("/root/main/goodreq/goodreqlist/attfilepathnm") ); //seqNumber
  1492. ds_send_fileupcolumn.setColumn(0,"reqflag" , "S");
  1493. ds_send_fileupcolumn.setColumn(0,"reqno" , ds_main_grid_rfehemhtlist.getColumn(ds_main_grid_rfehemhtlist.rowposition, "reqno"));
  1494. ds_send_fileupcolumn.setColumn(0,"reqpsnid" , ds_main_grid_rfehemhtlist.getColumn(ds_main_grid_rfehemhtlist.rowposition, "reqpsnid"));
  1495. ds_send_fileupcolumn.setColumn(0,"reqdeptcd" , ds_main_grid_rfehemhtlist.getColumn(ds_main_grid_rfehemhtlist.rowposition, "reqdeptcd"));
  1496. ds_send_fileupcolumn.setColumn(0,"attfilenm" , ds_main_control_rfehemhtlist.getColumn(0, "attfilepathnm"));
  1497. ds_send_fileupcolumn.setColumn(0,"attfilepathnm" , ds_send_attach.getColumn(0, "fullpath"));
  1498. //첨부파일관련 팝업을 띄워서 첨부파일을 조회도 하고 다운로드 삭제까지 할수 있도록 구현.
  1499. rszfOpenPopUpListByWndName(grp_biz.grd_rfehemhtlist,"","","SMRSD00420","instcd,reqdd,reqflag,reqno,reqseqno,reqpsnid,reqdeptcd,attfilepathnm","instcd,reqdd,reqflag,reqno,reqseqno,reqpsnid,reqdeptcd,attfilepathnm", "Y");
  1500. //submit("TRRSD00421");
  1501. grp_biz.grp_search.btn_search.click();
  1502. }
  1503. //=======================================================================================
  1504. // Event
  1505. //---------------------------------------------------------------------------------------
  1506. /****************************************************************************************
  1507. * Components : Form
  1508. * Description : 화면 처음 초기화시 폼초기화
  1509. ****************************************************************************************/
  1510. function SMRFE01100_onload(obj:Form, e:LoadEventInfo) {
  1511. frmf_initForm(obj);
  1512. grdf_initGrid(grp_biz.grd_rfehemhtlist);
  1513. grdf_setGridSort(grp_biz.grp_goodsearch.grd_rfcmfacdlist);
  1514. grdf_setGridSort(grp_biz.grp_detail.grd_rfehdabplist);
  1515. grdf_setRowTypeIcon(grp_biz.grd_rfehemhtlist, 0);
  1516. //submit 되는 node 들을 초기화한다
  1517. fInitialize();
  1518. grp_biz.grp_search.btn_search.click();
  1519. }
  1520. /****************************************************************************************
  1521. * Components : Button
  1522. * Description : 의뢰부서 조회
  1523. ****************************************************************************************/
  1524. function grp_biz_grp_detail_btn_reqdeptcdSearch_onclick(obj:Button, e:ClickEventInfo) {
  1525. misfOpenPopUpList("02", grp_biz.grp_detail.ipt_reqdeptcd, "", "reqdeptcd,depthngnm");
  1526. }
  1527. /****************************************************************************************
  1528. * Components : Button
  1529. * Description : 연구과제 조회(사용안함)
  1530. ****************************************************************************************/
  1531. function grp_biz_grp_detail_btn_stdysubjnm_onclick(obj:Button, e:ClickEventInfo) {
  1532. rszfOpenPopUpListByWndName(grp_biz.grp_detail.ipt_stdysubjno,"","stdysubjno,stdysubjnm","SPRSD00260","instcd","grp_biz.grp_search.cmb_instcd");
  1533. }
  1534. /****************************************************************************************
  1535. * Components : Button
  1536. * Description : 의뢰자 조회
  1537. ****************************************************************************************/
  1538. function grp_biz_grp_detail_btn_reqpsnidSearch_onclick(obj:Button, e:ClickEventInfo) {
  1539. misfOpenPopUpList("12", grp_biz.grp_detail.ipt_reqpsnid, "", "reqpsnid,reqpsnnm");
  1540. }
  1541. /****************************************************************************************
  1542. * Components : Button
  1543. * Description : 수정/다운로드
  1544. ****************************************************************************************/
  1545. function grp_biz_grp_detail_btn_downfile_onclick(obj:Button, e:ClickEventInfo) {
  1546. //fAttfileDown();
  1547. var filepath = ds_temp_rfehemhtlist.getColumn(0, "filepath");
  1548. var fileseqno = ds_temp_rfehemhtlist.getColumn(0, "fileseqno");
  1549. var filenm = ds_temp_rfehemhtlist.getColumn(0, "filenm");
  1550. var fileExt = "*";
  1551. if(!utlf_isNull(filenm) && !utlf_isNull(filenm)) {
  1552. fileExt = filenm.substr(filenm.lastIndexOf('.')+1);
  1553. } else {
  1554. sysf_messageBox("첨부파일이 없습니다.", "E");
  1555. return;
  1556. }
  1557. ds_send.setColumn(0, "filepath", filepath);
  1558. ds_send.setColumn(0, "fileseqno", fileseqno);
  1559. sysf_setErrorMsg(false); //자바단에서 에러발생시 1.0은 오류리턴을 안해서...
  1560. var oParam = {};
  1561. oParam.id = "TRRFC01102";
  1562. oParam.service = "purcbaseapp.PurcBaseMngt";
  1563. oParam.method = "reqGetFixasetAttfileDownLoad";
  1564. oParam.inds = "req=ds_send";
  1565. oParam.outds = "ds_main_attachfile=attachfile";
  1566. oParam.async = false;
  1567. //oParam.callback = "cf_TRRFC01102";
  1568. tranf_submit(oParam);
  1569. sysf_setErrorMsg(true);
  1570. var fd = new FileDialog;
  1571. var objVFile = fd.open("FileSave", FileDialog.SAVE, "%MYDOCUMENT%", filenm); // 단일 파일 선택
  1572. if (objVFile != null)
  1573. {
  1574. //var temp = dsf_readFileFromDs(objVFile.fullpath+"."+fileExt, ds_main_attachfile, 0, "filedata"); // 파일저장
  1575. var temp = dsf_readFileFromDs(objVFile.fullpath, ds_main_attachfile, 0, "filedata"); // 파일저장
  1576. // sleep(1000);
  1577. // if( !utlf_isNull(temp) )
  1578. // {
  1579. // var rtn = sysf_messageBox("파일을", "Q004");
  1580. // if( rtn == 6 )
  1581. // {
  1582. // var text = new String(objVFile.fullpath);
  1583. // var replaceText = text.replace(" ", "");
  1584. // if( text.length != replaceText.length )
  1585. // {
  1586. // sysf_messageBox("공백이 포함된 [파일명/폴더]는 자동열기가 실행되지 않습니다.", "E999", "");
  1587. // return;
  1588. // }
  1589. // else
  1590. // {
  1591. // //system.execShell(objVFile.fullpath);
  1592. // var path = objVFile.fullpath;
  1593. // var sArg = "";
  1594. // var objExtCommon = new ExtCommon();
  1595. // objExtCommon.executeProcess(path, sArg);
  1596. // }
  1597. // }
  1598. // }
  1599. }
  1600. }
  1601. /****************************************************************************************
  1602. * Components : Button
  1603. * Description : 파일업로드
  1604. ****************************************************************************************/
  1605. // function grp_biz_grp_detail_btn_addfile_onclick(obj:Button, e:ClickEventInfo) {
  1606. // ds_send_attach.clearData();
  1607. // //첨부파일이 이미 있다면 파일 업로드 가 안되도록 막아버리자.
  1608. // if ( !utlf_isNull(ds_temp_rfehemhtlist.getColumn(0,"attfilenm")) ) {
  1609. // sysf_messageBox( "이미 첨부파일이 존재하여 첨부파일을 저장할수" , "I004" );
  1610. // return;
  1611. // }
  1612. // //행추가를 통한 비품신규청구일경우 파일 업로드막기(저장후에 업로드가능해짐)
  1613. // if ( utlf_isNull(ds_main_grid_rfehemhtlist.getColumn(ds_main_grid_rfehemhtlist.rowposition, "fixasetcd")) ) {
  1614. // sysf_messageBox( "비품청구 저장후에 첨부파일 업로드 하실수" , "I010" );
  1615. // return;
  1616. // }
  1617. //
  1618. // // 파일다이얼로그를 띄워 사용자에게 파일경로를 입력받는다.
  1619. // var fd = new FileDialog;
  1620. // var objVFile = fd.open("FileOpen", FileDialog.SINGLELOAD); // 단일 파일 선택
  1621. //
  1622. // if(!utlf_isNull(objVFile)) {
  1623. // var nRow = ds_send_attach.addRow();
  1624. // // 해당 파일을 데이터 셋에 저장한다.
  1625. // lf_saveFile(objVFile, nRow);
  1626. // }
  1627. // }
  1628. /****************************************************************************************
  1629. * Components : Div
  1630. * Description : 상세내역 편집시
  1631. ****************************************************************************************/
  1632. function grp_biz_grp_detail_onsetfocus(obj:Div, e:SetFocusEventInfo) {
  1633. inFlag = true;
  1634. }
  1635. /****************************************************************************************
  1636. * Components : Grid
  1637. * Description : 의뢰내역 변경
  1638. ****************************************************************************************/
  1639. function grp_biz_grd_rfehemhtlist_ontextchanged(obj:Grid, e:GridEditTextChangedEventInfo) {
  1640. if(e.col == obj.getBindCellIndex("body","deptaprvyn"))
  1641. {
  1642. if(ds_main_grid_rfehemhtlist.getColumn(e.row, "deptaprvyn") == "Y")
  1643. {
  1644. ds_main_grid_rfehemhtlist.setColumn(e.row, "deptaprvdd", utlf_getCurrentDate().substr(0, 8));
  1645. ds_main_grid_rfehemhtlist.setColumn(e.row, "deptaprvpsnid", sysf_getUserInfo("userid"));
  1646. ds_main_grid_rfehemhtlist.setColumn(e.row, "deptaprvpsnnm", sysf_getUserInfo("usernm"));
  1647. }else{
  1648. ds_main_grid_rfehemhtlist.setColumn(e.row, "deptaprvdd", "");
  1649. ds_main_grid_rfehemhtlist.setColumn(e.row, "deptaprvpsnid", "");
  1650. ds_main_grid_rfehemhtlist.setColumn(e.row, "deptaprvpsnnm", "");
  1651. }
  1652. fupdateCheckSave();
  1653. }
  1654. }
  1655. /****************************************************************************************
  1656. * Components : Button
  1657. * Description : 조회
  1658. ****************************************************************************************/
  1659. function grp_biz_grp_search_btn_search_onclick(obj:Button, e:ClickEventInfo) {
  1660. if(!frmf_isRequiredControls("grp_biz.grp_search.cmb_instcd")) return;
  1661. if(!frmf_isRequiredControls("grp_biz.grp_search.ipt_reqdd1")) return;
  1662. if(!frmf_isRequiredControls("grp_biz.grp_search.ipt_reqdd2")) return;
  1663. // if(!frmf_isRequiredControls("otp_reqdeptcd")) return;
  1664. ds_send_rpirsrch.setColumn( 0, "installplcecd", ds_send_goodsrch.getColumn(0, "installplcecd"));
  1665. var success = submitFunc("TRRFE00401");
  1666. if( utlf_isNull(ds_main_grid_rfehemhtlist.getColumnInfo("choice")) ){
  1667. ds_main_grid_rfehemhtlist.addColumn("choice", "string");
  1668. }
  1669. ds_main_grid_rfehemhtlist.enableevent = false;
  1670. ds_main_grid_rfehemhtlist.updatecontrol = false;
  1671. dsf_setDefaultVal(ds_main_grid_rfehemhtlist, "choice:N");
  1672. ds_main_grid_rfehemhtlist.updatecontrol = true;
  1673. ds_main_grid_rfehemhtlist.enableevent = true;
  1674. if(success) {
  1675. ds_main_grid_rfehemhtlist.rowposition = -1;
  1676. frmf_inputEnterKey("grp_biz.rdo_view", "onitemchanged", new ItemChangeEventInfo);
  1677. fgridClickEvent();
  1678. fcomboValueCheck();
  1679. fdeptGrantYN();
  1680. }
  1681. }
  1682. /****************************************************************************************
  1683. * Components : Button
  1684. * Description : 의뢰자 조회
  1685. ****************************************************************************************/
  1686. function grp_biz_grp_search_btn_userSearch_onclick(obj:Button, e:ClickEventInfo) {
  1687. misfOpenPopUpList("12", grp_biz.grp_search.ipt_reqpsnids, "", "reqpsnid,reqpsnnm");
  1688. }
  1689. /****************************************************************************************
  1690. * Components : Combo
  1691. * Description : 자산구분 변경
  1692. ****************************************************************************************/
  1693. function grp_biz_grp_search_cmb_fixtrseqmtflag_onitemchanged(obj:Combo, e:ItemChangeEventInfo) {
  1694. grp_biz.grp_search.btn_search.click();
  1695. }
  1696. /****************************************************************************************
  1697. * Components : Button
  1698. * Description : 의뢰부서 조회
  1699. ****************************************************************************************/
  1700. function grp_biz_grp_search_btn_dept_onclick(obj:Button, e:ClickEventInfo) {
  1701. misfOpenPopUpList("02", grp_biz.grp_search.opt_reqdeptcd, "", "reqdeptcd,reqdeptnm");
  1702. }
  1703. /****************************************************************************************
  1704. * Components : Combo
  1705. * Description : 기관코드 변경
  1706. ****************************************************************************************/
  1707. function grp_biz_grp_search_cmb_instcd_onitemchanged(obj:Combo, e:ItemChangeEventInfo) {
  1708. grp_biz.grp_search.btn_search.click();
  1709. }
  1710. /****************************************************************************************
  1711. * Components : Button
  1712. * Description : 설치장소 조회
  1713. ****************************************************************************************/
  1714. function grp_biz_grp_search_btn_installplce_onclick(obj:Button, e:ClickEventInfo) {
  1715. misfOpenPopUpList("19", grp_biz.grp_search.ipt_installplcecd,"", "installplcecd,installplcenm", ds_send_rpirsrch.getColumn(0, "instcd"),"instcd");
  1716. }
  1717. /****************************************************************************************
  1718. * Components : Button
  1719. * Description : 자산리스트 출력
  1720. ****************************************************************************************/
  1721. function grp_biz_grp_goodsearch_button4_onclick(obj:Button, e:ClickEventInfo) {
  1722. var objDOM = rptf_createDOM();
  1723. var objParam = new Object();
  1724. rptf_setNodeListToDOM(objDOM, "/root/main/grid/rfcmfacdlist" , ds_main_grid_rfcmfacdlist);
  1725. objParam.xml_data_XML1 = objDOM.documentElement.source;
  1726. var option = "open=1;save=1;directprint=0;printdialog=1;print=1;zoom=0";
  1727. rptf_exeReportPreview30(["RPRSE01504"],[objParam], option);
  1728. }
  1729. /****************************************************************************************
  1730. * Components : Button
  1731. * Description : 보유자산 엑셀저장
  1732. ****************************************************************************************/
  1733. function grp_biz_grp_goodsearch_button1_onclick(obj:Button, e:ClickEventInfo) {
  1734. misfSaveExcel(grp_biz.grp_goodsearch.grd_rfcmfacdlist, "보유자산List");
  1735. }
  1736. /****************************************************************************************
  1737. * Components : Grid
  1738. * Description : 보유자산 선택
  1739. ****************************************************************************************/
  1740. function grp_biz_grp_goodsearch_grd_rfcmfacdlist_oncelldblclick(obj:Grid, e:GridClickEventInfo) {
  1741. if(e.row > -1)
  1742. {
  1743. grp_biz.btn_insert.click();
  1744. grp_biz.grp_detail.ipt_reqtel.setFocus();
  1745. }
  1746. }
  1747. /****************************************************************************************
  1748. * Components : Button
  1749. * Description : 보유자산 조회
  1750. ****************************************************************************************/
  1751. function grp_biz_grp_goodsearch_btn_goodsearch_onclick(obj:Button, e:ClickEventInfo) {
  1752. ds_send_goodsrch.setColumn( 0, "instcd", utlf_transNullToEmpty(grp_biz.grp_search.cmb_instcd.value));
  1753. ds_send_goodsrch.setColumn( 0, "mngtdeptcd", utlf_transNullToEmpty(grp_biz.grp_search.opt_reqdeptcd.value));
  1754. ds_send_goodsrch.setColumn( 0, "installplcecd", utlf_transNullToEmpty(grp_biz.grp_search.ipt_installplcecd.value));
  1755. var success = submitFunc("TRRSE01504");
  1756. ds_main_grid_rfcmfacdlist.selectRow(0);
  1757. if(success){
  1758. frmf_inputEnterKey("grp_biz.rdo_view", "onitemchanged", new ItemChangeEventInfo);
  1759. }
  1760. }
  1761. /****************************************************************************************
  1762. * Components : Button
  1763. * Description : 의뢰내역 행삭제
  1764. ****************************************************************************************/
  1765. function grp_biz_btn_delete_onclick(obj:Button, e:ClickEventInfo) {
  1766. if(fmoveCheck() != false)
  1767. {
  1768. misfGridIUD(grp_biz.grd_rfehemhtlist, "D");
  1769. fmoveCheck();
  1770. if(ds_main_grid_rfehemhtlist.rowcount == 0)
  1771. {
  1772. fInitialize();
  1773. grp_biz.grp_search.btn_search.click();
  1774. }
  1775. }
  1776. }
  1777. /****************************************************************************************
  1778. * Components : Button
  1779. * Description : 의뢰내역 엑셀저장
  1780. ****************************************************************************************/
  1781. function grp_biz_btn_excel_onclick(obj:Button, e:ClickEventInfo) {
  1782. misfSaveExcel(grp_biz.grd_rfehemhtlist, "의뢰내역List");
  1783. }
  1784. /****************************************************************************************
  1785. * Components : Button
  1786. * Description : 의뢰내역 행추가
  1787. ****************************************************************************************/
  1788. function grp_biz_btn_insert_onclick(obj:Button, e:ClickEventInfo) {
  1789. if(ds_main_grid_rfcmfacdlist.rowcount <= 0) {
  1790. sysf_messageBox("수리 신청 할 자산을 조회하여 선택하십시오.", "E");
  1791. return;
  1792. } else if (ds_main_grid_rfcmfacdlist.rowposition < 0) {
  1793. sysf_messageBox("수리 신청 할 자산을 선택하십시오.", "E");
  1794. return;
  1795. }
  1796. var statusCount = 0;
  1797. for(var fRow = 0; fRow < ds_main_grid_rfehemhtlist.rowcount; fRow++)
  1798. {
  1799. if(ds_main_grid_rfehemhtlist.getRowType(fRow) == 2)
  1800. {
  1801. statusCount++;
  1802. }
  1803. }
  1804. if(statusCount < 1)
  1805. {
  1806. misfGridIUD(grp_biz.grd_rfehemhtlist, "A");
  1807. var insertRow = ds_main_grid_rfehemhtlist.rowposition;
  1808. var currentRow = ds_main_grid_rfcmfacdlist.rowposition;
  1809. var fixasetcd = utlf_transNullToEmpty(ds_main_grid_rfcmfacdlist.getColumn(currentRow, "fixasetcd"));
  1810. var lrgcd = fixasetcd.substr(2,2);
  1811. var mdlcd = fixasetcd.substr(4,2);
  1812. var smlcd = fixasetcd.substr(6,2);
  1813. ds_main_grid_rfehemhtlist.setColumn(insertRow, "fixasetcd", ds_main_grid_rfcmfacdlist.getColumn(currentRow, "fixasetcd"));
  1814. ds_main_grid_rfehemhtlist.setColumn(insertRow, "instcd", ds_main_grid_rfcmfacdlist.getColumn(currentRow, "instcd"));
  1815. ds_main_grid_rfehemhtlist.setColumn(insertRow, "fixtrseqmtflag", ds_main_grid_rfcmfacdlist.getColumn(currentRow, "goodflag"));
  1816. ds_main_grid_rfehemhtlist.setColumn(insertRow, "fixasetnm", ds_main_grid_rfcmfacdlist.getColumn(currentRow, "fixasetnm"));
  1817. ds_main_grid_rfehemhtlist.setColumn(insertRow, "goodspec", ds_main_grid_rfcmfacdlist.getColumn(currentRow, "goodspec"));
  1818. ds_main_grid_rfehemhtlist.setColumn(insertRow, "goodmodel", ds_main_grid_rfcmfacdlist.getColumn(currentRow, "goodmodel"));
  1819. ds_main_grid_rfehemhtlist.setColumn(insertRow, "possndd", ds_main_grid_rfcmfacdlist.getColumn(currentRow, "possndd"));
  1820. ds_main_grid_rfehemhtlist.setColumn(insertRow, "possnamt", ds_main_grid_rfcmfacdlist.getColumn(currentRow, "possnamt"));
  1821. // 의뢰일자 설정
  1822. ds_main_grid_rfehemhtlist.setColumn(insertRow, "reqdd", utlf_getCurrentDate().substr(0, 8));
  1823. ds_main_grid_rfehemhtlist.setColumn(insertRow, "genrdd", utlf_getCurrentDate().substr(0, 8));
  1824. // 일자별 의뢰 순번 설정
  1825. //ds_main_grid_rfehemhtlist.setColumn(insertRow, "reqno", fmaxreqno(grp_biz.grd_rfehemhtlist);
  1826. // 부서코드 설정
  1827. ds_main_grid_rfehemhtlist.setColumn(insertRow, "reqdeptcd", sysf_getUserInfo("dutplcecd"));
  1828. // 부서코드명 설정
  1829. ds_main_grid_rfehemhtlist.setColumn(insertRow, "depthngnm", sysf_getUserInfo("dutplcenm"));
  1830. // User ID 설정
  1831. ds_main_grid_rfehemhtlist.setColumn(insertRow, "reqpsnid", sysf_getUserInfo("userid"));
  1832. // User Name 설정
  1833. ds_main_grid_rfehemhtlist.setColumn(insertRow, "reqpsnnm", sysf_getUserInfo("usernm"));
  1834. // 수리 진행 상태 설정 (수리 의뢰)
  1835. ds_main_grid_rfehemhtlist.setColumn(insertRow, "workstat", "01");
  1836. // 접수구분 ( '1': 수리 , '2' 예방)
  1837. ds_main_grid_rfehemhtlist.setColumn(insertRow, "acptflag", "1");
  1838. ds_main_grid_rfehemhtlist.setColumn(insertRow, "deptaprvreqyn", "N");
  1839. if(ds_main_grid_rfehemhtlist.getColumn(insertRow, "fixtrseqmtflag") == "EQ")
  1840. {
  1841. ds_main_grid_rfehemhtlist.setColumn(insertRow, "execdept", "4090500000");
  1842. }else{
  1843. var instcd = sysf_getUserInfo("dutplceinstcd");
  1844. if( instcd == "032"){
  1845. if(lrgcd == "19" && mdlcd == "09" && smlcd == "06"){
  1846. ds_main_grid_rfehemhtlist.setColumn(insertRow, "execdept", "4060100000");
  1847. sysf_messageBox("선택하신 자산코드의 담당부서는 시설과", "I009");
  1848. }else{
  1849. ds_main_grid_rfehemhtlist.setColumn(insertRow, "execdept", "4020334000");
  1850. }
  1851. }else{
  1852. ds_main_grid_rfehemhtlist.setColumn(insertRow, "execdept", "4020334000");
  1853. }
  1854. }
  1855. grp_biz.ipt_rowtemp.value = insertRow;
  1856. fgridClickEvent("N"); // 행추가시 필요 없는 submission이 발생하여 우선은 제어를 위해 "N" 셋팅시 submission pass
  1857. fcontrolEnableYN(true);
  1858. fdeptGrantYN(); //-> 청구 권한 체크
  1859. }else{
  1860. sysf_messageBox("신규 수리청구는 한번에 다건을", "E001", "저장 후 추가 하십시오.");
  1861. }
  1862. }
  1863. /****************************************************************************************
  1864. * Components : Radio
  1865. * Description : 규격 모델 설정
  1866. ****************************************************************************************/
  1867. function grp_biz_rdo_view_onitemchanged(obj:Radio, e:ItemChangeEventInfo) {
  1868. var modelView = true;
  1869. var specView = true;
  1870. if(ds_init.getColumn(0, "viewOption") == "spec") {
  1871. specView = false;
  1872. } else {
  1873. modelView = false;
  1874. }
  1875. // grp_biz.grd_rfehemhtlist.colHidden(grp_biz.grd_rfehemhtlist.colRef("goodspec")) = specView;
  1876. // grp_biz.grd_rfehemhtlist.colHidden(grp_biz.grd_rfehemhtlist.colRef("goodmodel")) = modelView;
  1877. // grp_biz.grp_goodsearch.grd_rfcmfacdlist.colHidden(grp_biz.grp_goodsearch.grd_rfcmfacdlist.colRef("goodspec")) = specView;
  1878. // grp_biz.grp_goodsearch.grd_rfcmfacdlist.colHidden(grp_biz.grp_goodsearch.grd_rfcmfacdlist.colRef("goodmodel")) = modelView;
  1879. if( specView ){
  1880. grp_biz.grd_rfehemhtlist.setFormatColProperty(22, "size", 0);
  1881. grp_biz.grp_goodsearch.grd_rfcmfacdlist.setFormatColProperty(grp_biz.grp_goodsearch.grd_rfcmfacdlist.getBindCellIndex("body", "goodspec"), "size", 0);
  1882. }else{
  1883. grp_biz.grd_rfehemhtlist.setFormatColProperty(22, "size", 100);
  1884. grp_biz.grp_goodsearch.grd_rfcmfacdlist.setFormatColProperty(grp_biz.grp_goodsearch.grd_rfcmfacdlist.getBindCellIndex("body", "goodspec"), "size", 90);
  1885. }
  1886. if( modelView ){
  1887. grp_biz.grd_rfehemhtlist.setFormatColProperty(23, "size", 0);
  1888. grp_biz.grp_goodsearch.grd_rfcmfacdlist.setFormatColProperty(grp_biz.grp_goodsearch.grd_rfcmfacdlist.getBindCellIndex("body", "goodmodel"), "size", 0);
  1889. }else{
  1890. grp_biz.grd_rfehemhtlist.setFormatColProperty(23, "size", 100);
  1891. grp_biz.grp_goodsearch.grd_rfcmfacdlist.setFormatColProperty(grp_biz.grp_goodsearch.grd_rfcmfacdlist.getBindCellIndex("body", "goodmodel"), "size", 90);
  1892. }
  1893. // misfColHidden(grp_biz.grd_rfehemhtlist, "goodspec", specView);
  1894. // misfColHidden(grp_biz.grd_rfehemhtlist, "goodmodel", modelView);
  1895. // misfColHidden(grp_biz.grp_goodsearch.grd_rfcmfacdlist, "goodspec", specView);
  1896. // misfColHidden(grp_biz.grp_goodsearch.grd_rfcmfacdlist, "goodmodel", modelView);
  1897. }
  1898. /****************************************************************************************
  1899. * Components : Button
  1900. * Description : 확대보기
  1901. ****************************************************************************************/
  1902. function grp_biz_btn_grdsize_onclick(obj:Button, e:ClickEventInfo) {
  1903. if( obj.text == "펼치기"){
  1904. obj.text = "줄이기";
  1905. grp_biz.grd_rfehemhtlist.position.right = grp_biz.position.right;
  1906. }
  1907. else {
  1908. obj.text = "펼치기";
  1909. grp_biz.grd_rfehemhtlist.position.right = grp_biz.line2.position.right;
  1910. }
  1911. }
  1912. /****************************************************************************************
  1913. * Components : Button
  1914. * Description : 출력
  1915. ****************************************************************************************/
  1916. function group4_btn_prnt_onclick(obj:Button, e:ClickEventInfo) {
  1917. ds_main_printdata_data.clear();
  1918. dsf_copyColInfo(ds_main_printdata_data, ds_main_grid_rfehemhtlist);
  1919. ds_main_printdata_data.copyRow(ds_main_printdata_data.addRow(), ds_main_grid_rfehemhtlist, ds_main_grid_rfehemhtlist.rowposition);
  1920. dsf_makeValue(ds_main_printdata_data, "instnm", "string", grp_biz.grp_search.cmb_instcd.text);
  1921. var objDOM = rptf_createDOM();
  1922. var objParam = new Object();
  1923. rptf_setNodeListToDOM(objDOM, "/root/main/printdata/data" , ds_main_printdata_data);
  1924. objParam.xml_data_XML1 = objDOM.documentElement.source;
  1925. var option = "open=1;save=1;directprint=0;printdialog=1;print=1;zoom=0";
  1926. rptf_exeReportPreview30(["RPRFE00401"],[objParam], option);
  1927. }
  1928. /****************************************************************************************
  1929. * Components : Button
  1930. * Description : 초기화
  1931. ****************************************************************************************/
  1932. function group4_btn_init_onclick(obj:Button, e:ClickEventInfo) {
  1933. fInitialize();
  1934. }
  1935. /****************************************************************************************
  1936. * Components : Button
  1937. * Description : 저장
  1938. ****************************************************************************************/
  1939. function group4_btn_save_onclick(obj:Button, e:ClickEventInfo) {
  1940. if(sysf_messageBox("", "Q002") == "6")
  1941. {
  1942. if(fupdateCheckSave()) grp_biz.grp_search.btn_search.click();
  1943. }
  1944. }
  1945. /****************************************************************************************
  1946. * Components : Button
  1947. * Description : 예방점검상세조회
  1948. ****************************************************************************************/
  1949. function group4_button2_onclick(obj:Button, e:ClickEventInfo) {
  1950. frmf_setParameter("paraminstcd" , ds_main_grid_rfehemhtlist.getColumn(ds_main_grid_rfehemhtlist.rowposition, "instcd"));
  1951. frmf_setParameter("paramreqdeptcd" , ds_main_grid_rfehemhtlist.getColumn(ds_main_grid_rfehemhtlist.rowposition, "reqdeptcd"));
  1952. frmf_setParameter("paramreqdeptnm" , ds_main_grid_rfehemhtlist.getColumn(ds_main_grid_rfehemhtlist.rowposition, "depthngnm"));
  1953. frmf_setParameter("paramreqdd" , ds_main_grid_rfehemhtlist.getColumn(ds_main_grid_rfehemhtlist.rowposition, "reqdd"));
  1954. frmf_setParameter("paramfixasetcd" , ds_main_grid_rfehemhtlist.getColumn(ds_main_grid_rfehemhtlist.rowposition, "fixasetcd"));
  1955. frmf_modal("SMRFE02100","SMRFE02100","","","","","","","","","","","M");
  1956. }
  1957. /****************************************************************************************
  1958. * Components : Button
  1959. * Description : 점검리스트 출력
  1960. ****************************************************************************************/
  1961. function group4_button3_onclick(obj:Button, e:ClickEventInfo) {
  1962. frmf_modal("SPRFE01100","SPRFE01100","","","","","","","","","","","M");
  1963. }
  1964. /****************************************************************************************
  1965. * Components : Button
  1966. * Description : 바코드 출력
  1967. ****************************************************************************************/
  1968. function btn_barcodeprt_onclick(obj:Button, e:ClickEventInfo) {
  1969. ds_main_grid_rfehemhtlist.filter("choice=='Y'");
  1970. dsf_createDs("ds_node");
  1971. ds_node.copyData(ds_main_grid_rfehemhtlist, true);
  1972. ds_main_grid_rfehemhtlist.filter("");
  1973. if (ds_node.rowcount == 0) {
  1974. sysf_messageBox("선택 된 자산이","I004");
  1975. return false;
  1976. }
  1977. ds_temp_rfehemhtlist.clear();
  1978. dsf_copyColInfo(ds_temp_rfehemhtlist, ds_node);
  1979. ds_temp_rfehemhtlist.enableevent = false;
  1980. ds_temp_rfehemhtlist.updatecontrol = false;
  1981. for (var i = 0; i < ds_node.rowcount; i++) {
  1982. //var selectItem = node.item(i);
  1983. var nRow = ds_temp_rfehemhtlist.addRow();
  1984. ds_temp_rfehemhtlist.setColumn(nRow, "fixasetcd", ds_node.getColumn(i, "fixasetcd"));
  1985. ds_temp_rfehemhtlist.setColumn(nRow, "fixasetnm", ds_node.getColumn(i, "fixasetnm"));
  1986. ds_temp_rfehemhtlist.setColumn(nRow, "execdeptnm", ds_node.getColumn(i, "execdeptnm"));
  1987. ds_temp_rfehemhtlist.setColumn(nRow, "reqdd", ds_node.getColumn(i, "reqdd"));
  1988. ds_temp_rfehemhtlist.setColumn(nRow, "reqno" , ds_node.getColumn(i, "reqno"));
  1989. ds_temp_rfehemhtlist.setColumn(nRow, "reqpsnnm" , ds_node.getColumn(i, "reqpsnnm"));
  1990. }
  1991. ds_temp_rfehemhtlist.updatecontrol = true;
  1992. ds_temp_rfehemhtlist.enableevent = true;
  1993. var objDOM = rptf_createDOM();
  1994. var objParam = new Object();
  1995. rptf_setNodeListToDOM(objDOM, "/root/temp/rfehemhtlist" , ds_temp_rfehemhtlist);
  1996. objParam.xml_data_XML1 = objDOM.documentElement.source;
  1997. var option = "open=1;save=1;directprint=1;printdialog=1;print=1;zoom=0";
  1998. rptf_exeReportPreview30(["RPRFE01103"],[objParam], option);
  1999. }
  2000. /****************************************************************************************
  2001. * Components : Edit
  2002. * Description : 의뢰자 조회
  2003. ****************************************************************************************/
  2004. function grp_biz_grp_search_ipt_onkeydown(obj:Edit, e:KeyEventInfo)
  2005. {
  2006. if(e.keycode == 13) obj.updateToDataset();
  2007. }
  2008. /****************************************************************************************
  2009. * Components : Dataset
  2010. * Description : 조회조건 관련
  2011. ****************************************************************************************/
  2012. function ds_send_rpirsrch_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
  2013. {
  2014. if(e.columnid == "reqpsnid") {
  2015. var objFocus = this.getFocus();
  2016. if(utlf_isNull(grp_biz.grp_search.ipt_reqpsnids.value)){
  2017. grp_biz.grp_search.ipt_reqpsnnms.value = "";
  2018. }else{
  2019. grp_biz.grp_search.ipt_reqpsnids.setFocus();
  2020. misfValidationCheck("01-1", "", "reqpsnid,reqpsnnm");
  2021. }
  2022. objFocus.setFocus();
  2023. }
  2024. if(e.columnid == "reqdeptcd") {
  2025. var objFocus = this.getFocus();
  2026. grp_biz.grp_search.opt_reqdeptcd.setFocus();
  2027. misfSearchDept(grp_biz.grp_search.opt_reqdeptnm);
  2028. objFocus.setFocus();
  2029. }
  2030. }
  2031. function ds_send_goodsrch_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
  2032. {
  2033. if(e.columnid == "reqdeptcd") {
  2034. misfSearchDept(grp_biz.grp_search.opt_reqdeptnm);
  2035. }else if(e.columnid == "installplcecd") {
  2036. var objFocus = this.getFocus();
  2037. grp_biz.grp_search.ipt_installplcecd.value = e.newvalue;
  2038. grp_biz.grp_search.ipt_installplcecd.setFocus();
  2039. if(utlf_isNull(grp_biz.grp_search.ipt_installplcecd.value))
  2040. grp_biz.grp_search.opt_installplcenm.value = "";
  2041. else
  2042. rszfValidationCheck("TRRAC90701", "custlist", "refcond,retrnm",
  2043. "deptcd," + grp_biz.grp_search.ipt_installplcecd.value, "", "installplcecd,installplcenm",
  2044. grp_biz.grp_search.ipt_installplcecd, "PPRAC00700", "","");
  2045. objFocus.setFocus();
  2046. }
  2047. }
  2048. function grp_biz_grp_search_chk_includesubdept_onclick(obj:CheckBox, e:ClickEventInfo)
  2049. {
  2050. if(obj.value == false) ds_send_rpirsrch.setColumn(0,"includesubdept", "");
  2051. }
  2052. function grp_biz_grd_rfehemhtlist_onselectchanged(obj:Grid, e:GridSelectEventInfo)
  2053. {
  2054. fmoveCheck();
  2055. }
  2056. /****************************************************************************************
  2057. * Components : Edit
  2058. * Description : 보유자산 조회 조건입력
  2059. ****************************************************************************************/
  2060. function grp_biz_grp_goodsearch_Edit_onkeydown(obj:Edit, e:KeyEventInfo)
  2061. {
  2062. if(e.keycode == 13) {
  2063. obj.updateToDataset();
  2064. grp_biz.grp_goodsearch.btn_goodsearch.click();
  2065. }
  2066. }
  2067. /****************************************************************************************
  2068. * Components : Radio
  2069. * Description : 담당부서 변경
  2070. ****************************************************************************************/
  2071. function grp_biz_grp_detail_rdo_execdept_onkillfocus(obj:Radio, e:KillFocusEventInfo)
  2072. {
  2073. var pgrid_name = grp_biz.grd_rfehemhtlist;
  2074. var ptarget_node = "ds_temp_rfehemhtlist";
  2075. var psource_node = "ds_main_grid_rfehemhtlist";
  2076. var cRow = grp_biz.ipt_rowtemp.value;
  2077. // var node1 = instance1.selectNodes(ptarget_node + "/*");
  2078. // var node2 = instance1.selectNodes(psource_node + "/*");
  2079. var update_yn = "N";
  2080. if (eval(ptarget_node).getColumn(0, "execdept") != eval(psource_node).getColumn(0,"execdept")) {
  2081. update_yn = "Y";
  2082. }
  2083. if (eval(pgrid_name.binddataset).getRowType(eval(pgrid_name.binddataset).rowposition) == 1 && update_yn == "Y") {
  2084. eval(psource_node).copyRow(cRow, eval(ptarget_node), eval(ptarget_node).rowposition);
  2085. }
  2086. else if ((eval(pgrid_name.binddataset).getRowType(eval(pgrid_name.binddataset).rowposition) == 1
  2087. || eval(pgrid_name.binddataset).getRowType(eval(pgrid_name.binddataset).rowposition) == 4) && update_yn == "Y") {
  2088. eval(psource_node).copyRow(cRow, eval(ptarget_node), eval(ptarget_node).rowposition);
  2089. grdf_setStatus(pgrid_name, "U", [pgrid_name.currentrow]);
  2090. }
  2091. grp_biz.grd_rfehemhtlist.setFocus();
  2092. }
  2093. function grp_biz_grp_detail_Edit_onkeydown(obj:Edit, e:KeyEventInfo)
  2094. {
  2095. if(e.keycode == 13) obj.updateToDataset();
  2096. }
  2097. function ds_temp_rfehemhtlist_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
  2098. {
  2099. if(e.columnid == "reqdeptcd") {
  2100. var objFocus = this.getFocus();
  2101. grp_biz.grp_detail.ipt_reqdeptcd.setFocus();
  2102. misfSearchDept(grp_biz.grp_detail.ipt_depthngnm);
  2103. objFocus.setFocus();
  2104. }
  2105. if(e.columnid == "reqpsnid") {
  2106. var objFocus = this.getFocus();
  2107. if(utlf_isNull(grp_biz.grp_detail.ipt_reqpsnid.value)){
  2108. grp_biz.grp_detail.ipt_reqpsnnm.value = "";
  2109. }else{
  2110. grp_biz.grp_detail.ipt_reqpsnid.setFocus();
  2111. misfValidationCheck("01-1", "", "reqpsnid,reqpsnnm");
  2112. }
  2113. objFocus.setFocus();
  2114. }
  2115. if(utlf_isNull(grp_biz.ipt_rowtemp.value))return;
  2116. var nGridIdx = grp_biz.ipt_rowtemp.value;
  2117. var pgrid_name = ds_main_grid_rfehemhtlist;
  2118. var ptarget_node = ds_temp_rfehemhtlist;
  2119. var psource_node = ds_main_grid_rfehemhtlist;//ipt_rowtemp
  2120. var node1 = ds_temp_rfehemhtlist;
  2121. var node2 = ds_main_grid_rfehemhtlist;//ipt_rowtemp
  2122. var update_yn = "N";
  2123. for( var i=0 ; i<ds_main_grid_rfehemhtlist.getColCount() ; i++ ){
  2124. var sColNm = ds_main_grid_rfehemhtlist.getColID(i);
  2125. if( !utlf_isNull(ds_temp_rfehemhtlist.getColumnInfo(sColNm)) ){
  2126. if( ds_main_grid_rfehemhtlist.getColumn(nGridIdx, sColNm) != ds_temp_rfehemhtlist.getColumn(0, sColNm) ){
  2127. update_yn = "Y";
  2128. break;
  2129. }
  2130. }
  2131. }
  2132. if (ds_main_grid_rfehemhtlist.getRowType(ds_main_grid_rfehemhtlist.rowposition) == 2 && update_yn == "Y") {
  2133. ds_main_grid_rfehemhtlist.copyRow(nGridIdx, ds_temp_rfehemhtlist, 0);
  2134. }
  2135. else if ((ds_main_grid_rfehemhtlist.getRowType(ds_main_grid_rfehemhtlist.rowposition) == 1 || ds_main_grid_rfehemhtlist.getRowType(ds_main_grid_rfehemhtlist.rowposition) == 4) && update_yn == "Y") {
  2136. ds_main_grid_rfehemhtlist.copyRow(nGridIdx, ds_temp_rfehemhtlist, 0);
  2137. ds_main_grid_rfehemhtlist.enableevent = false;
  2138. ds_main_grid_rfehemhtlist.updatecontrol = false;
  2139. ds_main_grid_rfehemhtlist.setRowType(nGridIdx, 4);
  2140. ds_main_grid_rfehemhtlist.updatecontrol = true;
  2141. ds_main_grid_rfehemhtlist.enableevent = true;
  2142. }
  2143. }
  2144. function grp_biz_grp_detail_rdo_deptaprvreqyn_onitemchanged(obj:Radio, e:ItemChangeEventInfo)
  2145. {
  2146. fdeptGrantYN();
  2147. }
  2148. function grp_biz_grp_detail_che_acptpsncnfm_onclick(obj:CheckBox, e:ClickEventInfo)
  2149. {
  2150. if(obj.value == false) ds_temp_rfehemhtlist.setColumn(0,"acptpsncnfm", "");
  2151. facptCheck();
  2152. }
  2153. function ds_main_grid_rfehemhtlist_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
  2154. {
  2155. switch( e.columnid ){
  2156. case "choice" :
  2157. if( e.newvalue == "Y" || e.newvalue == "1" ){
  2158. obj.setColumn(e.row, e.columnid, "Y");
  2159. }else{
  2160. obj.setColumn(e.row, e.columnid, "N");
  2161. }
  2162. break;
  2163. case "deptaprvyn" :
  2164. if( e.newvalue == "Y" || e.newvalue == "1" ){
  2165. obj.setColumn(e.row, e.columnid, "Y");
  2166. }else{
  2167. obj.setColumn(e.row, e.columnid, "N");
  2168. }
  2169. break;
  2170. default :
  2171. break;
  2172. }
  2173. }
  2174. function grp_biz_grd_rfehemhtlist_onheadclick(obj:Grid, e:GridClickEventInfo)
  2175. {
  2176. if( e.col == 1 && obj.getCellProperty("Head", 1, "expr") == "0" ){
  2177. obj.setCellProperty("Head", 1, "expr", "1");
  2178. ds_main_grid_rfehemhtlist.enableevent = false;
  2179. ds_main_grid_rfehemhtlist.updatecontrol = false;
  2180. for( var i=0 ; i<ds_main_grid_rfehemhtlist.rowcount ; i++ ){
  2181. ds_main_grid_rfehemhtlist.setColumn(i, "choice", "Y");
  2182. }
  2183. ds_main_grid_rfehemhtlist.updatecontrol = true;
  2184. ds_main_grid_rfehemhtlist.enableevent = true;
  2185. }else if( e.col == 1 && obj.getCellProperty("Head", 1, "expr") == "1" ){
  2186. obj.setCellProperty("Head", 1, "expr", "0");
  2187. ds_main_grid_rfehemhtlist.enableevent = false;
  2188. ds_main_grid_rfehemhtlist.updatecontrol = false;
  2189. for( var i=0 ; i<ds_main_grid_rfehemhtlist.rowcount ; i++ ){
  2190. ds_main_grid_rfehemhtlist.setColumn(i, "choice", "N");
  2191. }
  2192. ds_main_grid_rfehemhtlist.updatecontrol = true;
  2193. ds_main_grid_rfehemhtlist.enableevent = true;
  2194. }else{
  2195. grdf_gridSort(obj, e);
  2196. }
  2197. }
  2198. function grp_biz_grp_detail_rdo_execdept_onitemchanged(obj:Radio, e:ItemChangeEventInfo)
  2199. {
  2200. var dept = ds_temp_rfehemhtlist.getColumn(0, "execdept");
  2201. var instcd= sysf_getUserInfo("dutplceinstcd");
  2202. if(dept == "4060100000" && instcd == "031"){
  2203. sysf_messageBox("본원에선 시설과를 담당부서로 선택할 수" , "I004");
  2204. ds_temp_rfehemhtlist.setColumn(0, "execdept","");
  2205. return;
  2206. }
  2207. }
  2208. function group4_btn_help_onclick(obj:Button, e:ClickEventInfo)
  2209. {
  2210. if(utlf_isNull(group4.ipt_count.value)){
  2211. group4.ipt_count.value = 0;
  2212. }
  2213. group4.ipt_count.value = group4.ipt_count.value + 1;
  2214. frmf_modal("SMRFE01110","SMRFE01110","","","","","","","","","","","M");
  2215. }
  2216. ]]></Script>
  2217. </Form>
  2218. </FDL>