1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMRFE01100" position="absolute 0 0 1197 788" titletext="비품/장비 수리 신청 등록" onload="SMRFE01100_onload">
- <Layouts>
- <Layout>
- <Div position="absolute 0 48 1195 787" id="grp_biz" scrollbars="autoboth" anchor="all">
- <Layouts>
- <Layout>
- <Div position="absolute 697 71 1195 738" id="grp_detail" anchor="top right bottom" onsetfocus="grp_biz_grp_detail_onsetfocus">
- <Layouts>
- <Layout>
- <TextArea position="absolute 92 360 495 539" id="txt_lastrpirrslt" taborder="53" anchor="default" readonly="true" class="output" wordwrap="word"/>
- <Shape position="absolute 0 536 495 542" linetype="horizontal" id="line12" class="line_2" anchor="default"/>
- <Static text="수리내역" position="absolute 0 360 90 539" align="align:center middle;" id="cap_lastrpirrslt" class="cell_1" anchor="default"/>
- <Shape position="absolute 0 404 495 410" linetype="horizontal" id="line16" class="line_2" visible="false" anchor="default"/>
- <Shape position="absolute 0 380 495 386" linetype="horizontal" id="line10" class="line_3" anchor="default" visible="false"/>
- <Shape position="absolute 0 356 494 362" linetype="horizontal" id="line18" class="line_2" anchor="default"/>
- <Shape position="absolute 0 332 495 338" linetype="horizontal" id="line7" class="line_2" anchor="default"/>
- <Shape position="absolute 0 308 495 314" linetype="horizontal" id="line6" class="line_2" anchor="default"/>
- <Shape position="absolute 0 284 498 290" linetype="horizontal" id="line5" class="line_2" anchor="default"/>
- <Shape position="absolute 0 260 494 266" linetype="horizontal" id="line4" class="line_2" anchor="default"/>
- <Shape position="absolute -1 212 493 218" linetype="horizontal" id="line40" class="line_2" anchor="default"/>
- <Shape position="absolute 0 188 495 194" linetype="horizontal" id="line38" class="line_2" anchor="default"/>
- <Shape position="absolute 0 164 495 170" linetype="horizontal" id="line37" class="line_2" anchor="default"/>
- <Shape position="absolute 0 140 495 146" linetype="horizontal" id="line35" class="line_2" anchor="default"/>
- <Shape id="line00" class="line_2" position="absolute 0 116 495 122" anchor="default"/>
- <Shape position="absolute 0 92 495 98" linetype="horizontal" id="line28" class="line_2" anchor="default"/>
- <Shape position="absolute 0 45 495 51" linetype="horizontal" id="line19" class="line_2" anchor="default"/>
- <Static position="absolute 85 365 185 385" align="align:center middle;" id="caption19" anchor="default"/>
- <Edit position="absolute 358 430 399 449" align="align:center middle;" id="ipt_deptacptpsnid" class="input_default" visible="false" anchor="default" autoselect="true"/>
- <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"/>
- <Static text="의뢰자 연락처" position="absolute 249 192 339 215" align="align:center middle;" id="cap_reqtel" class="cell_1" anchor="default"/>
- <Static text="예산년도" position="absolute 195 264 255 287" align="align:center middle;" id="cap_bugtyy" class="cell_1" anchor="default"/>
- <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">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn" size="256"/>
- <Column id="datacolumn" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">4090500000</Col>
- <Col id="datacolumn">의공학과</Col>
- </Row>
- <Row>
- <Col id="codecolumn">4020334000</Col>
- <Col id="datacolumn">물류팀</Col>
- </Row>
- <Row>
- <Col id="codecolumn">4130100000</Col>
- <Col id="datacolumn">의료정보과</Col>
- </Row>
- <Row>
- <Col id="codecolumn">4060100000</Col>
- <Col id="datacolumn">시설과</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- <Static text="부서승인자" position="absolute 249 360 339 383" align="align:center middle;" id="cap_deptaprvpsnid" class="cell_1" visible="false" anchor="default"/>
- <Static text="예산계정" position="absolute 358 264 418 287" align="align:center middle;" id="cap_bugtcd" class="cell_1" anchor="default"/>
- <Edit readonly="true" position="absolute 263 122 495 141" align="align:center middle;" id="ipt_depthngnm" taborder="30" anchor="default" class="output"/>
- <Edit position="absolute 342 194 495 213" id="ipt_reqtel" class="input_essential" taborder="36" anchor="default" autoselect="true"/>
- <Static text="연구과제" position="absolute 293 480 356 503" align="align:center middle;" id="cap_stdysubjno" class="cell_1" visible="false" anchor="default"/>
- <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">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">Y</Col>
- <Col id="datacolumn">승인필요</Col>
- </Row>
- <Row>
- <Col id="codecolumn">N</Col>
- <Col id="datacolumn">승인불필요</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- <Calendar position="absolute 256 266 357 285" id="ipt_bugtyy" class="input_default" enable="false" taborder="39" mask="yyyy" anchor="default" autoselect="true"/>
- <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"/>
- <Static text="의뢰자" position="absolute 0 144 90 167" align="align:center middle;" id="cap_reqpsnid" class="cell_1" anchor="default"/>
- <Static text="접수부서" position="absolute 0 168 90 191" align="align:center middle;" id="cap_acptdeptcd" class="cell_1" anchor="default"/>
- <Edit position="absolute 397 430 442 449" align="align:center middle;" id="ipt_deptacptpsnnm" class="input_default" visible="false" anchor="default" autoselect="true"/>
- <Static text="담당자 연락처" position="absolute 249 288 339 311" align="align:center middle;" id="cap_chrgtel" class="cell_1" anchor="default"/>
- <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"/>
- <TextArea position="absolute 92 218 495 261" id="txt_hdrncspec" class="input_essential" taborder="37" anchor="default" acceptstab="true"/>
- <Shape position="absolute 0 68 495 74" linetype="horizontal" id="line23" class="line_2" anchor="default"/>
- <Grid position="absolute 92 540 495 662" id="grd_rfehdabplist" taborder="54" binddataset="ds_main_rfehdabplist" anchor="all" cellsizingtype="col" cellclickbound="cell" selecttype="multirow">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="90"/>
- <Column size="203"/>
- <Column size="40"/>
- <Column size="52"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="부품코드"/>
- <Cell col="1" text="부품명"/>
- <Cell col="2" text="수량"/>
- <Cell col="3" text="단위"/>
- <Cell col="4" text="금액"/>
- </Band>
- <Band id="body">
- <Cell displaytype="text" text="bind:acsrscd"/>
- <Cell col="1" displaytype="text" text="bind:acsrsnm"/>
- <Cell col="2" displaytype="number" text="bind:acsrsqty"/>
- <Cell col="3" displaytype="combo" edittype="combo" text="bind:acsrsunit"/>
- <Cell col="4" text="bind:acsrsamt" mask="#,###"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Static text="부품사용내역" position="absolute 0 540 90 662" align="align:center middle;" id="cap_acsrslist" class="cell_1" anchor="left top bottom"/>
- <Static text="의뢰내역" position="absolute 0 216 90 263" align="align:center middle;" id="cap_hdrncspec" class="cell_1" anchor="default"/>
- <Static text="발생일자" position="absolute 0 264 90 287" align="align:center middle;" id="cap_genrdd" class="cell_1" anchor="default"/>
- <Edit readonly="true" position="absolute 342 74 495 93" id="ipt_reqno" anchor="default" class="output"/>
- <Shape position="absolute 0 661 496 667" linetype="horizontal" id="line24" class="line_3" anchor="left right bottom"/>
- <Static text="담당부서" position="absolute 0 96 90 119" align="align:center middle;" id="caption11" class="cell_1" anchor="default"/>
- <Static text="의뢰부서" position="absolute 0 120 90 143" align="align:center middle;" id="caption2" class="cell_1" anchor="default"/>
- <Static text="부서승인일자" position="absolute 0 384 90 407" align="align:center middle;" id="cap_deptaprvdd" class="cell_1" visible="false" anchor="default"/>
- <Static text="※수리진행상태가 '수리의뢰'인 경우에만 수정,삭제가 가능합니다." position="absolute 85 0 495 23" align="align:center middle;" id="caption23" anchor="default" style="color:#ff6600ff;font:Dotum,9,bold;"/>
- <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"/>
- <Edit readonly="true" position="absolute 263 146 495 165" align="align:center middle;" id="ipt_reqpsnnm" taborder="33" anchor="default" class="output"/>
- <Static text="의뢰일자" position="absolute 0 72 90 95" align="align:center middle;" id="caption3" class="cell_1" anchor="default"/>
- <Edit readonly="true" position="absolute 413 480 443 499" align="align:center middle;" id="ipt_stdysubjnm" taborder="61" visible="false" anchor="default" class="output"/>
- <Edit position="absolute 240 170 495 189" align="align:center middle;" id="ipt_acptdeptnm" enable="false" taborder="35" anchor="default" autoselect="true"/>
- <Static text="의뢰현황" position="absolute 0 3 157 24" id="caption24" class="tit_2" anchor="default"/>
- <Static text="의뢰번호" position="absolute 249 72 339 95" align="align:center middle;" id="caption4" class="cell_1" anchor="default"/>
- <Static text="접수일자" position="absolute 249 312 339 335" align="align:center middle;" id="cap_acptdd" class="cell_1" anchor="default"/>
- <Edit position="absolute 92 50 495 69" id="ipt_fixasetnm" taborder="25" anchor="default" readonly="true" class="output"/>
- <Shape position="absolute 0 18 495 26" linetype="horizontal" id="line1" class="line_10" anchor="default"/>
- <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"/>
- <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"/>
- <Edit position="absolute 92 290 158 309" align="align:center middle;" id="ipt_chrgpsnid" enable="false" taborder="41" anchor="default" class="output"/>
- <Edit position="absolute 92 170 238 189" align="align:center middle;" id="ipt_acptdeptcd" enable="false" taborder="34" anchor="default" autoselect="true"/>
- <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;"/>
- <Static text="부서승인여부" position="absolute 0 360 90 383" align="align:center middle;" id="caption7" class="cell_1" visible="false" anchor="default"/>
- <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"/>
- <Combo position="absolute 419 266 495 285" id="cmb_bugtcd" taborder="40" anchor="default"/>
- <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"/>
- <Static text="수리담당자" position="absolute 0 288 90 311" align="align:center middle;" id="cap_chrgpsnid" class="cell_1" anchor="default"/>
- <Edit position="absolute 92 26 263 45" align="align:center middle;" id="ipt_fixasetcd" taborder="23" anchor="default" readonly="true" class="output"/>
- <Static text="자산취득일자" position="absolute 268 25 360 48" align="align:center middle;" id="caption8" class="cell_1" anchor="default"/>
- <Static text="자산코드" position="absolute 0 24 90 71" align="align:center middle;" id="cap_fixasetcd" class="cell_1" anchor="default"/>
- <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"/>
- <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"/>
- <Combo position="absolute 92 314 245 333" align="align:center middle;" id="cmb_workstat" class="combo_essential" enable="false" taborder="44" anchor="default"/>
- <Edit position="absolute 160 290 245 309" align="align:center middle;" id="ipt_chrgpsnnm" enable="false" taborder="42" anchor="default" class="output"/>
- <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"/>
- <Static text="수리진행상태" position="absolute 0 312 90 335" align="align:center middle;" id="cap_workstat" class="cell_1" anchor="default"/>
- <Static text="자산구분" position="absolute 0 192 90 215" align="align:center middle;" id="cap_" class="cell_1" anchor="default"/>
- <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"/>
- <Edit position="absolute 342 290 495 309" align="align:left middle;" id="ipt_chrgtel" enable="false" taborder="43" anchor="default" class="output"/>
- <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"/>
- <Edit position="absolute 92 338 429 357" id="ipt_attfilenm" class="input_default" enable="false" taborder="47" visible="true" anchor="default" autoselect="true"/>
- <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"/>
- <Static text="첨부파일" position="absolute 0 336 90 359" align="align:center middle;" id="caption16" class="cell_1" visible="true" anchor="default"/>
- <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"/>
- </Layout>
- </Layouts>
- </Div>
- <Div position="absolute 0 3 1195 63" align="align:center top;" id="grp_search" anchor="left top right" class="div_SA2">
- <Layouts>
- <Layout>
- <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"/>
- <Static text="의뢰(사용)부서 :" position="absolute 656 11 790 28" id="cap_reqdeptcd" class="search_name" anchor="default"/>
- <Calendar position="absolute 530 9 630 28" id="ipt_reqdd2" class="input_essential" taborder="2" anchor="default" dateformat="yyyy-MM-dd" autoselect="true"/>
- <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"/>
- <Edit readonly="true" position="absolute 880 9 1010 28" id="opt_reqdeptnm" anchor="default" class="output"/>
- <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"/>
- <Static text="의뢰일자 :" position="absolute 320 11 406 28" id="cap_reqdd2" class="search_name" visible="true" anchor="default"/>
- <Static text="기관코드 :" position="absolute 15 11 101 28" id="cap_instcd" class="search_name" anchor="default"/>
- <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"/>
- <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"/>
- <Static text="~" position="absolute 516 9 536 28" id="caption13" anchor="default"/>
- <Static text="자산구분 :" position="absolute 15 35 101 52" id="caption12" class="search_name" anchor="default"/>
- <Shape position="absolute 1109 9 1115 51" linetype="vertical" id="line13" class="line_4" anchor="top right"/>
- <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"/>
- <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"/>
- <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"/>
- <Edit readonly="true" position="absolute 510 33 605 52" id="ipt_reqpsnnms" taborder="6" anchor="default" class="output"/>
- <Static text="의 뢰 자 :" position="absolute 320 35 403 52" id="cap_reqno" class="search_name" anchor="default"/>
- <Edit readonly="true" position="absolute 880 33 1010 52" id="opt_installplcenm" anchor="default" class="output"/>
- <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"/>
- <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"/>
- <Static text="설 치 장 소 :" position="absolute 656 35 785 52" id="caption15" class="search_name" anchor="default"/>
- <CheckBox position="absolute 1013 8 1108 29" id="chk_includesubdept" anchor="default" text="하위부서포함" truevalue="Y" onclick="grp_biz_grp_search_chk_includesubdept_onclick"/>
- </Layout>
- </Layouts>
- </Div>
- <Div position="absolute 0 340 692 735" align="align:center top;" id="grp_goodsearch" anchor="all">
- <Layouts>
- <Layout>
- <Div id="grp_srch2" taborder="57" position="absolute 0 0 692 60" class="div_SA2" anchor="left top right"/>
- <Button position="absolute 500 65 628 87" id="button4" class="btn4" taborder="56" text="자산리스트 출력" anchor="top right" onclick="grp_biz_grp_goodsearch_button4_onclick"/>
- <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"/>
- <Static text="자산코드 :" position="absolute 15 33 108 50" id="caption9" class="search_name" anchor="default"/>
- <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"/>
- <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">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="25" band="left"/>
- <Column size="0" band="left"/>
- <Column size="76" band="left"/>
- <Column size="59" band="left"/>
- <Column size="100" band="left"/>
- <Column size="0" band="left"/>
- <Column size="180" band="left"/>
- <Column size="0" band="left"/>
- <Column size="0" band="left"/>
- <Column size="110" band="left"/>
- <Column size="100"/>
- <Column size="75"/>
- <Column size="0"/>
- <Column size="100"/>
- <Column size="60"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="87"/>
- <Column size="79"/>
- <Column size="87"/>
- <Column size="85"/>
- <Column size="89"/>
- <Column size="70"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="80"/>
- <Column size="0"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" text="기관"/>
- <Cell col="2" text="입고계정"/>
- <Cell col="3" text="자산구분"/>
- <Cell col="4" text="자산코드"/>
- <Cell col="5" text="INVENTORY장비"/>
- <Cell col="6" text="자산명"/>
- <Cell col="7" text="자산명(한글)"/>
- <Cell col="8" text="자산명(영문)"/>
- <Cell col="9" text="규격"/>
- <Cell col="10" text="모델"/>
- <Cell col="11" text="S/N"/>
- <Cell col="12" text="사용부서"/>
- <Cell col="13" text="사용부서"/>
- <Cell col="14" text="관리등급"/>
- <Cell col="15" text="관리부서"/>
- <Cell col="16" text="관리부서"/>
- <Cell col="17" text="구코드"/>
- <Cell col="18" text="설치장소"/>
- <Cell col="19" text="거래처"/>
- <Cell col="20" text="제조원"/>
- <Cell col="21" text="제조국"/>
- <Cell col="22" text="취득일자"/>
- <Cell col="23" text="취득금액"/>
- <Cell col="24" text="기관코드"/>
- <Cell col="25" text="사용부서코드"/>
- <Cell col="26" text="제조회사"/>
- <Cell col="27" text="취득일자"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" text="expr:currow+1"/>
- <Cell col="1" text="bind:instnm"/>
- <Cell col="2" style="align:left middle;" text="bind:acntnm" tooltiptext="bind:acntnm"/>
- <Cell col="3" displaytype="combo" style="align:center;" text="bind:goodflag" tooltiptext="bind:goodflag" enable="false"/>
- <Cell col="4" displaytype="text" text="bind:fixasetcd" tooltiptext="bind:fixasetcd"/>
- <Cell col="5" text="bind:inventoryflag"/>
- <Cell col="6" displaytype="text" text="bind:fixasetnm" tooltiptext="bind:fixasetnm"/>
- <Cell col="7" text="bind:goodflaghngnm"/>
- <Cell col="8" text="bind:goodflagengnm"/>
- <Cell col="9" displaytype="text" text="bind:goodspec" tooltiptext="bind:goodspec"/>
- <Cell col="10" displaytype="text" text="bind:goodmodel" tooltiptext="bind:goodmodel"/>
- <Cell col="11" displaytype="text" text="bind:mngtno" tooltiptext="bind:mngtno"/>
- <Cell col="12" text="bind:mngtdeptcd"/>
- <Cell col="13" displaytype="text" text="bind:mngtdeptnm" tooltiptext="bind:mngtdeptnm"/>
- <Cell col="14" displaytype="combo" edittype="combo" text="bind:mngtgrade" tooltiptext="bind:mngtgrade" enable="false"/>
- <Cell col="15" text="bind:tempmngtdeptcd"/>
- <Cell col="16" text="bind:tempmngtdeptnm"/>
- <Cell col="17" displaytype="text" text="bind:oldcd" tooltiptext="bind:oldcd"/>
- <Cell col="18" displaytype="text" text="bind:installplcenm" tooltiptext="bind:installplcenm"/>
- <Cell col="19" displaytype="text" text="bind:suplplcenm" tooltiptext="bind:suplplcenm"/>
- <Cell col="20" displaytype="text" text="bind:prodcmpynm" tooltiptext="bind:prodcmpynm"/>
- <Cell col="21" displaytype="combo" edittype="combo" text="bind:prodplce" tooltiptext="bind:prodplce" enable="false"/>
- <Cell col="22" displaytype="expr:utlf_isNull(possndd) ? 'normal' : 'date'" text="bind:possndd" tooltiptext="bind:possndd"/>
- <Cell col="23" text="bind:possnamt" mask="#,###"/>
- <Cell col="24" text="bind:instcd"/>
- <Cell col="25" displaytype="text" text="bind:mngtdeptcd" tooltiptext="bind:mngtdeptcd"/>
- <Cell col="26" text="bind:prodcmpy"/>
- <Cell col="27" text="bind:possndd" mask="yyyy-mm-dd"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <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"/>
- <Shape position="absolute 0 86 692 95" linetype="horizontal" id="line15" class="line_10" anchor="left top right"/>
- <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"/>
- <Static text="자 산 명 :" position="absolute 229 9 340 26" id="caption10" class="search_name" anchor="default"/>
- <Shape position="absolute 607 11 613 51" linetype="vertical" id="line17" class="line_4" anchor="top right"/>
- <Static text="보유자산" position="absolute 0 70 115 88" id="caption5" class="tit_2" anchor="default"/>
- <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"/>
- <Static text="자산구분 :" position="absolute 16 9 102 26" id="caption14" class="search_name" anchor="default"/>
- <Static text="규격/모델:" position="absolute 229 33 324 50" id="caption17" class="search_name" anchor="default"/>
- <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"/>
- <Static text="※조회 된 자산을 더블클릭 하시면 수리 신청이 추가 됩니다." position="absolute 110 66 490 91" align="align:center middle;" id="caption18" anchor="default" style="color:#ff6600ff;font:Dotum,9,bold;"/>
- <Static text="S/N :" position="absolute 442 33 502 50" id="caption20" class="search_name" anchor="default"/>
- <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"/>
- </Layout>
- </Layouts>
- </Div>
- <Static text="의뢰내역" position="absolute 0 74 157 90" id="caption1" class="tit_2" anchor="default"/>
- <Shape position="absolute 0 90 692 96" id="line2" class="line_10" anchor="left top right"/>
- <Button position="absolute 576 68 629 90" id="btn_delete" class="btn2" taborder="21" text="행삭제" anchor="top right" onclick="grp_biz_btn_delete_onclick"/>
- <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"/>
- <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"/>
- <Radio position="absolute 92 72 197 89" id="rdo_view" columncount="2" codecolumn="codecolumn" datacolumn="datacolumn" anchor="default" onitemchanged="grp_biz_rdo_view_onitemchanged">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">spec</Col>
- <Col id="datacolumn">규격</Col>
- </Row>
- <Row>
- <Col id="codecolumn">model</Col>
- <Col id="datacolumn">모델</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- <Button position="absolute 455 68 519 90" id="btn_grdsize" class="btn2" taborder="33" text="확대보기" anchor="top right" onclick="grp_biz_btn_grdsize_onclick"/>
- <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">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="25" band="left"/>
- <Column size="24"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="66"/>
- <Column size="35"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="65"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="255"/>
- <Column size="100"/>
- <Column size="0"/>
- <Column size="70"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="60"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="41"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" displaytype="checkbox" edittype="checkbox" expr="0"/>
- <Cell col="2" text="기관코드"/>
- <Cell col="3" text="자산구분"/>
- <Cell col="4" colspan="2" text="의뢰일자" taborder="undefined"/>
- <Cell col="6" text="의뢰부서"/>
- <Cell col="7" text="의뢰부서"/>
- <Cell col="8" text="의뢰자"/>
- <Cell col="9" text="의뢰자"/>
- <Cell col="10" text="발생일자"/>
- <Cell col="11" text="발생시간"/>
- <Cell col="12" text="담당자ID"/>
- <Cell col="13" text="담당자"/>
- <Cell col="14" text="접수일자"/>
- <Cell col="15" text="접수시간"/>
- <Cell col="16" text="접수자ID"/>
- <Cell col="17" text="접수자"/>
- <Cell col="18" text="접수확인"/>
- <Cell col="19" text="접수부서CODE"/>
- <Cell col="20" text="접수부서"/>
- <Cell col="21" text="자산명"/>
- <Cell col="22" text="규격"/>
- <Cell col="23" text="모델"/>
- <Cell col="24" text="작업상태"/>
- <Cell col="25" text="품명"/>
- <Cell col="26" text="고장내역"/>
- <Cell col="27" text="수리구분1"/>
- <Cell col="28" text="수리구분"/>
- <Cell col="29" text="사용여부"/>
- <Cell col="30" text="최종수리상태"/>
- <Cell col="31" text="인수자확인"/>
- <Cell col="32" text="부서인수일자"/>
- <Cell col="33" text="부서인수자ID"/>
- <Cell col="34" text="부서인수자"/>
- <Cell col="35" text="수리비"/>
- <Cell col="36" text="비고"/>
- <Cell col="37" text="수리완료일자"/>
- <Cell col="38" text="담당자전화번호"/>
- <Cell col="39" text="결재여부"/>
- <Cell col="40" text="담당자comment"/>
- <Cell col="41" text="결재일자"/>
- <Cell col="42" text="미가동일수"/>
- <Cell col="43" text="메일방송여부"/>
- <Cell col="44" text="승인"/>
- <Cell col="45" text="부서승인자ID"/>
- <Cell col="46" text="부서승인자명"/>
- <Cell col="47" text="부서승인일자"/>
- <Cell col="48" text="caption1"/>
- <Cell col="49" text="caption2"/>
- <Cell col="50" text="caption3"/>
- <Cell col="51" text="caption4"/>
- <Cell col="52" text="1"/>
- <Cell col="53" text="2"/>
- <Cell col="54" text="3"/>
- <Cell col="55" text="4"/>
- <Cell col="56" text="5"/>
- <Cell col="57" text="6"/>
- <Cell col="58" text="7"/>
- <Cell col="59" text="8"/>
- <Cell col="60" text="9"/>
- <Cell col="61" text="고정자산코드"/>
- <Cell col="62" text="취득금액"/>
- <Cell col="63" text="담당부서명"/>
- </Band>
- <Band id="body">
- <Cell celltype="head"/>
- <Cell col="1" displaytype="checkbox" edittype="checkbox" text="bind:choice" expr="expr:(choice=="Y"||choice==1)?1:0"/>
- <Cell col="2" text="bind:instcd"/>
- <Cell col="3" text="bind:fixtrseqmtflag"/>
- <Cell col="4" displaytype="expr:utlf_isNull(reqdd) ? 'normal' : 'date'" style="padding:2 2 2 2;" text="bind:reqdd" tooltiptext="bind:reqdd" enable="false"/>
- <Cell col="5" text="bind:reqno" tooltiptext="bind:reqno" enable="false"/>
- <Cell col="6" text="bind:reqdeptcd"/>
- <Cell col="7" text="bind:depthngnm"/>
- <Cell col="8" text="bind:reqpsnid"/>
- <Cell col="9" text="bind:reqpsnnm" tooltiptext="bind:reqpsnnm" enable="false"/>
- <Cell col="10" text="bind:genrdd"/>
- <Cell col="11" text="bind:genrtm"/>
- <Cell col="12" text="bind:chrgpsnid"/>
- <Cell col="13" text="bind:chrgpsnnm"/>
- <Cell col="14" text="bind:acptdd"/>
- <Cell col="15" text="bind:acpttm"/>
- <Cell col="16" text="bind:acptpsnid"/>
- <Cell col="17" text="bind:acptpsnnm"/>
- <Cell col="18" displaytype="checkbox" edittype="checkbox"/>
- <Cell col="19" text="bind:acptdeptcd"/>
- <Cell col="20" text="bind:acptdeptnm"/>
- <Cell col="21" displaytype="text" text="bind:fixasetnm" tooltiptext="bind:fixasetnm" enable="false"/>
- <Cell col="22" displaytype="text" text="bind:goodspec" tooltiptext="bind:goodspec" enable="false"/>
- <Cell col="23" displaytype="text" text="bind:goodmodel" enable="false"/>
- <Cell col="24" displaytype="combo" edittype="combo" style="align:center;" text="bind:workstat" tooltiptext="bind:workstat" enable="false"/>
- <Cell col="25" text="bind:itemnm"/>
- <Cell col="26" text="bind:hdrncspec"/>
- <Cell col="27" text="bind:rpirflag1"/>
- <Cell col="28" displaytype="combo" edittype="combo" style="align:center;" text="bind:rpirflag2" tooltiptext="bind:rpirflag2" enable="false"/>
- <Cell col="29" text="bind:useyn"/>
- <Cell col="30" text="bind:lastrpirstat"/>
- <Cell col="31" text="bind:acptpsncnfm"/>
- <Cell col="32" text="bind:possndd"/>
- <Cell col="33" text="bind:deptacptpsnid"/>
- <Cell col="34" text="bind:deptacptpsnnm"/>
- <Cell col="35" text="bind:rpiramt"/>
- <Cell col="36" text="bind:cmt"/>
- <Cell col="37" text="bind:rpirenddd"/>
- <Cell col="38" text="bind:chrgtel"/>
- <Cell col="39" text="bind:sanctyn"/>
- <Cell col="40" text="bind:chrgpsncmt"/>
- <Cell col="41" text="bind:sanctdd"/>
- <Cell col="42" text="bind:nonworkdayno"/>
- <Cell col="43" text="bind:emaildeliveyn"/>
- <Cell col="44" displaytype="checkbox" edittype="checkbox" text="bind:deptaprvyn" expr="expr:(deptaprvyn=="Y"||deptaprvyn==1)?1:0"/>
- <Cell col="45" text="bind:deptaprvpsnid"/>
- <Cell col="46" text="bind:deptaprvpsnnm"/>
- <Cell col="47" text="bind:deptaprvdd"/>
- <Cell col="48" text="bind:deptaprvreqyn"/>
- <Cell col="49" text="bind:lastrpirrslt"/>
- <Cell col="50" text="bind:custcd"/>
- <Cell col="51" text="bind:reqtel"/>
- <Cell col="52" text="bind:bugtyy"/>
- <Cell col="53" text="bind:bugtcd"/>
- <Cell col="54" text="bind:stdysubjno"/>
- <Cell col="55" text="bind:stdysubjnm"/>
- <Cell col="56" text="bind:acptflag"/>
- <Cell col="57" text="bind:possndd"/>
- <Cell col="58" text="bind:execdept"/>
- <Cell col="59" text="bind:attfilenm"/>
- <Cell col="60" text="bind:attfilepathnm"/>
- <Cell col="61" displaytype="text" text="bind:fixasetcd" tooltiptext="bind:fixasetcd"/>
- <Cell col="62" displaytype="number" text="bind:possnamt" mask="#,###" tooltiptext="bind:possnamt"/>
- <Cell col="63" text="bind:execdeptnm"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Grid position="absolute 5 240 685 310" id="grd_temp" visible="false" binddataset="ds_temp_rfehemhtlist" anchor="default">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="25" band="left"/>
- <Column size="70"/>
- <Column size="0"/>
- <Column size="70"/>
- <Column size="70"/>
- <Column size="38"/>
- <Column size="70"/>
- <Column size="70"/>
- <Column size="70"/>
- <Column size="70"/>
- <Column size="70"/>
- <Column size="70"/>
- <Column size="70"/>
- <Column size="70"/>
- <Column size="70"/>
- <Column size="70"/>
- <Column size="70"/>
- <Column size="70"/>
- <Column size="70"/>
- <Column size="70"/>
- <Column size="70"/>
- <Column size="70"/>
- <Column size="70"/>
- <Column size="70"/>
- <Column size="50"/>
- <Column size="70"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="0"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" text="기관코드"/>
- <Cell col="2" text="담당부서"/>
- <Cell col="3" text="자산구분"/>
- <Cell col="4" colspan="2" text="의뢰일자" taborder="undefined"/>
- <Cell col="6" colspan="2" text="의뢰부서" taborder="undefined"/>
- <Cell col="8" text="의뢰자ID"/>
- <Cell col="9" text="의뢰자 명"/>
- <Cell col="10" text="발생일자"/>
- <Cell col="11" text="발생시간"/>
- <Cell col="12" text="담당자ID"/>
- <Cell col="13" text="담당자명"/>
- <Cell col="14" text="접수일자"/>
- <Cell col="15" text="접수시간"/>
- <Cell col="16" text="접수자ID"/>
- <Cell col="17" text="접수자이름"/>
- <Cell col="18" text="접수확인"/>
- <Cell col="19" text="접수부서"/>
- <Cell col="20" text="접수부서명"/>
- <Cell col="21" text="모델"/>
- <Cell col="22" text="고정자산코드"/>
- <Cell col="23" text="자산명"/>
- <Cell col="24" text="작업상태"/>
- <Cell col="25" text="품명"/>
- <Cell col="26" text="고장내역"/>
- <Cell col="27" text="수리구분1"/>
- <Cell col="28" text="수리구분2"/>
- <Cell col="29" text="사용여부"/>
- <Cell col="30" text="최종수리상태"/>
- <Cell col="31" text="인수자확인"/>
- <Cell col="32" text="부서인수일자"/>
- <Cell col="33" text="부서인수자ID"/>
- <Cell col="34" text="부서인수자명"/>
- <Cell col="35" text="수리비"/>
- <Cell col="36" text="비고"/>
- <Cell col="37" text="수리완료일자"/>
- <Cell col="38" text="담당자전화번호"/>
- <Cell col="39" text="결재여부"/>
- <Cell col="40" text="담당자comment"/>
- <Cell col="41" text="결재일자"/>
- <Cell col="42" text="미가동일수"/>
- <Cell col="43" text="메일방송여부"/>
- <Cell col="44" text="caption1"/>
- <Cell col="45" text="caption2"/>
- <Cell col="46"/>
- <Cell col="47"/>
- <Cell col="48"/>
- <Cell col="49"/>
- <Cell col="50"/>
- <Cell col="51"/>
- <Cell col="52"/>
- <Cell col="53"/>
- <Cell col="54"/>
- <Cell col="55"/>
- <Cell col="56"/>
- <Cell col="57"/>
- <Cell col="58"/>
- <Cell col="59"/>
- <Cell col="60"/>
- </Band>
- <Band id="body">
- <Cell celltype="head"/>
- <Cell col="1" text="bind:instcd"/>
- <Cell col="2" text="bind:execdeptnm"/>
- <Cell col="3" text="bind:fixtrseqmtflag"/>
- <Cell col="4" text="bind:reqdd"/>
- <Cell col="5" text="bind:reqno"/>
- <Cell col="6" text="bind:reqdeptcd"/>
- <Cell col="7" text="bind:depthngnm"/>
- <Cell col="8" text="bind:reqpsnid"/>
- <Cell col="9" text="bind:reqpsnnm"/>
- <Cell col="10" text="bind:genrdd"/>
- <Cell col="11" text="bind:genrtm"/>
- <Cell col="12" text="bind:chrgpsnid"/>
- <Cell col="13" text="bind:chrgpsnnm"/>
- <Cell col="14" text="bind:acptdd"/>
- <Cell col="15" text="bind:acpttm"/>
- <Cell col="16" text="bind:acptpsnid"/>
- <Cell col="17" text="bind:acptpsnnm"/>
- <Cell col="18" displaytype="checkbox" edittype="checkbox"/>
- <Cell col="19" text="bind:acptdeptcd"/>
- <Cell col="20" text="bind:acptdeptnm"/>
- <Cell col="21" text="bind:goodmodel"/>
- <Cell col="22" text="bind:fixasetcd"/>
- <Cell col="23" text="bind:fixasetnm"/>
- <Cell col="24" text="bind:workstat"/>
- <Cell col="25" text="bind:itemnm"/>
- <Cell col="26" text="bind:hdrncspec"/>
- <Cell col="27" text="bind:rpirflag1"/>
- <Cell col="28" text="bind:rpirflag2"/>
- <Cell col="29" text="bind:useyn"/>
- <Cell col="30" text="bind:lastrpirstat"/>
- <Cell col="31" text="bind:acptpsncnfm"/>
- <Cell col="32" text="bind:possndd"/>
- <Cell col="33" text="bind:deptacptpsnid"/>
- <Cell col="34" text="bind:deptacptpsnnm"/>
- <Cell col="35" text="bind:rpiramt"/>
- <Cell col="36" text="bind:cmt"/>
- <Cell col="37" text="bind:rpirenddd"/>
- <Cell col="38" text="bind:chrgtel"/>
- <Cell col="39" text="bind:sanctyn"/>
- <Cell col="40" text="bind:chrgpsncmt"/>
- <Cell col="41" text="bind:sanctdd"/>
- <Cell col="42" text="bind:nonworkdayno"/>
- <Cell col="43" text="bind:emaildeliveyn"/>
- <Cell col="44" text="bind:deptaprvyn"/>
- <Cell col="45" text="bind:deptaprvpsnid"/>
- <Cell col="46" text="bind:deptaprvpsnnm"/>
- <Cell col="47" text="bind:deptaprvdd"/>
- <Cell col="48" text="bind:deptaprvreqyn"/>
- <Cell col="49" text="bind:lastrpirrslt"/>
- <Cell col="50" text="bind:custcd"/>
- <Cell col="51" text="bind:reqtel"/>
- <Cell col="52" text="bind:bugtyy"/>
- <Cell col="53" text="bind:bugtcd"/>
- <Cell col="54" text="bind:stdysubjno"/>
- <Cell col="55" text="bind:stdysubjnm"/>
- <Cell col="56" text="bind:acptflag"/>
- <Cell col="57" text="bind:possndd"/>
- <Cell col="58" text="bind:execdept"/>
- <Cell col="59" text="bind:attfilenm"/>
- <Cell col="60" text="bind:attfilepathnm"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Edit position="absolute 35 175 135 194" id="ipt_rowtemp" visible="false" anchor="default" autoselect="true"/>
- </Layout>
- </Layouts>
- </Div>
- <Div position="absolute 0 26 1195 53" id="group4" anchor="left top right">
- <Layouts>
- <Layout>
- <Button position="absolute 0 0 56 22" id="btn_prnt" class="btn6" taborder="55" visible="true" text="출력" anchor="default" onclick="group4_btn_prnt_onclick"/>
- <Button position="absolute 1127 0 1195 22" id="btn_init" class="btn4" taborder="58" text="초기화" anchor="top right" onclick="group4_btn_init_onclick"/>
- <Shape position="absolute 0 21 1195 27" id="line9" class="line_6" anchor="left top right"/>
- <Button position="absolute 1069 0 1125 22" id="btn_save" class="btn4" taborder="57" text="저장" anchor="top right" onclick="group4_btn_save_onclick"/>
- <Button position="absolute 939 0 1067 22" id="button2" class="btn3" taborder="56" text="예방점검상세조회" anchor="top right" onclick="group4_button2_onclick"/>
- <Button position="absolute 809 0 937 22" id="button3" class="btn3" taborder="56" text="점검리스트 출력" anchor="top right" onclick="group4_button3_onclick"/>
- <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"/>
- <Edit id="ipt_count" taborder="60" position="absolute 639 1 675 21" visible="false"/>
- </Layout>
- </Layouts>
- </Div>
- <Button position="absolute 378 116 453 138" id="btn_barcodeprt" class="btn2" taborder="16" text="바코드출력" onclick="btn_barcodeprt_onclick" anchor="top right"/>
- <Static id="caption6" text="비품/장비 수리 신청 등록" class="tit_1" position="absolute 0 0 186 25"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_init_goodflag" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="label" type="STRING" size="256"/>
- <Column id="value" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="label">전체</Col>
- <Col id="value"/>
- </Row>
- <Row>
- <Col id="label">비품</Col>
- <Col id="value">GE</Col>
- </Row>
- <Row>
- <Col id="label">의료장비</Col>
- <Col id="value">EQ</Col>
- </Row>
- <Row>
- <Col id="label">시험용(데모)</Col>
- <Col id="value">DE</Col>
- </Row>
- <Row>
- <Col id="label">대여</Col>
- <Col id="value">RE</Col>
- </Row>
- <Row>
- <Col id="label">임상시험용</Col>
- <Col id="value">CT</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="rowtemp" type="STRING" size="256"/>
- <Column id="workstattemp" type="STRING" size="256"/>
- <Column id="viewOption" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="rowtemp"/>
- <Col id="workstattemp"/>
- <Col id="viewOption">spec</Col>
- </Row>
- </Rows>
- </Dataset>
- <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">
- <ColumnInfo>
- <Column id="instcd" type="STRING" size="256"/>
- <Column id="instcdnm" type="STRING" size="256"/>
- <Column id="reqdd1" type="STRING" size="256"/>
- <Column id="reqdd2" type="STRING" size="256"/>
- <Column id="reqpsnid" type="STRING" size="256"/>
- <Column id="reqpsnnm" type="STRING" size="256"/>
- <Column id="reqflag" type="STRING" size="256"/>
- <Column id="fixtrseqmtflag" type="STRING" size="256"/>
- <Column id="reqdd" type="STRING" size="256"/>
- <Column id="reqno" type="STRING" size="256"/>
- <Column id="reqdeptcd" type="STRING" size="256"/>
- <Column id="reqdeptnm" type="STRING" size="256"/>
- <Column id="deptcd" type="STRING" size="256"/>
- <Column id="goodflag" type="STRING" size="256"/>
- <Column id="tempmngtdeptcd" type="STRING" size="256"/>
- <Column id="bizflag" type="STRING" size="256"/>
- <Column id="installplcecd" type="STRING" size="256"/>
- <Column id="includesubdept" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="instcd"/>
- <Col id="instcdnm"/>
- <Col id="reqdd1"/>
- <Col id="reqdd2"/>
- <Col id="reqpsnid"/>
- <Col id="reqpsnnm"/>
- <Col id="reqflag">S</Col>
- <Col id="fixtrseqmtflag"/>
- <Col id="reqdd"/>
- <Col id="reqno"/>
- <Col id="reqdeptcd"/>
- <Col id="reqdeptnm"/>
- <Col id="deptcd"/>
- <Col id="goodflag"/>
- <Col id="tempmngtdeptcd"/>
- <Col id="bizflag">E</Col>
- <Col id="installplcecd"/>
- <Col id="includesubdept"/>
- </Row>
- </Rows>
- </Dataset>
- <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">
- <ColumnInfo>
- <Column id="instcd" type="STRING" size="256"/>
- <Column id="goodflag" type="STRING" size="256"/>
- <Column id="lrgcd_search" type="STRING" size="256"/>
- <Column id="mngtdeptcd" type="STRING" size="256"/>
- <Column id="mngtdeptnm" type="STRING" size="256"/>
- <Column id="tempmngtdeptcd" type="STRING" size="256"/>
- <Column id="fixasetcd" type="STRING" size="256"/>
- <Column id="goodflagnm" type="STRING" size="256"/>
- <Column id="installplcecd" type="STRING" size="256"/>
- <Column id="installplcenm" type="STRING" size="256"/>
- <Column id="goodspec" type="STRING" size="256"/>
- <Column id="mngtno" type="STRING" size="256"/>
- <Column id="screenid" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="instcd"/>
- <Col id="goodflag"/>
- <Col id="lrgcd_search"/>
- <Col id="mngtdeptcd"/>
- <Col id="mngtdeptnm"/>
- <Col id="tempmngtdeptcd"/>
- <Col id="fixasetcd"/>
- <Col id="goodflagnm"/>
- <Col id="installplcecd"/>
- <Col id="installplcenm"/>
- <Col id="goodspec"/>
- <Col id="mngtno"/>
- <Col id="screenid"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_send_fileupcolumn" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="instcd" type="STRING" size="256"/>
- <Column id="reqdd" type="STRING" size="256"/>
- <Column id="fileseqno" type="STRING" size="256"/>
- <Column id="reqflag" type="STRING" size="256"/>
- <Column id="reqno" type="STRING" size="256"/>
- <Column id="reqseqno" type="STRING" size="256"/>
- <Column id="reqpsnid" type="STRING" size="256"/>
- <Column id="attfilenm" type="STRING" size="256"/>
- <Column id="attfilepathnm" type="STRING" size="256"/>
- <Column id="reqdeptcd" type="STRING" size="256"/>
- <Column id="scrnid" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="instcd"/>
- <Col id="reqdd"/>
- <Col id="fileseqno"/>
- <Col id="reqflag"/>
- <Col id="reqno"/>
- <Col id="reqseqno"/>
- <Col id="reqpsnid"/>
- <Col id="attfilenm"/>
- <Col id="attfilepathnm"/>
- <Col id="reqdeptcd"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_rfehdabplist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep"/>
- <Dataset id="ds_send_fileupcolumn_fileupload_file" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="filename" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="filename"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_printdata_data" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep"/>
- <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"/>
- <Dataset id="ds_main_control" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="instcd" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_control_rfehemhtlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="fixasetcd" type="STRING" size="256"/>
- <Column id="fixasetnm" type="STRING" size="256"/>
- <Column id="reqdeptcd" type="STRING" size="256"/>
- <Column id="depthngnm" type="STRING" size="256"/>
- <Column id="reqpsnid" type="STRING" size="256"/>
- <Column id="reqpsnnm" type="STRING" size="256"/>
- <Column id="fixtrseqmtflag" type="STRING" size="256"/>
- <Column id="workstat" type="STRING" size="256"/>
- <Column id="btnfixasetcd" type="STRING" size="256"/>
- <Column id="deptaprvreqyn" type="STRING" size="256"/>
- <Column id="execdept" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="fixasetcd"/>
- <Col id="fixasetnm"/>
- <Col id="reqdeptcd"/>
- <Col id="depthngnm"/>
- <Col id="reqpsnid"/>
- <Col id="reqpsnnm"/>
- <Col id="fixtrseqmtflag"/>
- <Col id="workstat"/>
- <Col id="btnfixasetcd"/>
- <Col id="deptaprvreqyn">N</Col>
- <Col id="execdept"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="filepath" type="STRING" size="256"/>
- <Column id="fileseqno" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <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"/>
- <Dataset id="ds_main_grid_rfcmfacdlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep"/>
- <Dataset id="ds_send_attach" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="filenm" type="STRING" size="256"/>
- <Column id="filesize" type="STRING" size="256"/>
- <Column id="filetype" type="STRING" size="256"/>
- <Column id="fullpath" type="STRING" size="256"/>
- <Column id="file" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="filenm"/>
- <Col id="filesize"/>
- <Col id="filetype"/>
- <Col id="fullpath"/>
- <Col id="file"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_main_custlist" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="installplcecd" type="STRING" size="255"/>
- <Column id="installplcenm" type="STRING" size="255"/>
- <Column id="deptcd" type="STRING" size="255"/>
- <Column id="deptnm" type="STRING" size="255"/>
- <Column id="mainmnger" type="STRING" size="255"/>
- <Column id="mainmngernm" type="STRING" size="255"/>
- <Column id="submnger" type="STRING" size="255"/>
- <Column id="submngernm" type="STRING" size="255"/>
- <Column id="fstrgstrid" type="STRING" size="255"/>
- <Column id="fstrgstdt" type="STRING" size="255"/>
- <Column id="lastupdtrid" type="STRING" size="255"/>
- <Column id="lastupdtdt" type="STRING" size="255"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_ReqpsnLists_reqpsnlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="reqaprvflag" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_attachfile" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="filedata" type="STRING" size="256" sumtext="파일데이터"/>
- </ColumnInfo>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="grp_biz.grp_detail.ipt_deptacptpsnid" propid="value" datasetid="ds_temp_rfehemhtlist" columnid="deptacptpsnid"/>
- <BindItem id="item1" compid="grp_biz.grp_detail.rdo_execdept" propid="value" datasetid="ds_temp_rfehemhtlist" columnid="execdept"/>
- <BindItem id="item2" compid="grp_biz.grp_detail.ipt_depthngnm" propid="value" datasetid="ds_temp_rfehemhtlist" columnid="depthngnm"/>
- <BindItem id="item3" compid="grp_biz.grp_detail.ipt_reqtel" propid="value" datasetid="ds_temp_rfehemhtlist" columnid="reqtel"/>
- <BindItem id="item4" compid="grp_biz.grp_detail.rdo_deptaprvreqyn" propid="value" datasetid="ds_temp_rfehemhtlist" columnid="deptaprvreqyn"/>
- <BindItem id="item5" compid="grp_biz.grp_detail.ipt_bugtyy" propid="value" datasetid="ds_temp_rfehemhtlist" columnid="bugtyy"/>
- <BindItem id="item6" compid="grp_biz.grp_detail.ipt_reqpsnid" propid="value" datasetid="ds_temp_rfehemhtlist" columnid="reqpsnid"/>
- <BindItem id="item7" compid="grp_biz.grp_detail.ipt_deptacptpsnnm" propid="value" datasetid="ds_temp_rfehemhtlist" columnid="deptacptpsnnm"/>
- <BindItem id="item8" compid="grp_biz.grp_detail.ipt_reqdd" propid="value" datasetid="ds_temp_rfehemhtlist" columnid="reqdd"/>
- <BindItem id="item9" compid="grp_biz.grp_detail.txt_hdrncspec" propid="value" datasetid="ds_temp_rfehemhtlist" columnid="hdrncspec"/>
- <BindItem id="item10" compid="grp_biz.grp_detail.ipt_reqno" propid="value" datasetid="ds_temp_rfehemhtlist" columnid="reqno"/>
- <BindItem id="item11" compid="grp_biz.grp_detail.ipt_genrdd" propid="value" datasetid="ds_temp_rfehemhtlist" columnid="genrdd"/>
- <BindItem id="item12" compid="grp_biz.grp_detail.ipt_reqpsnnm" propid="value" datasetid="ds_temp_rfehemhtlist" columnid="reqpsnnm"/>
- <BindItem id="item13" compid="grp_biz.grp_detail.ipt_stdysubjnm" propid="value" datasetid="ds_temp_rfehemhtlist" columnid="stdysubjnm"/>
- <BindItem id="item14" compid="grp_biz.grp_detail.ipt_acptdeptnm" propid="value" datasetid="ds_temp_rfehemhtlist" columnid="acptdeptnm"/>
- <BindItem id="item15" compid="grp_biz.grp_detail.txt_lastrpirrslt" propid="value" datasetid="ds_temp_rfehemhtlist" columnid="lastrpirrslt"/>
- <BindItem id="item16" compid="grp_biz.grp_detail.ipt_fixasetnm" propid="value" datasetid="ds_temp_rfehemhtlist" columnid="fixasetnm"/>
- <BindItem id="item17" compid="grp_biz.grp_detail.ipt_stdysubjno" propid="value" datasetid="ds_temp_rfehemhtlist" columnid="stdysubjno"/>
- <BindItem id="item18" compid="grp_biz.grp_detail.che_acptpsncnfm" propid="value" datasetid="ds_temp_rfehemhtlist" columnid="acptpsncnfm"/>
- <BindItem id="item19" compid="grp_biz.grp_detail.ipt_chrgpsnid" propid="value" datasetid="ds_temp_rfehemhtlist" columnid="chrgpsnid"/>
- <BindItem id="item20" compid="grp_biz.grp_detail.ipt_acptdeptcd" propid="value" datasetid="ds_temp_rfehemhtlist" columnid="acptdeptcd"/>
- <BindItem id="item21" compid="grp_biz.grp_detail.ipt_possndd" propid="value" datasetid="ds_temp_rfehemhtlist" columnid="possndd"/>
- <BindItem id="item22" compid="grp_biz.grp_detail.ipt_deptaprvpsnid" propid="value" datasetid="ds_temp_rfehemhtlist" columnid="deptaprvpsnid"/>
- <BindItem id="item23" compid="grp_biz.grp_detail.cmb_bugtcd" propid="value" datasetid="ds_temp_rfehemhtlist" columnid="bugtcd"/>
- <BindItem id="item24" compid="grp_biz.grp_detail.ipt_acptdd" propid="value" datasetid="ds_temp_rfehemhtlist" columnid="acptdd"/>
- <BindItem id="item25" compid="grp_biz.grp_detail.ipt_fixasetcd" propid="value" datasetid="ds_temp_rfehemhtlist" columnid="fixasetcd"/>
- <BindItem id="item26" compid="grp_biz.grp_detail.ipt_deptaprvdd" propid="value" datasetid="ds_temp_rfehemhtlist" columnid="deptaprvdd"/>
- <BindItem id="item27" compid="grp_biz.grp_detail.cmb_workstat" propid="value" datasetid="ds_temp_rfehemhtlist" columnid="workstat"/>
- <BindItem id="item28" compid="grp_biz.grp_detail.ipt_chrgpsnnm" propid="value" datasetid="ds_temp_rfehemhtlist" columnid="chrgpsnnm"/>
- <BindItem id="item29" compid="grp_biz.grp_detail.ipt_deptaprvpsnnm" propid="value" datasetid="ds_temp_rfehemhtlist" columnid="deptaprvpsnnm"/>
- <BindItem id="item30" compid="grp_biz.grp_detail.ipt_chrgtel" propid="value" datasetid="ds_temp_rfehemhtlist" columnid="chrgtel"/>
- <BindItem id="item31" compid="grp_biz.grp_detail.ipt_reqdeptcd" propid="value" datasetid="ds_temp_rfehemhtlist" columnid="reqdeptcd"/>
- <BindItem id="item32" compid="grp_biz.grp_detail.ipt_attfilenm" propid="value" datasetid="ds_temp_rfehemhtlist" columnid="filenm"/>
- <BindItem id="item33" compid="grp_biz.grp_detail.combo1" propid="value" datasetid="ds_temp_rfehemhtlist" columnid="fixtrseqmtflag"/>
- <BindItem id="item34" compid="grp_biz.grp_search.opt_reqdeptcd" propid="value" datasetid="ds_send_rpirsrch" columnid="reqdeptcd"/>
- <BindItem id="item35" compid="grp_biz.grp_search.ipt_reqdd2" propid="value" datasetid="ds_send_rpirsrch" columnid="reqdd2"/>
- <BindItem id="item36" compid="grp_biz.grp_search.opt_reqdeptnm" propid="value" datasetid="ds_send_rpirsrch" columnid="reqdeptnm"/>
- <BindItem id="item37" compid="grp_biz.grp_search.ipt_reqdd1" propid="value" datasetid="ds_send_rpirsrch" columnid="reqdd1"/>
- <BindItem id="item38" compid="grp_biz.grp_search.cmb_fixtrseqmtflag" propid="value" datasetid="ds_send_rpirsrch" columnid="fixtrseqmtflag"/>
- <BindItem id="item39" compid="grp_biz.grp_search.ipt_reqpsnids" propid="value" datasetid="ds_send_rpirsrch" columnid="reqpsnid"/>
- <BindItem id="item40" compid="grp_biz.grp_search.cmb_instcd" propid="value" datasetid="ds_send_rpirsrch" columnid="instcd"/>
- <BindItem id="item41" compid="grp_biz.grp_search.ipt_reqpsnnms" propid="value" datasetid="ds_send_rpirsrch" columnid="reqpsnnm"/>
- <BindItem id="item42" compid="grp_biz.grp_search.opt_installplcenm" propid="value" datasetid="ds_send_goodsrch" columnid="installplcenm"/>
- <BindItem id="item43" compid="grp_biz.grp_search.ipt_installplcecd" propid="value" datasetid="ds_send_goodsrch" columnid="installplcecd"/>
- <BindItem id="item44" compid="grp_biz.grp_search.chk_includesubdept" propid="value" datasetid="ds_send_rpirsrch" columnid="includesubdept"/>
- <BindItem id="item45" compid="grp_biz.grp_goodsearch.input2" propid="value" datasetid="ds_send_goodsrch" columnid="fixasetcd"/>
- <BindItem id="item46" compid="grp_biz.grp_goodsearch.input1" propid="value" datasetid="ds_send_goodsrch" columnid="goodflagnm"/>
- <BindItem id="item47" compid="grp_biz.grp_goodsearch.cmb_goodfixtrseqmtflag" propid="value" datasetid="ds_send_goodsrch" columnid="goodflag"/>
- <BindItem id="item48" compid="grp_biz.grp_goodsearch.input3" propid="value" datasetid="ds_send_goodsrch" columnid="goodspec"/>
- <BindItem id="item49" compid="grp_biz.grp_goodsearch.input4" propid="value" datasetid="ds_send_goodsrch" columnid="mngtno"/>
- <BindItem id="item50" compid="grp_biz.ipt_rowtemp" propid="value" datasetid="ds_init" columnid="rowtemp"/>
- <BindItem id="item51" compid="grp_biz.rdo_view" propid="value" datasetid="ds_init" columnid="viewOption"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name :
- * Job Name :
- * Creator :
- * Make Date : 2017-06-19
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2017-06-19 Live Converter TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- //=======================================================================================
- // Lib Include
- //---------------------------------------------------------------------------------------
- include "com_commonxp::comm_main.xjs";
- include "mis_miscommonxp::MIS.xjs";
- include "mis_miscommonxp::RSZ001.xjs";
- include "mis_purcbasexp::SMRSC05303.xjs";
- //=======================================================================================
- // Global Form Variable
- //---------------------------------------------------------------------------------------
- var arErrorCode = new HashArray();
- //=======================================================================================
- // Function
- //---------------------------------------------------------------------------------------
- /****************************************************************************************
- * Argument : N/A
- * Description : 초기화
- ****************************************************************************************/
- function fInitialize()
- {
- //misfGridInit(grp_biz.grd_rfehemhtlist);
- //grdf_setGridSort(grp_biz.grd_rfehemhtlist);
- misfGridInit(grp_biz.grp_detail.grd_rfehdabplist);
- misfGridInit(grp_biz.grd_temp);
- misfGridInit(grp_biz.grp_goodsearch.grd_rfcmfacdlist);
- rszfComboBugtList("grp_biz.grp_detail.cmb_bugtcd",sysf_getUserInfo("dutplceinstcd"));
- misfComboComCdListMulti("C0048,R0055,R0055,R0032,R0025,R0035,R0285,030R0033"
- , "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");
- misfMsterDetailSet(grp_biz.grd_rfehemhtlist, null, "TRRFE00401", "Y");
- misfMsterDetailSet(grp_biz.grp_goodsearch.grd_rfcmfacdlist, null, "TRRSE01504", "N");
- // 기관코드 설정
- ds_send_rpirsrch.setColumn( 0, "instcd", sysf_getUserInfo("dutplceinstcd"));
- ds_send_rpirsrch.setColumn( 0, "instcdnm", sysf_getUserInfo("dutplceinstnm"));
-
- ds_send_rpirsrch.enableevent = false;
- ds_send_rpirsrch.updatecontrol = false;
-
- ds_send_rpirsrch.setColumn( 0, "reqdeptcd" , sysf_getUserInfo("dutplcecd"));
- ds_send_rpirsrch.setColumn( 0, "reqdeptnm" , sysf_getUserInfo("dutplcenm"));
-
- ds_send_rpirsrch.updatecontrol = true;
- ds_send_rpirsrch.enableevent = true;
- ds_send_goodsrch.setColumn( 0, "mngtdeptcd", ds_send_rpirsrch.getColumn( 0, "reqdeptcd"));
- ds_send_goodsrch.setColumn( 0, "mngtdeptnm", ds_send_rpirsrch.getColumn( 0, "reqdeptnm"));
-
- // 금일 날자 설정
- ds_send_rpirsrch.setColumn( 0, "reqdd1", utlf_getCurrentDate());
- ds_send_rpirsrch.setColumn( 0, "reqdd2", utlf_getCurrentDate());
- ds_init.setColumn( 0, "rowtemp", "");
- fcontrolEnableYN(false);
- misfSetReadOnlyCol(grp_biz.grd_rfehemhtlist, "workstat", true);
- // grp_biz.grd_rfehemhtlist.fixedcellcheckbox(0,grp_biz.grd_rfehemhtlist.colRef("choice"),false) = true;
- //수리 청구 승인권한 여부 판별하여 Grid의 승인 컬럼을 설정.
- fdeptGrantYN();
-
- //2019.05.28 도움말 추가
- if(sysf_getUserInfo("dutplceinstcd") == "032"){
- group4.btn_help.visible = true;
- }
- }
- /****************************************************************************************
- * Argument : N/A
- * Description : 수리 청구 승인권한 여부 판별하여 Grid의 승인 컬럼을 설정.
- * : 수리,장비등 청구주기가 없는 것들은 '1'로셋팅
- ****************************************************************************************/
- function fdeptGrantYN()
- {
- rszfGetPurcReqAuthInfo(grp_biz.grp_search.cmb_instcd.value, "S", sysf_getUserInfo("dutplcecd"), sysf_getUserInfo("userid"), "1");
- for(var fRow = 0; fRow < ds_main_grid_rfehemhtlist.rowcount; fRow++)
- {
- if( rszfGetPurcAuthInfoByCond("reqaprvflag") == "2" && ds_main_grid_rfehemhtlist.getColumn(fRow, "deptaprvreqyn") == "Y" )
- {
- if(ds_main_grid_rfehemhtlist.getColumn(fRow, "workstat") == "00" || ds_main_grid_rfehemhtlist.getColumn(fRow, "workstat") == "01" )
- {
- misfSetReadOnlyCol(grp_biz.grd_rfehemhtlist, "deptaprvyn", false, fRow);
- }else{
- misfSetReadOnlyCol(grp_biz.grd_rfehemhtlist, "deptaprvyn", true, fRow);
- }
- }else{
- misfSetReadOnlyCol(grp_biz.grd_rfehemhtlist, "deptaprvyn", true, fRow);
- }
- }
- }
-
- /****************************************************************************************
- * Argument : TrueFalse : true/false
- * Description : 컴포넌트 사용여부
- ****************************************************************************************/
- function fcontrolEnableYN(TrueFalse)
- {
- grp_biz.grp_detail.ipt_reqdeptcd.enable = TrueFalse;
- grp_biz.grp_detail.btn_reqdeptcdSearch.enable = TrueFalse;
- //grp_biz.grp_detail.ipt_depthngnm.enable = TrueFalse;
- grp_biz.grp_detail.ipt_reqpsnid.enable = TrueFalse;
- grp_biz.grp_detail.btn_reqpsnidSearch.enable = TrueFalse;
- //grp_biz.grp_detail.ipt_reqpsnnm.enable = TrueFalse;
- grp_biz.grp_detail.ipt_acptdeptcd.enable = false;
- grp_biz.grp_detail.ipt_acptdeptnm.enable = false;
- grp_biz.grp_detail.rdo_execdept.enable = TrueFalse;
- grp_biz.grp_detail.ipt_reqtel.enable = TrueFalse;
- grp_biz.grp_detail.txt_hdrncspec.enable = TrueFalse;
- grp_biz.grp_detail.ipt_genrdd.enable = TrueFalse;
- // ipt_genrtm.enable = TrueFalse;
- grp_biz.grp_detail.rdo_deptaprvreqyn.enable = TrueFalse;
- grp_biz.grp_detail.ipt_bugtyy.enable = false;
- grp_biz.grp_detail.cmb_bugtcd.enable = false;
- grp_biz.grp_detail.ipt_stdysubjno.enable = false;
- grp_biz.grp_detail.btn_stdysubjnm.enable = false;
- grp_biz.grp_detail.ipt_stdysubjnm.enable = false;
- grp_biz.grp_detail.ipt_chrgpsnid.enable = false;
- //grp_biz.grp_detail.ipt_chrgpsnnm.enable = false;
- //grp_biz.grp_detail.cmb_workstat.enable = false;
- grp_biz.grp_detail.ipt_acptdd.enable = false;
- //grp_biz.grp_detail.che_acptpsncnfm.enable = TrueFalse;
- //grp_biz.grp_detail.ipt_possndd.enable = false;
- grp_biz.grp_detail.ipt_deptacptpsnid.enable = false;
- grp_biz.grp_detail.ipt_deptacptpsnnm.enable = false;
- grp_biz.grp_detail.txt_lastrpirrslt.enable = false;
- // 부품사용내역 그리드 설정
- //grp_biz.grp_detail.grd_rfehdabplist.enable = false;
- }
-
- function fCheckTime(ftimeset)
- {
- var sTime = ftimeset.value;
-
- if(sTime.length != 4)
- {
- messageBox("네자리를 ","C001");
- ftimeset.value = "";
- return;
- }
-
- var sFrontTime = sTime.substr(0, 2);
- var sBackTime = sTime.substr(2, 2);
-
- if(parseInt(sFrontTime) > 24)
- {
- messageBox("24시를 ","E003");
- ftimeset.value = "";
- return;
- }
-
- if(parseInt(sBackTime) > 59)
- {
- messageBox("59분을 ","E003");
- ftimeset.value = "";
- return;
- }
- }
- /****************************************************************************************
- * Argument : N/A
- * Description : 수리진행상태 check
- ****************************************************************************************/
- function fcomboValueCheck()
- {
- grp_biz.btn_delete.enable = true;
- // control 수정 금지
- fcontrolEnableYN(false);
- if(grp_biz.grp_detail.cmb_workstat.value == '00' || grp_biz.grp_detail.cmb_workstat.value == '01')
- {
- grp_biz.grp_detail.ipt_reqtel.enable = true;
- grp_biz.grp_detail.ipt_reqdeptcd.enable = true;
- grp_biz.grp_detail.btn_reqdeptcdSearch.enable = true;
- grp_biz.grp_detail.ipt_depthngnm.enable = true;
- if(grp_biz.grp_search.cmb_instcd.value == "103")
- {
- grp_biz.grp_detail.ipt_bugtyy.enable = true;
- grp_biz.grp_detail.cmb_bugtcd.enable = true;
- grp_biz.grp_detail.ipt_stdysubjno.enable = true;
- grp_biz.grp_detail.btn_stdysubjnm.enable = true;
- grp_biz.grp_detail.ipt_stdysubjnm.enable = true;
- }
- grp_biz.grp_detail.ipt_reqpsnid.enable = true;
- grp_biz.grp_detail.btn_reqpsnidSearch.enable = true;
- grp_biz.grp_detail.ipt_reqpsnnm.enable = true;
- grp_biz.grp_detail.txt_hdrncspec.enable = true;
- grp_biz.grp_detail.ipt_genrdd.enable = true;
- grp_biz.grp_detail.rdo_execdept.enable = true;
- grp_biz.grp_detail.rdo_deptaprvreqyn.enable = true;
- }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' )){
- // 삭제 금지
- grp_biz.btn_delete.enable = false;
- // 인수확인 수정
- grp_biz.grp_detail.che_acptpsncnfm.enable = true;
- grp_biz.grp_detail.rdo_execdept.enable = false;
- grp_biz.grp_detail.rdo_deptaprvreqyn.enable = false;
- }else{
- grp_biz.btn_delete.enable = false;
- grp_biz.grp_detail.rdo_execdept.enable = false;
- grp_biz.grp_detail.rdo_deptaprvreqyn.enable = false;
- }
- }
-
- /****************************************************************************************
- * Argument : N/A
- * Description : 인수 확인시 기본 사항
- ****************************************************************************************/
- function facptCheck()
- {
- /*-----------------------------------------------------------------------------
- * check box 에 체크를 하면 value 가 'N Y' 가 된다.
- * 'N'일경우를 먼저 체크해야하는데 VALUE가 정의되지 않아 NULL이 된다.
- ----------------------------------------------------------------------------- */
- if(utlf_isNull(grp_biz.grp_detail.che_acptpsncnfm.value))
- {
- grp_biz.grp_detail.ipt_possndd.value = "";
- grp_biz.grp_detail.ipt_deptacptpsnid.value = "";
- grp_biz.grp_detail.ipt_deptacptpsnnm.value = "";
- }else{
- grp_biz.grp_detail.ipt_possndd.value = utlf_getCurrentDate().substr(0, 8);
- grp_biz.grp_detail.ipt_deptacptpsnid.value = sysf_getUserInfo("userid");
- grp_biz.grp_detail.ipt_deptacptpsnnm.value = sysf_getUserInfo("usernm");
- grp_biz.grp_detail.cmb_workstat.value = "05";
- grp_biz.grp_detail.che_acptpsncnfm.value= "Y";
- }
- }
- /****************************************************************************************
- * Argument : tmpStat : 조회여부
- * Description : 행추가시 필요 없는 submission이 발생하여 우선은 제어를 위해 "N" 셋팅시 submission pass
- ****************************************************************************************/
- function fgridClickEvent(tmpStat)
- {
- ds_temp_rfehemhtlist.clear();
- dsf_copyColInfo(ds_temp_rfehemhtlist, ds_main_grid_rfehemhtlist);
- if( ds_main_grid_rfehemhtlist.rowposition > -1 ){
- ds_temp_rfehemhtlist.enableevent = false;
- ds_temp_rfehemhtlist.updatecontrol = false;
- ds_temp_rfehemhtlist.copyRow(ds_temp_rfehemhtlist.addRow(), ds_main_grid_rfehemhtlist, ds_main_grid_rfehemhtlist.rowposition);
- ds_temp_rfehemhtlist.updatecontrol = true;
- ds_temp_rfehemhtlist.enableevent = true;
- }
- // 부품사용내역을 조회 하기 위한 기본값 설정.
- if(ds_main_rfehdabplist.rowcount > 0){
- misfGridInit(grp_biz.grp_detail.grd_rfehdabplist);
- }
- if(ds_main_grid_rfehemhtlist.rowcount != 0 && tmpStat != "N")
- {
- ds_send_rpirsrch.setColumn( 0, "reqdd", ds_main_grid_rfehemhtlist.getColumn(ds_main_grid_rfehemhtlist.rowposition, "reqdd") );
- ds_send_rpirsrch.setColumn( 0, "reqno", ds_main_grid_rfehemhtlist.getColumn(ds_main_grid_rfehemhtlist.rowposition, "reqno") );
- var oParam = {};
- oParam.id = "TRRFE00402";
- oParam.service = "reqapp.ReqMngt";
- oParam.method = "reqGetHistRfehdabpList";
- oParam.inds = "req=ds_send_rpirsrch";
- oParam.outds = "ds_main_rfehdabplist=rfehdabplist";
- oParam.async = false;
- //oParam.callback = "cf_TRRFE00402";
- tranf_submit(oParam);
- misfSetReadOnlyAll(grp_biz.grp_detail.grd_rfehdabplist);
- }
- if(ds_temp_rfehemhtlist.rowcount > 0) ds_temp_rfehemhtlist.rowposition = ds_temp_rfehemhtlist.rowcount-1;
- }
-
- /****************************************************************************************
- * Argument : N/A
- * Description : 그리드 row 이동시 작업 check
- ****************************************************************************************/
- function fmoveCheck()
- {
- //사용 안하는듯
- // var dsUpdate = grdf_getGridUpdateData(grp_biz.grd_temp, "all");
- // if ( dsUpdate.rowcount > 0) {
- // var ret = sysf_messageBox("그리드에 작업 중인 내용이 있습니다. 조회 작업을","Q003");
- // if (ret != 6) { // not OK
- // ds_main_grid_rfehemhtlist.rowposition = grp_biz.ipt_rowtemp.value;
- // return false;
- // }else{
- // ds_temp_rfehemhtlist.applyChange();
- // }
- // }
-
- grp_biz.ipt_rowtemp.value = ds_main_grid_rfehemhtlist.rowposition;
- fgridClickEvent();
- fcomboValueCheck();
- }
-
- /****************************************************************************************
- * Argument : N/A
- * Description : 저장실행
- ****************************************************************************************/
- function fupdateCheckSave()
- {
- if(!frmf_isRequiredControls("grp_biz.grp_detail.ipt_fixasetcd"))return false;
- if(!frmf_isRequiredControls("grp_biz.grp_detail.ipt_reqdd"))return false;
- if(!frmf_isRequiredControls("grp_biz.grp_detail.ipt_reqdeptcd"))return false;
- if(!frmf_isRequiredControls("grp_biz.grp_detail.ipt_reqpsnid"))return false;
- if(!frmf_isRequiredControls("grp_biz.grp_detail.ipt_reqtel"))return false;
- if(!frmf_isRequiredControls("grp_biz.grp_detail.cmb_workstat"))return false;
- if(!frmf_isRequiredControls("grp_biz.grp_detail.txt_hdrncspec"))return false;
-
- if(ds_temp_rfehemhtlist.getRowType(ds_temp_rfehemhtlist.rowposition) != 1)
- {
- var iStatus = ds_temp_rfehemhtlist.getRowType(ds_temp_rfehemhtlist.rowposition);
- var sStatus = "U";
- ds_main_grid_rfehemhtlist.copyRow(ds_main_grid_rfehemhtlist.rowposition, ds_temp_rfehemhtlist, ds_temp_rfehemhtlist.rowposition);
- var sCurStatus = ds_main_grid_rfehemhtlist.getRowType(ds_main_grid_rfehemhtlist.rowposition);
- if(sCurStatus == 2)
- {
- sStatus = "I";
- }
- grdf_setStatus(grp_biz.grd_rfehemhtlist, sStatus, [ds_main_grid_rfehemhtlist.rowposition]);
- }
-
- var updtdata = grdf_getGridUpdateData(grp_biz.grd_rfehemhtlist, "all");
- if (updtdata.rowcount == 0)
- {
- sysf_messageBox("변경된 데이터가","I004");
- return false;
- }
- var rtn = misfSave("TXRFE00401");
-
- if(ds_main_grid_rfehemhtlist.getColumn(ds_main_grid_rfehemhtlist.rowposition, "deptaprvyn") != "Y" && grp_biz.grp_detail.rdo_deptaprvreqyn.value == "Y")
- sysf_messageBox("부서장 승인이 되지 않았습니다.","");
-
- //if (model.getValue(gvErrorMsgPath + "/type") != "error") grp_biz.grd_rfehemhtlist.dispatch("onrowchanged");
- if(rtn) fmoveCheck();
- }
-
- function fmaxreqno(grd_obj) {
- var maxreqno = 0;
- for( cnt=1; cnt< grp_biz.grd_rfehemhtlist.rows-grp_biz.grd_rfehemhtlist.fixedRows ; cnt++) {
- if ( grp_biz.grd_rfehemhtlist.valueMatrix(cnt, grp_biz.grd_rfehemhtlist.colRef("reqdd")) == getCurrentDate().substr(0, 8) ) {
- if ( maxreqno < eval (grp_biz.grd_rfehemhtlist.valueMatrix(cnt, grp_biz.grd_rfehemhtlist.colRef("reqno"))) )
- maxreqno = eval (grp_biz.grd_rfehemhtlist.valueMatrix(cnt, grp_biz.grd_rfehemhtlist.colRef("reqno")));
- }
- }
- maxreqno = maxreqno + 1;
- return getRightPad(maxreqno+"", 4,'0');
- }
-
- function getRightPad(pStr, pLength, padString )
- {
- var tmpStr = "";
- if (pStr.length < pLength) {
- for( var i = pStr.length; i < pLength; i++){
- tmpStr = tmpStr + padString;
- }
- }
- return tmpStr + pStr;
- }
-
- /****************************************************************************************
- * Argument : objVFile
- * : nRow
- * Description : 파일 화면에 저장
- ****************************************************************************************/
- function lf_saveFile(objVFile, nRow)
- {
- // var sRowType = ds_send_attach.getRowType(nRow);
- // 그 파일의 데이터를 데이터셋의 특정 컬럼에 BLOB 형식으로 write 한다.
- var file = dsf_writeFileToDs(objVFile, ds_send_attach, nRow, "filedata");
-
- if(file.filesize > 5242880) {
- ds_send_attach.deleteRow(nRow);
- sysf_messageBox("파일 크기가 최대치(5242880Byte)를", "E003");
- return;
- }
-
- var filename = file.filename;
- var filesize = file.filesize;
- var idx = filename.indexOf(".");
- ds_send_attach.setColumn(nRow, "filedata", filename);
- ds_send_attach.setColumn(nRow, "filenm", file.filename);
- ds_send_attach.setColumn(nRow, "filesize", file.filesize);
- ds_send_attach.setColumn(nRow, "filetype", file.filetype);
- ds_send_attach.setColumn(nRow, "fullpath", objVFile.fullpath);
-
- fAttfileAdd();
- }
- /****************************************************************************************
- * Argument : N/A
- * Description : 파일 업로드
- ****************************************************************************************/
- function fAttfileAdd(){
- //파일 다운로드 하는 기능
- //var maxsize = upd_uploadfile.attribute("filesize");
-
- ds_send_fileupcolumn.setColumn(0,"instcd" , ds_main_grid_rfehemhtlist.getColumn(ds_main_grid_rfehemhtlist.rowposition, "instcd"));
- ds_send_fileupcolumn.setColumn(0,"reqdd" , ds_main_grid_rfehemhtlist.getColumn(ds_main_grid_rfehemhtlist.rowposition, "reqdd"));
- ds_send_fileupcolumn.setColumn(0,"reqflag" , "S" ); //비품수리신청등록시 하드코딩 - 나중에 query에서 control
- ds_send_fileupcolumn.setColumn(0,"reqno" , ds_main_grid_rfehemhtlist.getColumn(ds_main_grid_rfehemhtlist.rowposition, "reqno"));
- ds_send_fileupcolumn.setColumn(0,"reqpsnid" , ds_main_grid_rfehemhtlist.getColumn(ds_main_grid_rfehemhtlist.rowposition, "reqpsnid"));
- ds_send_fileupcolumn.setColumn(0,"reqdeptcd" , ds_main_grid_rfehemhtlist.getColumn(ds_main_grid_rfehemhtlist.rowposition, "reqdeptcd"));
-
- ds_send_fileupcolumn.setColumn(0,"attfilenm" , ds_main_control_rfehemhtlist.getColumn(0,"attfilenm"));
- ds_send_fileupcolumn.setColumn(0,"attfilepathnm", ds_send_attach.getColumn(0, "fullpath"));
- var oParam = {};
- oParam.id = "TXRSD00423";
- oParam.service = "reqapp.ReqMngt";
- oParam.method = "insReqAttfileTT";
- oParam.inds = "sfile=ds_send_attach req=ds_send_fileupcolumn";
- oParam.outds = "";
- oParam.async = false;
- oParam.callback = "cf_TXRSD00423";
- tranf_submit(oParam);
-
- if (arErrorCode.pop("TXRSD00423") > -1){
- sysf_messageBox("첨부파일이 업로드" , "I002");
- grp_biz.grp_search.btn_search.click();
- }
- }
- function cf_TXRSD00423(sSvcId, nErrorCode, sErrorMsg) {
- arErrorCode.push(sSvcId, nErrorCode);
- }
- /****************************************************************************************
- * Argument : N/A
- * Description : 첨부파일 다운로드
- ****************************************************************************************/
- function fAttfileDown(){
- if(ds_main_grid_rfehemhtlist.rowcount <= 0) return;
- else alert("danger");
- return;
- ds_send_fileupcolumn.setColumn(0,"instcd" , ds_main_grid_rfehemhtlist.getColumn(ds_main_grid_rfehemhtlist.rowposition, "instcd"));
- ds_send_fileupcolumn.setColumn(0,"reqdd" , ds_main_grid_rfehemhtlist.getColumn(ds_main_grid_rfehemhtlist.rowposition, "reqdd"));
- //ds_send_fileupcolumn.setColumn(0,"fileseqno" , model.getValue("/root/main/goodreq/goodreqlist/attfilepathnm") ); //seqNumber
-
- ds_send_fileupcolumn.setColumn(0,"reqflag" , "S");
-
- ds_send_fileupcolumn.setColumn(0,"reqno" , ds_main_grid_rfehemhtlist.getColumn(ds_main_grid_rfehemhtlist.rowposition, "reqno"));
- ds_send_fileupcolumn.setColumn(0,"reqpsnid" , ds_main_grid_rfehemhtlist.getColumn(ds_main_grid_rfehemhtlist.rowposition, "reqpsnid"));
- ds_send_fileupcolumn.setColumn(0,"reqdeptcd" , ds_main_grid_rfehemhtlist.getColumn(ds_main_grid_rfehemhtlist.rowposition, "reqdeptcd"));
-
- ds_send_fileupcolumn.setColumn(0,"attfilenm" , ds_main_control_rfehemhtlist.getColumn(0, "attfilepathnm"));
- ds_send_fileupcolumn.setColumn(0,"attfilepathnm" , ds_send_attach.getColumn(0, "fullpath"));
-
- //첨부파일관련 팝업을 띄워서 첨부파일을 조회도 하고 다운로드 삭제까지 할수 있도록 구현.
- rszfOpenPopUpListByWndName(grp_biz.grd_rfehemhtlist,"","","SMRSD00420","instcd,reqdd,reqflag,reqno,reqseqno,reqpsnid,reqdeptcd,attfilepathnm","instcd,reqdd,reqflag,reqno,reqseqno,reqpsnid,reqdeptcd,attfilepathnm", "Y");
-
- //submit("TRRSD00421");
- grp_biz.grp_search.btn_search.click();
- }
-
- //=======================================================================================
- // Event
- //---------------------------------------------------------------------------------------
- /****************************************************************************************
- * Components : Form
- * Description : 화면 처음 초기화시 폼초기화
- ****************************************************************************************/
- function SMRFE01100_onload(obj:Form, e:LoadEventInfo) {
- frmf_initForm(obj);
- grdf_initGrid(grp_biz.grd_rfehemhtlist);
- grdf_setGridSort(grp_biz.grp_goodsearch.grd_rfcmfacdlist);
- grdf_setGridSort(grp_biz.grp_detail.grd_rfehdabplist);
- grdf_setRowTypeIcon(grp_biz.grd_rfehemhtlist, 0);
- //submit 되는 node 들을 초기화한다
- fInitialize();
- grp_biz.grp_search.btn_search.click();
- }
- /****************************************************************************************
- * Components : Button
- * Description : 의뢰부서 조회
- ****************************************************************************************/
- function grp_biz_grp_detail_btn_reqdeptcdSearch_onclick(obj:Button, e:ClickEventInfo) {
- misfOpenPopUpList("02", grp_biz.grp_detail.ipt_reqdeptcd, "", "reqdeptcd,depthngnm");
- }
- /****************************************************************************************
- * Components : Button
- * Description : 연구과제 조회(사용안함)
- ****************************************************************************************/
- function grp_biz_grp_detail_btn_stdysubjnm_onclick(obj:Button, e:ClickEventInfo) {
- rszfOpenPopUpListByWndName(grp_biz.grp_detail.ipt_stdysubjno,"","stdysubjno,stdysubjnm","SPRSD00260","instcd","grp_biz.grp_search.cmb_instcd");
- }
- /****************************************************************************************
- * Components : Button
- * Description : 의뢰자 조회
- ****************************************************************************************/
- function grp_biz_grp_detail_btn_reqpsnidSearch_onclick(obj:Button, e:ClickEventInfo) {
- misfOpenPopUpList("12", grp_biz.grp_detail.ipt_reqpsnid, "", "reqpsnid,reqpsnnm");
- }
- /****************************************************************************************
- * Components : Button
- * Description : 수정/다운로드
- ****************************************************************************************/
- function grp_biz_grp_detail_btn_downfile_onclick(obj:Button, e:ClickEventInfo) {
- //fAttfileDown();
-
- var filepath = ds_temp_rfehemhtlist.getColumn(0, "filepath");
- var fileseqno = ds_temp_rfehemhtlist.getColumn(0, "fileseqno");
- var filenm = ds_temp_rfehemhtlist.getColumn(0, "filenm");
- var fileExt = "*";
-
- if(!utlf_isNull(filenm) && !utlf_isNull(filenm)) {
- fileExt = filenm.substr(filenm.lastIndexOf('.')+1);
- } else {
- sysf_messageBox("첨부파일이 없습니다.", "E");
- return;
- }
-
- ds_send.setColumn(0, "filepath", filepath);
- ds_send.setColumn(0, "fileseqno", fileseqno);
-
- sysf_setErrorMsg(false); //자바단에서 에러발생시 1.0은 오류리턴을 안해서...
-
- var oParam = {};
- oParam.id = "TRRFC01102";
- oParam.service = "purcbaseapp.PurcBaseMngt";
- oParam.method = "reqGetFixasetAttfileDownLoad";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_main_attachfile=attachfile";
- oParam.async = false;
- //oParam.callback = "cf_TRRFC01102";
- tranf_submit(oParam);
-
- sysf_setErrorMsg(true);
-
- var fd = new FileDialog;
- var objVFile = fd.open("FileSave", FileDialog.SAVE, "%MYDOCUMENT%", filenm); // 단일 파일 선택
- if (objVFile != null)
- {
- //var temp = dsf_readFileFromDs(objVFile.fullpath+"."+fileExt, ds_main_attachfile, 0, "filedata"); // 파일저장
- var temp = dsf_readFileFromDs(objVFile.fullpath, ds_main_attachfile, 0, "filedata"); // 파일저장
- // sleep(1000);
- // if( !utlf_isNull(temp) )
- // {
- // var rtn = sysf_messageBox("파일을", "Q004");
- // if( rtn == 6 )
- // {
- // var text = new String(objVFile.fullpath);
- // var replaceText = text.replace(" ", "");
- // if( text.length != replaceText.length )
- // {
- // sysf_messageBox("공백이 포함된 [파일명/폴더]는 자동열기가 실행되지 않습니다.", "E999", "");
- // return;
- // }
- // else
- // {
- // //system.execShell(objVFile.fullpath);
- // var path = objVFile.fullpath;
- // var sArg = "";
- // var objExtCommon = new ExtCommon();
- // objExtCommon.executeProcess(path, sArg);
- // }
- // }
- // }
- }
- }
- /****************************************************************************************
- * Components : Button
- * Description : 파일업로드
- ****************************************************************************************/
- // function grp_biz_grp_detail_btn_addfile_onclick(obj:Button, e:ClickEventInfo) {
- // ds_send_attach.clearData();
- // //첨부파일이 이미 있다면 파일 업로드 가 안되도록 막아버리자.
- // if ( !utlf_isNull(ds_temp_rfehemhtlist.getColumn(0,"attfilenm")) ) {
- // sysf_messageBox( "이미 첨부파일이 존재하여 첨부파일을 저장할수" , "I004" );
- // return;
- // }
- // //행추가를 통한 비품신규청구일경우 파일 업로드막기(저장후에 업로드가능해짐)
- // if ( utlf_isNull(ds_main_grid_rfehemhtlist.getColumn(ds_main_grid_rfehemhtlist.rowposition, "fixasetcd")) ) {
- // sysf_messageBox( "비품청구 저장후에 첨부파일 업로드 하실수" , "I010" );
- // return;
- // }
- //
- // // 파일다이얼로그를 띄워 사용자에게 파일경로를 입력받는다.
- // var fd = new FileDialog;
- // var objVFile = fd.open("FileOpen", FileDialog.SINGLELOAD); // 단일 파일 선택
- //
- // if(!utlf_isNull(objVFile)) {
- // var nRow = ds_send_attach.addRow();
- // // 해당 파일을 데이터 셋에 저장한다.
- // lf_saveFile(objVFile, nRow);
- // }
- // }
- /****************************************************************************************
- * Components : Div
- * Description : 상세내역 편집시
- ****************************************************************************************/
- function grp_biz_grp_detail_onsetfocus(obj:Div, e:SetFocusEventInfo) {
- inFlag = true;
- }
- /****************************************************************************************
- * Components : Grid
- * Description : 의뢰내역 변경
- ****************************************************************************************/
- function grp_biz_grd_rfehemhtlist_ontextchanged(obj:Grid, e:GridEditTextChangedEventInfo) {
- if(e.col == obj.getBindCellIndex("body","deptaprvyn"))
- {
- if(ds_main_grid_rfehemhtlist.getColumn(e.row, "deptaprvyn") == "Y")
- {
- ds_main_grid_rfehemhtlist.setColumn(e.row, "deptaprvdd", utlf_getCurrentDate().substr(0, 8));
- ds_main_grid_rfehemhtlist.setColumn(e.row, "deptaprvpsnid", sysf_getUserInfo("userid"));
- ds_main_grid_rfehemhtlist.setColumn(e.row, "deptaprvpsnnm", sysf_getUserInfo("usernm"));
- }else{
- ds_main_grid_rfehemhtlist.setColumn(e.row, "deptaprvdd", "");
- ds_main_grid_rfehemhtlist.setColumn(e.row, "deptaprvpsnid", "");
- ds_main_grid_rfehemhtlist.setColumn(e.row, "deptaprvpsnnm", "");
- }
- fupdateCheckSave();
- }
- }
- /****************************************************************************************
- * Components : Button
- * Description : 조회
- ****************************************************************************************/
- function grp_biz_grp_search_btn_search_onclick(obj:Button, e:ClickEventInfo) {
- if(!frmf_isRequiredControls("grp_biz.grp_search.cmb_instcd")) return;
- if(!frmf_isRequiredControls("grp_biz.grp_search.ipt_reqdd1")) return;
- if(!frmf_isRequiredControls("grp_biz.grp_search.ipt_reqdd2")) return;
- // if(!frmf_isRequiredControls("otp_reqdeptcd")) return;
- ds_send_rpirsrch.setColumn( 0, "installplcecd", ds_send_goodsrch.getColumn(0, "installplcecd"));
- var success = submitFunc("TRRFE00401");
-
- if( utlf_isNull(ds_main_grid_rfehemhtlist.getColumnInfo("choice")) ){
- ds_main_grid_rfehemhtlist.addColumn("choice", "string");
- }
-
- ds_main_grid_rfehemhtlist.enableevent = false;
- ds_main_grid_rfehemhtlist.updatecontrol = false;
-
- dsf_setDefaultVal(ds_main_grid_rfehemhtlist, "choice:N");
-
- ds_main_grid_rfehemhtlist.updatecontrol = true;
- ds_main_grid_rfehemhtlist.enableevent = true;
-
- if(success) {
- ds_main_grid_rfehemhtlist.rowposition = -1;
-
- frmf_inputEnterKey("grp_biz.rdo_view", "onitemchanged", new ItemChangeEventInfo);
- fgridClickEvent();
- fcomboValueCheck();
- fdeptGrantYN();
- }
- }
- /****************************************************************************************
- * Components : Button
- * Description : 의뢰자 조회
- ****************************************************************************************/
- function grp_biz_grp_search_btn_userSearch_onclick(obj:Button, e:ClickEventInfo) {
- misfOpenPopUpList("12", grp_biz.grp_search.ipt_reqpsnids, "", "reqpsnid,reqpsnnm");
- }
- /****************************************************************************************
- * Components : Combo
- * Description : 자산구분 변경
- ****************************************************************************************/
- function grp_biz_grp_search_cmb_fixtrseqmtflag_onitemchanged(obj:Combo, e:ItemChangeEventInfo) {
- grp_biz.grp_search.btn_search.click();
- }
- /****************************************************************************************
- * Components : Button
- * Description : 의뢰부서 조회
- ****************************************************************************************/
- function grp_biz_grp_search_btn_dept_onclick(obj:Button, e:ClickEventInfo) {
- misfOpenPopUpList("02", grp_biz.grp_search.opt_reqdeptcd, "", "reqdeptcd,reqdeptnm");
- }
- /****************************************************************************************
- * Components : Combo
- * Description : 기관코드 변경
- ****************************************************************************************/
- function grp_biz_grp_search_cmb_instcd_onitemchanged(obj:Combo, e:ItemChangeEventInfo) {
- grp_biz.grp_search.btn_search.click();
- }
- /****************************************************************************************
- * Components : Button
- * Description : 설치장소 조회
- ****************************************************************************************/
- function grp_biz_grp_search_btn_installplce_onclick(obj:Button, e:ClickEventInfo) {
- misfOpenPopUpList("19", grp_biz.grp_search.ipt_installplcecd,"", "installplcecd,installplcenm", ds_send_rpirsrch.getColumn(0, "instcd"),"instcd");
- }
- /****************************************************************************************
- * Components : Button
- * Description : 자산리스트 출력
- ****************************************************************************************/
- function grp_biz_grp_goodsearch_button4_onclick(obj:Button, e:ClickEventInfo) {
- var objDOM = rptf_createDOM();
- var objParam = new Object();
- rptf_setNodeListToDOM(objDOM, "/root/main/grid/rfcmfacdlist" , ds_main_grid_rfcmfacdlist);
- objParam.xml_data_XML1 = objDOM.documentElement.source;
- var option = "open=1;save=1;directprint=0;printdialog=1;print=1;zoom=0";
- rptf_exeReportPreview30(["RPRSE01504"],[objParam], option);
- }
- /****************************************************************************************
- * Components : Button
- * Description : 보유자산 엑셀저장
- ****************************************************************************************/
- function grp_biz_grp_goodsearch_button1_onclick(obj:Button, e:ClickEventInfo) {
- misfSaveExcel(grp_biz.grp_goodsearch.grd_rfcmfacdlist, "보유자산List");
- }
- /****************************************************************************************
- * Components : Grid
- * Description : 보유자산 선택
- ****************************************************************************************/
- function grp_biz_grp_goodsearch_grd_rfcmfacdlist_oncelldblclick(obj:Grid, e:GridClickEventInfo) {
- if(e.row > -1)
- {
- grp_biz.btn_insert.click();
- grp_biz.grp_detail.ipt_reqtel.setFocus();
- }
- }
- /****************************************************************************************
- * Components : Button
- * Description : 보유자산 조회
- ****************************************************************************************/
- function grp_biz_grp_goodsearch_btn_goodsearch_onclick(obj:Button, e:ClickEventInfo) {
- ds_send_goodsrch.setColumn( 0, "instcd", utlf_transNullToEmpty(grp_biz.grp_search.cmb_instcd.value));
- ds_send_goodsrch.setColumn( 0, "mngtdeptcd", utlf_transNullToEmpty(grp_biz.grp_search.opt_reqdeptcd.value));
- ds_send_goodsrch.setColumn( 0, "installplcecd", utlf_transNullToEmpty(grp_biz.grp_search.ipt_installplcecd.value));
- var success = submitFunc("TRRSE01504");
-
- ds_main_grid_rfcmfacdlist.selectRow(0);
-
- if(success){
- frmf_inputEnterKey("grp_biz.rdo_view", "onitemchanged", new ItemChangeEventInfo);
- }
- }
- /****************************************************************************************
- * Components : Button
- * Description : 의뢰내역 행삭제
- ****************************************************************************************/
- function grp_biz_btn_delete_onclick(obj:Button, e:ClickEventInfo) {
- if(fmoveCheck() != false)
- {
- misfGridIUD(grp_biz.grd_rfehemhtlist, "D");
- fmoveCheck();
-
- if(ds_main_grid_rfehemhtlist.rowcount == 0)
- {
- fInitialize();
- grp_biz.grp_search.btn_search.click();
- }
- }
- }
- /****************************************************************************************
- * Components : Button
- * Description : 의뢰내역 엑셀저장
- ****************************************************************************************/
- function grp_biz_btn_excel_onclick(obj:Button, e:ClickEventInfo) {
- misfSaveExcel(grp_biz.grd_rfehemhtlist, "의뢰내역List");
- }
- /****************************************************************************************
- * Components : Button
- * Description : 의뢰내역 행추가
- ****************************************************************************************/
- function grp_biz_btn_insert_onclick(obj:Button, e:ClickEventInfo) {
- if(ds_main_grid_rfcmfacdlist.rowcount <= 0) {
- sysf_messageBox("수리 신청 할 자산을 조회하여 선택하십시오.", "E");
- return;
- } else if (ds_main_grid_rfcmfacdlist.rowposition < 0) {
- sysf_messageBox("수리 신청 할 자산을 선택하십시오.", "E");
- return;
- }
-
- var statusCount = 0;
- for(var fRow = 0; fRow < ds_main_grid_rfehemhtlist.rowcount; fRow++)
- {
- if(ds_main_grid_rfehemhtlist.getRowType(fRow) == 2)
- {
- statusCount++;
- }
- }
-
- if(statusCount < 1)
- {
- misfGridIUD(grp_biz.grd_rfehemhtlist, "A");
- var insertRow = ds_main_grid_rfehemhtlist.rowposition;
- var currentRow = ds_main_grid_rfcmfacdlist.rowposition;
-
- var fixasetcd = utlf_transNullToEmpty(ds_main_grid_rfcmfacdlist.getColumn(currentRow, "fixasetcd"));
- var lrgcd = fixasetcd.substr(2,2);
- var mdlcd = fixasetcd.substr(4,2);
- var smlcd = fixasetcd.substr(6,2);
-
- ds_main_grid_rfehemhtlist.setColumn(insertRow, "fixasetcd", ds_main_grid_rfcmfacdlist.getColumn(currentRow, "fixasetcd"));
- ds_main_grid_rfehemhtlist.setColumn(insertRow, "instcd", ds_main_grid_rfcmfacdlist.getColumn(currentRow, "instcd"));
- ds_main_grid_rfehemhtlist.setColumn(insertRow, "fixtrseqmtflag", ds_main_grid_rfcmfacdlist.getColumn(currentRow, "goodflag"));
- ds_main_grid_rfehemhtlist.setColumn(insertRow, "fixasetnm", ds_main_grid_rfcmfacdlist.getColumn(currentRow, "fixasetnm"));
- ds_main_grid_rfehemhtlist.setColumn(insertRow, "goodspec", ds_main_grid_rfcmfacdlist.getColumn(currentRow, "goodspec"));
- ds_main_grid_rfehemhtlist.setColumn(insertRow, "goodmodel", ds_main_grid_rfcmfacdlist.getColumn(currentRow, "goodmodel"));
- ds_main_grid_rfehemhtlist.setColumn(insertRow, "possndd", ds_main_grid_rfcmfacdlist.getColumn(currentRow, "possndd"));
- ds_main_grid_rfehemhtlist.setColumn(insertRow, "possnamt", ds_main_grid_rfcmfacdlist.getColumn(currentRow, "possnamt"));
-
- // 의뢰일자 설정
- ds_main_grid_rfehemhtlist.setColumn(insertRow, "reqdd", utlf_getCurrentDate().substr(0, 8));
- ds_main_grid_rfehemhtlist.setColumn(insertRow, "genrdd", utlf_getCurrentDate().substr(0, 8));
- // 일자별 의뢰 순번 설정
- //ds_main_grid_rfehemhtlist.setColumn(insertRow, "reqno", fmaxreqno(grp_biz.grd_rfehemhtlist);
- // 부서코드 설정
- ds_main_grid_rfehemhtlist.setColumn(insertRow, "reqdeptcd", sysf_getUserInfo("dutplcecd"));
- // 부서코드명 설정
- ds_main_grid_rfehemhtlist.setColumn(insertRow, "depthngnm", sysf_getUserInfo("dutplcenm"));
- // User ID 설정
- ds_main_grid_rfehemhtlist.setColumn(insertRow, "reqpsnid", sysf_getUserInfo("userid"));
- // User Name 설정
- ds_main_grid_rfehemhtlist.setColumn(insertRow, "reqpsnnm", sysf_getUserInfo("usernm"));
- // 수리 진행 상태 설정 (수리 의뢰)
- ds_main_grid_rfehemhtlist.setColumn(insertRow, "workstat", "01");
- // 접수구분 ( '1': 수리 , '2' 예방)
- ds_main_grid_rfehemhtlist.setColumn(insertRow, "acptflag", "1");
- ds_main_grid_rfehemhtlist.setColumn(insertRow, "deptaprvreqyn", "N");
- if(ds_main_grid_rfehemhtlist.getColumn(insertRow, "fixtrseqmtflag") == "EQ")
- {
- ds_main_grid_rfehemhtlist.setColumn(insertRow, "execdept", "4090500000");
- }else{
- var instcd = sysf_getUserInfo("dutplceinstcd");
- if( instcd == "032"){
- if(lrgcd == "19" && mdlcd == "09" && smlcd == "06"){
- ds_main_grid_rfehemhtlist.setColumn(insertRow, "execdept", "4060100000");
- sysf_messageBox("선택하신 자산코드의 담당부서는 시설과", "I009");
- }else{
- ds_main_grid_rfehemhtlist.setColumn(insertRow, "execdept", "4020334000");
- }
- }else{
- ds_main_grid_rfehemhtlist.setColumn(insertRow, "execdept", "4020334000");
- }
- }
-
- grp_biz.ipt_rowtemp.value = insertRow;
-
- fgridClickEvent("N"); // 행추가시 필요 없는 submission이 발생하여 우선은 제어를 위해 "N" 셋팅시 submission pass
-
- fcontrolEnableYN(true);
- fdeptGrantYN(); //-> 청구 권한 체크
- }else{
- sysf_messageBox("신규 수리청구는 한번에 다건을", "E001", "저장 후 추가 하십시오.");
- }
- }
- /****************************************************************************************
- * Components : Radio
- * Description : 규격 모델 설정
- ****************************************************************************************/
- function grp_biz_rdo_view_onitemchanged(obj:Radio, e:ItemChangeEventInfo) {
- var modelView = true;
- var specView = true;
- if(ds_init.getColumn(0, "viewOption") == "spec") {
- specView = false;
- } else {
- modelView = false;
- }
- // grp_biz.grd_rfehemhtlist.colHidden(grp_biz.grd_rfehemhtlist.colRef("goodspec")) = specView;
- // grp_biz.grd_rfehemhtlist.colHidden(grp_biz.grd_rfehemhtlist.colRef("goodmodel")) = modelView;
- // grp_biz.grp_goodsearch.grd_rfcmfacdlist.colHidden(grp_biz.grp_goodsearch.grd_rfcmfacdlist.colRef("goodspec")) = specView;
- // grp_biz.grp_goodsearch.grd_rfcmfacdlist.colHidden(grp_biz.grp_goodsearch.grd_rfcmfacdlist.colRef("goodmodel")) = modelView;
- if( specView ){
- grp_biz.grd_rfehemhtlist.setFormatColProperty(22, "size", 0);
- grp_biz.grp_goodsearch.grd_rfcmfacdlist.setFormatColProperty(grp_biz.grp_goodsearch.grd_rfcmfacdlist.getBindCellIndex("body", "goodspec"), "size", 0);
- }else{
- grp_biz.grd_rfehemhtlist.setFormatColProperty(22, "size", 100);
- grp_biz.grp_goodsearch.grd_rfcmfacdlist.setFormatColProperty(grp_biz.grp_goodsearch.grd_rfcmfacdlist.getBindCellIndex("body", "goodspec"), "size", 90);
- }
- if( modelView ){
- grp_biz.grd_rfehemhtlist.setFormatColProperty(23, "size", 0);
- grp_biz.grp_goodsearch.grd_rfcmfacdlist.setFormatColProperty(grp_biz.grp_goodsearch.grd_rfcmfacdlist.getBindCellIndex("body", "goodmodel"), "size", 0);
- }else{
- grp_biz.grd_rfehemhtlist.setFormatColProperty(23, "size", 100);
- grp_biz.grp_goodsearch.grd_rfcmfacdlist.setFormatColProperty(grp_biz.grp_goodsearch.grd_rfcmfacdlist.getBindCellIndex("body", "goodmodel"), "size", 90);
- }
- // misfColHidden(grp_biz.grd_rfehemhtlist, "goodspec", specView);
- // misfColHidden(grp_biz.grd_rfehemhtlist, "goodmodel", modelView);
- // misfColHidden(grp_biz.grp_goodsearch.grd_rfcmfacdlist, "goodspec", specView);
- // misfColHidden(grp_biz.grp_goodsearch.grd_rfcmfacdlist, "goodmodel", modelView);
- }
- /****************************************************************************************
- * Components : Button
- * Description : 확대보기
- ****************************************************************************************/
- function grp_biz_btn_grdsize_onclick(obj:Button, e:ClickEventInfo) {
- if( obj.text == "펼치기"){
- obj.text = "줄이기";
- grp_biz.grd_rfehemhtlist.position.right = grp_biz.position.right;
- }
- else {
- obj.text = "펼치기";
- grp_biz.grd_rfehemhtlist.position.right = grp_biz.line2.position.right;
- }
- }
- /****************************************************************************************
- * Components : Button
- * Description : 출력
- ****************************************************************************************/
- function group4_btn_prnt_onclick(obj:Button, e:ClickEventInfo) {
- ds_main_printdata_data.clear();
- dsf_copyColInfo(ds_main_printdata_data, ds_main_grid_rfehemhtlist);
- ds_main_printdata_data.copyRow(ds_main_printdata_data.addRow(), ds_main_grid_rfehemhtlist, ds_main_grid_rfehemhtlist.rowposition);
- dsf_makeValue(ds_main_printdata_data, "instnm", "string", grp_biz.grp_search.cmb_instcd.text);
-
- var objDOM = rptf_createDOM();
- var objParam = new Object();
- rptf_setNodeListToDOM(objDOM, "/root/main/printdata/data" , ds_main_printdata_data);
- objParam.xml_data_XML1 = objDOM.documentElement.source;
- var option = "open=1;save=1;directprint=0;printdialog=1;print=1;zoom=0";
- rptf_exeReportPreview30(["RPRFE00401"],[objParam], option);
- }
- /****************************************************************************************
- * Components : Button
- * Description : 초기화
- ****************************************************************************************/
- function group4_btn_init_onclick(obj:Button, e:ClickEventInfo) {
- fInitialize();
- }
- /****************************************************************************************
- * Components : Button
- * Description : 저장
- ****************************************************************************************/
- function group4_btn_save_onclick(obj:Button, e:ClickEventInfo) {
- if(sysf_messageBox("", "Q002") == "6")
- {
- if(fupdateCheckSave()) grp_biz.grp_search.btn_search.click();
- }
- }
- /****************************************************************************************
- * Components : Button
- * Description : 예방점검상세조회
- ****************************************************************************************/
- function group4_button2_onclick(obj:Button, e:ClickEventInfo) {
- frmf_setParameter("paraminstcd" , ds_main_grid_rfehemhtlist.getColumn(ds_main_grid_rfehemhtlist.rowposition, "instcd"));
- frmf_setParameter("paramreqdeptcd" , ds_main_grid_rfehemhtlist.getColumn(ds_main_grid_rfehemhtlist.rowposition, "reqdeptcd"));
- frmf_setParameter("paramreqdeptnm" , ds_main_grid_rfehemhtlist.getColumn(ds_main_grid_rfehemhtlist.rowposition, "depthngnm"));
- frmf_setParameter("paramreqdd" , ds_main_grid_rfehemhtlist.getColumn(ds_main_grid_rfehemhtlist.rowposition, "reqdd"));
- frmf_setParameter("paramfixasetcd" , ds_main_grid_rfehemhtlist.getColumn(ds_main_grid_rfehemhtlist.rowposition, "fixasetcd"));
- frmf_modal("SMRFE02100","SMRFE02100","","","","","","","","","","","M");
- }
- /****************************************************************************************
- * Components : Button
- * Description : 점검리스트 출력
- ****************************************************************************************/
- function group4_button3_onclick(obj:Button, e:ClickEventInfo) {
- frmf_modal("SPRFE01100","SPRFE01100","","","","","","","","","","","M");
- }
- /****************************************************************************************
- * Components : Button
- * Description : 바코드 출력
- ****************************************************************************************/
- function btn_barcodeprt_onclick(obj:Button, e:ClickEventInfo) {
- ds_main_grid_rfehemhtlist.filter("choice=='Y'");
- dsf_createDs("ds_node");
- ds_node.copyData(ds_main_grid_rfehemhtlist, true);
- ds_main_grid_rfehemhtlist.filter("");
-
- if (ds_node.rowcount == 0) {
- sysf_messageBox("선택 된 자산이","I004");
- return false;
- }
-
- ds_temp_rfehemhtlist.clear();
- dsf_copyColInfo(ds_temp_rfehemhtlist, ds_node);
-
- ds_temp_rfehemhtlist.enableevent = false;
- ds_temp_rfehemhtlist.updatecontrol = false;
-
- for (var i = 0; i < ds_node.rowcount; i++) {
- //var selectItem = node.item(i);
-
- var nRow = ds_temp_rfehemhtlist.addRow();
- ds_temp_rfehemhtlist.setColumn(nRow, "fixasetcd", ds_node.getColumn(i, "fixasetcd"));
- ds_temp_rfehemhtlist.setColumn(nRow, "fixasetnm", ds_node.getColumn(i, "fixasetnm"));
- ds_temp_rfehemhtlist.setColumn(nRow, "execdeptnm", ds_node.getColumn(i, "execdeptnm"));
- ds_temp_rfehemhtlist.setColumn(nRow, "reqdd", ds_node.getColumn(i, "reqdd"));
- ds_temp_rfehemhtlist.setColumn(nRow, "reqno" , ds_node.getColumn(i, "reqno"));
- ds_temp_rfehemhtlist.setColumn(nRow, "reqpsnnm" , ds_node.getColumn(i, "reqpsnnm"));
- }
-
- ds_temp_rfehemhtlist.updatecontrol = true;
- ds_temp_rfehemhtlist.enableevent = true;
- var objDOM = rptf_createDOM();
- var objParam = new Object();
- rptf_setNodeListToDOM(objDOM, "/root/temp/rfehemhtlist" , ds_temp_rfehemhtlist);
- objParam.xml_data_XML1 = objDOM.documentElement.source;
- var option = "open=1;save=1;directprint=1;printdialog=1;print=1;zoom=0";
- rptf_exeReportPreview30(["RPRFE01103"],[objParam], option);
- }
- /****************************************************************************************
- * Components : Edit
- * Description : 의뢰자 조회
- ****************************************************************************************/
- function grp_biz_grp_search_ipt_onkeydown(obj:Edit, e:KeyEventInfo)
- {
- if(e.keycode == 13) obj.updateToDataset();
- }
- /****************************************************************************************
- * Components : Dataset
- * Description : 조회조건 관련
- ****************************************************************************************/
- function ds_send_rpirsrch_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
- {
- if(e.columnid == "reqpsnid") {
- var objFocus = this.getFocus();
-
- if(utlf_isNull(grp_biz.grp_search.ipt_reqpsnids.value)){
- grp_biz.grp_search.ipt_reqpsnnms.value = "";
- }else{
- grp_biz.grp_search.ipt_reqpsnids.setFocus();
- misfValidationCheck("01-1", "", "reqpsnid,reqpsnnm");
- }
-
- objFocus.setFocus();
- }
- if(e.columnid == "reqdeptcd") {
- var objFocus = this.getFocus();
- grp_biz.grp_search.opt_reqdeptcd.setFocus();
- misfSearchDept(grp_biz.grp_search.opt_reqdeptnm);
- objFocus.setFocus();
- }
- }
- function ds_send_goodsrch_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
- {
- if(e.columnid == "reqdeptcd") {
- misfSearchDept(grp_biz.grp_search.opt_reqdeptnm);
- }else if(e.columnid == "installplcecd") {
- var objFocus = this.getFocus();
- grp_biz.grp_search.ipt_installplcecd.value = e.newvalue;
- grp_biz.grp_search.ipt_installplcecd.setFocus();
-
- if(utlf_isNull(grp_biz.grp_search.ipt_installplcecd.value))
- grp_biz.grp_search.opt_installplcenm.value = "";
- else
- rszfValidationCheck("TRRAC90701", "custlist", "refcond,retrnm",
- "deptcd," + grp_biz.grp_search.ipt_installplcecd.value, "", "installplcecd,installplcenm",
- grp_biz.grp_search.ipt_installplcecd, "PPRAC00700", "","");
-
- objFocus.setFocus();
- }
- }
- function grp_biz_grp_search_chk_includesubdept_onclick(obj:CheckBox, e:ClickEventInfo)
- {
- if(obj.value == false) ds_send_rpirsrch.setColumn(0,"includesubdept", "");
- }
- function grp_biz_grd_rfehemhtlist_onselectchanged(obj:Grid, e:GridSelectEventInfo)
- {
- fmoveCheck();
- }
- /****************************************************************************************
- * Components : Edit
- * Description : 보유자산 조회 조건입력
- ****************************************************************************************/
- function grp_biz_grp_goodsearch_Edit_onkeydown(obj:Edit, e:KeyEventInfo)
- {
- if(e.keycode == 13) {
- obj.updateToDataset();
- grp_biz.grp_goodsearch.btn_goodsearch.click();
- }
- }
- /****************************************************************************************
- * Components : Radio
- * Description : 담당부서 변경
- ****************************************************************************************/
- function grp_biz_grp_detail_rdo_execdept_onkillfocus(obj:Radio, e:KillFocusEventInfo)
- {
- var pgrid_name = grp_biz.grd_rfehemhtlist;
- var ptarget_node = "ds_temp_rfehemhtlist";
- var psource_node = "ds_main_grid_rfehemhtlist";
- var cRow = grp_biz.ipt_rowtemp.value;
- // var node1 = instance1.selectNodes(ptarget_node + "/*");
- // var node2 = instance1.selectNodes(psource_node + "/*");
- var update_yn = "N";
- if (eval(ptarget_node).getColumn(0, "execdept") != eval(psource_node).getColumn(0,"execdept")) {
- update_yn = "Y";
- }
- if (eval(pgrid_name.binddataset).getRowType(eval(pgrid_name.binddataset).rowposition) == 1 && update_yn == "Y") {
- eval(psource_node).copyRow(cRow, eval(ptarget_node), eval(ptarget_node).rowposition);
- }
- else if ((eval(pgrid_name.binddataset).getRowType(eval(pgrid_name.binddataset).rowposition) == 1
- || eval(pgrid_name.binddataset).getRowType(eval(pgrid_name.binddataset).rowposition) == 4) && update_yn == "Y") {
- eval(psource_node).copyRow(cRow, eval(ptarget_node), eval(ptarget_node).rowposition);
- grdf_setStatus(pgrid_name, "U", [pgrid_name.currentrow]);
- }
-
- grp_biz.grd_rfehemhtlist.setFocus();
- }
- function grp_biz_grp_detail_Edit_onkeydown(obj:Edit, e:KeyEventInfo)
- {
- if(e.keycode == 13) obj.updateToDataset();
- }
- function ds_temp_rfehemhtlist_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
- {
- if(e.columnid == "reqdeptcd") {
- var objFocus = this.getFocus();
- grp_biz.grp_detail.ipt_reqdeptcd.setFocus();
- misfSearchDept(grp_biz.grp_detail.ipt_depthngnm);
- objFocus.setFocus();
- }
- if(e.columnid == "reqpsnid") {
- var objFocus = this.getFocus();
-
- if(utlf_isNull(grp_biz.grp_detail.ipt_reqpsnid.value)){
- grp_biz.grp_detail.ipt_reqpsnnm.value = "";
- }else{
- grp_biz.grp_detail.ipt_reqpsnid.setFocus();
- misfValidationCheck("01-1", "", "reqpsnid,reqpsnnm");
- }
-
- objFocus.setFocus();
- }
-
- if(utlf_isNull(grp_biz.ipt_rowtemp.value))return;
- var nGridIdx = grp_biz.ipt_rowtemp.value;
- var pgrid_name = ds_main_grid_rfehemhtlist;
- var ptarget_node = ds_temp_rfehemhtlist;
- var psource_node = ds_main_grid_rfehemhtlist;//ipt_rowtemp
-
- var node1 = ds_temp_rfehemhtlist;
- var node2 = ds_main_grid_rfehemhtlist;//ipt_rowtemp
-
- var update_yn = "N";
-
- for( var i=0 ; i<ds_main_grid_rfehemhtlist.getColCount() ; i++ ){
- var sColNm = ds_main_grid_rfehemhtlist.getColID(i);
-
- if( !utlf_isNull(ds_temp_rfehemhtlist.getColumnInfo(sColNm)) ){
- if( ds_main_grid_rfehemhtlist.getColumn(nGridIdx, sColNm) != ds_temp_rfehemhtlist.getColumn(0, sColNm) ){
- update_yn = "Y";
- break;
- }
- }
- }
-
- if (ds_main_grid_rfehemhtlist.getRowType(ds_main_grid_rfehemhtlist.rowposition) == 2 && update_yn == "Y") {
- ds_main_grid_rfehemhtlist.copyRow(nGridIdx, ds_temp_rfehemhtlist, 0);
- }
- 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") {
- ds_main_grid_rfehemhtlist.copyRow(nGridIdx, ds_temp_rfehemhtlist, 0);
-
- ds_main_grid_rfehemhtlist.enableevent = false;
- ds_main_grid_rfehemhtlist.updatecontrol = false;
-
- ds_main_grid_rfehemhtlist.setRowType(nGridIdx, 4);
-
- ds_main_grid_rfehemhtlist.updatecontrol = true;
- ds_main_grid_rfehemhtlist.enableevent = true;
- }
- }
- function grp_biz_grp_detail_rdo_deptaprvreqyn_onitemchanged(obj:Radio, e:ItemChangeEventInfo)
- {
- fdeptGrantYN();
- }
- function grp_biz_grp_detail_che_acptpsncnfm_onclick(obj:CheckBox, e:ClickEventInfo)
- {
- if(obj.value == false) ds_temp_rfehemhtlist.setColumn(0,"acptpsncnfm", "");
- facptCheck();
- }
- function ds_main_grid_rfehemhtlist_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
- {
- switch( e.columnid ){
- case "choice" :
- if( e.newvalue == "Y" || e.newvalue == "1" ){
- obj.setColumn(e.row, e.columnid, "Y");
- }else{
- obj.setColumn(e.row, e.columnid, "N");
- }
- break;
-
- case "deptaprvyn" :
- if( e.newvalue == "Y" || e.newvalue == "1" ){
- obj.setColumn(e.row, e.columnid, "Y");
- }else{
- obj.setColumn(e.row, e.columnid, "N");
- }
- break;
-
- default :
- break;
-
- }
- }
- function grp_biz_grd_rfehemhtlist_onheadclick(obj:Grid, e:GridClickEventInfo)
- {
- if( e.col == 1 && obj.getCellProperty("Head", 1, "expr") == "0" ){
- obj.setCellProperty("Head", 1, "expr", "1");
-
- ds_main_grid_rfehemhtlist.enableevent = false;
- ds_main_grid_rfehemhtlist.updatecontrol = false;
-
- for( var i=0 ; i<ds_main_grid_rfehemhtlist.rowcount ; i++ ){
- ds_main_grid_rfehemhtlist.setColumn(i, "choice", "Y");
- }
-
- ds_main_grid_rfehemhtlist.updatecontrol = true;
- ds_main_grid_rfehemhtlist.enableevent = true;
- }else if( e.col == 1 && obj.getCellProperty("Head", 1, "expr") == "1" ){
- obj.setCellProperty("Head", 1, "expr", "0");
-
- ds_main_grid_rfehemhtlist.enableevent = false;
- ds_main_grid_rfehemhtlist.updatecontrol = false;
-
- for( var i=0 ; i<ds_main_grid_rfehemhtlist.rowcount ; i++ ){
- ds_main_grid_rfehemhtlist.setColumn(i, "choice", "N");
- }
-
- ds_main_grid_rfehemhtlist.updatecontrol = true;
- ds_main_grid_rfehemhtlist.enableevent = true;
- }else{
- grdf_gridSort(obj, e);
- }
- }
- function grp_biz_grp_detail_rdo_execdept_onitemchanged(obj:Radio, e:ItemChangeEventInfo)
- {
- var dept = ds_temp_rfehemhtlist.getColumn(0, "execdept");
- var instcd= sysf_getUserInfo("dutplceinstcd");
- if(dept == "4060100000" && instcd == "031"){
- sysf_messageBox("본원에선 시설과를 담당부서로 선택할 수" , "I004");
- ds_temp_rfehemhtlist.setColumn(0, "execdept","");
- return;
- }
- }
- function group4_btn_help_onclick(obj:Button, e:ClickEventInfo)
- {
- if(utlf_isNull(group4.ipt_count.value)){
- group4.ipt_count.value = 0;
- }
- group4.ipt_count.value = group4.ipt_count.value + 1;
- frmf_modal("SMRFE01110","SMRFE01110","","","","","","","","","","","M");
- }
- ]]></Script>
- </Form>
- </FDL>
|