SMRFE01000_수리상세등록(통합).xfdl 181 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMRFE01000" position="absolute 0 0 1201 785" titletext="수리 상세 등록" oninit="SMRFE01000_oninit" onload="SMRFE01000_onload">
  5. <Layouts>
  6. <Layout>
  7. <Static id="caption6" text="수리상세등록" class="tit_1" position="absolute 0 0 111 25"/>
  8. <Shape id="line1" class="line_6" position="absolute 0 48 1195 54"/>
  9. <Button id="btn_print" taborder="1" text="출력" class="btn6" position="absolute 0 26 56 48" onclick="btn_print_onclick"/>
  10. <Button id="btn_print2" taborder="2" text="수리이력 출력" class="btn6" visible="false" position="absolute 60 26 164 48" onclick="btn_print2_onclick"/>
  11. <Button id="button5" taborder="3" text="전자결재" class="btn6" visible="false" position="absolute 165 26 245 48" onclick="button5_onclick"/>
  12. <Button id="btn_send" taborder="4" text="결제전송" class="btn4" enable="false" visible="false" position="absolute 980 26 1060 48" onclick="btn_send_onclick"/>
  13. <Button id="btn_init" taborder="5" text="초기화" class="btn4" position="absolute 1126 27 1194 49" onclick="btn_init_onclick"/>
  14. <Button id="btn_save" taborder="6" text="저장" class="btn4" enable="false" position="absolute 1065 26 1121 48" onclick="btn_save_onclick"/>
  15. <Grid id="grd_rfehdabplist" taborder="9" binddataset="ds_main_grid_rfehdabplist" useinputpanel="false" position="absolute 0 645 1195 778" autoenter="select" cellsizingtype="col" onexpanddown="grd_rfehdabplist_onexpanddown">
  16. <Formats>
  17. <Format id="default">
  18. <Columns>
  19. <Column size="18" band="left"/>
  20. <Column size="56"/>
  21. <Column size="43"/>
  22. <Column size="87"/>
  23. <Column size="0"/>
  24. <Column size="0"/>
  25. <Column size="85"/>
  26. <Column size="136"/>
  27. <Column size="268"/>
  28. <Column size="166"/>
  29. <Column size="70"/>
  30. <Column size="60"/>
  31. <Column size="101"/>
  32. <Column size="100"/>
  33. <Column size="0"/>
  34. <Column size="0"/>
  35. <Column size="0"/>
  36. <Column size="0"/>
  37. <Column size="0"/>
  38. <Column size="0"/>
  39. <Column size="0"/>
  40. <Column size="0"/>
  41. <Column size="0"/>
  42. <Column size="0"/>
  43. </Columns>
  44. <Rows>
  45. <Row size="24" band="head"/>
  46. <Row size="24"/>
  47. </Rows>
  48. <Band id="head">
  49. <Cell/>
  50. <Cell col="1" text="출고여부"/>
  51. <Cell col="2" text="순번"/>
  52. <Cell col="3" text="수리일자"/>
  53. <Cell col="4" text="지급형태"/>
  54. <Cell col="5" text="유형"/>
  55. <Cell col="6" text="비용구분"/>
  56. <Cell col="7" text="부품코드"/>
  57. <Cell col="8" text="부품명"/>
  58. <Cell col="9" text="규격"/>
  59. <Cell col="10" text="부품수량"/>
  60. <Cell col="11" text="단위"/>
  61. <Cell col="12" text="부품단가"/>
  62. <Cell col="13" text="금액"/>
  63. <Cell col="14" text="caption1"/>
  64. <Cell col="15" text="전수리일자"/>
  65. <Cell col="16"/>
  66. <Cell col="17"/>
  67. <Cell col="18"/>
  68. <Cell col="19"/>
  69. <Cell col="20"/>
  70. <Cell col="21"/>
  71. <Cell col="22"/>
  72. <Cell col="23"/>
  73. </Band>
  74. <Band id="body">
  75. <Cell celltype="head"/>
  76. <Cell col="1" displaytype="checkbox" edittype="checkbox" text="bind:deliveyn" expr="expr:deliveyn == 'Y' || deliveyn == '1' ? 1 : 0"/>
  77. <Cell col="2" class="input_essential" text="bind:rpirseq" enable="false"/>
  78. <Cell col="3" displaytype="date" class="input_essential" text="bind:rpirdd" calendardisplaynulltype="nulltext"/>
  79. <Cell col="4" displaytype="combo" edittype="combo" text="bind:paytype"/>
  80. <Cell col="5" displaytype="combo" edittype="combo" text="bind:kind"/>
  81. <Cell col="6" displaytype="combo" edittype="combo" text="bind:costflag" enable="true"/>
  82. <Cell col="7" displaytype="text" edittype="text" text="bind:acsrscd" expandshow="show" enable="false"/>
  83. <Cell col="8" edittype="none" style="align:left middle;padding:0 0 0 3;" text="bind:acsrsnm"/>
  84. <Cell col="9" edittype="none" style="align:left middle;padding:0 0 0 3;" text="bind:acsrsspec"/>
  85. <Cell col="10" displaytype="number" edittype="text" text="bind:acsrsqty"/>
  86. <Cell col="11" displaytype="combo" edittype="combo" style="align:center middle;" text="bind:acsrsunit" enable="true"/>
  87. <Cell col="12" displaytype="number" edittype="none" text="bind:acsrsamt"/>
  88. <Cell col="13" displaytype="number" text="bind:acsrsmoney"/>
  89. <Cell col="14" text="bind:instcd"/>
  90. <Cell col="15" text="bind:fixtrseqmtflag"/>
  91. <Cell col="16" text="bind:reqdd"/>
  92. <Cell col="17" text="bind:reqno"/>
  93. <Cell col="18" text="bind:delivedd"/>
  94. <Cell col="19" text="bind:deliveno"/>
  95. <Cell col="20" text="bind:deliveseqno"/>
  96. <Cell col="21" displaytype="text" edittype="text" text="bind:acsrscd"/>
  97. <Cell col="22" text="bind:goodflag"/>
  98. <Cell col="23" text="bind:brpirdd"/>
  99. </Band>
  100. </Format>
  101. </Formats>
  102. </Grid>
  103. <Static id="caption37" text="의뢰일별 목록" class="tit_2" position="absolute 0 174 131 195"/>
  104. <Static id="caption38" text="수리일자별 목록" class="tit_2" position="absolute 940 174 1071 195"/>
  105. <Div id="group2" anchor="left top right" taborder="13" class="div_SA2" position="absolute 0 52 1195 152">
  106. <Layouts>
  107. <Layout>
  108. <Edit id="ipt_installplcenm" taborder="3" position="absolute 419 29 569 48" readonly="true" class="output"/>
  109. <Static id="cap_possndd" text="취득일자 :" class="search_name" position="absolute 15 53 105 70"/>
  110. <Edit id="ipt_installplcecd" taborder="4" enable="false" visible="false" position="absolute 995 30 1031 49" autoselect="true"/>
  111. <Static id="cap_mngtno" text="S / N :" class="search_name" position="absolute 690 30 774 47"/>
  112. <Edit id="ipt_fixasetcd" taborder="5" class="input_essential" position="absolute 419 5 544 24" autoselect="true" onkeydown="group2_ipt_fixasetcd_onkeydown"/>
  113. <Combo id="cmb_instcd" taborder="6" class="combo_essential" position="absolute 101 5 251 24" onitemchanged="group2_cmb_instcd_onitemchanged"/>
  114. <Static id="cap_possnamt" text="취득금액 :" class="search_name" position="absolute 333 54 483 71"/>
  115. <MaskEdit id="ipt_possnamt" taborder="7" mask="#,###" position="absolute 419 52 569 71" readonly="true" class="output"/>
  116. <Edit id="ipt_mngtno" taborder="8" position="absolute 775 29 925 48" readonly="true" class="output"/>
  117. <Static id="cap_prodcmpynm" text="공 급 처 :" class="search_name" position="absolute 690 52 778 69"/>
  118. <Edit id="ipt_goodspec" taborder="9" position="absolute 101 29 320 48" class="output" readonly="true"/>
  119. <Static id="cap_goodspec" text="규 격 :" class="search_name" position="absolute 15 29 105 46"/>
  120. <Edit id="ipt_goodflaghngnm" taborder="10" position="absolute 568 5 807 24" readonly="true" class="output"/>
  121. <Edit id="ipt_goodmodel" taborder="11" visible="false" position="absolute 1173 5 1189 24" readonly="true" class="output"/>
  122. <Static id="cap_goodmodel" text="모 델 명 :" class="search_name" visible="false" position="absolute 1087 6 1163 23"/>
  123. <MaskEdit id="ipt_possndd" taborder="12" mask="####-##-##" position="absolute 101 52 251 71" class="output" readonly="true" maskchar=" " type="string" trimtype="both" style="align:center middle;" displaynulltext=" "/>
  124. <Static id="cap_installplcecd" text="설치장소 :" class="search_name" position="absolute 333 30 425 47"/>
  125. <Static id="cap_instcd" text="기관코드 :" class="search_name" position="absolute 15 5 105 22"/>
  126. <Edit id="ipt_tempmngtdeptnm" taborder="13" position="absolute 101 75 251 94" class="output" readonly="true"/>
  127. <Edit id="ipt_prodcmpynm" taborder="14" visible="true" position="absolute 905 6 1084 25" class="output" readonly="true"/>
  128. <Static id="cap_fixasetcd" text="자산코드 :" class="search_name" position="absolute 333 5 419 22"/>
  129. <Edit id="ipt_fixtrseqmtflag" taborder="15" visible="false" position="absolute 970 30 990 49" autoselect="true"/>
  130. <Static id="cap_tempmngtdeptcd" text="관리부서 :" class="search_name" position="absolute 15 75 105 92"/>
  131. <Button id="btn_fixasetcd" taborder="16" class="icon_search" position="absolute 549 6 565 22" onclick="group2_btn_fixasetcd_onclick"/>
  132. <Combo id="cmb_reqflag" taborder="17" visible="false" position="absolute 950 30 970 49"/>
  133. <Edit id="ipt_suplplcenm" taborder="18" position="absolute 775 52 925 71" readonly="true" class="output"/>
  134. <Edit id="ipt_cntctel" taborder="19" position="absolute 930 52 1085 71" readonly="true" class="output"/>
  135. <Static id="caption3" text="제 조 사 :" class="search_name" visible="true" position="absolute 821 7 910 24"/>
  136. <Edit id="ipt_mngtdeptnm" taborder="20" position="absolute 419 75 569 94" readonly="true" class="output"/>
  137. <Static id="cap_mngtdeptnm" text="사용부서 :" class="search_name" position="absolute 333 77 423 94"/>
  138. <Static id="caption15" text="하자보증기간 :" class="search_name" position="absolute 688 75 813 92"/>
  139. <MaskEdit id="input1" taborder="21" mask="####-##-##" position="absolute 803 75 883 94" readonly="true" class="output" maskchar=" " type="string" trimtype="both" style="align:center middle;" displaynulltext=" "/>
  140. <MaskEdit id="input2" taborder="22" mask="####-##-##" position="absolute 903 75 983 94" readonly="true" class="output" maskchar=" " type="string" trimtype="both" style="align:center middle;" displaynulltext=" "/>
  141. <Static id="caption23" text="~" position="absolute 888 73 903 93"/>
  142. </Layout>
  143. </Layouts>
  144. </Div>
  145. <Shape id="line12" class="line_10" position="absolute 0 189 934 198"/>
  146. <Tab id="switch2" taborder="14" tabindex="0" class="tab_Normal" position="absolute 0 276 1195 630">
  147. <Tabpages>
  148. <Tabpage id="case1">
  149. <Layouts>
  150. <Layout width="1195" height="341">
  151. <Shape id="line26" class="line_2" position="absolute -1 300 1192 306"/>
  152. <TextArea id="txt_rpirspec" taborder="0" class="input_essential" position="absolute 740 257 1192 324" wordwrap="word" acceptstab="true" autoselect="true"/>
  153. <MaskEdit id="ipt_genrdd" taborder="1" mask="####-##-##" class="input_default" enable="false" position="absolute 287 26 357 45" maskchar=" " type="string" trimtype="both" style=":disabled {align:center middle;}" autoselect="true" displaynulltext=" "/>
  154. <Shape id="line19" class="line_2" position="absolute 5 70 1193 76"/>
  155. <Shape id="line18" class="line_2" position="absolute 0 46 1193 52"/>
  156. <Shape id="line17" class="line_10" position="absolute 0 20 1193 26"/>
  157. <Shape id="line27" linetype="horizontal" class="line_3" position="absolute 0 325 1193 331"/>
  158. <Shape id="line25" class="line_10" position="absolute 0 250 1193 256"/>
  159. <Shape id="line22" class="line_3" position="absolute 0 226 1193 232"/>
  160. <Shape id="line21" linetype="vertical" class="line_2" position="absolute 0 116 1193 122"/>
  161. <Shape id="line20" class="line_2" position="absolute 0 94 1193 100"/>
  162. <Static id="cap_reqdd" text="의뢰번호" class="cell_1" position="absolute 0 25 100 48"/>
  163. <TextArea id="txt_hdrncspec" taborder="2" enable="false" position="absolute 102 98 636 176" acceptstab="true" wordwrap="word"/>
  164. <Static id="cap_hdrncspec" text="의뢰내역" class="cell_1" position="absolute 0 98 100 175"/>
  165. <MaskEdit id="ipt_reqdd" taborder="3" mask="####-##-##" class="input_default" enable="false" position="absolute 102 26 172 45" maskchar=" " type="string" trimtype="both" style=":disabled {align:center middle;}" autoselect="true" displaynulltext=" "/>
  166. <Edit id="ipt_reqno" taborder="4" class="input_default" enable="false" position="absolute 174 26 214 45" autoselect="true"/>
  167. <TextArea id="txt_chrgpsncmt" taborder="5" enable="false" position="absolute 102 180 636 225" acceptstab="true" wordwrap="word"/>
  168. <Static id="cap_chrgpsncmt" text="결재&#13;&#10;COMMENT" class="cell_1" position="absolute 0 178 100 227"/>
  169. <Static id="cap_rpirspec" text="수리내역" class="cell_1" position="absolute 638 255 738 326"/>
  170. <Edit id="ipt_mainrpirpsnnm" taborder="6" position="absolute 216 281 382 300" class="output" readonly="true"/>
  171. <Edit id="ipt_mainrpirpsn" taborder="18" class="input_essential" position="absolute 102 281 192 300" autoselect="true" autoskip="true" onkeydown="switch2_case1_ipt_mainrpirpsn_onkeydown"/>
  172. <Edit id="ipt_supprpirpsn" taborder="7" class="input_default" position="absolute 102 305 192 324" autoselect="true" autoskip="true" onkeydown="switch2_case1_ipt_supprpirpsn_onkeydown"/>
  173. <TextArea id="txt_lastrpirrslt" taborder="8" position="absolute 740 120 1192 226" wordwrap="word" acceptstab="true" autoselect="true" style="background:#e2e2f5ff;"/>
  174. <Static id="cap_lastrpirrslt" text="최종수리결과" class="cell_1" position="absolute 638 121 738 225"/>
  175. <Static id="cap_rpirflag2" text="수리형태" class="cell_1" position="absolute 0 49 100 72"/>
  176. <Static id="cap_rpirdd" text="수리일자" class="cell_1" position="absolute 0 255 100 278"/>
  177. <Static id="cap_mainrpirpsn" text="주수리자" class="cell_1" position="absolute 0 279 100 302"/>
  178. <Static id="cap_supprpirpsn" text="보조수리자" class="cell_1" position="absolute 0 303 100 326"/>
  179. <Edit id="ipt_custnm" taborder="9" position="absolute 824 26 902 45" class="output" readonly="true"/>
  180. <Static id="cap_custcd" text="거래처" class="cell_1" position="absolute 685 25 750 48"/>
  181. <Edit id="ipt_custcd" taborder="10" class="input_default" position="absolute 753 26 807 45" autoselect="true" autoskip="true" onkeydown="switch2_case1_ipt_custcd_onkeydown"/>
  182. <Combo id="cmb_rpirflag2" taborder="11" class="input_default" position="absolute 102 50 215 69" onitemchanged="switch2_case1_cmb_rpirflag2_onitemchanged"/>
  183. <Button id="btn_mainrpirpsn" taborder="12" class="icon_search" position="absolute 196 283 212 299" onclick="switch2_case1_btn_mainrpirpsn_onclick"/>
  184. <Button id="btn_supprpirpsn" taborder="13" class="icon_search" position="absolute 196 307 212 323" onclick="switch2_case1_btn_supprpirpsn_onclick"/>
  185. <Static id="cap_workstat" text="수리상태" class="cell_1" position="absolute 1000 73 1065 96"/>
  186. <Combo id="cmb_workstat" taborder="14" class="input_default" enable="false" position="absolute 1068 75 1193 94"/>
  187. <Calendar id="ipt_rpirdd" taborder="15" class="input_essential" position="absolute 102 257 216 276" mask="yyyy-mm-dd" autoselect="true" autoskip="true" onchanged="switch2_case1_ipt_rpirdd_onchanged"/>
  188. <Edit id="ipt_supprpirpsnnm" taborder="16" position="absolute 216 305 382 324" class="output" readonly="true"/>
  189. <Static id="cap_rpirtm" text="작업시간" class="cell_1" position="absolute 218 255 288 278"/>
  190. <MaskEdit id="ipt_rpirtm" taborder="17" mask="##:##" class="input_default" position="absolute 290 257 382 276" autoselect="true" autoskip="true" maskchar=" " type="string" trimtype="both" style="align:left middle;" displaynulltext=" "/>
  191. <Button id="btn_custcd" taborder="19" class="icon_search" position="absolute 807 26 823 42" onclick="switch2_case1_btn_custcd_onclick"/>
  192. <Static id="cap_rpirtmCmt" text="네자리 숫자로 입력하세요. Ex) 01:30" class="hand" position="absolute 383 257 638 276"/>
  193. <Button id="btn_del" taborder="20" text="삭제" class="btn2" enable="false" position="absolute 1150 231 1192 250" onclick="switch2_case1_btn_del_onclick"/>
  194. <Button id="btn_initrfemdamklist" taborder="21" text="추가" class="btn2" enable="false" position="absolute 1105 231 1147 250" onclick="switch2_case1_btn_initrfemdamklist_onclick"/>
  195. <Shape id="line3" class="line_2" position="absolute 0 276 632 282"/>
  196. <Static id="caption1" text="수리 일자별 현황" class="tit_2" position="absolute 0 234 126 255"/>
  197. <Static id="caption2" text="수리 상세 등록" class="tit_2" position="absolute 0 4 110 25"/>
  198. <Static id="cap_chrgtel" text="검토자 연락처" class="cell_1" position="absolute 275 73 365 96"/>
  199. <Edit id="ipt_chrgtel" taborder="22" class="input_essential" enable="false" position="absolute 367 75 427 94" autoselect="true"/>
  200. <Static id="caption7" text="발생일자" class="cell_1" position="absolute 219 25 284 48"/>
  201. <Static id="cap_acptdd" text="납품일자" class="cell_1" position="absolute 505 25 580 48"/>
  202. <Calendar id="ipt_acptdd" taborder="23" class="input_default" position="absolute 584 26 679 45" mask="yyyy-mm-dd" autoselect="true" autoskip="true"/>
  203. <MaskEdit id="ipt_rpirenddd2" taborder="24" mask="####-##-##" class="input_default" enable="false" position="absolute 430 26 500 45" maskchar=" " type="string" trimtype="both" style=":disabled {align:center middle;}" autoselect="true" displaynulltext=" "/>
  204. <Static id="cap_rpirenddd" text="완료일자" class="cell_1" position="absolute 362 25 427 48"/>
  205. <Edit id="ipt_deprtmangrsanctid" taborder="25" class="input_default" position="absolute 499 75 569 94" autoselect="true" autoskip="true" onkeydown="switch2_case1_ipt_deprtmangrsanctid_onkeydown"/>
  206. <Edit id="ipt_deprtmangrsanctnm" taborder="26" position="absolute 589 75 669 94" class="output" readonly="true"/>
  207. <Button id="btn_deprtmangrsanctid" taborder="27" class="icon_search" position="absolute 571 75 587 91" onclick="switch2_case1_btn_deprtmangrsanctid_onclick"/>
  208. <Static id="caption17" text="실장 결재" class="cell_1" position="absolute 431 73 496 96"/>
  209. <Button id="btn_chrgpsnid" taborder="28" class="icon_search" position="absolute 174 75 190 91" onclick="switch2_case1_btn_chrgpsnid_onclick"/>
  210. <Edit id="ipt_chrgpsnid" taborder="29" class="input_essential" position="absolute 102 75 172 94" autoselect="true" autoskip="true" onkeydown="switch2_case1_ipt_chrgpsnid_onkeydown"/>
  211. <Static id="cap_chrgpsnid" text="검토자" class="cell_1" position="absolute 0 73 100 96"/>
  212. <Edit id="ipt_chrgpsnnm" taborder="30" position="absolute 192 75 272 94" class="output" readonly="true"/>
  213. <Combo id="cmb_docustat" taborder="31" class="input_default" enable="false" position="absolute 1099 51 1193 70"/>
  214. <Static id="caption5" text="서류상태" class="cell_1" position="absolute 1032 49 1097 72"/>
  215. <Static id="caption9" text="검수일자" class="cell_1" position="absolute 462 49 527 72"/>
  216. <Calendar id="ipt_chkdd" taborder="32" class="input_default" enable="false" position="absolute 530 51 625 70" mask="yyyy-mm-dd" autoselect="true"/>
  217. <Static id="cap_rpiramt" text="납품금액" class="cell_1" position="absolute 1040 25 1105 48"/>
  218. <MaskEdit id="ipt_rpiramt" taborder="33" mask="#,###" class="input_default" position="absolute 1108 27 1191 46" autoselect="true"/>
  219. <Button id="btn_chkpsn" taborder="34" class="icon_search" enable="false" position="absolute 360 51 376 67" onclick="switch2_case1_btn_chkpsn_onclick"/>
  220. <Edit id="ipt_chkpsn" taborder="35" class="input_default" enable="false" position="absolute 287 51 357 70" autoselect="true" onkeydown="switch2_case1_ipt_chkpsn_onkeydown"/>
  221. <Static id="caption8" text="검수자" class="cell_1" position="absolute 219 49 284 72"/>
  222. <Edit id="ipt_chkpsnnm" taborder="36" position="absolute 378 51 458 70" class="output" readonly="true"/>
  223. <Edit id="ipt_mngersanctid" taborder="37" class="input_default" position="absolute 739 75 809 94" autoselect="true" autoskip="true" onkeydown="switch2_case1_ipt_mngersanctid_onkeydown"/>
  224. <Button id="btn_mngersanctid" taborder="38" class="icon_search" position="absolute 811 75 827 91" onclick="switch2_case1_btn_mngersanctid_onclick"/>
  225. <Edit id="ipt_mngersanctnm" taborder="39" position="absolute 829 75 909 94" class="output" readonly="true"/>
  226. <Static id="caption13" text="과장 결재" class="cell_1" position="absolute 671 73 736 96"/>
  227. <CheckBox id="chk_rpirendyn" taborder="40" position="absolute 698 50 718 70" truevalue="Y" falsevalue="N" onclick="switch2_case1_chk_rpirendyn_onclick"/>
  228. <Static id="caption10" text="수리완료" class="cell_1" position="absolute 629 49 694 72"/>
  229. <Static id="caption12" text="수리완료일자" class="cell_1" position="absolute 716 49 804 72"/>
  230. <Calendar id="ipt_rpirenddd" taborder="41" class="input_default" position="absolute 808 51 895 70" mask="yyyy-mm-dd" autoselect="true" autoskip="true"/>
  231. <Static id="caption14" text="소요일자" class="cell_1" position="absolute 902 49 967 72"/>
  232. <MaskEdit id="ipt_usedd" taborder="42" mask="#,###" class="input_default" enable="false" position="absolute 970 51 1027 70" autoselect="true"/>
  233. <Static id="caption16" text="첨부파일" class="cell_1" position="absolute 638 97 738 120"/>
  234. <Edit id="ipt_attfilenm" taborder="44" position="absolute 740 99 1136 118" autoselect="true" autoskip="true" enable="false"/>
  235. <Button id="btn_attupload" taborder="45" text="업로드" class="btn2" position="absolute 1139 99 1192 118" onclick="switch2_case1_btn_attupload_onclick"/>
  236. <Edit id="ipt_uploadfile" taborder="46" visible="false" position="absolute 700 99 715 118" autoselect="true"/>
  237. <Static id="caption18" text="견적금액" class="cell_1" position="absolute 904 25 969 48"/>
  238. <MaskEdit id="ipt_estiamt" taborder="47" mask="#,###" class="input_default" position="absolute 972 27 1037 46" autoselect="true"/>
  239. <Button id="Button00" taborder="48" text="Button00" position="absolute 0 256 100 277" style="background:transparent;border:2 none #808080ff ;color:transparent;" ondblclick="switch2_case1_Button00_ondblclick"/>
  240. </Layout>
  241. </Layouts>
  242. </Tabpage>
  243. </Tabpages>
  244. </Tab>
  245. <Shape id="line29" class="line_10" position="absolute 0 640 1195 646"/>
  246. <Static id="caption81" text="부품목록" class="tit_2" position="absolute 0 624 94 645"/>
  247. <Shape id="line30" class="line_10" position="absolute 940 189 1195 198"/>
  248. <Grid id="tempgrd_rfemdamklist" taborder="15" binddataset="ds_main_tempgrid_rfemdamklist" autoenter="select" useinputpanel="false" cellsizingtype="col" visible="false" position="absolute 941 238 1196 288">
  249. <Formats>
  250. <Format id="default">
  251. <Columns>
  252. <Column size="20" band="left"/>
  253. <Column size="75"/>
  254. <Column size="80"/>
  255. <Column size="80"/>
  256. <Column size="0"/>
  257. <Column size="0"/>
  258. <Column size="0"/>
  259. <Column size="0"/>
  260. <Column size="0"/>
  261. <Column size="0"/>
  262. <Column size="0"/>
  263. <Column size="0"/>
  264. <Column size="0"/>
  265. </Columns>
  266. <Rows>
  267. <Row size="24" band="head"/>
  268. <Row size="24"/>
  269. </Rows>
  270. <Band id="head">
  271. <Cell/>
  272. <Cell col="1" text="일자"/>
  273. <Cell col="2" text="주수리자"/>
  274. <Cell col="3" text="보조수리자"/>
  275. <Cell col="4"/>
  276. <Cell col="5"/>
  277. <Cell col="6"/>
  278. <Cell col="7"/>
  279. <Cell col="8"/>
  280. <Cell col="9"/>
  281. <Cell col="10"/>
  282. <Cell col="11"/>
  283. <Cell col="12"/>
  284. </Band>
  285. <Band id="body">
  286. <Cell celltype="head"/>
  287. <Cell col="1" text="bind:rpirdd"/>
  288. <Cell col="2" text="bind:mainrpirpsnnm"/>
  289. <Cell col="3" text="bind:supprpirpsnnm"/>
  290. <Cell col="4" text="bind:mainrpirpsn"/>
  291. <Cell col="5" text="bind:supprpirpsn"/>
  292. <Cell col="6" text="bind:rpirtm"/>
  293. <Cell col="7" text="bind:rpirspec"/>
  294. <Cell col="8" text="bind:instcd"/>
  295. <Cell col="9" text="bind:fixtrseqmtflag"/>
  296. <Cell col="10" text="bind:reqdd"/>
  297. <Cell col="11" text="bind:reqno"/>
  298. <Cell col="12" text="bind:brpirdd"/>
  299. </Band>
  300. </Format>
  301. </Formats>
  302. </Grid>
  303. <Edit id="ipt_rowtemp" taborder="16" visible="false" position="absolute 998 219 1038 238" autoselect="true"/>
  304. <Edit id="ipt_rowtemp2" taborder="17" visible="false" position="absolute 730 219 770 238" autoselect="true"/>
  305. <Button id="btn_search" taborder="18" text="조회" class="btn1" visible="false" position="absolute 1139 168 1195 190" onclick="btn_search_onclick"/>
  306. <Grid id="tempgrd_rfehemhtlist" taborder="19" binddataset="ds_main_tempgrid_rfehemhtlist" autoenter="select" useinputpanel="false" cellsizingtype="col" autofittype="col" visible="false" position="absolute 0 247 935 292">
  307. <Formats>
  308. <Format id="default">
  309. <Columns>
  310. <Column size="22" band="left"/>
  311. <Column size="69"/>
  312. <Column size="30"/>
  313. <Column size="90"/>
  314. <Column size="84"/>
  315. <Column size="59"/>
  316. <Column size="71"/>
  317. <Column size="71"/>
  318. <Column size="60"/>
  319. <Column size="0"/>
  320. <Column size="64"/>
  321. <Column size="66"/>
  322. <Column size="70"/>
  323. <Column size="79"/>
  324. <Column size="0"/>
  325. <Column size="0"/>
  326. <Column size="0"/>
  327. <Column size="0"/>
  328. <Column size="0"/>
  329. <Column size="0"/>
  330. <Column size="0"/>
  331. <Column size="0"/>
  332. <Column size="0"/>
  333. <Column size="0"/>
  334. <Column size="0"/>
  335. <Column size="0"/>
  336. <Column size="0"/>
  337. <Column size="0"/>
  338. <Column size="0"/>
  339. <Column size="0"/>
  340. <Column size="0"/>
  341. <Column size="0"/>
  342. <Column size="0"/>
  343. <Column size="0"/>
  344. <Column size="0"/>
  345. <Column size="0"/>
  346. <Column size="0"/>
  347. <Column size="0"/>
  348. <Column size="0"/>
  349. <Column size="0"/>
  350. <Column size="0"/>
  351. <Column size="0"/>
  352. <Column size="0"/>
  353. <Column size="0"/>
  354. <Column size="0"/>
  355. <Column size="0"/>
  356. <Column size="0"/>
  357. <Column size="0"/>
  358. <Column size="0"/>
  359. <Column size="0"/>
  360. <Column size="0"/>
  361. <Column size="0"/>
  362. <Column size="0"/>
  363. <Column size="0"/>
  364. <Column size="0"/>
  365. <Column size="0"/>
  366. <Column size="0"/>
  367. <Column size="0"/>
  368. <Column size="0"/>
  369. <Column size="0"/>
  370. <Column size="0"/>
  371. <Column size="0"/>
  372. <Column size="0"/>
  373. <Column size="0"/>
  374. <Column size="0"/>
  375. <Column size="0"/>
  376. <Column size="0"/>
  377. </Columns>
  378. <Rows>
  379. <Row size="24" band="head"/>
  380. <Row size="24"/>
  381. </Rows>
  382. <Band id="head">
  383. <Cell/>
  384. <Cell col="1" colspan="2" text="의뢰일자" taborder="undefined"/>
  385. <Cell col="3" text="관리부서"/>
  386. <Cell col="4" text="의뢰자 연락처"/>
  387. <Cell col="5" text="담당자"/>
  388. <Cell col="6" text="납품일자"/>
  389. <Cell col="7" text="완료일자"/>
  390. <Cell col="8" text="상태"/>
  391. <Cell col="9" text="수리형태"/>
  392. <Cell col="10" text="접수구분"/>
  393. <Cell col="11" text="수리상태"/>
  394. <Cell col="12" text="고장유형"/>
  395. <Cell col="13" text="납품금액"/>
  396. <Cell col="14"/>
  397. <Cell col="15"/>
  398. <Cell col="16"/>
  399. <Cell col="17"/>
  400. <Cell col="18"/>
  401. <Cell col="19"/>
  402. <Cell col="20"/>
  403. <Cell col="21"/>
  404. <Cell col="22"/>
  405. <Cell col="23"/>
  406. <Cell col="24"/>
  407. <Cell col="25"/>
  408. <Cell col="26"/>
  409. <Cell col="27"/>
  410. <Cell col="28"/>
  411. <Cell col="29"/>
  412. <Cell col="30"/>
  413. <Cell col="31"/>
  414. <Cell col="32"/>
  415. <Cell col="33"/>
  416. <Cell col="34"/>
  417. <Cell col="35"/>
  418. <Cell col="36"/>
  419. <Cell col="37"/>
  420. <Cell col="38"/>
  421. <Cell col="39"/>
  422. <Cell col="40"/>
  423. <Cell col="41"/>
  424. <Cell col="42"/>
  425. <Cell col="43"/>
  426. <Cell col="44"/>
  427. <Cell col="45"/>
  428. <Cell col="46"/>
  429. <Cell col="47"/>
  430. <Cell col="48"/>
  431. <Cell col="49"/>
  432. <Cell col="50"/>
  433. <Cell col="51"/>
  434. <Cell col="52"/>
  435. <Cell col="53"/>
  436. <Cell col="54"/>
  437. <Cell col="55"/>
  438. <Cell col="56"/>
  439. <Cell col="57"/>
  440. <Cell col="58"/>
  441. <Cell col="59"/>
  442. <Cell col="60"/>
  443. <Cell col="61"/>
  444. <Cell col="62"/>
  445. <Cell col="63"/>
  446. <Cell col="64"/>
  447. <Cell col="65"/>
  448. <Cell col="66"/>
  449. </Band>
  450. <Band id="body">
  451. <Cell celltype="head"/>
  452. <Cell col="1" displaytype="date" text="bind:reqdd" calendardisplaynulltype="nulltext" enable="false"/>
  453. <Cell col="2" text="bind:reqno" enable="false"/>
  454. <Cell col="3" text="bind:depthngnm" enable="false"/>
  455. <Cell col="4" text="bind:reqtel" enable="false"/>
  456. <Cell col="5" text="bind:chrgpsnnm" enable="false"/>
  457. <Cell col="6" displaytype="date" text="bind:acptdd" calendardisplaynulltype="nulltext" enable="false"/>
  458. <Cell col="7" displaytype="date" text="bind:rpirenddd" calendardisplaynulltype="nulltext" enable="false"/>
  459. <Cell col="8" text="bind:lastrpirstat" enable="false"/>
  460. <Cell col="9" text="bind:rpirflag2" enable="false"/>
  461. <Cell col="10" text="bind:acptflag" enable="false"/>
  462. <Cell col="11" text="bind:workstat" enable="false"/>
  463. <Cell col="12" text="bind:rpirflag1" enable="false"/>
  464. <Cell col="13" text="bind:rpiramt" enable="false"/>
  465. <Cell col="14" text="bind:reqdeptcd"/>
  466. <Cell col="15" text="bind:chrgpsnid"/>
  467. <Cell col="16" text="bind:genrdd"/>
  468. <Cell col="17" text="bind:estimateamt"/>
  469. <Cell col="18" text="bind:sanctid"/>
  470. <Cell col="19" text="bind:sanctnm"/>
  471. <Cell col="20" text="bind:reductionamt"/>
  472. <Cell col="21" text="bind:useyn"/>
  473. <Cell col="22" text="bind:nonworkdayno"/>
  474. <Cell col="23" text="bind:custcd"/>
  475. <Cell col="24" text="bind:custnm"/>
  476. <Cell col="25" text="bind:hdrncspec"/>
  477. <Cell col="26" text="bind:chrgpsncmt"/>
  478. <Cell col="27" text="bind:lastrpirrslt"/>
  479. <Cell col="28" text="bind:instcd"/>
  480. <Cell col="29" text="bind:fixtrseqmtflag"/>
  481. <Cell col="30" text="bind:reqpsnid"/>
  482. <Cell col="31" text="bind:reqpsnnm"/>
  483. <Cell col="32" text="bind:genrtm"/>
  484. <Cell col="33" text="bind:acpttm"/>
  485. <Cell col="34" text="bind:acptpsnid"/>
  486. <Cell col="35" text="bind:acptpsnnm"/>
  487. <Cell col="36" text="bind:acptdeptcd"/>
  488. <Cell col="37" text="bind:acptdeptnm"/>
  489. <Cell col="38" text="bind:fixasetcd"/>
  490. <Cell col="39" text="bind:fixasetnm"/>
  491. <Cell col="40" text="bind:itemnm"/>
  492. <Cell col="41" text="bind:acptpsncnfm"/>
  493. <Cell col="42" text="bind:deptacptdd"/>
  494. <Cell col="43" text="bind:deptacptpsnid"/>
  495. <Cell col="44" text="bind:deptacptpsnnm"/>
  496. <Cell col="45" text="bind:cmt"/>
  497. <Cell col="46" text="bind:sanctyn"/>
  498. <Cell col="47" text="bind:sanctdd"/>
  499. <Cell col="48" text="bind:emaildeliveyn"/>
  500. <Cell col="49" text="bind:goodmodel"/>
  501. <Cell col="50" text="bind:installplcecd"/>
  502. <Cell col="51" text="bind:installplcenm"/>
  503. <Cell col="52" text="bind:sancttrsmyn"/>
  504. <Cell col="53" text="bind:chrgtel"/>
  505. <Cell col="54" text="bind:bugtyy"/>
  506. <Cell col="55" text="bind:bugtcd"/>
  507. <Cell col="56" text="bind:stdysubjno"/>
  508. <Cell col="57" text="bind:stdysubjnm"/>
  509. <Cell col="58" text="bind:deptaprvyn"/>
  510. <Cell col="59" text="bind:deptaprvpsnid"/>
  511. <Cell col="60" text="bind:deptaprvdd"/>
  512. <Cell col="61" text="bind:rfehdabptotal"/>
  513. <Cell col="62" text="bind:rpirendyn"/>
  514. <Cell col="63" text="bind:usedd"/>
  515. <Cell col="64" text="bind:fileseqno"/>
  516. <Cell col="65" text="bind:filenm"/>
  517. <Cell col="66" text="bind:filepath"/>
  518. </Band>
  519. </Format>
  520. </Formats>
  521. </Grid>
  522. <Div id="grp_hidden" taborder="20" visible="false" position="absolute 165 666 1125 746" style="border:1 solid #808080ff ;">
  523. <Layouts>
  524. <Layout>
  525. <MaskEdit id="ipt_estimateamt" taborder="42" mask="#,###" class="input_default" enable="false" visible="false" position="absolute 725 7 805 26" anchor="default" autoselect="true"/>
  526. <Static id="cap_estimateamt" text="외주 견적" class="cell_1" visible="false" position="absolute 643 5 723 28" anchor="default"/>
  527. <MaskEdit id="ipt_nonworkdayno" taborder="43" mask="#,###" class="input_essential" visible="false" position="absolute 330 7 455 26" anchor="default" autoselect="true"/>
  528. <Edit id="ipt_sancttrsmyn" taborder="44" visible="false" position="absolute 5 30 55 49" anchor="default" autoselect="true"/>
  529. <MaskEdit id="ipt_rfehdabptotal" taborder="45" mask="#,###" class="input_fix" enable="false" visible="false" position="absolute 547 7 632 26" anchor="default" autoselect="true"/>
  530. <Edit id="ipt_purcagresnnm" taborder="46" enable="false" visible="false" position="absolute 321 30 348 49" anchor="default" autoselect="true"/>
  531. <Edit id="ipt_sanctid" taborder="47" visible="false" position="absolute 530 30 555 49" anchor="default" autoselect="true"/>
  532. <Edit id="ipt_acpttm" taborder="48" visible="false" position="absolute 471 30 496 49" anchor="default" autoselect="true"/>
  533. <Static id="cap_purcagresnnm" text="구매 결재자" class="cell_1" visible="false" position="absolute 237 30 319 50" anchor="default"/>
  534. <Static id="caption11" text="결재일자" class="cell_1" visible="false" position="absolute 120 30 190 50" anchor="default"/>
  535. <Static id="caption4" text="견 적" class="cell_1" visible="false" position="absolute 5 5 105 28" anchor="default"/>
  536. <MaskEdit id="ipt_outestimateamt" taborder="49" mask="#,###" class="input_default" visible="false" position="absolute 110 7 180 26" anchor="default" autoselect="true"/>
  537. <Combo id="cmb_rpirflag1" taborder="50" class="input_default" visible="false" position="absolute 72 57 107 76" anchor="default"/>
  538. <MaskEdit id="ipt_purcagredd" taborder="51" mask="####-##-##" class="input_default" enable="false" visible="false" position="absolute 194 30 231 49" anchor="default" maskchar=" " type="string" trimtype="both" autoselect="true" displaynulltext=" "/>
  539. <Edit id="ipt_insStatus" taborder="52" visible="false" position="absolute 60 30 110 49" anchor="default" autoselect="true"/>
  540. <Edit id="ipt_acptdeptcd" taborder="53" visible="false" position="absolute 446 30 471 49" anchor="default" autoselect="true"/>
  541. <MaskEdit id="ipt_reductionamt" taborder="54" mask="#,###" class="input_default" visible="false" position="absolute 269 7 339 26" anchor="default" autoselect="true"/>
  542. <Static id="cap_rpirflag1" text="고장유형" class="cell_1" visible="false" position="absolute 5 55 69 78" anchor="default"/>
  543. <Edit id="ipt_deptaprvpsnid" taborder="55" visible="false" position="absolute 385 30 415 49" anchor="default" autoselect="true"/>
  544. <Static id="cap_rfehdabptotal" text="전 도 금" class="cell_1" visible="false" position="absolute 465 5 545 28" anchor="default"/>
  545. <Static id="cap_reductionamt" text="절감액" class="cell_1" visible="false" position="absolute 187 5 267 28" anchor="default"/>
  546. <Edit id="ipt_deptaprvdd" taborder="56" visible="false" position="absolute 416 30 446 49" anchor="default" autoselect="true"/>
  547. <Static id="cap_useyn" text="수리구분" class="cell_1" visible="false" position="absolute 115 55 175 78" anchor="default"/>
  548. <CheckBox id="bool_deptaprvyn" taborder="57" visible="false" position="absolute 467 55 489 75" anchor="default" truevalue="Y" falsevalue="N"/>
  549. <Edit id="ipt_acptpsnid" taborder="58" visible="false" position="absolute 440 55 465 74" anchor="default" autoselect="true"/>
  550. <Combo id="cmb_deptaprvreqyn" taborder="59" codecolumn="codecolumn" datacolumn="datacolumn" visible="false" position="absolute 210 55 310 74" anchor="default">
  551. <Dataset id="innerdataset">
  552. <ColumnInfo>
  553. <Column id="codecolumn"/>
  554. <Column id="datacolumn"/>
  555. </ColumnInfo>
  556. <Rows>
  557. <Row>
  558. <Col id="codecolumn">N</Col>
  559. <Col id="datacolumn">승인불필요</Col>
  560. </Row>
  561. </Rows>
  562. </Dataset>
  563. </Combo>
  564. <Edit id="ipt_deptaprvpsnnm" taborder="60" enable="false" position="absolute 310 55 395 74" anchor="default" autoselect="true"/>
  565. <Button id="btn_uprfehemht" taborder="61" text="넘1" class="btn2" visible="false" position="absolute 865 5 907 24" anchor="default" onclick="grp_hidden_btn_uprfehemht_onclick"/>
  566. <Button id="btn_upRfemdamk" taborder="62" text="넘2" class="btn2" visible="false" position="absolute 909 5 951 24" anchor="default" onclick="grp_hidden_btn_upRfemdamk_onclick"/>
  567. <Button id="btn_insert" taborder="63" text="행추가" class="btn2" visible="false" position="absolute 810 5 863 24" anchor="default" onclick="grp_hidden_btn_insert_onclick"/>
  568. <Radio id="rdo_useyn" taborder="64" columncount="2" rowcount="0" innerdataset="@ds_init_useyn" codecolumn="value" datacolumn="label" enable="false" visible="false" position="absolute 505 55 597 75" anchor="default"/>
  569. </Layout>
  570. </Layouts>
  571. </Div>
  572. <Button id="btn_insRfehdabp" taborder="10" text="행추가" class="btn2" position="absolute 998 621 1051 640" onclick="btn_insRfehdabp_onclick"/>
  573. <Button id="btn_delRfehdabp" taborder="11" text="행삭제" class="btn2" position="absolute 1053 621 1106 640" onclick="btn_delRfehdabp_onclick"/>
  574. <Button id="btn_" taborder="12" text="부품코드등록" class="btn2" position="absolute 1108 621 1194 640" onclick="btn__onclick"/>
  575. <Grid id="grd_rfemdamklist" taborder="8" binddataset="ds_main_grid_rfemdamklist" autoenter="select" useinputpanel="false" cellsizingtype="col" position="absolute 941 195 1196 288" oncellclick="grd_rfemdamklist_oncellclick">
  576. <Formats>
  577. <Format id="default">
  578. <Columns>
  579. <Column size="22" band="left"/>
  580. <Column size="75"/>
  581. <Column size="80"/>
  582. <Column size="80"/>
  583. <Column size="0"/>
  584. <Column size="100"/>
  585. <Column size="0"/>
  586. <Column size="0"/>
  587. <Column size="0"/>
  588. <Column size="0"/>
  589. <Column size="0"/>
  590. <Column size="0"/>
  591. <Column size="0"/>
  592. </Columns>
  593. <Rows>
  594. <Row size="24" band="head"/>
  595. <Row size="24"/>
  596. </Rows>
  597. <Band id="head">
  598. <Cell/>
  599. <Cell col="1" text="일자"/>
  600. <Cell col="2" text="주수리자"/>
  601. <Cell col="3" text="보조수리자"/>
  602. <Cell col="4" text="수리시간"/>
  603. <Cell col="5" text="전수리일자"/>
  604. <Cell col="6"/>
  605. <Cell col="7"/>
  606. <Cell col="8"/>
  607. <Cell col="9"/>
  608. <Cell col="10"/>
  609. <Cell col="11"/>
  610. <Cell col="12"/>
  611. </Band>
  612. <Band id="body">
  613. <Cell celltype="head"/>
  614. <Cell col="1" displaytype="date" text="bind:rpirdd" calendardisplaynulltype="nulltext"/>
  615. <Cell col="2" text="bind:mainrpirpsnnm"/>
  616. <Cell col="3" text="bind:supprpirpsnnm"/>
  617. <Cell col="4" text="bind:rpirtm" mask="hh:nn"/>
  618. <Cell col="5" text="bind:brpirdd"/>
  619. <Cell col="6" text="bind:mainrpirpsn"/>
  620. <Cell col="7" text="bind:supprpirpsn"/>
  621. <Cell col="8" text="bind:rpirspec"/>
  622. <Cell col="9" text="bind:instcd"/>
  623. <Cell col="10" text="bind:fixtrseqmtflag"/>
  624. <Cell col="11" text="bind:reqdd"/>
  625. <Cell col="12" text="bind:reqno"/>
  626. </Band>
  627. </Format>
  628. </Formats>
  629. </Grid>
  630. <Grid id="grd_rfehemhtlist" taborder="7" binddataset="ds_main_grid_rfehemhtlist" autoenter="select" useinputpanel="false" cellsizingtype="col" autofittype="col" position="absolute 0 195 935 288" oncellclick="grd_rfehemhtlist_oncellclick">
  631. <Formats>
  632. <Format id="default">
  633. <Columns>
  634. <Column size="20" band="left"/>
  635. <Column size="70"/>
  636. <Column size="39"/>
  637. <Column size="90"/>
  638. <Column size="84"/>
  639. <Column size="60"/>
  640. <Column size="70"/>
  641. <Column size="70"/>
  642. <Column size="0"/>
  643. <Column size="60"/>
  644. <Column size="65"/>
  645. <Column size="65"/>
  646. <Column size="70"/>
  647. <Column size="80"/>
  648. <Column size="93"/>
  649. <Column size="0"/>
  650. <Column size="0"/>
  651. <Column size="0"/>
  652. <Column size="0"/>
  653. <Column size="0"/>
  654. <Column size="0"/>
  655. <Column size="0"/>
  656. <Column size="0"/>
  657. <Column size="0"/>
  658. <Column size="0"/>
  659. <Column size="0"/>
  660. <Column size="0"/>
  661. <Column size="0"/>
  662. <Column size="0"/>
  663. <Column size="0"/>
  664. <Column size="0"/>
  665. <Column size="0"/>
  666. <Column size="0"/>
  667. <Column size="0"/>
  668. <Column size="0"/>
  669. <Column size="0"/>
  670. <Column size="0"/>
  671. <Column size="0"/>
  672. <Column size="0"/>
  673. <Column size="0"/>
  674. <Column size="0"/>
  675. <Column size="0"/>
  676. <Column size="0"/>
  677. <Column size="0"/>
  678. <Column size="0"/>
  679. <Column size="0"/>
  680. <Column size="0"/>
  681. <Column size="0"/>
  682. <Column size="0"/>
  683. <Column size="0"/>
  684. <Column size="0"/>
  685. <Column size="0"/>
  686. <Column size="0"/>
  687. <Column size="0"/>
  688. <Column size="0"/>
  689. <Column size="0"/>
  690. <Column size="0"/>
  691. <Column size="0"/>
  692. <Column size="0"/>
  693. <Column size="0"/>
  694. <Column size="0"/>
  695. <Column size="0"/>
  696. <Column size="0"/>
  697. <Column size="0"/>
  698. <Column size="0"/>
  699. <Column size="0"/>
  700. <Column size="0"/>
  701. <Column size="0"/>
  702. <Column size="0"/>
  703. <Column size="0"/>
  704. <Column size="0"/>
  705. <Column size="0"/>
  706. <Column size="0"/>
  707. <Column size="0"/>
  708. <Column size="0"/>
  709. <Column size="0"/>
  710. <Column size="0"/>
  711. <Column size="0"/>
  712. <Column size="0"/>
  713. </Columns>
  714. <Rows>
  715. <Row size="24" band="head"/>
  716. <Row size="24"/>
  717. </Rows>
  718. <Band id="head">
  719. <Cell/>
  720. <Cell col="1" colspan="2" text="의뢰일자" taborder="undefined"/>
  721. <Cell col="3" text="관리부서"/>
  722. <Cell col="4" text="의뢰자 연락처"/>
  723. <Cell col="5" text="담당자"/>
  724. <Cell col="6" text="납품일자"/>
  725. <Cell col="7" text="완료일자"/>
  726. <Cell col="8" text="상태"/>
  727. <Cell col="9" text="수리형태"/>
  728. <Cell col="10" text="접수구분"/>
  729. <Cell col="11" text="수리상태"/>
  730. <Cell col="12" text="고장유형"/>
  731. <Cell col="13" text="납품금액"/>
  732. <Cell col="14" text="결재상태"/>
  733. <Cell col="15"/>
  734. <Cell col="16"/>
  735. <Cell col="17"/>
  736. <Cell col="18"/>
  737. <Cell col="19"/>
  738. <Cell col="20"/>
  739. <Cell col="21"/>
  740. <Cell col="22"/>
  741. <Cell col="23"/>
  742. <Cell col="24"/>
  743. <Cell col="25"/>
  744. <Cell col="26"/>
  745. <Cell col="27"/>
  746. <Cell col="28"/>
  747. <Cell col="29"/>
  748. <Cell col="30"/>
  749. <Cell col="31"/>
  750. <Cell col="32"/>
  751. <Cell col="33"/>
  752. <Cell col="34"/>
  753. <Cell col="35"/>
  754. <Cell col="36"/>
  755. <Cell col="37"/>
  756. <Cell col="38"/>
  757. <Cell col="39"/>
  758. <Cell col="40"/>
  759. <Cell col="41"/>
  760. <Cell col="42"/>
  761. <Cell col="43"/>
  762. <Cell col="44"/>
  763. <Cell col="45"/>
  764. <Cell col="46"/>
  765. <Cell col="47"/>
  766. <Cell col="48"/>
  767. <Cell col="49"/>
  768. <Cell col="50"/>
  769. <Cell col="51"/>
  770. <Cell col="52"/>
  771. <Cell col="53"/>
  772. <Cell col="54"/>
  773. <Cell col="55"/>
  774. <Cell col="56"/>
  775. <Cell col="57"/>
  776. <Cell col="58"/>
  777. <Cell col="59"/>
  778. <Cell col="60"/>
  779. <Cell col="61"/>
  780. <Cell col="62"/>
  781. <Cell col="63"/>
  782. <Cell col="64"/>
  783. <Cell col="65"/>
  784. <Cell col="66"/>
  785. <Cell col="67"/>
  786. <Cell col="68"/>
  787. <Cell col="69"/>
  788. <Cell col="70"/>
  789. <Cell col="71"/>
  790. <Cell col="72"/>
  791. <Cell col="73"/>
  792. <Cell col="74"/>
  793. <Cell col="75"/>
  794. <Cell col="76"/>
  795. <Cell col="77"/>
  796. <Cell col="78"/>
  797. </Band>
  798. <Band id="body">
  799. <Cell celltype="head"/>
  800. <Cell col="1" displaytype="date" text="bind:reqdd" calendardisplaynulltype="nulltext" enable="false"/>
  801. <Cell col="2" text="bind:reqno" enable="false"/>
  802. <Cell col="3" style="align:left;" text="bind:depthngnm" enable="false"/>
  803. <Cell col="4" style="align:left;" text="bind:reqtel" enable="false"/>
  804. <Cell col="5" text="bind:chrgpsnnm" enable="false"/>
  805. <Cell col="6" displaytype="date" text="bind:acptdd" calendardisplaynulltype="nulltext" enable="false"/>
  806. <Cell col="7" displaytype="date" text="bind:rpirenddd" calendardisplaynulltype="nulltext" enable="false"/>
  807. <Cell col="8" text="bind:lastrpirstat" enable="false"/>
  808. <Cell col="9" displaytype="combo" style="align:center middle;" text="bind:rpirflag2" enable="false"/>
  809. <Cell col="10" displaytype="combo" style="align:center middle;" text="bind:acptflag" enable="false"/>
  810. <Cell col="11" displaytype="combo" edittype="combo" style="align:center middle;" text="bind:workstat" enable="false"/>
  811. <Cell col="12" displaytype="combo" style="align:center middle;" text="bind:rpirflag1" enable="false"/>
  812. <Cell col="13" displaytype="number" text="bind:rpiramt" enable="false"/>
  813. <Cell col="14" displaytype="combo" edittype="combo" text="bind:sanctyn"/>
  814. <Cell col="15" text="bind:reqdeptcd"/>
  815. <Cell col="16" text="bind:chrgpsnid"/>
  816. <Cell col="17" text="bind:genrdd"/>
  817. <Cell col="18" text="bind:estimateamt"/>
  818. <Cell col="19" text="bind:sanctid"/>
  819. <Cell col="20" text="bind:sanctnm"/>
  820. <Cell col="21" text="bind:reductionamt"/>
  821. <Cell col="22" text="bind:useyn"/>
  822. <Cell col="23" text="bind:nonworkdayno"/>
  823. <Cell col="24" text="bind:custcd"/>
  824. <Cell col="25" text="bind:custnm"/>
  825. <Cell col="26" text="bind:hdrncspec"/>
  826. <Cell col="27" text="bind:chrgpsncmt"/>
  827. <Cell col="28" text="bind:lastrpirrslt"/>
  828. <Cell col="29" text="bind:instcd"/>
  829. <Cell col="30" text="bind:fixtrseqmtflag"/>
  830. <Cell col="31" text="bind:reqpsnid"/>
  831. <Cell col="32" text="bind:reqpsnnm"/>
  832. <Cell col="33" text="bind:genrtm"/>
  833. <Cell col="34" text="bind:acpttm"/>
  834. <Cell col="35" text="bind:acptpsnid"/>
  835. <Cell col="36" text="bind:acptpsnnm"/>
  836. <Cell col="37" text="bind:acptdeptcd"/>
  837. <Cell col="38" text="bind:acptdeptnm"/>
  838. <Cell col="39" text="bind:fixasetcd"/>
  839. <Cell col="40" text="bind:fixasetnm"/>
  840. <Cell col="41" text="bind:itemnm"/>
  841. <Cell col="42" text="bind:acptpsncnfm"/>
  842. <Cell col="43" text="bind:deptacptdd"/>
  843. <Cell col="44" text="bind:deptacptpsnid"/>
  844. <Cell col="45" text="bind:deptacptpsnnm"/>
  845. <Cell col="46" text="bind:cmt"/>
  846. <Cell col="47" text="bind:sanctdd"/>
  847. <Cell col="48" text="bind:emaildeliveyn"/>
  848. <Cell col="49" text="bind:goodmodel"/>
  849. <Cell col="50" text="bind:installplcecd"/>
  850. <Cell col="51" text="bind:installplcenm"/>
  851. <Cell col="52" text="bind:sancttrsmyn"/>
  852. <Cell col="53" text="bind:chrgtel"/>
  853. <Cell col="54" text="bind:bugtyy"/>
  854. <Cell col="55" text="bind:bugtcd"/>
  855. <Cell col="56" text="bind:stdysubjno"/>
  856. <Cell col="57" text="bind:stdysubjnm"/>
  857. <Cell col="58" text="bind:deptaprvyn"/>
  858. <Cell col="59" text="bind:deptaprvpsnid"/>
  859. <Cell col="60" text="bind:deptaprvdd"/>
  860. <Cell col="61" text="bind:rfehdabptotal"/>
  861. <Cell col="62" text="bind:acptpsnid"/>
  862. <Cell col="63" text="bind:acptpsnnm"/>
  863. <Cell col="64" text="bind:bizscrnid"/>
  864. <Cell col="65" text="bind:mngersanctid"/>
  865. <Cell col="66" text="bind:mngersanctnm"/>
  866. <Cell col="67" text="bind:deprtmangrsanctid"/>
  867. <Cell col="68" text="bind:deprtmangrsanctnm"/>
  868. <Cell col="69" text="bind:docustat"/>
  869. <Cell col="70" text="bind:chkpsn"/>
  870. <Cell col="71" text="bind:chkpsnnm"/>
  871. <Cell col="72" text="bind:chkdd"/>
  872. <Cell col="73" text="bind:deliveamt"/>
  873. <Cell col="74" text="bind:rpirendyn"/>
  874. <Cell col="75" text="bind:usedd"/>
  875. <Cell col="76" text="bind:fileseqno"/>
  876. <Cell col="77" text="bind:filenm"/>
  877. <Cell col="78" text="bind:filepath"/>
  878. </Band>
  879. </Format>
  880. </Formats>
  881. </Grid>
  882. </Layout>
  883. </Layouts>
  884. <Objects>
  885. <Dataset id="ds_send_sendlist" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_send_sendlist_oncolumnchanged">
  886. <ColumnInfo>
  887. <Column id="instcd" type="STRING" size="256"/>
  888. <Column id="fixtrseqmtflag" type="STRING" size="256"/>
  889. <Column id="fixasetcd" type="STRING" size="256"/>
  890. <Column id="goodflaghngnm" type="STRING" size="256"/>
  891. <Column id="goodspec" type="STRING" size="256"/>
  892. <Column id="mngtno" type="STRING" size="256"/>
  893. <Column id="goodmodel" type="STRING" size="256"/>
  894. <Column id="installplcecd" type="STRING" size="256"/>
  895. <Column id="installplcenm" type="STRING" size="256"/>
  896. <Column id="prodcmpynm" type="STRING" size="256"/>
  897. <Column id="tempmngtdeptnm" type="STRING" size="256"/>
  898. <Column id="possndd" type="STRING" size="256"/>
  899. <Column id="possnamt" type="STRING" size="256"/>
  900. <Column id="deptaprvyn" type="STRING" size="256"/>
  901. <Column id="suplplcenm" type="STRING" size="256"/>
  902. <Column id="cntctel" type="STRING" size="256"/>
  903. <Column id="chrgpsnid" type="STRING" size="256"/>
  904. <Column id="acptpsnid" type="STRING" size="256"/>
  905. <Column id="welfcd" type="STRING" size="256"/>
  906. <Column id="goodqty" type="STRING" size="256"/>
  907. <Column id="lrgnm" type="STRING" size="256"/>
  908. <Column id="mngtdeptnm" type="STRING" size="256"/>
  909. <Column id="flwgrnttermfr" type="STRING" size="256"/>
  910. <Column id="flwgrnttermto" type="STRING" size="256"/>
  911. </ColumnInfo>
  912. <Rows>
  913. <Row>
  914. <Col id="instcd"/>
  915. <Col id="fixtrseqmtflag"/>
  916. <Col id="fixasetcd"/>
  917. <Col id="goodflaghngnm"/>
  918. <Col id="goodspec"/>
  919. <Col id="mngtno"/>
  920. <Col id="goodmodel"/>
  921. <Col id="installplcecd"/>
  922. <Col id="installplcenm"/>
  923. <Col id="prodcmpynm"/>
  924. <Col id="tempmngtdeptnm"/>
  925. <Col id="possndd"/>
  926. <Col id="possnamt"/>
  927. <Col id="deptaprvyn"/>
  928. <Col id="suplplcenm"/>
  929. <Col id="cntctel"/>
  930. <Col id="chrgpsnid"/>
  931. <Col id="acptpsnid"/>
  932. <Col id="welfcd"/>
  933. <Col id="goodqty"/>
  934. <Col id="lrgnm"/>
  935. <Col id="mngtdeptnm"/>
  936. <Col id="flwgrnttermfr"/>
  937. <Col id="flwgrnttermto"/>
  938. </Row>
  939. </Rows>
  940. </Dataset>
  941. <Dataset id="ds_init" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  942. <ColumnInfo>
  943. <Column id="rowtemp" type="STRING" size="256"/>
  944. <Column id="rowtemp2" type="STRING" size="256"/>
  945. <Column id="insStatus" type="STRING" size="256"/>
  946. <Column id="sancttrsmyn" type="STRING" size="256"/>
  947. <Column id="reqflag" type="STRING" size="256"/>
  948. </ColumnInfo>
  949. <Rows>
  950. <Row>
  951. <Col id="rowtemp"/>
  952. <Col id="rowtemp2"/>
  953. <Col id="insStatus"/>
  954. <Col id="sancttrsmyn"/>
  955. <Col id="reqflag"/>
  956. </Row>
  957. </Rows>
  958. </Dataset>
  959. <Dataset id="ds_main_grid_rfehemhtlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_main_grid_rfehemhtlist_oncolumnchanged">
  960. <ColumnInfo>
  961. <Column id="instcd" type="STRING" size="256" sumtext="기관코드"/>
  962. <Column id="fixtrseqmtflag" type="STRING" size="256" sumtext="비품_장비구분"/>
  963. <Column id="reqdd" type="STRING" size="256" sumtext="의뢰일자"/>
  964. <Column id="reqno" type="STRING" size="256" sumtext="의뢰번호"/>
  965. <Column id="reqdeptcd" type="STRING" size="256" sumtext="의뢰부서"/>
  966. <Column id="depthngnm" type="STRING" size="256" sumtext="의뢰부서명"/>
  967. <Column id="reqpsnid" type="STRING" size="256" sumtext="의뢰자ID"/>
  968. <Column id="reqpsnnm" type="STRING" size="256" sumtext="의뢰자이름"/>
  969. <Column id="genrdd" type="STRING" size="256" sumtext="발생일자"/>
  970. <Column id="genrtm" type="STRING" size="256" sumtext="발생시간"/>
  971. <Column id="chrgpsnid" type="STRING" size="256" sumtext="담당자ID(수리담당자)"/>
  972. <Column id="chrgpsnnm" type="STRING" size="256" sumtext="담당자명"/>
  973. <Column id="acptdd" type="STRING" size="256" sumtext="접수일자"/>
  974. <Column id="acpttm" type="STRING" size="256" sumtext="접수시간"/>
  975. <Column id="acptpsnid" type="STRING" size="256" sumtext="접수자ID"/>
  976. <Column id="acptpsnnm" type="STRING" size="256" sumtext="접수자이름"/>
  977. <Column id="acptdeptcd" type="STRING" size="256" sumtext="접수부서"/>
  978. <Column id="acptdeptnm" type="STRING" size="256" sumtext="접수부서명"/>
  979. <Column id="workstat" type="STRING" size="256" sumtext="작업상태*"/>
  980. <Column id="fixasetcd" type="STRING" size="256" sumtext="고정자산코드*-"/>
  981. <Column id="fixasetnm" type="STRING" size="256" sumtext="고정자산코드명"/>
  982. <Column id="itemnm" type="STRING" size="256" sumtext="품명"/>
  983. <Column id="hdrncspec" type="STRING" size="256" sumtext="고장내역(의뢰내역)"/>
  984. <Column id="rpirflag1" type="STRING" size="256" sumtext="고장유형"/>
  985. <Column id="rpirflag2" type="STRING" size="256" sumtext="수리형태"/>
  986. <Column id="useyn" type="STRING" size="256" sumtext="청구구분"/>
  987. <Column id="lastrpirstat" type="STRING" size="256" sumtext="최종수리상태"/>
  988. <Column id="acptpsncnfm" type="STRING" size="256" sumtext="인수자확인(인수확인)"/>
  989. <Column id="deptacptdd" type="STRING" size="256" sumtext="완료인수일"/>
  990. <Column id="deptacptpsnid" type="STRING" size="256" sumtext="부서인수자ID(인수자)"/>
  991. <Column id="deptacptpsnnm" type="STRING" size="256" sumtext="인수자 이름"/>
  992. <Column id="rpiramt" type="STRING" size="256" sumtext="수리비"/>
  993. <Column id="cmt" type="STRING" size="256" sumtext="비고"/>
  994. <Column id="rpirenddd" type="STRING" size="256" sumtext="수리완료일자"/>
  995. <Column id="chrgtel" type="STRING" size="256" sumtext="담당자전화번호(사내전화번호)"/>
  996. <Column id="sanctyn" type="STRING" size="256" sumtext="결재여부"/>
  997. <Column id="chrgpsncmt" type="STRING" size="256" sumtext="담당자comment"/>
  998. <Column id="sanctdd" type="STRING" size="256" sumtext="결재일자"/>
  999. <Column id="nonworkdayno" type="STRING" size="256" sumtext="미가동일수"/>
  1000. <Column id="emaildeliveyn" type="STRING" size="256" sumtext="메일발송여부"/>
  1001. <Column id="goodmodel" type="STRING" size="256" sumtext="물품모델"/>
  1002. <Column id="acptflag" type="STRING" size="256" sumtext="접수구분"/>
  1003. <Column id="lastrpirrslt" type="STRING" size="256" sumtext="최종수리결과"/>
  1004. <Column id="installplcecd" type="STRING" size="256" sumtext="설치장소CODE"/>
  1005. <Column id="installplcenm" type="STRING" size="256" sumtext="설치장소"/>
  1006. <Column id="estimateamt" type="STRING" size="256" sumtext="견적금액"/>
  1007. <Column id="sanctid" type="STRING" size="256" sumtext="결재자ID"/>
  1008. <Column id="sanctnm" type="STRING" size="256" sumtext="결재자"/>
  1009. <Column id="reductionamt" type="STRING" size="256" sumtext="절감액"/>
  1010. <Column id="custcd" type="STRING" size="256" sumtext="거래처코드"/>
  1011. <Column id="custnm" type="STRING" size="256" sumtext="거래처"/>
  1012. <Column id="sancttrsmyn" type="STRING" size="256" sumtext="결재전송유뮤"/>
  1013. <Column id="reqtel" type="STRING" size="256" sumtext="의뢰자 연락처"/>
  1014. <Column id="bugtyy" type="STRING" size="256" sumtext="예산년도"/>
  1015. <Column id="bugtcd" type="STRING" size="256" sumtext="예산계정"/>
  1016. <Column id="stdysubjno" type="STRING" size="256" sumtext="연구과제code"/>
  1017. <Column id="stdysubjnm" type="STRING" size="256" sumtext="연구과제명"/>
  1018. <Column id="deptaprvyn" type="STRING" size="256" sumtext="부서승인여부"/>
  1019. <Column id="deptaprvdd" type="STRING" size="256" sumtext="부서승인일자"/>
  1020. <Column id="deptaprvpsnid" type="STRING" size="256" sumtext="부서승인자cd"/>
  1021. <Column id="deptaprvpsnnm" type="STRING" size="256" sumtext="부서승인자명"/>
  1022. <Column id="deptaprvreqyn" type="STRING" size="256" sumtext="부서장승인필요여부"/>
  1023. <Column id="mngtno" type="STRING" size="256" sumtext="S/N"/>
  1024. <Column id="rfehdabptotal" type="STRING" size="256" sumtext="부품사용금액"/>
  1025. <Column id="purcagreyn" type="STRING" size="256" sumtext="구매수리승인여부"/>
  1026. <Column id="purcagredd" type="STRING" size="256" sumtext="구매수리승인일자"/>
  1027. <Column id="purcagresnid" type="STRING" size="256" sumtext="구매수리승인자ID"/>
  1028. <Column id="purcagresnnm" type="STRING" size="256" sumtext="구매수리승인자명"/>
  1029. <Column id="engrsanctyn" type="STRING" size="256" sumtext="(기능장)승인여부"/>
  1030. <Column id="engrsanctdd" type="STRING" size="256" sumtext="(기능장)승인일자"/>
  1031. <Column id="engrsanctid" type="STRING" size="256" sumtext="(기능장)승인자ID"/>
  1032. <Column id="engrsanctnm" type="STRING" size="256" sumtext="(기능장)승인자명"/>
  1033. <Column id="mngersanctyn" type="STRING" size="256" sumtext="(과장)승인여부"/>
  1034. <Column id="mngersanctdd" type="STRING" size="256" sumtext="(과장)승인일자"/>
  1035. <Column id="mngersanctid" type="STRING" size="256" sumtext="(과장)승인자ID"/>
  1036. <Column id="mngersanctnm" type="STRING" size="256" sumtext="(과장)승인자명"/>
  1037. <Column id="deprtmangrsanctyn" type="STRING" size="256" sumtext="(실장)승인여부"/>
  1038. <Column id="deprtmangrsanctdd" type="STRING" size="256" sumtext="(실장)승인일자"/>
  1039. <Column id="deprtmangrsanctid" type="STRING" size="256" sumtext="(실장)승인자ID"/>
  1040. <Column id="deprtmangrsanctnm" type="STRING" size="256" sumtext="(실장)승인자명"/>
  1041. <Column id="bizscrnid" type="STRING" size="256" sumtext=" 화면id"/>
  1042. <Column id="purctrsmyn" type="STRING" size="256" sumtext="구매팀전송여부"/>
  1043. <Column id="docustat" type="STRING" size="256" sumtext="서류상태 "/>
  1044. <Column id="chkdd" type="STRING" size="256" sumtext="검수일자 "/>
  1045. <Column id="chkpsn" type="STRING" size="256" sumtext="검수자 "/>
  1046. <Column id="chkpsnnm" type="STRING" size="256" sumtext="검수자명 "/>
  1047. <Column id="deliveamt" type="STRING" size="256" sumtext="납품금액 "/>
  1048. <Column id="rpirendyn" type="STRING" size="256" sumtext="수리완료 "/>
  1049. <Column id="execdept" type="STRING" size="256" sumtext="담당부서 "/>
  1050. <Column id="execdeptnm" type="STRING" size="256" sumtext="담당부서명 "/>
  1051. <Column id="content" type="STRING" size="256" sumtext="부품내역 내용 "/>
  1052. <Column id="usedd" type="STRING" size="256" sumtext="소요일"/>
  1053. <Column id="fileseqno" type="STRING" size="256" sumtext="첨부파일번호"/>
  1054. <Column id="filenm" type="STRING" size="256" sumtext="첨부파일명"/>
  1055. <Column id="filepath" type="STRING" size="256" sumtext="첨부파일경로"/>
  1056. <Column id="mngtdeptnm" type="STRING" size="256" sumtext="사용부서명"/>
  1057. </ColumnInfo>
  1058. </Dataset>
  1059. <Dataset id="ds_main_tempgrid_rfehemhtlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  1060. <Dataset id="ds_main_grid_rfemdamklist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1061. <ColumnInfo>
  1062. <Column id="instcd" type="STRING" size="256" sumtext="기관코드"/>
  1063. <Column id="fixtrseqmtflag" type="STRING" size="256" sumtext="비품_장비구분"/>
  1064. <Column id="reqdd" type="STRING" size="256" sumtext="의뢰일자*"/>
  1065. <Column id="reqno" type="STRING" size="256" sumtext="의뢰번호"/>
  1066. <Column id="rpirdd" type="STRING" size="256" sumtext="수리일자"/>
  1067. <Column id="mainrpirpsn" type="STRING" size="256" sumtext="주수리자ID"/>
  1068. <Column id="mainrpirpsnnm" type="STRING" size="256" sumtext="주수리자ID"/>
  1069. <Column id="supprpirpsn" type="STRING" size="256" sumtext="보조수리자ID"/>
  1070. <Column id="supprpirpsnnm" type="STRING" size="256" sumtext="보조수리자ID"/>
  1071. <Column id="rpirtm" type="STRING" size="256" sumtext="수리시간"/>
  1072. <Column id="rpirspec" type="STRING" size="256" sumtext="수리내역"/>
  1073. <Column id="paycond" type="STRING" size="256" sumtext="지출조건"/>
  1074. <Column id="brpirdd" type="STRING" size="256" sumtext="전수리일자"/>
  1075. </ColumnInfo>
  1076. </Dataset>
  1077. <Dataset id="ds_main_tempgrid_rfemdamklist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  1078. <Dataset id="ds_main_component_rfehemhtlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_main_component_rfehemhtlist_oncolumnchanged">
  1079. <ColumnInfo>
  1080. <Column id="instcd" type="STRING" size="256" sumtext="기관코드"/>
  1081. <Column id="fixtrseqmtflag" type="STRING" size="256" sumtext="비품_장비구분"/>
  1082. <Column id="reqdd" type="STRING" size="256" sumtext="의뢰일자"/>
  1083. <Column id="reqno" type="STRING" size="256" sumtext="의뢰번호"/>
  1084. <Column id="reqdeptcd" type="STRING" size="256" sumtext="의뢰부서"/>
  1085. <Column id="depthngnm" type="STRING" size="256" sumtext="의뢰부서명"/>
  1086. <Column id="reqpsnid" type="STRING" size="256" sumtext="의뢰자ID"/>
  1087. <Column id="reqpsnnm" type="STRING" size="256" sumtext="의뢰자이름"/>
  1088. <Column id="genrdd" type="STRING" size="256" sumtext="발생일자"/>
  1089. <Column id="genrtm" type="STRING" size="256" sumtext="발생시간"/>
  1090. <Column id="chrgpsnid" type="STRING" size="256" sumtext="담당자ID(수리담당자)"/>
  1091. <Column id="chrgpsnnm" type="STRING" size="256" sumtext="담당자명"/>
  1092. <Column id="acptdd" type="STRING" size="256" sumtext="접수일자"/>
  1093. <Column id="acpttm" type="STRING" size="256" sumtext="접수시간"/>
  1094. <Column id="acptpsnid" type="STRING" size="256" sumtext="접수자ID"/>
  1095. <Column id="acptpsnnm" type="STRING" size="256" sumtext="접수자이름"/>
  1096. <Column id="acptdeptcd" type="STRING" size="256" sumtext="접수부서"/>
  1097. <Column id="acptdeptnm" type="STRING" size="256" sumtext="접수부서명"/>
  1098. <Column id="workstat" type="STRING" size="256" sumtext="작업상태*"/>
  1099. <Column id="fixasetcd" type="STRING" size="256" sumtext="고정자산코드*-"/>
  1100. <Column id="fixasetnm" type="STRING" size="256" sumtext="고정자산코드명"/>
  1101. <Column id="itemnm" type="STRING" size="256" sumtext="품명"/>
  1102. <Column id="hdrncspec" type="STRING" size="256" sumtext="고장내역(의뢰내역)"/>
  1103. <Column id="rpirflag1" type="STRING" size="256" sumtext="고장유형"/>
  1104. <Column id="rpirflag2" type="STRING" size="256" sumtext="수리형태"/>
  1105. <Column id="useyn" type="STRING" size="256" sumtext="청구구분"/>
  1106. <Column id="lastrpirstat" type="STRING" size="256" sumtext="최종수리상태"/>
  1107. <Column id="acptpsncnfm" type="STRING" size="256" sumtext="인수자확인(인수확인)"/>
  1108. <Column id="deptacptdd" type="STRING" size="256" sumtext="완료인수일"/>
  1109. <Column id="deptacptpsnid" type="STRING" size="256" sumtext="부서인수자ID(인수자)"/>
  1110. <Column id="deptacptpsnnm" type="STRING" size="256" sumtext="인수자 이름"/>
  1111. <Column id="rpiramt" type="STRING" size="256" sumtext="수리비"/>
  1112. <Column id="cmt" type="STRING" size="256" sumtext="비고"/>
  1113. <Column id="rpirenddd" type="STRING" size="256" sumtext="수리완료일자"/>
  1114. <Column id="chrgtel" type="STRING" size="256" sumtext="담당자전화번호(사내전화번호)"/>
  1115. <Column id="sanctyn" type="STRING" size="256" sumtext="결재여부"/>
  1116. <Column id="chrgpsncmt" type="STRING" size="256" sumtext="담당자comment"/>
  1117. <Column id="sanctdd" type="STRING" size="256" sumtext="결재일자"/>
  1118. <Column id="nonworkdayno" type="STRING" size="256" sumtext="미가동일수"/>
  1119. <Column id="emaildeliveyn" type="STRING" size="256" sumtext="메일발송여부"/>
  1120. <Column id="goodmodel" type="STRING" size="256" sumtext="물품모델"/>
  1121. <Column id="acptflag" type="STRING" size="256" sumtext="접수구분"/>
  1122. <Column id="lastrpirrslt" type="STRING" size="256" sumtext="최종수리결과"/>
  1123. <Column id="installplcecd" type="STRING" size="256" sumtext="설치장소CODE"/>
  1124. <Column id="installplcenm" type="STRING" size="256" sumtext="설치장소"/>
  1125. <Column id="estimateamt" type="STRING" size="256" sumtext="견적금액"/>
  1126. <Column id="sanctid" type="STRING" size="256" sumtext="결재자ID"/>
  1127. <Column id="sanctnm" type="STRING" size="256" sumtext="결재자"/>
  1128. <Column id="reductionamt" type="STRING" size="256" sumtext="절감액"/>
  1129. <Column id="custcd" type="STRING" size="256" sumtext="거래처코드"/>
  1130. <Column id="custnm" type="STRING" size="256" sumtext="거래처"/>
  1131. <Column id="sancttrsmyn" type="STRING" size="256" sumtext="결재전송유뮤"/>
  1132. <Column id="reqtel" type="STRING" size="256" sumtext="의뢰자 연락처"/>
  1133. <Column id="bugtyy" type="STRING" size="256" sumtext="예산년도"/>
  1134. <Column id="bugtcd" type="STRING" size="256" sumtext="예산계정"/>
  1135. <Column id="stdysubjno" type="STRING" size="256" sumtext="연구과제code"/>
  1136. <Column id="stdysubjnm" type="STRING" size="256" sumtext="연구과제명"/>
  1137. <Column id="deptaprvyn" type="STRING" size="256" sumtext="부서승인여부"/>
  1138. <Column id="deptaprvdd" type="STRING" size="256" sumtext="부서승인일자"/>
  1139. <Column id="deptaprvpsnid" type="STRING" size="256" sumtext="부서승인자cd"/>
  1140. <Column id="deptaprvpsnnm" type="STRING" size="256" sumtext="부서승인자명"/>
  1141. <Column id="deptaprvreqyn" type="STRING" size="256" sumtext="부서장승인필요여부"/>
  1142. <Column id="mngtno" type="STRING" size="256" sumtext="S/N"/>
  1143. <Column id="rfehdabptotal" type="STRING" size="256" sumtext="부품사용금액"/>
  1144. <Column id="purcagreyn" type="STRING" size="256" sumtext="구매수리승인여부"/>
  1145. <Column id="purcagredd" type="STRING" size="256" sumtext="구매수리승인일자"/>
  1146. <Column id="purcagresnid" type="STRING" size="256" sumtext="구매수리승인자ID"/>
  1147. <Column id="purcagresnnm" type="STRING" size="256" sumtext="구매수리승인자명"/>
  1148. <Column id="engrsanctyn" type="STRING" size="256" sumtext="(기능장)승인여부"/>
  1149. <Column id="engrsanctdd" type="STRING" size="256" sumtext="(기능장)승인일자"/>
  1150. <Column id="engrsanctid" type="STRING" size="256" sumtext="(기능장)승인자ID"/>
  1151. <Column id="engrsanctnm" type="STRING" size="256" sumtext="(기능장)승인자명"/>
  1152. <Column id="mngersanctyn" type="STRING" size="256" sumtext="(과장)승인여부"/>
  1153. <Column id="mngersanctdd" type="STRING" size="256" sumtext="(과장)승인일자"/>
  1154. <Column id="mngersanctid" type="STRING" size="256" sumtext="(과장)승인자ID"/>
  1155. <Column id="mngersanctnm" type="STRING" size="256" sumtext="(과장)승인자명"/>
  1156. <Column id="deprtmangrsanctyn" type="STRING" size="256" sumtext="(실장)승인여부"/>
  1157. <Column id="deprtmangrsanctdd" type="STRING" size="256" sumtext="(실장)승인일자"/>
  1158. <Column id="deprtmangrsanctid" type="STRING" size="256" sumtext="(실장)승인자ID"/>
  1159. <Column id="deprtmangrsanctnm" type="STRING" size="256" sumtext="(실장)승인자명"/>
  1160. <Column id="bizscrnid" type="STRING" size="256" sumtext=" 화면id"/>
  1161. <Column id="purctrsmyn" type="STRING" size="256" sumtext="구매팀전송여부"/>
  1162. <Column id="docustat" type="STRING" size="256" sumtext="서류상태 "/>
  1163. <Column id="chkdd" type="STRING" size="256" sumtext="검수일자 "/>
  1164. <Column id="chkpsn" type="STRING" size="256" sumtext="검수자 "/>
  1165. <Column id="chkpsnnm" type="STRING" size="256" sumtext="검수자명 "/>
  1166. <Column id="deliveamt" type="STRING" size="256" sumtext="납품금액 "/>
  1167. <Column id="rpirendyn" type="STRING" size="256" sumtext="수리완료 "/>
  1168. <Column id="execdept" type="STRING" size="256" sumtext="담당부서 "/>
  1169. <Column id="execdeptnm" type="STRING" size="256" sumtext="담당부서명 "/>
  1170. <Column id="content" type="STRING" size="256" sumtext="부품내역 내용 "/>
  1171. <Column id="usedd" type="STRING" size="256" sumtext="소요일"/>
  1172. <Column id="fileseqno" type="STRING" size="256" sumtext="첨부파일번호"/>
  1173. <Column id="filenm" type="STRING" size="256" sumtext="첨부파일명"/>
  1174. <Column id="filepath" type="STRING" size="256" sumtext="첨부파일경로"/>
  1175. <Column id="mngtdeptnm" type="STRING" size="256" sumtext="사용부서명"/>
  1176. </ColumnInfo>
  1177. </Dataset>
  1178. <Dataset id="ds_main_grid_rfehdabplist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_main_grid_rfehdabplist_oncolumnchanged">
  1179. <ColumnInfo>
  1180. <Column id="instcd" type="STRING" size="256" sumtext="기관코드"/>
  1181. <Column id="fixtrseqmtflag" type="STRING" size="256" sumtext="비품_장비구분"/>
  1182. <Column id="reqdd" type="STRING" size="256" sumtext="의뢰일자*"/>
  1183. <Column id="reqno" type="STRING" size="256" sumtext="의뢰번호"/>
  1184. <Column id="rpirdd" type="STRING" size="256" sumtext="수리일자"/>
  1185. <Column id="rpirseq" type="INT" size="256" sumtext="수리순번"/>
  1186. <Column id="paytype" type="STRING" size="256" sumtext="지급형태"/>
  1187. <Column id="kind" type="STRING" size="256" sumtext="유형"/>
  1188. <Column id="costflag" type="STRING" size="256" sumtext="비용구분"/>
  1189. <Column id="goodflag" type="STRING" size="256" sumtext="(부품)물품구분"/>
  1190. <Column id="acsrscd" type="STRING" size="256" sumtext="부품코드"/>
  1191. <Column id="acsrsnm" type="STRING" size="256" sumtext="부품명"/>
  1192. <Column id="acsrsspec" type="STRING" size="256" sumtext="규격"/>
  1193. <Column id="acsrsqty" type="FLOAT" size="256" sumtext="부품수량"/>
  1194. <Column id="acsrsunit" type="STRING" size="256" sumtext="단위"/>
  1195. <Column id="acsrsamt" type="FLOAT" size="256" sumtext="부품단가"/>
  1196. <Column id="acsrsmoney" type="FLOAT" size="256" sumtext="금액"/>
  1197. <Column id="delivedd" type="STRING" size="256" sumtext="출고일자"/>
  1198. <Column id="deliveno" type="STRING" size="256" sumtext="출고번호"/>
  1199. <Column id="deliveseqno" type="STRING" size="256" sumtext="출고일련번호"/>
  1200. <Column id="accountamt" type="STRING" size="256" sumtext="계산서금액"/>
  1201. <Column id="deliveyn" type="STRING" size="256" sumtext="출고여부"/>
  1202. <Column id="brpirdd" type="STRING" size="256" sumtext="전수리일자"/>
  1203. </ColumnInfo>
  1204. </Dataset>
  1205. <Dataset id="ds_main_component_rfemdamklist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_main_component_rfemdamklist_oncolumnchanged">
  1206. <ColumnInfo>
  1207. <Column id="instcd" type="STRING" size="256" sumtext="기관코드"/>
  1208. <Column id="fixtrseqmtflag" type="STRING" size="256" sumtext="비품_장비구분"/>
  1209. <Column id="reqdd" type="STRING" size="256" sumtext="의뢰일자*"/>
  1210. <Column id="reqno" type="STRING" size="256" sumtext="의뢰번호"/>
  1211. <Column id="rpirdd" type="STRING" size="256" sumtext="수리일자"/>
  1212. <Column id="mainrpirpsn" type="STRING" size="256" sumtext="주수리자ID"/>
  1213. <Column id="mainrpirpsnnm" type="STRING" size="256" sumtext="주수리자ID"/>
  1214. <Column id="supprpirpsn" type="STRING" size="256" sumtext="보조수리자ID"/>
  1215. <Column id="supprpirpsnnm" type="STRING" size="256" sumtext="보조수리자ID"/>
  1216. <Column id="rpirtm" type="STRING" size="256" sumtext="수리시간"/>
  1217. <Column id="rpirspec" type="STRING" size="256" sumtext="수리내역"/>
  1218. <Column id="paycond" type="STRING" size="256" sumtext="지출조건"/>
  1219. <Column id="brpirdd" type="STRING" size="256" sumtext="전수리일자"/>
  1220. </ColumnInfo>
  1221. </Dataset>
  1222. <Dataset id="ds_send_fileupcolumn_fileupload" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  1223. <Dataset id="ds_init_useyn" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1224. <ColumnInfo>
  1225. <Column id="label" type="STRING" size="256"/>
  1226. <Column id="value" type="STRING" size="256"/>
  1227. </ColumnInfo>
  1228. <Rows>
  1229. <Row>
  1230. <Col id="label">내부</Col>
  1231. <Col id="value">1</Col>
  1232. </Row>
  1233. <Row>
  1234. <Col id="label">외부</Col>
  1235. <Col id="value">2</Col>
  1236. </Row>
  1237. </Rows>
  1238. </Dataset>
  1239. <Dataset id="ds_send_grid_rfemdamklist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1240. <ColumnInfo>
  1241. <Column id="instcd" type="STRING" size="256" sumtext="기관코드"/>
  1242. <Column id="fixtrseqmtflag" type="STRING" size="256" sumtext="비품 장비구분"/>
  1243. <Column id="reqdd" type="STRING" size="256" sumtext="의뢰일자"/>
  1244. <Column id="reqno" type="STRING" size="256" sumtext="의뢰번호"/>
  1245. <Column id="rpirdd" type="STRING" size="256" sumtext="수리일자"/>
  1246. </ColumnInfo>
  1247. <Rows>
  1248. <Row/>
  1249. </Rows>
  1250. </Dataset>
  1251. <Dataset id="ds_send_grid_rfehemhtlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1252. <ColumnInfo>
  1253. <Column id="instcd" type="STRING" size="256" sumtext="기관코드"/>
  1254. <Column id="fixtrseqmtflag" type="STRING" size="256" sumtext="비품 장비구분"/>
  1255. <Column id="reqdd" type="STRING" size="256" sumtext="자산코드"/>
  1256. <Column id="reqdd1" type="STRING" size="256" sumtext="비교날짜1"/>
  1257. <Column id="reqdd2" type="STRING" size="256" sumtext="비교날짜2"/>
  1258. <Column id="reqno" type="STRING" size="256" sumtext="자산코드"/>
  1259. </ColumnInfo>
  1260. <Rows>
  1261. <Row/>
  1262. </Rows>
  1263. </Dataset>
  1264. <Dataset id="ds_temp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  1265. <Dataset id="ds_send_search" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1266. <ColumnInfo>
  1267. <Column id="instcd" type="STRING" size="256"/>
  1268. <Column id="fixtrseqmtflag" type="STRING" size="256"/>
  1269. <Column id="reqdd" type="STRING" size="256"/>
  1270. <Column id="reqno" type="STRING" size="256"/>
  1271. </ColumnInfo>
  1272. <Rows>
  1273. <Row>
  1274. <Col id="instcd"/>
  1275. <Col id="fixtrseqmtflag"/>
  1276. <Col id="reqdd"/>
  1277. <Col id="reqno"/>
  1278. </Row>
  1279. </Rows>
  1280. </Dataset>
  1281. <Dataset id="ds_main_defltinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1282. <ColumnInfo>
  1283. <Column id="deliveamt" type="STRING" size="256" sumtext="납품금액"/>
  1284. </ColumnInfo>
  1285. </Dataset>
  1286. <Dataset id="ds_init_main_rfcmfacdlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1287. <ColumnInfo>
  1288. <Column id="fixasetcd" type="STRING" size="256"/>
  1289. <Column id="goodflaghngnm" type="STRING" size="256"/>
  1290. <Column id="goodmodel" type="STRING" size="256"/>
  1291. <Column id="cntrdeptcd" type="STRING" size="256"/>
  1292. <Column id="installplcenm" type="STRING" size="256"/>
  1293. <Column id="possnamt" type="STRING" size="256"/>
  1294. <Column id="goodflagengnm" type="STRING" size="256"/>
  1295. <Column id="prodcmpy" type="STRING" size="256"/>
  1296. <Column id="prodcmpynm" type="STRING" size="256"/>
  1297. <Column id="windd" type="STRING" size="256"/>
  1298. <Column id="suplplcecd" type="STRING" size="256"/>
  1299. <Column id="suplplcenm" type="STRING" size="256"/>
  1300. <Column id="possnflagcd" type="STRING" size="256"/>
  1301. <Column id="possnflagnm" type="STRING" size="256"/>
  1302. <Column id="forgncurncyamt" type="STRING" size="256"/>
  1303. <Column id="curncyunit" type="STRING" size="256"/>
  1304. <Column id="goodflag" type="STRING" size="256"/>
  1305. <Column id="goodspec" type="STRING" size="256"/>
  1306. <Column id="mngtno" type="STRING" size="256"/>
  1307. <Column id="cntrdeptnm" type="STRING" size="256"/>
  1308. <Column id="possndd" type="STRING" size="256"/>
  1309. <Column id="cntctel" type="STRING" size="256"/>
  1310. <Column id="mngtdeptcd" type="STRING" size="256"/>
  1311. <Column id="reqdeptnm" type="STRING" size="256"/>
  1312. <Column id="originalmngtdeptnm" type="STRING" size="256"/>
  1313. <Column id="welfcd" type="STRING" size="256"/>
  1314. <Column id="goodqty" type="STRING" size="256"/>
  1315. <Column id="lrgnm" type="STRING" size="256"/>
  1316. <Column id="installplcecd" type="STRING" size="256"/>
  1317. </ColumnInfo>
  1318. <Rows>
  1319. <Row/>
  1320. </Rows>
  1321. </Dataset>
  1322. <Dataset id="ds_copynode" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  1323. <Dataset id="ds_init_main_goodlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  1324. <Dataset id="ds_send_fileinfo_fileinfolist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1325. <ColumnInfo>
  1326. <Column id="status" type="STRING" size="256" sumtext="상태"/>
  1327. <Column id="fileseqno" type="STRING" size="256" sumtext="첨부파일순번"/>
  1328. <Column id="fixasetcd" type="STRING" size="256" sumtext="고정자산코드"/>
  1329. <Column id="filenm" type="STRING" size="256" sumtext="화일명"/>
  1330. <Column id="filepath" type="STRING" size="256" sumtext="화일경로"/>
  1331. <Column id="filesize" type="STRING" size="256" sumtext="화일사이즈"/>
  1332. <Column id="filetype" type="STRING" size="256" sumtext="화일유형"/>
  1333. <Column id="filedata" type="BLOB" size="256"/>
  1334. </ColumnInfo>
  1335. </Dataset>
  1336. <Dataset id="ds_send_fileupcolumn" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1337. <ColumnInfo>
  1338. <Column id="refinstcd" type="STRING" size="256"/>
  1339. <Column id="refdeptcd" type="STRING" size="256"/>
  1340. <Column id="refpsnid" type="STRING" size="256"/>
  1341. <Column id="fixasetcd" type="STRING" size="256"/>
  1342. <Column id="fileseqno" type="STRING" size="256"/>
  1343. <Column id="attfilenm" type="STRING" size="256"/>
  1344. <Column id="attfilepathnm" type="STRING" size="256"/>
  1345. <Column id="reqdd" type="STRING" size="256"/>
  1346. <Column id="reqno" type="STRING" size="256"/>
  1347. </ColumnInfo>
  1348. <Rows>
  1349. <Row>
  1350. <Col id="refinstcd"/>
  1351. <Col id="refdeptcd"/>
  1352. <Col id="refpsnid"/>
  1353. <Col id="fixasetcd"/>
  1354. <Col id="fileseqno"/>
  1355. <Col id="attfilenm"/>
  1356. <Col id="attfilepathnm"/>
  1357. <Col id="reqdd"/>
  1358. <Col id="reqno"/>
  1359. </Row>
  1360. </Rows>
  1361. </Dataset>
  1362. <Dataset id="ds_tmp_attfileinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1363. <ColumnInfo>
  1364. <Column id="fileseqno" type="STRING" size="256" sumtext="첨부파일SeqNo"/>
  1365. <Column id="filepath" type="STRING" size="256" sumtext="첨부파일경로"/>
  1366. <Column id="filenm" type="STRING" size="256" sumtext="첨부파일명"/>
  1367. </ColumnInfo>
  1368. </Dataset>
  1369. <Dataset id="ds_send_sendprint" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1370. <ColumnInfo>
  1371. <Column id="instcd" type="STRING" size="256"/>
  1372. <Column id="chrgpsnid" type="STRING" size="256"/>
  1373. <Column id="reqdd" type="STRING" size="256"/>
  1374. <Column id="reqdd2" type="STRING" size="256"/>
  1375. <Column id="reqno" type="STRING" size="256"/>
  1376. <Column id="reqno2" type="STRING" size="256"/>
  1377. <Column id="reqdeptcd" type="STRING" size="256"/>
  1378. <Column id="fixtrseqmtflag" type="STRING" size="256"/>
  1379. </ColumnInfo>
  1380. <Rows>
  1381. <Row>
  1382. <Col id="instcd"/>
  1383. <Col id="chrgpsnid"/>
  1384. <Col id="reqdd"/>
  1385. <Col id="reqdd2"/>
  1386. <Col id="reqno"/>
  1387. <Col id="reqno2"/>
  1388. <Col id="reqdeptcd"/>
  1389. <Col id="fixtrseqmtflag"/>
  1390. </Row>
  1391. </Rows>
  1392. </Dataset>
  1393. <Dataset id="ds_print_rpirprntinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1394. <ColumnInfo>
  1395. <Column id="instcd" type="STRING" size="256" sumtext="기관코드"/>
  1396. <Column id="fixasetcd" type="STRING" size="256" sumtext="고정자산코드"/>
  1397. <Column id="fixtrseqmtflag" type="STRING" size="256" sumtext="비품_장비구분"/>
  1398. <Column id="goodflaghngnm" type="STRING" size="256" sumtext="자산품명"/>
  1399. <Column id="goodflagengnm" type="STRING" size="256" sumtext="자산영문품명"/>
  1400. <Column id="installplcecd" type="STRING" size="256" sumtext="설치장소코드"/>
  1401. <Column id="installplcenm" type="STRING" size="256" sumtext="설치장소명"/>
  1402. <Column id="execdept" type="STRING" size="256" sumtext="시행부서"/>
  1403. <Column id="execdeptnm" type="STRING" size="256" sumtext="시행부서명"/>
  1404. <Column id="goodspec" type="STRING" size="256" sumtext="설치장소명"/>
  1405. <Column id="possnamt" type="STRING" size="256" sumtext="취득금액"/>
  1406. <Column id="suplplcecd" type="STRING" size="256" sumtext="거래처코드"/>
  1407. <Column id="suplplcenm" type="STRING" size="256" sumtext="거래처명"/>
  1408. <Column id="prodcmpy" type="STRING" size="256" sumtext="제조원"/>
  1409. <Column id="prodcmpynm" type="STRING" size="256" sumtext="제조원명"/>
  1410. <Column id="possndd" type="STRING" size="256" sumtext="취득일자"/>
  1411. <Column id="genrdd" type="STRING" size="256" sumtext="발생일자"/>
  1412. <Column id="reqpsnid" type="STRING" size="256" sumtext="의뢰자id"/>
  1413. <Column id="reqpsnnm" type="STRING" size="256" sumtext="의뢰자"/>
  1414. <Column id="reqtel" type="STRING" size="256" sumtext="수리담당자연락처"/>
  1415. <Column id="reqdd" type="STRING" size="256" sumtext="의뢰일자"/>
  1416. <Column id="reqno" type="STRING" size="256" sumtext="의뢰번호"/>
  1417. <Column id="hdrncspec" type="STRING" size="256" sumtext="고장내역"/>
  1418. <Column id="chrgpsnid" type="STRING" size="256" sumtext="담당자id"/>
  1419. <Column id="chrgpsnnm" type="STRING" size="256" sumtext="담당자"/>
  1420. <Column id="rpirflag2" type="STRING" size="256" sumtext="수리형태"/>
  1421. <Column id="rpirflag2nm" type="STRING" size="256" sumtext="수리형태"/>
  1422. <Column id="lastrpirrslt" type="STRING" size="256" sumtext="최종수리결과"/>
  1423. <Column id="rpiramt" type="STRING" size="256" sumtext="확정금액"/>
  1424. <Column id="rpirenddd" type="STRING" size="256" sumtext="수리완료일자"/>
  1425. <Column id="deprtmangrsanctid" type="STRING" size="256" sumtext="실장승인자id"/>
  1426. <Column id="deprtmangrsanctnm" type="STRING" size="256" sumtext="실장승인자"/>
  1427. <Column id="mngersanctid" type="STRING" size="256" sumtext="과장승인자id"/>
  1428. <Column id="mngersanctnm" type="STRING" size="256" sumtext="과장승인자"/>
  1429. <Column id="acsrscd" type="STRING" size="256" sumtext="부품코드"/>
  1430. <Column id="acsrsnm" type="STRING" size="256" sumtext="부품명"/>
  1431. <Column id="acsrsspec" type="STRING" size="256" sumtext="규격"/>
  1432. <Column id="acsrsqty" type="STRING" size="256" sumtext="수량"/>
  1433. <Column id="acsrsunit" type="STRING" size="256" sumtext="단위"/>
  1434. <Column id="reqdeptnm" type="STRING" size="256" sumtext="의뢰부서"/>
  1435. <Column id="agency" type="STRING" size="256" sumtext="수리거래처"/>
  1436. <Column id="estimateamt" type="STRING" size="256" sumtext="견적금액"/>
  1437. </ColumnInfo>
  1438. </Dataset>
  1439. <Dataset id="ds_print_PrintRfehemht" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1440. <ColumnInfo>
  1441. <Column id="instcd" type="STRING" size="256" sumtext="기관코드"/>
  1442. <Column id="fixtrseqmtflag" type="STRING" size="256" sumtext="비품_장비구분"/>
  1443. <Column id="reqdd" type="STRING" size="256" sumtext="의뢰일자"/>
  1444. <Column id="reqno" type="STRING" size="256" sumtext="의뢰번호 자산 수리의뢰 건별 일자의일련번호:수리의뢰일자 + 일련번호"/>
  1445. <Column id="acptflag" type="STRING" size="256" sumtext="접수구분"/>
  1446. <Column id="fixasetcd" type="STRING" size="256" sumtext="고정자산코드"/>
  1447. <Column id="itemnm" type="STRING" size="256" sumtext="품명"/>
  1448. <Column id="reqdeptcd" type="STRING" size="256" sumtext="의뢰부서"/>
  1449. <Column id="reqpsnid" type="STRING" size="256" sumtext="의뢰자id"/>
  1450. <Column id="genrdd" type="STRING" size="256" sumtext="발생일자"/>
  1451. <Column id="genrtm" type="STRING" size="256" sumtext="발생시간"/>
  1452. <Column id="chrgtel" type="STRING" size="256" sumtext="담당자전화번호"/>
  1453. <Column id="hdrncspec" type="STRING" size="256" sumtext="고장내역"/>
  1454. <Column id="acptdd" type="STRING" size="256" sumtext="접수일자"/>
  1455. <Column id="acpttm" type="STRING" size="256" sumtext="접수시간"/>
  1456. <Column id="acptpsnid" type="STRING" size="256" sumtext="접수자id"/>
  1457. <Column id="acptdeptcd" type="STRING" size="256" sumtext="접수부서"/>
  1458. <Column id="chrgpsnid" type="STRING" size="256" sumtext="담당자id"/>
  1459. <Column id="workstat" type="STRING" size="256" sumtext="작업상태"/>
  1460. <Column id="rpirflag1" type="STRING" size="256" sumtext="고장유형"/>
  1461. <Column id="rpirflag2" type="STRING" size="256" sumtext="수리형태"/>
  1462. <Column id="useyn" type="STRING" size="256" sumtext="청구구분"/>
  1463. <Column id="lastrpirstat" type="STRING" size="256" sumtext="최종수리상태"/>
  1464. <Column id="acptpsncnfm" type="STRING" size="256" sumtext="인수자확인"/>
  1465. <Column id="deptacptdd" type="STRING" size="256" sumtext="부서인수일자"/>
  1466. <Column id="deptacptpsnid" type="STRING" size="256" sumtext="부서인수자id"/>
  1467. <Column id="estimateamt" type="STRING" size="256" sumtext="견적금액"/>
  1468. <Column id="reductionamt" type="STRING" size="256" sumtext="절감액"/>
  1469. <Column id="rpiramt" type="STRING" size="256" sumtext="확정금액"/>
  1470. <Column id="custcd" type="STRING" size="256" sumtext="거래처코드"/>
  1471. <Column id="cmt" type="STRING" size="256" sumtext="비고"/>
  1472. <Column id="rpirenddd" type="STRING" size="256" sumtext="수리완료일자"/>
  1473. <Column id="sancttrsmyn" type="STRING" size="256" sumtext="결재전송여부"/>
  1474. <Column id="sanctyn" type="STRING" size="256" sumtext="결재여부"/>
  1475. <Column id="sanctid" type="STRING" size="256" sumtext="결재자"/>
  1476. <Column id="chrgpsncmt" type="STRING" size="256" sumtext="결재comment"/>
  1477. <Column id="sanctdd" type="STRING" size="256" sumtext="결재일자"/>
  1478. <Column id="nonworkdayno" type="STRING" size="256" sumtext="미가동일수"/>
  1479. <Column id="lastrpirrslt" type="STRING" size="256" sumtext="최종수리결과"/>
  1480. <Column id="emaildeliveyn" type="STRING" size="256" sumtext="메일발송여부"/>
  1481. <Column id="purctrsmyn" type="STRING" size="256" sumtext="구매전송여부"/>
  1482. <Column id="slipdd" type="STRING" size="256" sumtext="전표일자"/>
  1483. <Column id="slipno" type="STRING" size="256" sumtext="전표번호"/>
  1484. <Column id="fstrgstrid" type="STRING" size="256" sumtext="최초등록자id"/>
  1485. <Column id="fstrgstdt" type="STRING" size="256" sumtext="최초등록일시"/>
  1486. <Column id="lastupdtrid" type="STRING" size="256" sumtext="최종수정자id"/>
  1487. <Column id="lastupdtdt" type="STRING" size="256" sumtext="최종수정일시"/>
  1488. <Column id="bugtcd" type="STRING" size="256" sumtext="예산코드"/>
  1489. <Column id="stdysubjno" type="STRING" size="256" sumtext="연구과제번호"/>
  1490. <Column id="bugtyy" type="STRING" size="256" sumtext="예산년도"/>
  1491. <Column id="reqtel" type="STRING" size="256" sumtext="수리담당자연락처"/>
  1492. <Column id="deptaprvyn" type="STRING" size="256" sumtext="부서승인여부"/>
  1493. <Column id="deptaprvdd" type="STRING" size="256" sumtext="부서승인일자"/>
  1494. <Column id="deptaprvpsnid" type="STRING" size="256" sumtext="부서승인자"/>
  1495. <Column id="goodmodel" type="STRING" size="256" sumtext="자산모델"/>
  1496. <Column id="goodflaghngnm" type="STRING" size="256" sumtext="자산품명"/>
  1497. <Column id="goodflagengnm" type="STRING" size="256" sumtext="자산영문품명"/>
  1498. <Column id="mngtno" type="STRING" size="256" sumtext="자산 관리번호"/>
  1499. <Column id="possndd" type="STRING" size="256" sumtext="취득일자"/>
  1500. <Column id="possnamt" type="STRING" size="256" sumtext="취득금액"/>
  1501. <Column id="prodcmpy" type="STRING" size="256" sumtext="제조원"/>
  1502. <Column id="agency" type="STRING" size="256" sumtext="대리점"/>
  1503. <Column id="agencycntctel" type="STRING" size="256" sumtext="대리점 전화번호"/>
  1504. <Column id="reqpsnnm" type="STRING" size="256" sumtext="의뢰자"/>
  1505. <Column id="deptaprvpsnnm" type="STRING" size="256" sumtext="의뢰 부서장"/>
  1506. <Column id="chrgpsnnm" type="STRING" size="256" sumtext="담당자"/>
  1507. <Column id="reqdeptnm" type="STRING" size="256" sumtext="의뢰부서명"/>
  1508. <Column id="rpirdd" type="STRING" size="256" sumtext="수리일자"/>
  1509. <Column id="rpirseq" type="STRING" size="256" sumtext="수리순번"/>
  1510. <Column id="paytype" type="STRING" size="256" sumtext="지급 형태"/>
  1511. <Column id="kind" type="STRING" size="256" sumtext="유형"/>
  1512. <Column id="kindnm" type="STRING" size="256" sumtext="유형명"/>
  1513. <Column id="costflag" type="STRING" size="256" sumtext="비용 구분"/>
  1514. <Column id="acsrscd" type="STRING" size="256" sumtext="부품코드"/>
  1515. <Column id="acsrsnm" type="STRING" size="256" sumtext="부품명"/>
  1516. <Column id="acsrsspec" type="STRING" size="256" sumtext="규격"/>
  1517. <Column id="acsrsqty" type="STRING" size="256" sumtext="수량"/>
  1518. <Column id="acsrsunit" type="STRING" size="256" sumtext="단위"/>
  1519. <Column id="acsrsamt" type="STRING" size="256" sumtext="금액"/>
  1520. <Column id="delivedd" type="STRING" size="256" sumtext="출고일자"/>
  1521. <Column id="deliveno" type="STRING" size="256" sumtext="출고번호"/>
  1522. <Column id="deliveseqno" type="STRING" size="256" sumtext="출고일련번호"/>
  1523. <Column id="cntctel" type="STRING" size="256" sumtext="거래처전화번호"/>
  1524. <Column id="custnm" type="STRING" size="256" sumtext="거래처명"/>
  1525. </ColumnInfo>
  1526. </Dataset>
  1527. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1528. <ColumnInfo>
  1529. <Column id="filepath" type="STRING" size="256" sumtext="서버저장경로"/>
  1530. <Column id="fileseqno" type="STRING" size="256" sumtext="파일일련번호"/>
  1531. </ColumnInfo>
  1532. <Rows>
  1533. <Row/>
  1534. </Rows>
  1535. </Dataset>
  1536. <Dataset id="ds_main_attachfile" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1537. <ColumnInfo>
  1538. <Column id="filedata" type="STRING" size="256" sumtext="파일데이터"/>
  1539. </ColumnInfo>
  1540. </Dataset>
  1541. </Objects>
  1542. <Bind>
  1543. <BindItem id="item0" compid="group2.cmb_instcd" propid="value" datasetid="ds_send_sendlist" columnid="instcd"/>
  1544. <BindItem id="item1" compid="group2.ipt_goodspec" propid="value" datasetid="ds_send_sendlist" columnid="goodspec"/>
  1545. <BindItem id="item2" compid="group2.ipt_possndd" propid="value" datasetid="ds_send_sendlist" columnid="possndd"/>
  1546. <BindItem id="item3" compid="group2.ipt_tempmngtdeptnm" propid="value" datasetid="ds_send_sendlist" columnid="tempmngtdeptnm"/>
  1547. <BindItem id="item4" compid="group2.ipt_fixasetcd" propid="value" datasetid="ds_send_sendlist" columnid="fixasetcd"/>
  1548. <BindItem id="item5" compid="group2.ipt_goodflaghngnm" propid="value" datasetid="ds_send_sendlist" columnid="goodflaghngnm"/>
  1549. <BindItem id="item6" compid="group2.ipt_installplcenm" propid="value" datasetid="ds_send_sendlist" columnid="installplcenm"/>
  1550. <BindItem id="item7" compid="group2.ipt_possnamt" propid="value" datasetid="ds_send_sendlist" columnid="possnamt"/>
  1551. <BindItem id="item8" compid="group2.ipt_mngtdeptnm" propid="value" datasetid="ds_send_sendlist" columnid="mngtdeptnm"/>
  1552. <BindItem id="item9" compid="group2.ipt_mngtno" propid="value" datasetid="ds_send_sendlist" columnid="mngtno"/>
  1553. <BindItem id="item10" compid="group2.ipt_suplplcenm" propid="value" datasetid="ds_send_sendlist" columnid="suplplcenm"/>
  1554. <BindItem id="item11" compid="group2.ipt_cntctel" propid="value" datasetid="ds_send_sendlist" columnid="cntctel"/>
  1555. <BindItem id="item12" compid="group2.input1" propid="value" datasetid="ds_send_sendlist" columnid="flwgrnttermfr"/>
  1556. <BindItem id="item13" compid="group2.input2" propid="value" datasetid="ds_send_sendlist" columnid="flwgrnttermto"/>
  1557. <BindItem id="item14" compid="group2.ipt_goodmodel" propid="value" datasetid="ds_send_sendlist" columnid=""/>
  1558. <BindItem id="item15" compid="group2.ipt_prodcmpynm" propid="value" datasetid="ds_send_sendlist" columnid="prodcmpynm"/>
  1559. <BindItem id="item16" compid="group2.cmb_reqflag" propid="value" datasetid="ds_init" columnid="reqflag"/>
  1560. <BindItem id="item17" compid="group2.ipt_fixtrseqmtflag" propid="value" datasetid="ds_send_sendlist" columnid="fixtrseqmtflag"/>
  1561. <BindItem id="item18" compid="group2.ipt_installplcecd" propid="value" datasetid="ds_send_sendlist" columnid="installplcecd"/>
  1562. <BindItem id="item19" compid="switch2.case1.ipt_reqdd" propid="value" datasetid="ds_main_component_rfehemhtlist" columnid="reqdd"/>
  1563. <BindItem id="item20" compid="switch2.case1.ipt_reqno" propid="value" datasetid="ds_main_component_rfehemhtlist" columnid="reqno"/>
  1564. <BindItem id="item21" compid="switch2.case1.cmb_rpirflag2" propid="value" datasetid="ds_main_component_rfehemhtlist" columnid="rpirflag2"/>
  1565. <BindItem id="item22" compid="switch2.case1.ipt_chrgpsnid" propid="value" datasetid="ds_main_component_rfehemhtlist" columnid="chrgpsnid"/>
  1566. <BindItem id="item23" compid="switch2.case1.ipt_chrgpsnnm" propid="value" datasetid="ds_main_component_rfehemhtlist" columnid="chrgpsnnm"/>
  1567. <BindItem id="item24" compid="switch2.case1.txt_hdrncspec" propid="value" datasetid="ds_main_component_rfehemhtlist" columnid="hdrncspec"/>
  1568. <BindItem id="item25" compid="switch2.case1.ipt_chrgtel" propid="value" datasetid="ds_main_component_rfehemhtlist" columnid="chrgtel"/>
  1569. <BindItem id="item26" compid="switch2.case1.ipt_chkpsn" propid="value" datasetid="ds_main_component_rfehemhtlist" columnid="chkpsn"/>
  1570. <BindItem id="item27" compid="switch2.case1.ipt_genrdd" propid="value" datasetid="ds_main_component_rfehemhtlist" columnid="genrdd"/>
  1571. <BindItem id="item28" compid="switch2.case1.ipt_rpirenddd2" propid="value" datasetid="ds_main_component_rfehemhtlist" columnid="rpirenddd"/>
  1572. <BindItem id="item29" compid="switch2.case1.ipt_acptdd" propid="value" datasetid="ds_main_component_rfehemhtlist" columnid="acptdd"/>
  1573. <BindItem id="item30" compid="switch2.case1.ipt_custcd" propid="value" datasetid="ds_main_component_rfehemhtlist" columnid="custcd"/>
  1574. <BindItem id="item31" compid="switch2.case1.ipt_custnm" propid="value" datasetid="ds_main_component_rfehemhtlist" columnid="custnm"/>
  1575. <BindItem id="item32" compid="switch2.case1.ipt_rpiramt" propid="value" datasetid="ds_main_component_rfehemhtlist" columnid="rpiramt"/>
  1576. <BindItem id="item33" compid="switch2.case1.cmb_docustat" propid="value" datasetid="ds_main_component_rfehemhtlist" columnid="docustat"/>
  1577. <BindItem id="item34" compid="switch2.case1.ipt_usedd" propid="value" datasetid="ds_main_component_rfehemhtlist" columnid="usedd"/>
  1578. <BindItem id="item35" compid="switch2.case1.ipt_rpirenddd" propid="value" datasetid="ds_main_component_rfehemhtlist" columnid="rpirenddd"/>
  1579. <BindItem id="item36" compid="switch2.case1.chk_rpirendyn" propid="value" datasetid="ds_main_component_rfehemhtlist" columnid="rpirendyn"/>
  1580. <BindItem id="item37" compid="switch2.case1.ipt_chkdd" propid="value" datasetid="ds_main_component_rfehemhtlist" columnid="chkdd"/>
  1581. <BindItem id="item38" compid="switch2.case1.ipt_chkpsnnm" propid="value" datasetid="ds_main_component_rfehemhtlist" columnid="chkpsnnm"/>
  1582. <BindItem id="item39" compid="switch2.case1.ipt_deprtmangrsanctid" propid="value" datasetid="ds_main_component_rfehemhtlist" columnid="deprtmangrsanctid"/>
  1583. <BindItem id="item40" compid="switch2.case1.ipt_deprtmangrsanctnm" propid="value" datasetid="ds_main_component_rfehemhtlist" columnid="deprtmangrsanctnm"/>
  1584. <BindItem id="item41" compid="switch2.case1.ipt_mngersanctid" propid="value" datasetid="ds_main_component_rfehemhtlist" columnid="mngersanctid"/>
  1585. <BindItem id="item42" compid="switch2.case1.ipt_mngersanctnm" propid="value" datasetid="ds_main_component_rfehemhtlist" columnid="mngersanctnm"/>
  1586. <BindItem id="item43" compid="switch2.case1.cmb_workstat" propid="value" datasetid="ds_main_component_rfehemhtlist" columnid="workstat"/>
  1587. <BindItem id="item44" compid="switch2.case1.ipt_attfilenm" propid="value" datasetid="ds_main_component_rfehemhtlist" columnid="filenm"/>
  1588. <BindItem id="item45" compid="switch2.case1.txt_lastrpirrslt" propid="value" datasetid="ds_main_component_rfehemhtlist" columnid="lastrpirrslt"/>
  1589. <BindItem id="item46" compid="grp_hidden.ipt_outestimateamt" propid="value" datasetid="ds_main_component_rfehemhtlist" columnid="outestimateamt"/>
  1590. <BindItem id="item47" compid="grp_hidden.ipt_insStatus" propid="value" datasetid="ds_init" columnid="insStatus"/>
  1591. <BindItem id="item48" compid="grp_hidden.ipt_sancttrsmyn" propid="value" datasetid="ds_init" columnid="sancttrsmyn"/>
  1592. <BindItem id="item49" compid="grp_hidden.cmb_rpirflag1" propid="value" datasetid="ds_main_component_rfehemhtlist" columnid="rpirflag1"/>
  1593. <BindItem id="item50" compid="grp_hidden.ipt_purcagredd" propid="value" datasetid="ds_main_component_rfehemhtlist" columnid=""/>
  1594. <BindItem id="item51" compid="grp_hidden.cmb_deptaprvreqyn" propid="value" datasetid="ds_main_component_rfehemhtlist" columnid="deptaprvreqyn"/>
  1595. <BindItem id="item52" compid="grp_hidden.ipt_deptaprvpsnnm" propid="value" datasetid="ds_main_component_rfehemhtlist" columnid="deptaprvpsnnm"/>
  1596. <BindItem id="item53" compid="grp_hidden.ipt_purcagresnnm" propid="value" datasetid="ds_main_component_rfehemhtlist" columnid="purcagresnnm"/>
  1597. <BindItem id="item54" compid="grp_hidden.ipt_reductionamt" propid="value" datasetid="ds_main_component_rfehemhtlist" columnid="reductionamt"/>
  1598. <BindItem id="item55" compid="grp_hidden.ipt_nonworkdayno" propid="value" datasetid="ds_main_component_rfehemhtlist" columnid="nonworkdayno"/>
  1599. <BindItem id="item56" compid="grp_hidden.ipt_deptaprvpsnid" propid="value" datasetid="ds_main_component_rfehemhtlist" columnid="deptaprvpsnid"/>
  1600. <BindItem id="item57" compid="grp_hidden.ipt_deptaprvdd" propid="value" datasetid="ds_main_component_rfehemhtlist" columnid="deptaprvdd"/>
  1601. <BindItem id="item58" compid="grp_hidden.ipt_acptdeptcd" propid="value" datasetid="ds_main_component_rfehemhtlist" columnid="acptdeptcd"/>
  1602. <BindItem id="item59" compid="grp_hidden.ipt_acpttm" propid="value" datasetid="ds_main_component_rfehemhtlist" columnid="acpttm"/>
  1603. <BindItem id="item60" compid="grp_hidden.ipt_acptpsnid" propid="value" datasetid="ds_main_component_rfehemhtlist" columnid="acptpsnid"/>
  1604. <BindItem id="item61" compid="grp_hidden.bool_deptaprvyn" propid="value" datasetid="ds_main_component_rfehemhtlist" columnid=""/>
  1605. <BindItem id="item62" compid="grp_hidden.rdo_useyn" propid="value" datasetid="ds_main_component_rfehemhtlist" columnid="useyn"/>
  1606. <BindItem id="item63" compid="grp_hidden.ipt_sanctid" propid="value" datasetid="ds_main_component_rfehemhtlist" columnid="sanctid"/>
  1607. <BindItem id="item64" compid="grp_hidden.ipt_rfehdabptotal" propid="value" datasetid="ds_main_component_rfehemhtlist" columnid="rfehdabptotal"/>
  1608. <BindItem id="item65" compid="grp_hidden.ipt_estimateamt" propid="value" datasetid="ds_main_component_rfehemhtlist" columnid="estimateamt"/>
  1609. <BindItem id="item66" compid="switch2.case1.ipt_rpirdd" propid="value" datasetid="ds_main_component_rfemdamklist" columnid="rpirdd"/>
  1610. <BindItem id="item67" compid="switch2.case1.ipt_mainrpirpsn" propid="value" datasetid="ds_main_component_rfemdamklist" columnid="mainrpirpsn"/>
  1611. <BindItem id="item68" compid="switch2.case1.ipt_supprpirpsn" propid="value" datasetid="ds_main_component_rfemdamklist" columnid="supprpirpsn"/>
  1612. <BindItem id="item69" compid="switch2.case1.ipt_rpirtm" propid="value" datasetid="ds_main_component_rfemdamklist" columnid="rpirtm"/>
  1613. <BindItem id="item70" compid="switch2.case1.ipt_mainrpirpsnnm" propid="value" datasetid="ds_main_component_rfemdamklist" columnid="mainrpirpsnnm"/>
  1614. <BindItem id="item71" compid="switch2.case1.ipt_supprpirpsnnm" propid="value" datasetid="ds_main_component_rfemdamklist" columnid="supprpirpsnnm"/>
  1615. <BindItem id="item72" compid="switch2.case1.txt_rpirspec" propid="value" datasetid="ds_main_component_rfemdamklist" columnid="rpirspec"/>
  1616. <BindItem id="item73" compid="ipt_rowtemp" propid="value" datasetid="ds_init" columnid="rowtemp"/>
  1617. <BindItem id="item74" compid="switch2.case1.txt_chrgpsncmt" propid="value" datasetid="ds_main_component_rfehemhtlist" columnid="chrgpsncmt"/>
  1618. <BindItem id="item75" compid="switch2.case1.ipt_uploadfile" propid="value" datasetid="ds_send_fileupcolumn_fileupload" columnid="file"/>
  1619. <BindItem id="item76" compid="switch2.case1.ipt_estiamt" propid="value" datasetid="ds_main_component_rfehemhtlist" columnid="estimateamt"/>
  1620. </Bind>
  1621. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  1622. * System Name :
  1623. * Job Name :
  1624. * Creator :
  1625. * Make Date : 2017-06-19
  1626. * Description :
  1627. *---------------------------------------------------------------------------------------
  1628. * Modify Date Modifier Modify Description
  1629. *---------------------------------------------------------------------------------------
  1630. * 2017-06-19 Live Converter TF->XP
  1631. *
  1632. *---------------------------------------------------------------------------------------
  1633. ****************************************************************************************/
  1634. include "com_commonxp::comm_main.xjs";
  1635. include "mis_miscommonxp::MIS.xjs";
  1636. include "mis_miscommonxp::RSZ001.xjs";
  1637. var arErrorCode = new HashArray();
  1638. function SMRFE01000_oninit(obj:Form, e:InitEventInfo)
  1639. {
  1640. frmf_initForm(obj);
  1641. }
  1642. function SMRFE01000_onload(obj:Form, e:LoadEventInfo)
  1643. {
  1644. grdf_initGrid(grd_rfehemhtlist);
  1645. grdf_setRowTypeIcon(grd_rfehemhtlist, 0);
  1646. grdf_initGrid(tempgrd_rfehemhtlist);
  1647. grdf_setRowTypeIcon(tempgrd_rfehemhtlist, 0);
  1648. grdf_initGrid(grd_rfehdabplist);
  1649. grdf_setRowTypeIcon(grd_rfehdabplist, 0);
  1650. grdf_initGrid(tempgrd_rfemdamklist);
  1651. grdf_setRowTypeIcon(tempgrd_rfemdamklist, 0);
  1652. grdf_initGrid(grd_rfemdamklist);
  1653. grdf_setRowTypeIcon(grd_rfemdamklist, 0);
  1654. try
  1655. {
  1656. ds_temp.copyData(arg_ds_temp);
  1657. }
  1658. catch(e)
  1659. {
  1660. }
  1661. fInitialize();
  1662. misfMsterDetailSet(grd_rfehemhtlist, null, "TRRFE00601", "Y", "row"); // 의뢰일별 목록
  1663. misfMsterDetailSet(grd_rfemdamklist, null, "TRRFE00602", "Y", "row"); // 수리일자별 목록
  1664. misfMsterDetailSet(grd_rfehdabplist, null, "TRRFE00603", "Y"); // 부품목록
  1665. if(!utlf_isNull(ds_temp.getColumn(0, "fixasetcd")))
  1666. {
  1667. //ds_send_sendlist.enableevent = false;
  1668. group2.cmb_instcd.value = ds_temp.getColumn(0, "instcd");
  1669. group2.ipt_fixasetcd.value = ds_temp.getColumn(0, "fixasetcd");
  1670. //ds_send_sendlist.enableevent = true;
  1671. group2.ipt_fixasetcd.enable = false;
  1672. group2.cmb_instcd.enable = false;
  1673. group2.btn_fixasetcd.enable = false;
  1674. }
  1675. }
  1676. function fInitialize()
  1677. {
  1678. ds_main_component_rfehemhtlist.clearData();
  1679. ds_main_component_rfehemhtlist.addRow();
  1680. ds_main_component_rfemdamklist.clearData();
  1681. ds_main_component_rfemdamklist.addRow();
  1682. misfGridInit(grd_rfehemhtlist);
  1683. misfGridInit(grd_rfemdamklist);
  1684. misfGridInit(grd_rfehdabplist);
  1685. ds_main_tempgrid_rfehemhtlist.clearData();
  1686. ds_main_tempgrid_rfemdamklist.clearData();
  1687. ds_main_grid_rfehdabplist.clearData();
  1688. ds_main_grid_rfehemhtlist.clearData();
  1689. misfComboComCdListMulti("C0048,R0285,R0285,R0286,R0055,R0287,R0055,R0286,R0288,R0289,R0290,R0039,030M0012",
  1690. "group2.cmb_instcd,grd_rfehemhtlist.rpirflag2,switch2.case1.cmb_rpirflag2,grp_hidden.cmb_rpirflag1,switch2.case1.cmb_workstat,grd_rfehemhtlist.acptflag,grd_rfehemhtlist.workstat,grd_rfehemhtlist.rpirflag1,grd_rfehdabplist.paytype,grd_rfehdabplist.kind,grd_rfehdabplist.costflag,grd_rfehdabplist.acsrsunit,switch2.case1.cmb_docustat");
  1691. frmf_addComboItem("switch2.case1.cmb_rpirflag2"," ","","above");
  1692. group2.cmb_instcd.value = sysf_getUserInfo("dutplceinstcd");
  1693. group2.ipt_fixtrseqmtflag.value = group2.cmb_reqflag.value;
  1694. ipt_rowtemp.value = 0;
  1695. ipt_rowtemp2.value = 0;
  1696. fRrfehemhtlistTF(true);
  1697. fRfemdamkComponentsTF(true);
  1698. btn_insRfehdabp.enable = false;
  1699. btn_delRfehdabp.enable = false;
  1700. group2.ipt_fixasetcd.setFocus();
  1701. grp_hidden.ipt_insStatus.value = 0;
  1702. if(!frmf_checkAuth("X"))
  1703. {
  1704. group2.ipt_fixasetcd.enable = false;
  1705. group2.btn_fixasetcd.enable = false;
  1706. group2.ipt_goodflaghngnm.enable = false;
  1707. }
  1708. btn_print2.visible = true;
  1709. fResetState();
  1710. }
  1711. function fRrfehemhtlistTF(fBool, fCheck)
  1712. {
  1713. grp_hidden.ipt_estimateamt.enable = false;
  1714. grp_hidden.ipt_nonworkdayno.enable = !fBool;
  1715. switch2.case1.ipt_custcd.enable = !fBool;
  1716. switch2.case1.btn_custcd.enable = !fBool;
  1717. switch2.case1.ipt_chrgtel.enable = !fBool;
  1718. }
  1719. function fRfemdamkComponentsTF( fBool, loadType )
  1720. {
  1721. if(ds_main_grid_rfemdamklist.rowcount > 0)
  1722. {
  1723. if( loadType == "Y")
  1724. {
  1725. switch2.case1.ipt_rpirdd.enable = false;
  1726. }
  1727. else
  1728. {
  1729. switch2.case1.ipt_rpirdd.enable = !fBool;
  1730. }
  1731. switch2.case1.ipt_rpirtm.enable = !fBool;
  1732. switch2.case1.ipt_mainrpirpsn.enable = !fBool;
  1733. switch2.case1.btn_mainrpirpsn.enable = !fBool;
  1734. switch2.case1.ipt_mainrpirpsnnm.enable = !fBool;
  1735. switch2.case1.ipt_supprpirpsn.enable = !fBool;
  1736. switch2.case1.btn_supprpirpsn.enable = !fBool;
  1737. switch2.case1.ipt_supprpirpsnnm.enable = !fBool;
  1738. switch2.case1.txt_rpirspec.enable = !fBool;
  1739. }
  1740. else
  1741. {
  1742. fBool = true;
  1743. if( loadType == "Y")
  1744. {
  1745. switch2.case1.ipt_rpirdd.enable = false;
  1746. }
  1747. else
  1748. {
  1749. switch2.case1.ipt_rpirdd.enable = !fBool;
  1750. }
  1751. switch2.case1.ipt_rpirtm.enable = !fBool;
  1752. switch2.case1.ipt_mainrpirpsn.enable = !fBool;
  1753. switch2.case1.btn_mainrpirpsn.enable = !fBool;
  1754. switch2.case1.ipt_mainrpirpsnnm.enable = !fBool;
  1755. switch2.case1.ipt_supprpirpsn.enable = !fBool;
  1756. switch2.case1.btn_supprpirpsn.enable = !fBool;
  1757. switch2.case1.ipt_supprpirpsnnm.enable = !fBool;
  1758. switch2.case1.txt_rpirspec.enable = !fBool;
  1759. }
  1760. }
  1761. function fResetState()
  1762. {
  1763. var workstat = "01";
  1764. var docustat = "01";
  1765. var chrgpsnid = utlf_transNullToEmpty(switch2.case1.ipt_chrgpsnid.value);
  1766. if(utlf_transNullToEmpty(chrgpsnid).length != 0)
  1767. {
  1768. workstat = "02";
  1769. }
  1770. if(utlf_transNullToEmpty(switch2.case1.cmb_rpirflag2.value).length != 0)
  1771. {
  1772. workstat = "03";
  1773. }
  1774. if(switch2.case1.chk_rpirendyn.value == "Y")
  1775. {
  1776. workstat = "04";
  1777. }
  1778. switch(switch2.case1.cmb_rpirflag2.value)
  1779. {
  1780. case "1": // 무비용
  1781. case "2": // 전도금
  1782. case "5": // 폐기
  1783. case "7": // 검토의견
  1784. if(fSanctState())
  1785. {
  1786. docustat = "03";
  1787. if(workstat == "04") workstat = "05";
  1788. }
  1789. break;
  1790. case "6": // 용역
  1791. if(fSanctState())
  1792. {
  1793. docustat = "03";
  1794. if(workstat == "04")workstat = "05";
  1795. }
  1796. break;
  1797. case "3": // 부품
  1798. case "4": // 외주
  1799. if(fSanctState())
  1800. {
  1801. if(workstat == "04" && utlf_transNullToEmpty(switch2.case1.ipt_chkpsn.value).length != 0)
  1802. {
  1803. fGetDeliveAmt();
  1804. workstat = "05";
  1805. docustat = "03";
  1806. }else{
  1807. docustat = "02";
  1808. }
  1809. }
  1810. break;
  1811. }
  1812. switch2.case1.cmb_workstat.value = workstat;
  1813. switch2.case1.cmb_docustat.value = docustat;
  1814. fResetDisabled();
  1815. }
  1816. function fSanctState()
  1817. {
  1818. if((switch2.case1.cmb_rpirflag2.value == "1" || switch2.case1.cmb_rpirflag2.value == "6") && utlf_transNullToEmpty(switch2.case1.ipt_deprtmangrsanctid.value).length != 0) return true;
  1819. else if(utlf_transNullToEmpty(switch2.case1.ipt_deprtmangrsanctid.value).length != 0 && utlf_transNullToEmpty(switch2.case1.ipt_mngersanctid.value).length != 0) return true;
  1820. return false;
  1821. }
  1822. function fGetDeliveAmt()
  1823. {
  1824. ds_send_search.setColumn(0, "instcd", group2.cmb_instcd.value);
  1825. ds_send_search.setColumn(0, "fixtrseqmtflag", group2.ipt_fixtrseqmtflag.value);
  1826. ds_send_search.setColumn(0, "reqdd", switch2.case1.ipt_reqdd.value);
  1827. ds_send_search.setColumn(0, "reqno", switch2.case1.ipt_reqno.value);
  1828. var oParam = {};
  1829. oParam.id = "TRRFE00606";
  1830. oParam.service = "reqapp.ReqMngt";
  1831. oParam.method = "reqGetRpirDefltInfo";
  1832. oParam.inds = "req=ds_send_search";
  1833. oParam.outds = "ds_main_defltinfo=defltinfo";
  1834. oParam.async = false;
  1835. oParam.callback = "cf_TRRFE00606";
  1836. tranf_submit(oParam);
  1837. if(arErrorCode.pop("TRRFE00606") > -1)
  1838. {
  1839. if(!utlf_isNull(ds_main_defltinfo.getColumn(0, "deliveamt")))
  1840. {
  1841. switch2.case1.ipt_rpiramt.value = ds_main_defltinfo.getColumn(0, "deliveamt");
  1842. }
  1843. }
  1844. }
  1845. function cf_TRRFE00606(sSvcId, nErrorCode, sErrorMsg)
  1846. {
  1847. arErrorCode.push(sSvcId, nErrorCode);
  1848. if(nErrorCode < 0) return;
  1849. }
  1850. function group2_cmb_instcd_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  1851. {
  1852. if(!utlf_isNull(group2.ipt_fixasetcd.value))
  1853. {
  1854. btn_search.click();
  1855. }
  1856. }
  1857. function ds_send_sendlist_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
  1858. {
  1859. if(e.columnid == "fixasetcd")
  1860. {
  1861. group2.ipt_fixasetcd.value = e.newvalue;
  1862. group2.ipt_fixasetcd.setFocus();
  1863. arrCompId = new Array("group2.cmb_instcd");
  1864. frmf_isRequiredControls(arrCompId);
  1865. if(!utlf_isNull(e.newvalue))
  1866. {
  1867. rszfValidationCheck("TRRSD00241", "rfcmfacdlist",
  1868. "requirementcd,instcd,requirementnm", "fixasetcd," + group2.cmb_instcd.value + "," + e.newvalue, "",
  1869. "fixasetcd,goodflaghngnm,goodspec,mngtno,mngtdeptnm,prodcmpynm,goodmodel,installplcecd,installplcenm,possndd,possnamt,cntctel,suplplcenm"
  1870. ,group2.ipt_fixasetcd, "SPRSD00240", "instcd", group2.cmb_instcd.value, 'Y');
  1871. obj.setColumn(0, "goodspec", ds_init_main_rfcmfacdlist.getColumn(0, "goodspec"));
  1872. obj.setColumn(0, "mngtno", ds_init_main_rfcmfacdlist.getColumn(0, "mngtno"));
  1873. obj.setColumn(0, "tempmngtdeptnm", ds_init_main_rfcmfacdlist.getColumn(0, "tempmngtdeptnm"));
  1874. obj.setColumn(0, "prodcmpynm", ds_init_main_rfcmfacdlist.getColumn(0, "prodcmpynm"));
  1875. obj.setColumn(0, "goodmodel", ds_init_main_rfcmfacdlist.getColumn(0, "goodmodel"));
  1876. obj.setColumn(0, "installplcecd", ds_init_main_rfcmfacdlist.getColumn(0, "installplcecd"));
  1877. obj.setColumn(0, "installplcenm", ds_init_main_rfcmfacdlist.getColumn(0, "installplcenm"));
  1878. obj.setColumn(0, "possndd", ds_init_main_rfcmfacdlist.getColumn(0, "possndd"));
  1879. obj.setColumn(0, "possnamt", ds_init_main_rfcmfacdlist.getColumn(0, "possnamt"));
  1880. obj.setColumn(0, "suplplcenm", ds_init_main_rfcmfacdlist.getColumn(0, "suplplcenm"));
  1881. obj.setColumn(0, "cntctel", ds_init_main_rfcmfacdlist.getColumn(0, "cntctel"));
  1882. obj.setColumn(0, "flwgrnttermfr", ds_init_main_rfcmfacdlist.getColumn(0, "flwgrnttermfr"));
  1883. obj.setColumn(0, "flwgrnttermto", ds_init_main_rfcmfacdlist.getColumn(0, "flwgrnttermto"));
  1884. group2.ipt_fixtrseqmtflag.value = ds_init_main_rfcmfacdlist.getColumn(0, "goodflag");
  1885. btn_search.click();
  1886. }
  1887. else
  1888. {
  1889. sysf_messageBox("자산코드는", "I003");
  1890. fInitialize();
  1891. }
  1892. }
  1893. }
  1894. function group2_btn_fixasetcd_onclick(obj:Button, e:ClickEventInfo)
  1895. {
  1896. var temp_fixasetcd = group2.ipt_fixasetcd.value;
  1897. rszfOpenPopUpListByWndName(group2.ipt_fixasetcd,"", "fixasetcd,goodflaghngnm,goodspec,goodmodel,mngtno,tempmngtdeptnm,installplcecd,installplcenm,procmpynm,possndd,possnamt,suplplcenm,cntctel",
  1898. "SPRSD00240", "instcd", group2.cmb_instcd.value, "Y");
  1899. if(!utlf_isNull(group2.ipt_fixasetcd.value))
  1900. {
  1901. if(group2.ipt_fixasetcd.value != temp_fixasetcd)
  1902. {
  1903. btn_search.click();
  1904. }
  1905. }
  1906. }
  1907. function fResetDisabled()
  1908. {
  1909. var workstat = switch2.case1.cmb_workstat.value;
  1910. var docustat = switch2.case1.cmb_docustat.value;
  1911. if(utlf_transNullToEmpty(switch2.case1.ipt_chrgpsnid.value).length != 0)
  1912. {
  1913. switch2.case1.chk_rpirendyn.enable = true;
  1914. switch2.case1.ipt_rpirenddd.enable = true;
  1915. }
  1916. else
  1917. {
  1918. switch2.case1.chk_rpirendyn.value = "N";
  1919. switch2.case1.chk_rpirendyn.enable = false;
  1920. switch2.case1.ipt_rpirenddd.enable = false;
  1921. }
  1922. if(workstat == "01" || workstat == "02" || workstat == "03")
  1923. {
  1924. fDisabledControl(false,"chr");
  1925. grp_hidden.cmb_rpirflag1.enable = true;
  1926. switch2.case1.cmb_rpirflag2.enable = true;
  1927. //misfColHidden(grd_rfehdabplist, "acsrsqty", false);
  1928. grd_rfehdabplist.setCellProperty("Body", grd_rfehdabplist.getBindCellIndex("body", "acsrsqty"), "edittype", "text");
  1929. }
  1930. else
  1931. {
  1932. fDisabledControl(true,"chr");
  1933. grp_hidden.cmb_rpirflag1.enable = false;
  1934. switch2.case1.cmb_rpirflag2.enable = false;
  1935. //misfColHidden(grd_rfehdabplist, "acsrsqty", true);
  1936. grd_rfehdabplist.setCellProperty("Body", grd_rfehdabplist.getBindCellIndex("body", "acsrsqty"), "edittype", "none");
  1937. }
  1938. if(utlf_transNullToEmpty(switch2.case1.cmb_rpirflag2.value).length != 0)
  1939. {
  1940. fDisabledControl(false,"sanct");
  1941. }
  1942. else
  1943. {
  1944. fDisabledControl(true,"sanct");
  1945. }
  1946. switch(switch2.case1.cmb_rpirflag2.value)
  1947. {
  1948. case "1":
  1949. case "2":
  1950. case "5":
  1951. case "6":
  1952. fDisabledControl(true,"chk");
  1953. break;
  1954. case "3":
  1955. case "4":
  1956. if(fSanctState())
  1957. {
  1958. if(workstat == "04" || workstat == "05")
  1959. {
  1960. fDisabledControl(false,"chk");
  1961. }
  1962. else
  1963. {
  1964. fDisabledControl(true,"chk");
  1965. }
  1966. }
  1967. break;
  1968. default:
  1969. fDisabledControl(true,"chk");
  1970. }
  1971. }
  1972. function fDisabledControl(state,control)
  1973. {
  1974. switch(control)
  1975. {
  1976. case "sanct":
  1977. if (sysf_getUserInfo("userid") == "93518" || sysf_getUserInfo("userid") == "08111"|| sysf_getUserInfo("userid") == "MIS" || sysf_getUserInfo("userid") == "10306"|| sysf_getUserInfo("userid") == "KNUH99207" || sysf_getUserInfo("userid") == "99207")
  1978. {
  1979. switch2.case1.btn_mngersanctid.enable = !state;
  1980. switch2.case1.ipt_mngersanctid.enable = !state;
  1981. switch2.case1.btn_deprtmangrsanctid.enable = false;
  1982. switch2.case1.ipt_deprtmangrsanctid.enable = false;
  1983. }
  1984. else if (sysf_getUserInfo("userid") == "95047" || sysf_getUserInfo("userid") == "93507"|| sysf_getUserInfo("userid") == "MIS" ) // 이병원(93361)->지명구(95047) 실장님 변경에 따른 수정 by 2019.07.01 김금련
  1985. {
  1986. switch2.case1.btn_mngersanctid.enable = false;
  1987. switch2.case1.ipt_mngersanctid.enable = false;
  1988. switch2.case1.btn_deprtmangrsanctid.enable = !state;
  1989. switch2.case1.ipt_deprtmangrsanctid.enable = !state;
  1990. }
  1991. else
  1992. {
  1993. switch2.case1.btn_mngersanctid.enable = false;
  1994. switch2.case1.ipt_mngersanctid.enable = false;
  1995. switch2.case1.btn_deprtmangrsanctid.enable = false;
  1996. switch2.case1.ipt_deprtmangrsanctid.enable = false;
  1997. }
  1998. break;
  1999. case "chr":
  2000. switch2.case1.ipt_chrgpsnid.enable = !state;
  2001. switch2.case1.btn_chrgpsnid.enable = !state;
  2002. switch2.case1.ipt_chrgtel.enable = !state;
  2003. btn_insRfehdabp.enable = !state;
  2004. btn_delRfehdabp.enable = !state;
  2005. fRrfehemhtlistTF(state);
  2006. fRfemdamkComponentsTF(state, "Y");
  2007. switch2.case1.btn_initrfemdamklist.enable = !state;
  2008. switch2.case1.btn_del.enable = !state;
  2009. switch2.case1.ipt_acptdd.enable = !state;
  2010. break;
  2011. case "chk":
  2012. default :
  2013. switch2.case1.ipt_chkpsn.enable = !state;
  2014. switch2.case1.btn_chkpsn.enable = !state;
  2015. switch2.case1.ipt_chkdd.enable = !state;
  2016. }
  2017. }
  2018. function btn_search_onclick(obj:Button, e:ClickEventInfo)
  2019. {
  2020. dsf_makeValue(ds_send_sendlist, "bizscrnid", "string", "SMRFE00600", 0);
  2021. var oParam = {};
  2022. oParam.id = "TRRFE00601";
  2023. oParam.service = "reqapp.ReqMngt";
  2024. oParam.method = "reqGetHistRfehemhtList";
  2025. oParam.inds = "req=ds_send_sendlist";
  2026. oParam.outds = "ds_main_grid_rfehemhtlist=rfehemhtlist";
  2027. oParam.async = false;
  2028. //oParam.callback = "cf_TRRFE00601";
  2029. tranf_submit(oParam);
  2030. if( utlf_isNull(ds_main_grid_rfehemhtlist.getColumnInfo("estiamt")) ){
  2031. ds_main_grid_rfehemhtlist.addColumn("estiamt", "string");
  2032. }
  2033. if( utlf_isNull(ds_main_grid_rfehemhtlist.getColumnInfo("bizscrnid")) ){
  2034. ds_main_grid_rfehemhtlist.addColumn("bizscrnid", "string");
  2035. }
  2036. if(ds_main_grid_rfehemhtlist.rowcount > 0)
  2037. {
  2038. if(!utlf_isNull(ds_temp.getColumn(0, "fixasetcd")))
  2039. {
  2040. for(var i = 0; i < ds_main_grid_rfehemhtlist.rowcount; i++)
  2041. {
  2042. if(ds_main_grid_rfehemhtlist.getColumn(i, "reqdd") == ds_temp.getColumn(0, "reqdd")&& ds_main_grid_rfehemhtlist.getColumn(i, "reqno") == ds_temp.getColumn(0, "reqno"))
  2043. {
  2044. ds_main_grid_rfehemhtlist.rowposition = i;
  2045. break;
  2046. }
  2047. }
  2048. }
  2049. else
  2050. {
  2051. ds_main_grid_rfehemhtlist.rowposition = 0;
  2052. }
  2053. grd_rfehemhtlist_oncellclick();
  2054. if(ds_main_grid_rfehemhtlist.getColumn(ds_main_grid_rfehemhtlist.rowposition, "sancttrsmyn") == "Y")
  2055. {
  2056. btn_save.enable = false;
  2057. btn_send.enable = false;
  2058. }
  2059. misfSetReadOnlyCol(grd_rfehemhtlist, "reqdd,reqno,depthngnm,reqtel,chrgpsnnm,acptdd,rpirenddd,lastrpirstat,acptflag,workstat,rpirflag1,rpiramt,sanctyn", true);
  2060. }
  2061. else
  2062. {
  2063. sysf_messageBox(" 수리 목록에 \n등록되지 않은 자산코드", "E008");
  2064. fInitialize();
  2065. btn_save.enable = false;
  2066. btn_send.enable = false;
  2067. }
  2068. }
  2069. function grd_rfehemhtlist_oncellclick(obj:Grid, e:GridClickEventInfo)
  2070. {
  2071. if( grdf_getGridUpdateData(grd_rfemdamklist).rowcount != 0 )
  2072. {
  2073. if( sysf_messageBox("수리일자별 목록에 수정된 내용이 있습니다.\n조회작업을", "Q003") != 6)
  2074. {
  2075. ds_main_grid_rfehemhtlist.rowposition = ipt_rowtemp2.value
  2076. return;
  2077. }
  2078. }
  2079. if( grdf_getGridUpdateData(grd_rfehdabplist).rowcount != 0 )
  2080. {
  2081. if( sysf_messageBox("부품목록에 업데이트 된 내역이 있습니다.\n조회 작업을", "Q003") != 6 )
  2082. {
  2083. ds_main_grid_rfemdamklist.rowposition = ipt_rowtemp.value;
  2084. return;
  2085. }
  2086. }
  2087. btn_save.enable = true;
  2088. if(ds_main_grid_rfehemhtlist.getColumn(ds_main_grid_rfehemhtlist.rowposition, "workstat") == "04" )
  2089. {
  2090. btn_send.enable = true;
  2091. }
  2092. else
  2093. {
  2094. btn_send.enable = false;
  2095. }
  2096. ipt_rowtemp2.value = ds_main_grid_rfehemhtlist.rowposition
  2097. ds_send_grid_rfehemhtlist.copyRow(0, ds_main_grid_rfehemhtlist, ds_main_grid_rfehemhtlist.rowposition);
  2098. var oParam = {};
  2099. oParam.id = "TRRFE00602";
  2100. oParam.service = "reqapp.ReqMngt";
  2101. oParam.method = "reqGetHistRfemdamkList";
  2102. oParam.inds = "req=ds_send_grid_rfehemhtlist";
  2103. oParam.outds = "ds_main_grid_rfemdamklist=rfemdamklist";
  2104. oParam.async = false;
  2105. //oParam.callback = "cf_TRRFE00602";
  2106. tranf_submit(oParam);
  2107. ds_main_component_rfehemhtlist.copyRow(0, ds_main_grid_rfehemhtlist, ds_main_grid_rfehemhtlist.rowposition);
  2108. dsf_makeValue(ds_main_component_rfehemhtlist, "outestimateamt", "string", "", 0);
  2109. if(ds_main_grid_rfemdamklist.rowcount > 0)
  2110. {
  2111. ds_main_grid_rfemdamklist.rowposition = 0;
  2112. if (sysf_getUserInfo("userid") == "93518" || sysf_getUserInfo("userid") == "08111"|| sysf_getUserInfo("userid") == "MIS"|| sysf_getUserInfo("userid") == "95047"|| sysf_getUserInfo("userid") == "93507"|| sysf_getUserInfo("userid") == "10306")
  2113. {
  2114. misfSetReadOnlyCol(grd_rfemdamklist, "mainrpirpsnnm,supprpirpsnnm,mainrpirpsn,supprpirpsn", true);
  2115. }
  2116. else
  2117. {
  2118. misfSetReadOnlyCol(grd_rfemdamklist, "rpirdd,mainrpirpsnnm,supprpirpsnnm,mainrpirpsn,supprpirpsn", true);
  2119. }
  2120. }
  2121. else
  2122. {
  2123. misfGridInit(grd_rfehdabplist);
  2124. }
  2125. grd_rfemdamklist_oncellclick();
  2126. if( ds_main_grid_rfehemhtlist.getColumn(ds_main_grid_rfehemhtlist.rowposition, "sancttrsmyn") == "Y")
  2127. {
  2128. btn_send.enable = false;
  2129. btn_save.enable = false;
  2130. }
  2131. misfSetReadOnlyCol(grd_rfehdabplist, "costflag", true, "")
  2132. fResetDisabled();
  2133. }
  2134. function grd_rfemdamklist_oncellclick(obj:Grid, e:GridClickEventInfo)
  2135. {
  2136. if( grdf_getGridUpdateData(grd_rfehdabplist).rowcount != 0 )
  2137. {
  2138. if(sysf_messageBox("부품목록에 업데이트 된 내역이 있습니다.\n조회 작업을", "Q003") != 6 )
  2139. {
  2140. ds_main_grid_rfemdamklist.rowposition = ipt_rowtemp.value;
  2141. return;
  2142. }
  2143. }
  2144. ipt_rowtemp.value = ds_main_grid_rfemdamklist.rowposition;
  2145. ds_send_grid_rfemdamklist.copyRow(0, ds_main_grid_rfemdamklist, ds_main_grid_rfemdamklist.rowposition);
  2146. if(ds_main_grid_rfemdamklist.rowposition > -1)
  2147. {
  2148. var oParam = {};
  2149. oParam.id = "TRRFE00603";
  2150. oParam.service = "reqapp.ReqMngt";
  2151. oParam.method = "reqGetHistRfehdabpList";
  2152. oParam.inds = "req=ds_send_grid_rfemdamklist";
  2153. oParam.outds = "ds_main_grid_rfehdabplist=rfehdabplist";
  2154. oParam.async = false;
  2155. //oParam.callback = "cf_TRRFE00603";
  2156. tranf_submit(oParam);
  2157. }
  2158. ds_main_component_rfemdamklist.clearData();
  2159. ds_main_component_rfemdamklist.addRow();
  2160. ds_main_component_rfemdamklist.copyRow(0, ds_main_grid_rfemdamklist, ds_main_grid_rfemdamklist.rowposition);
  2161. ds_main_tempgrid_rfehemhtlist.copyData(ds_main_grid_rfehemhtlist);
  2162. ds_main_tempgrid_rfemdamklist.copyData(ds_main_grid_rfemdamklist);
  2163. grp_hidden.ipt_insStatus.value = 2;
  2164. if(ds_main_grid_rfemdamklist.getRowType(ds_main_grid_rfemdamklist.rowposition) != 2)
  2165. {
  2166. if (sysf_getUserInfo("userid") == "93518" || sysf_getUserInfo("userid") == "08111"|| sysf_getUserInfo("userid") == "MIS"|| sysf_getUserInfo("userid") == "95047"|| sysf_getUserInfo("userid") == "93507"|| sysf_getUserInfo("userid") == "10306")
  2167. {
  2168. switch2.case1.ipt_rpirdd.enable = true;
  2169. }
  2170. else
  2171. {
  2172. switch2.case1.ipt_rpirdd.enable = false;
  2173. }
  2174. }
  2175. }
  2176. function switch2_case1_cmb_rpirflag2_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  2177. {
  2178. if(obj.value == "8" || obj.value =="5" || obj.value =="6")
  2179. {
  2180. grp_hidden.rdo_useyn.value = 2;
  2181. }
  2182. else
  2183. {
  2184. grp_hidden.rdo_useyn.value = 1;
  2185. }
  2186. fResetState();
  2187. }
  2188. function ds_main_component_rfehemhtlist_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
  2189. {
  2190. if(e.columnid == "chrgpsnid")
  2191. {
  2192. var objFocus = this.getFocus();
  2193. switch2.case1.ipt_chrgpsnid.value = e.newvalue;
  2194. switch2.case1.ipt_chrgpsnid.setFocus();
  2195. if(utlf_transNullToEmpty(e.newvalue).length != 0)
  2196. {
  2197. misfValidationCheck("01-1", "", "chrgpsnid,chrgpsnnm");
  2198. }
  2199. fResetState();
  2200. objFocus.setFocus();
  2201. }
  2202. if(e.columnid == "chkpsn")
  2203. {
  2204. var objFocus = this.getFocus();
  2205. switch2.case1.ipt_chkpsn.value = e.newvalue;
  2206. switch2.case1.ipt_chkpsn.setFocus();
  2207. if(utlf_transNullToEmpty(e.newvalue).length != 0)
  2208. {
  2209. misfValidationCheck("01-1", "", "chkpsn,chkpsnnm");
  2210. }
  2211. fResetState();
  2212. objFocus.setFocus();
  2213. }
  2214. if(e.columnid == "deprtmangrsanctid")
  2215. {
  2216. var objFocus = this.getFocus();
  2217. switch2.case1.ipt_deprtmangrsanctid.value = e.newvalue;
  2218. switch2.case1.ipt_deprtmangrsanctid.setFocus();
  2219. if(utlf_transNullToEmpty(e.newvalue).length != 0)
  2220. {
  2221. misfValidationCheck("01-1", "", "deprtmangranctid,deprtmangrsanctnm");
  2222. }
  2223. fResetState();
  2224. objFocus.setFocus();
  2225. }
  2226. if(e.columnid == "custcd")
  2227. {
  2228. var objFocus = this.getFocus();
  2229. switch2.case1.ipt_custcd.value = e.newvalue;
  2230. switch2.case1.ipt_custcd.setFocus();
  2231. if(utlf_transNullToEmpty(e.newvalue).length != 0)
  2232. {
  2233. rszfValidationCheck("TRRSD00221", "reqcustomlist", "instcd,refcond,retrnm",
  2234. group2.cmb_instcd.value + ",," + switch2.case1.ipt_custcd.value, "", "custcode,custnm",
  2235. switch2.case1.ipt_custcd, "SPRSD00220", "instcd","group2.cmb_instcd");
  2236. }
  2237. objFocus.setFocus();
  2238. }
  2239. if(e.columnid == "mngersanctid")
  2240. {
  2241. var objFocus = this.getFocus();
  2242. switch2.case1.ipt_mngersanctid.value = e.newvalue;
  2243. switch2.case1.ipt_mngersanctid.setFocus();
  2244. if(utlf_transNullToEmpty(e.newvalue).length == 0)
  2245. {
  2246. switch2.case1.ipt_mngersanctnm.value = "";
  2247. }
  2248. else
  2249. {
  2250. misfValidationCheck("01-1", "", "mngersanctid,mngersanctnm");
  2251. }
  2252. fResetState();
  2253. if(utlf_transNullToEmpty(switch2.case1.cmb_rpirflag2.value).length != 0)
  2254. {
  2255. workstat = "03";
  2256. }
  2257. if(switch2.case1.chk_rpirendyn.value == "Y")
  2258. {
  2259. workstat = "04";
  2260. }
  2261. var instcd = sysf_getUserInfo("dutplceinstcd");
  2262. if(instcd == "033")
  2263. {
  2264. if(utlf_transNullToEmpty(switch2.case1.ipt_chrgpsnid.value).length != 0 && utlf_transNullToEmpty(switch2.case1.ipt_mngersanctid.value).length != 0)
  2265. {
  2266. switch2.case1.cmb_workstat.value = "05";
  2267. switch2.case1.cmb_docustat.value = "03";
  2268. }
  2269. else if(utlf_transNullToEmpty(switch2.case1.ipt_chrgpsnid.value).length != 0 && utlf_transNullToEmpty(switch2.case1.ipt_mngersanctid.value).length == 0)
  2270. {
  2271. if(utlf_transNullToEmpty(switch2.case1.cmb_rpirflag2.value).length != 0)
  2272. {
  2273. if (switch2.case1.chk_rpirendyn.value == "Y")
  2274. {
  2275. switch2.case1.cmb_workstat.value = "04";
  2276. switch2.case1.cmb_docustat.value = "01";
  2277. }
  2278. else
  2279. {
  2280. switch2.case1.cmb_workstat.value = "03";
  2281. switch2.case1.cmb_docustat.value = "01";
  2282. }
  2283. }
  2284. else
  2285. {
  2286. switch2.case1.cmb_workstat.value = "02";
  2287. switch2.case1.cmb_docustat.value = "01";
  2288. }
  2289. }
  2290. else
  2291. {
  2292. switch2.case1.cmb_workstat.value = "01";
  2293. switch2.case1.cmb_docustat.value = "01";
  2294. }
  2295. }
  2296. fResetDisabled();
  2297. objFocus.setFocus();
  2298. }
  2299. }
  2300. function switch2_case1_btn_chrgpsnid_onclick(obj:Button, e:ClickEventInfo)
  2301. {
  2302. misfOpenPopUpList("12", switch2.case1.ipt_chrgpsnid, "", "chrgpsnid,chrgpsnnm");
  2303. fResetState();
  2304. }
  2305. function switch2_case1_btn_chkpsn_onclick(obj:Button, e:ClickEventInfo)
  2306. {
  2307. misfOpenPopUpList("12", switch2.case1.ipt_chkpsn, "", "chkpsn,chkpsnnm");
  2308. fResetState();
  2309. }
  2310. function switch2_case1_btn_deprtmangrsanctid_onclick(obj:Button, e:ClickEventInfo)
  2311. {
  2312. misfOpenPopUpList("12", switch2.case1.ipt_deprtmangrsanctid, "", "deprtmangrsanctid,deprtmangrsanctnm");
  2313. fResetState();
  2314. }
  2315. function switch2_case1_btn_custcd_onclick(obj:Button, e:ClickEventInfo)
  2316. {
  2317. rszfOpenPopUpListByWndName(switch2.case1.ipt_custcd,"","custcd,custnm","SPRSD00220","instcd","group2.cmb_instcd");
  2318. }
  2319. function switch2_case1_chk_rpirendyn_onclick(obj:CheckBox, e:ClickEventInfo)
  2320. {
  2321. fResetState();
  2322. }
  2323. function switch2_case1_btn_mngersanctid_onclick(obj:Button, e:ClickEventInfo)
  2324. {
  2325. misfOpenPopUpList("12", switch2.case1.ipt_mngersanctid, "", "mngersanctid,mngersanctnm");
  2326. fResetState();
  2327. }
  2328. function switch2_case1_ipt_rpirdd_onchanged(obj:Calendar, e:ChangeEventInfo)
  2329. {
  2330. for(var i = 0; ds_main_grid_rfemdamklist.rowcount > i; i++)
  2331. {
  2332. if(ds_main_component_rfemdamklist.getColumn(0, "rpirdd") == ds_main_grid_rfemdamklist.getColumn(i, "rpirdd"))
  2333. {
  2334. sysf_messageBox("수리일자가","E006");
  2335. switch2.case1.ipt_rpirdd.value = "";
  2336. return;
  2337. }
  2338. }
  2339. ds_main_grid_rfemdamklist.setColumn(ds_main_grid_rfemdamklist.rowposition, "rpirdd", ds_main_component_rfemdamklist.getColumn(0, "rpirdd"));
  2340. if( ds_main_grid_rfemdamklist.getRowType(ds_main_grid_rfemdamklist.rowposition) != 2 && ds_main_grid_rfemdamklist.getRowType(ds_main_grid_rfemdamklist.rowposition) != 8 ){
  2341. ds_main_grid_rfemdamklist.updatecontrol = false;
  2342. ds_main_grid_rfemdamklist.setRowType(ds_main_grid_rfemdamklist.rowposition, "u");
  2343. ds_main_grid_rfemdamklist.updatecontrol = true;
  2344. }
  2345. ds_main_grid_rfehdabplist.updatecontrol = false;
  2346. for(var j = 0; ds_main_grid_rfehdabplist.rowcount > j; j++)
  2347. {
  2348. ds_main_grid_rfehdabplist.setColumn(j, "rpirdd", obj.value);
  2349. if( ds_main_grid_rfehdabplist.getRowType(j) != 2 && ds_main_grid_rfehdabplist.getRowType(j) != 8 ){
  2350. ds_main_grid_rfehdabplist.setRowType(j, "u");
  2351. }
  2352. }
  2353. ds_main_grid_rfehdabplist.updatecontrol = true;
  2354. }
  2355. function ds_main_component_rfemdamklist_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
  2356. {
  2357. if(e.columnid == "mainrpirpsn")
  2358. {
  2359. var objFucus = this.getFocus();
  2360. switch2.case1.ipt_mainrpirpsn.value = e.newvalue;
  2361. switch2.case1.ipt_mainrpirpsn.setFocus();
  2362. if(utlf_transNullToEmpty(e.newvalue).length == 0)
  2363. {
  2364. switch2.case1.ipt_mainrpirpsnnm.value = "";
  2365. }
  2366. else
  2367. {
  2368. misfValidationCheck("01-1", "", "mainrpirpsn,mainrpirpsnnm");
  2369. }
  2370. objFucus.setFocus();
  2371. }
  2372. if(e.columnid == "supprpirpsn")
  2373. {
  2374. var objFucus = this.getFocus();
  2375. switch2.case1.ipt_supprpirpsn.value = e.newvalue;
  2376. switch2.case1.ipt_supprpirpsn.setFocus();
  2377. if(utlf_transNullToEmpty(e.newvalue).length == 0)
  2378. {
  2379. switch2.case1.ipt_supprpirpsnnm.value = "";
  2380. }
  2381. else
  2382. {
  2383. misfValidationCheck("01-1", "", "supprpirpsn,supprpirpsnnm");
  2384. }
  2385. objFucus.setFocus();
  2386. }
  2387. if(e.columnid == "rpirspec")
  2388. {
  2389. var objFucus = this.getFocus();
  2390. switch2.case1.txt_rpirspec.value = e.newvalue;
  2391. switch2.case1.txt_rpirspec.setFocus();
  2392. ds_main_grid_rfemdamklist.setColumn(ds_main_grid_rfemdamklist.rowposition, "rpirspec", e.newvalue);
  2393. if( ds_main_grid_rfemdamklist.getRowType(ds_main_grid_rfemdamklist.rowposition) != 2 && ds_main_grid_rfemdamklist.getRowType(ds_main_grid_rfemdamklist.rowposition) != 8 ){
  2394. ds_main_grid_rfemdamklist.updatecontrol = false;
  2395. ds_main_grid_rfemdamklist.setRowType(ds_main_grid_rfemdamklist.rowposition, "u");
  2396. ds_main_grid_rfemdamklist.updatecontrol = true;
  2397. }
  2398. objFucus.setFocus();
  2399. }
  2400. }
  2401. function switch2_case1_btn_mainrpirpsn_onclick(obj:Button, e:ClickEventInfo)
  2402. {
  2403. misfOpenPopUpList("01", switch2.case1.ipt_mainrpirpsn, "", "mainrpirpsn,mainrpirpsnnm");
  2404. }
  2405. function switch2_case1_btn_supprpirpsn_onclick(obj:Button, e:ClickEventInfo)
  2406. {
  2407. misfOpenPopUpList("01", switch2.case1.ipt_supprpirpsn, "", "supprpirpsn,supprpirpsnnm");
  2408. }
  2409. function ds_main_grid_rfehdabplist_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
  2410. {
  2411. if(e.columnid == "deliveyn")
  2412. {
  2413. obj.setColumn(e.row, "deliveyn", (e.newvalue == "Y" || e.newvalue == 1) ? "Y" : "N");
  2414. }
  2415. if(e.columnid == "acsrsqty")
  2416. {
  2417. if(parseInt(e.newvalue) > 0)
  2418. {
  2419. obj.setColumn(e.row, "acsrsmoney", parseInt(e.newvalue)* parseInt(obj.getColumn(e.row, "acsrsamt")));
  2420. }
  2421. else
  2422. {
  2423. sysf_messageBox("부품수량은 1 이하로 입력 할 수 없습니다", "I999");
  2424. obj.setColumn(e.row, "acsrsqty", "1");
  2425. obj.setColumn(e.row, "acsrsmoney", e.newvalue * obj.getColumn(e.row, "acsrsamt"));
  2426. return;
  2427. }
  2428. }
  2429. if(e.columnid == "acsrsamt")
  2430. {
  2431. obj.setColumn(e.row, "acsrsmoney", obj.getColumn(e.row, "acsrsqty") * e.newvalue);
  2432. }
  2433. if(e.columnid == "paytype")
  2434. {
  2435. if(e.newvalue == "1")
  2436. {
  2437. obj.setColumn(e.row, "kind", "2");
  2438. }
  2439. else if(e.newvalue == "2")
  2440. {
  2441. obj.setColumn(e.row, "kind", "4");
  2442. }
  2443. }
  2444. if(e.columnid == "kind")
  2445. {
  2446. if(e.newvalue == "1" || e.newvalue == "2" || e.newvalue == "6")
  2447. {
  2448. if(obj.getColumn(e.row, "paytype") !== "1" )
  2449. {
  2450. sysf_messageBox("지급형태가 [견적]일 경우 해당되는 유형은 [가견적][보수계약][외주견적] 중에서", "I006");
  2451. obj.setColumn(e.row, "kind", "4");
  2452. }
  2453. }
  2454. if(e.newvalue == "4" || e.newvalue == "5" || e.newvalue == "7")
  2455. {
  2456. if(obj.getColumn(e.row, "paytype") !== "2" )
  2457. {
  2458. sysf_messageBox("지급형태가 [자체]일 경우 해당되는 유형은 [재고][전도금][무상] 중에서", "I006");
  2459. obj.setColumn(e.row, "kind", "2");
  2460. }
  2461. }
  2462. }
  2463. if(e.columnid == "acsrscd")
  2464. {
  2465. if(utlf_isNull(e.newvalue))
  2466. {
  2467. obj.setColumn(e.row, "acsrscd", "");
  2468. obj.setColumn(e.row, "acsrsnm", "");
  2469. return;
  2470. }
  2471. ds_copynode.clearData();
  2472. frmf_clearParameter("SMRSD00400_");
  2473. rszfValidationCheck("TRRSD00191", "goodlist" , "refcond,instcd,goodflag,goodcd,goodnm,indexgb,indexnm",
  2474. "goodcd," + group2.cmb_instcd.value + ",Y," + e.newvalue+ ",,," ,"","acsrscd,acsrsnm",grd_rfehdabplist,"SPRSD00190","instcd,goodflag","group2.cmb_instcd,BC","Y");
  2475. if(!utlf_isNull(ds_init_main_goodlist.getColumn(0, "goodcd")))
  2476. {
  2477. obj.setColumn(e.row, "acsrscd", ds_init_main_goodlist.getColumn(0, "goodcd"));
  2478. obj.setColumn(e.row, "acsrsnm", ds_init_main_goodlist.getColumn(0, "goodnm"));
  2479. obj.setColumn(e.row, "acsrsspec", ds_init_main_goodlist.getColumn(0, "goodspec"));
  2480. obj.setColumn(e.row, "acsrsqty", ds_init_main_goodlist.getColumn(0, "minexch"));
  2481. obj.setColumn(e.row, "acsrsunit", ds_init_main_goodlist.getColumn(0, "deliveunit"));
  2482. obj.setColumn(e.row, "acsrsamt", ds_init_main_goodlist.getColumn(0, "goodunitcost"));
  2483. }
  2484. else
  2485. {
  2486. obj.setColumn(e.row, "acsrscd", "");
  2487. }
  2488. var cur_row = e.row;
  2489. var CSV = frmf_getParameter("SMRSD00400_");
  2490. dsf_setCSVToDs("ds_copynode", CSV);
  2491. fSettingGoodList("ds_copynode", "rfehdabplist");
  2492. }
  2493. }
  2494. function fSettingGoodList(pnode, nodename)
  2495. {
  2496. var codynode = eval(pnode);
  2497. var addRow = ds_main_grid_rfehdabplist.rowcount;
  2498. for (var j = 0; j < codynode.rowcount; j++)
  2499. {
  2500. for (var i = 0; i < addRow; i++)
  2501. {
  2502. if (ds_main_grid_rfehdabplist.getColumn(i, "acsrscd") == codynode.getColumn(j, "goodcd"))
  2503. {
  2504. sysf_messageBox(parseInt(i+1)+"번째에 동일물품이 존재합니다. ","I");
  2505. return;
  2506. }
  2507. }
  2508. if(addRow > ds_main_grid_rfehdabplist.rowcount)
  2509. {
  2510. btn_insRfehdabp.click();
  2511. addRow = ds_main_grid_rfehdabplist.rowcount;
  2512. }
  2513. ds_main_grid_rfehdabplist.enableevent = false;
  2514. ds_main_grid_rfehdabplist.setColumn(parseInt(addRow-1), "goodflag", codynode.getColumn(j, "goodflag"));
  2515. ds_main_grid_rfehdabplist.setColumn(parseInt(addRow-1), "acsrscd", codynode.getColumn(j, "goodcd"));
  2516. ds_main_grid_rfehdabplist.setColumn(parseInt(addRow-1), "acsrsnm", codynode.getColumn(j, "goodnm"));
  2517. ds_main_grid_rfehdabplist.setColumn(parseInt(addRow-1), "acsrsunit", codynode.getColumn(j, "deliveunit"));
  2518. ds_main_grid_rfehdabplist.setColumn(parseInt(addRow-1), "acsrsqty", codynode.getColumn(j, "userqty"));
  2519. ds_main_grid_rfehdabplist.setColumn(parseInt(addRow-1), "acsrsspec", codynode.getColumn(j, "goodspec"));
  2520. ds_main_grid_rfehdabplist.setColumn(parseInt(addRow-1), "acsrsamt", codynode.getColumn(j, "goodunitcost"));
  2521. ds_main_grid_rfehdabplist.setColumn(parseInt(addRow-1), "paytype", "2");
  2522. ds_main_grid_rfehdabplist.setColumn(parseInt(addRow-1), "kind", "4");
  2523. ds_main_grid_rfehdabplist.enableevent = true;
  2524. addRow = addRow + 1;
  2525. }
  2526. }
  2527. function grd_rfehdabplist_onexpanddown(obj:Grid, e:GridMouseEventInfo)
  2528. {
  2529. if (e.cell == grd_rfehdabplist.getBindCellIndex("Body", "acsrscd") && ds_main_grid_rfehdabplist.getRowType(ds_main_grid_rfehdabplist.rowposition) == 2 )
  2530. {
  2531. ds_copynode.clearData();
  2532. frmf_clearParameter("SMRSD00400_");
  2533. rszfOpenPopUpListByWndName(grd_rfehdabplist,"","acsrscd,acsrsnm","SPRSD00190","instcd,goodflag","group2.cmb_instcd,BC");
  2534. var CSV = frmf_getParameter("SMRSD00400_");
  2535. dsf_setCSVToDs("ds_copynode", CSV);
  2536. fSettingGoodList("ds_copynode", "rfehdabplist");
  2537. for (var i = 0; i < ds_main_grid_rfehdabplist.rowcount; i++)
  2538. {
  2539. ds_main_grid_rfehdabplist.setColumn(i, "acsrsmoney", parseFloat(ds_main_grid_rfehdabplist.getColumn(i, "acsrsqty")) * parseFloat(ds_main_grid_rfehdabplist.getColumn(i, "acsrsamt")));
  2540. }
  2541. obj.showEditor(false);
  2542. }
  2543. }
  2544. function btn_insRfehdabp_onclick(obj:Button, e:ClickEventInfo)
  2545. {
  2546. if(ds_main_grid_rfemdamklist.rowposition > -1 || grp_hidden.ipt_insStatus.value == 1)
  2547. {
  2548. if(utlf_isNull(switch2.case1.ipt_rpirdd.value))
  2549. {
  2550. sysf_messageBox("수리일자는", "I003");
  2551. return;
  2552. }
  2553. var row = ds_main_grid_rfehdabplist.rowposition;
  2554. misfGridIUD(grd_rfehdabplist, "A");
  2555. if(ds_main_grid_rfehdabplist.rowcount > 1)
  2556. {
  2557. ds_main_grid_rfehdabplist.setColumn(ds_main_grid_rfehdabplist.rowposition, "rpirseq", parseInt(ds_main_grid_rfehdabplist.getColumn(row, "rpirseq")) + 1);
  2558. }
  2559. else
  2560. {
  2561. ds_main_grid_rfehdabplist.setColumn(ds_main_grid_rfehdabplist.rowposition, "rpirseq", 1);
  2562. }
  2563. ds_main_grid_rfehdabplist.setColumn(ds_main_grid_rfehdabplist.rowposition, "instcd", ds_main_component_rfehemhtlist.getColumn(ds_main_component_rfehemhtlist.rowposition, "instcd"));
  2564. ds_main_grid_rfehdabplist.setColumn(ds_main_grid_rfehdabplist.rowposition, "fixtrseqmtflag", ds_main_component_rfehemhtlist.getColumn(ds_main_component_rfehemhtlist.rowposition, "fixtrseqmtflag"));
  2565. ds_main_grid_rfehdabplist.setColumn(ds_main_grid_rfehdabplist.rowposition, "reqdd", ds_main_component_rfehemhtlist.getColumn(ds_main_component_rfehemhtlist.rowposition, "reqdd"));
  2566. ds_main_grid_rfehdabplist.setColumn(ds_main_grid_rfehdabplist.rowposition, "reqno", ds_main_component_rfehemhtlist.getColumn(ds_main_component_rfehemhtlist.rowposition, "reqno"));
  2567. ds_main_grid_rfehdabplist.setColumn(ds_main_grid_rfehdabplist.rowposition, "rpirdd", switch2.case1.ipt_rpirdd.value);
  2568. ds_main_grid_rfehdabplist.setColumn(ds_main_grid_rfehdabplist.rowposition, "paytype", "2");
  2569. ds_main_grid_rfehdabplist.setColumn(ds_main_grid_rfehdabplist.rowposition, "kind", "4");
  2570. ds_main_grid_rfehdabplist.setColumn(ds_main_grid_rfehdabplist.rowposition, "costflag", "1");
  2571. switch2.case1.ipt_rpirdd.enable = false;
  2572. }
  2573. else
  2574. {
  2575. sysf_messageBox("일별수리내역을", "C002");
  2576. return;
  2577. }
  2578. misfSetReadOnlyCol(grd_rfehdabplist, "costflag", true, ds_main_grid_rfehdabplist.rowposition);
  2579. }
  2580. function btn_delRfehdabp_onclick(obj:Button, e:ClickEventInfo)
  2581. {
  2582. misfGridIUD(grd_rfehdabplist, "D");
  2583. }
  2584. function btn__onclick(obj:Button, e:ClickEventInfo)
  2585. {
  2586. frmf_modal("SMRFC00600", "SMRFC00600", "", "", "", "", "", "", "", "", "", "", "M");
  2587. }
  2588. function grp_hidden_btn_insert_onclick(obj:Button, e:ClickEventInfo)
  2589. {
  2590. if(ds_main_grid_rfehemhtlist.rowposition > -1 )
  2591. {
  2592. misfGridIUD(grd_rfemdamklist, "A");
  2593. var row = ds_main_grid_rfemdamklist.rowposition;
  2594. grd_rfemdamklist_oncellclick();
  2595. grp_hidden.btn_upRfemdamk.enable = true;
  2596. ds_main_grid_rfemdamklist.getColumn(row, "instcd", ds_main_grid_rfehemhtlist.getColumn(ds_main_grid_rfehemhtlist.rowposition, "instcd"));
  2597. ds_main_grid_rfemdamklist.getColumn(row, "fixtrseqmtflag", ds_main_grid_rfehemhtlist.getColumn(ds_main_grid_rfehemhtlist.rowposition, "fixtrseqmtflag"));
  2598. ds_main_grid_rfemdamklist.getColumn(row, "reqdd", ds_main_grid_rfehemhtlist.getColumn(ds_main_grid_rfehemhtlist.rowposition, "reqdd"));
  2599. ds_main_grid_rfemdamklist.getColumn(row, "reqno", ds_main_grid_rfehemhtlist.getColumn(ds_main_grid_rfehemhtlist.rowposition, "reqno"));
  2600. grp_hidden.btn_upRfemdamk.enable = true;
  2601. fRfemdamkComponentsTF(false);
  2602. }
  2603. else
  2604. {
  2605. sysf_messageBox("의뢰일별 목록을", "C002");
  2606. return;
  2607. }
  2608. }
  2609. function grp_hidden_btn_uprfehemht_onclick(obj:Button, e:ClickEventInfo)
  2610. {
  2611. if( sysf_messageBox("자산수리의 변경된 내용을 수정하시겠습니까?", "Q999") == 6)
  2612. {
  2613. if(ds_main_grid_rfehemhtlist.getRowType(ds_main_grid_rfehemhtlist.rowposition) != 2)
  2614. {
  2615. var row = ds_main_grid_rfehemhtlist.rowposition;
  2616. ds_main_grid_rfehemhtlist.updatecontrol = false;
  2617. ds_main_grid_rfehemhtlist.setRowType(row, "u");
  2618. ds_main_grid_rfehemhtlist.setColumn(row, "workstat", switch2.case1.cmb_workstat.value);
  2619. ds_main_grid_rfehemhtlist.setColumn(row, "docustat", switch2.case1.cmb_docustat.value);
  2620. ds_main_grid_rfehemhtlist.setColumn(row, "rpirflag1", grp_hidden.cmb_rpirflag1.value);
  2621. ds_main_grid_rfehemhtlist.setColumn(row, "rpirflag2", switch2.case1.cmb_rpirflag2.value);
  2622. ds_main_grid_rfehemhtlist.setColumn(row, "sanctid", grp_hidden.ipt_sanctid.value);
  2623. ds_main_grid_rfehemhtlist.setColumn(row, "estimateamt", grp_hidden.ipt_estimateamt.value);
  2624. ds_main_grid_rfehemhtlist.setColumn(row, "reductionamt", grp_hidden.ipt_reductionamt.value);
  2625. ds_main_grid_rfehemhtlist.setColumn(row, "custcd", switch2.case1.ipt_custcd.value);
  2626. ds_main_grid_rfehemhtlist.setColumn(row, "nonworkdayno", grp_hidden.ipt_nonworkdayno.value);
  2627. ds_main_grid_rfehemhtlist.setColumn(row, "lastrpirrslt", switch2.case1.txt_lastrpirrslt.value);
  2628. ds_main_grid_rfehemhtlist.setColumn(row, "rpirenddd", switch2.case1.ipt_rpirenddd.value);
  2629. ds_main_grid_rfehemhtlist.setColumn(row, "rpiramt", switch2.case1.ipt_rpiramt.value);
  2630. ds_main_grid_rfehemhtlist.setColumn(row, "chkpsn", switch2.case1.ipt_chkpsn.value);
  2631. ds_main_grid_rfehemhtlist.setColumn(row, "chkpsnnm", switch2.case1.ipt_chkpsnnm.value);
  2632. ds_main_grid_rfehemhtlist.setColumn(row, "chkdd", switch2.case1.ipt_chkdd.value);
  2633. ds_main_grid_rfehemhtlist.setColumn(row, "useyn", grp_hidden.rdo_useyn.value);
  2634. ds_main_grid_rfehemhtlist.setColumn(row, "deptaprvyn", grp_hidden.bool_deptaprvyn.value);
  2635. ds_main_grid_rfehemhtlist.setColumn(row, "chrgtel", switch2.case1.ipt_chrgtel.value);
  2636. ds_main_grid_rfehemhtlist.setColumn(row, "deptaprvdd", grp_hidden.ipt_deptaprvdd.value);
  2637. ds_main_grid_rfehemhtlist.setColumn(row, "deptaprvpsnid", grp_hidden.ipt_deptaprvpsnid.value);
  2638. ds_main_grid_rfehemhtlist.setColumn(row, "estiamt", switch2.case1.ipt_estiamt.value);
  2639. if (utlf_isNull(ds_main_grid_rfehemhtlist.getColumn(row, "chrgpsnid")))
  2640. {
  2641. switch2.case1.ipt_chrgpsnid.value = sysf_getUserInfo("userid");
  2642. }
  2643. if (utlf_isNull(ds_main_grid_rfehemhtlist.getColumn(row, "acptpsnid")))
  2644. {
  2645. grp_hidden.ipt_acptpsnid.value = sysf_getUserInfo("userid");
  2646. }
  2647. if (utlf_isNull(ds_main_grid_rfehemhtlist.getColumn(row, "acptdd")))
  2648. {
  2649. switch2.case1.ipt_acptdd.value = utlf_getCurrentDate("YYMMDD");
  2650. }
  2651. if (utlf_isNull(ds_main_grid_rfehemhtlist.getColumn(row, "acpttm")))
  2652. {
  2653. var gDate = new Date();
  2654. grp_hidden.ipt_acpttm.value = gDate.getHours()+""+gDate.getMinutes();
  2655. }
  2656. if (utlf_isNull(ds_main_grid_rfehemhtlist.getColumn(row, "acptdeptcd")))
  2657. {
  2658. grp_hidden.ipt_acptdeptcd.value = sysf_getUserInfo("dutplcecd");
  2659. }
  2660. ds_main_grid_rfehemhtlist.setColumn(row, "chrgpsnid", switch2.case1.ipt_chrgpsnid.value);
  2661. ds_main_grid_rfehemhtlist.setColumn(row, "acptpsnid", grp_hidden.ipt_acptpsnid.value);
  2662. ds_main_grid_rfehemhtlist.setColumn(row, "acptdd", switch2.case1.ipt_acptdd.value);
  2663. ds_main_grid_rfehemhtlist.setColumn(row, "acpttm", grp_hidden.ipt_acpttm.value);
  2664. ds_main_grid_rfehemhtlist.setColumn(row, "acptdeptcd", grp_hidden.ipt_acptdeptcd.value);
  2665. }
  2666. fRfemdamkComponentsTF(false,'Y');
  2667. }
  2668. }
  2669. function grp_hidden_btn_upRfemdamk_onclick(obj:Button, e:ClickEventInfo)
  2670. {
  2671. if( sysf_messageBox("일별수리내역의 변경된 내용을 수정하시겠습니까?", "Q999") == 6)
  2672. {
  2673. if(ds_main_grid_rfemdamklist.getRowType(ds_main_grid_rfemdamklist.rowposition) != 2)
  2674. {
  2675. ds_main_grid_rfemdamklist.updatecontrol = false;
  2676. ds_main_grid_rfemdamklist.setRowType(ds_main_grid_rfemdamklist.rowposition, "u");
  2677. ds_main_grid_rfemdamklist.updatecontrol = true;
  2678. }
  2679. ds_main_grid_rfemdamklist.setColumn(ds_main_grid_rfemdamklist.rowposition, "rpirdd", switch2.case1.ipt_rpirdd.value);
  2680. ds_main_grid_rfemdamklist.setColumn(ds_main_grid_rfemdamklist.rowposition, "mainrpirpsn", switch2.case1.ipt_mainrpirpsn.value);
  2681. ds_main_grid_rfemdamklist.setColumn(ds_main_grid_rfemdamklist.rowposition, "mainrpirpsnnm", switch2.case1.ipt_mainrpirpsnnm.value);
  2682. ds_main_grid_rfemdamklist.setColumn(ds_main_grid_rfemdamklist.rowposition, "supprpirpsn", switch2.case1.ipt_supprpirpsn.value);
  2683. ds_main_grid_rfemdamklist.setColumn(ds_main_grid_rfemdamklist.rowposition, "supprpirpsnnm", switch2.case1.ipt_supprpirpsnnm.value);
  2684. ds_main_grid_rfemdamklist.setColumn(ds_main_grid_rfemdamklist.rowposition, "rpirspec", switch2.case1.txt_rpirspec.value);
  2685. ds_main_grid_rfemdamklist.setColumn(ds_main_grid_rfemdamklist.rowposition, "rpirtm", switch2.case1.ipt_rpirtm.value);
  2686. fRfemdamkComponentsTF(false,'Y');
  2687. }
  2688. }
  2689. function switch2_case1_btn_initrfemdamklist_onclick(obj:Button, e:ClickEventInfo)
  2690. {
  2691. grp_hidden.ipt_insStatus.value = 1;
  2692. misfGridIUD(grd_rfemdamklist, "A");
  2693. //ds_main_grid_rfemdamklist.setColumn(ds_main_grid_rfemdamklist.rowposition, "rpirdd", utlf_getCurrentDate());
  2694. //ds_main_grid_rfemdamklist.setColumn(ds_main_grid_rfemdamklist.rowposition, "instcd", group2.cmb_instcd.value);
  2695. //ds_main_grid_rfemdamklist.setColumn(ds_main_grid_rfemdamklist.rowposition, "reqdd", ds_main_grid_rfehemhtlist.getColumn(ds_main_grid_rfehemhtlist.rowposition, "reqdd"));
  2696. ds_main_grid_rfemdamklist.setColumn(ds_main_grid_rfemdamklist.rowposition, "reqno", ds_main_grid_rfehemhtlist.getColumn(ds_main_grid_rfehemhtlist.rowposition, "reqno"));
  2697. //ds_main_grid_rfemdamklist.setColumn(ds_main_grid_rfemdamklist.rowposition, "fixtrseqmtflag", ds_main_grid_rfehemhtlist.getColumn(ds_main_grid_rfehemhtlist.rowposition, "fixtrseqmtflag"));
  2698. ds_main_component_rfemdamklist.clearData();
  2699. ds_main_component_rfemdamklist.addRow();
  2700. ds_main_component_rfemdamklist.copyRow(0, ds_main_grid_rfemdamklist, ds_main_grid_rfemdamklist.rowposition);
  2701. fRfemdamkComponentsTF(false);
  2702. misfGridInit(grd_rfehdabplist);
  2703. if(ds_main_grid_rfemdamklist.rowcount > 0)
  2704. {
  2705. switch2.case1.ipt_mainrpirpsn.value = ds_main_grid_rfemdamklist.getColumn(ds_main_grid_rfemdamklist.rowcount-1, "mainrpirpsn");
  2706. switch2.case1.ipt_mainrpirpsnnm.value = ds_main_grid_rfemdamklist.getColumn(ds_main_grid_rfemdamklist.rowcount-1, "mainrpirpsnnm");
  2707. switch2.case1.ipt_supprpirpsn.value = ds_main_grid_rfemdamklist.getColumn(ds_main_grid_rfemdamklist.rowcount-1, "supprpirpsn");
  2708. switch2.case1.ipt_supprpirpsnnm.value = ds_main_grid_rfemdamklist.getColumn(ds_main_grid_rfemdamklist.rowcount-1, "supprpirpsnnm");
  2709. }
  2710. else
  2711. {
  2712. switch2.case1.ipt_mainrpirpsn.value = sysf_getUserInfo("userid");
  2713. switch2.case1.ipt_mainrpirpsnnm.value = sysf_getUserInfo("usernm");
  2714. }
  2715. if(utlf_transNullToEmpty(switch2.case1.ipt_chrgpsnid.value).length != 0)
  2716. {
  2717. switch2.case1.ipt_mainrpirpsn.value = switch2.case1.ipt_chrgpsnid.value;
  2718. switch2.case1.ipt_mainrpirpsnnm.value = switch2.case1.ipt_chrgpsnnm.value;
  2719. }
  2720. var dutplcecd = sysf_getUserInfo("dutplcecd");
  2721. if ( dutplcecd != "4090500000" || sysf_getUserInfo("userid") == "93518" || sysf_getUserInfo("userid") == "08111"|| sysf_getUserInfo("userid") == "MIS"|| sysf_getUserInfo("userid") == "95047"|| sysf_getUserInfo("userid") == "93507"|| sysf_getUserInfo("userid") == "10306")
  2722. {
  2723. switch2.case1.ipt_rpirdd.value = utlf_getCurrentDate();
  2724. switch2_case1_ipt_rpirdd_onchanged();
  2725. switch2.case1.ipt_rpirdd.enable = true;
  2726. }
  2727. else
  2728. {
  2729. switch2.case1.ipt_rpirdd.value = utlf_getCurrentDate();
  2730. switch2_case1_ipt_rpirdd_onchanged();
  2731. switch2.case1.ipt_rpirdd.enable = false;
  2732. }
  2733. btn_insRfehdabp.enable = true;
  2734. btn_delRfehdabp.enable = true;
  2735. }
  2736. function switch2_case1_btn_del_onclick(obj:Button, e:ClickEventInfo)
  2737. {
  2738. if( grp_hidden.ipt_insStatus.value == 1 )
  2739. {
  2740. ds_main_component_rfemdamklist.clearData();
  2741. ds_main_component_rfemdamklist.addRow();
  2742. grd_rfehemhtlist_oncellclick();
  2743. return;
  2744. }
  2745. if(ds_main_grid_rfemdamklist.rowposition > -1)
  2746. {
  2747. if(grp_hidden.ipt_insStatus.value == 1)
  2748. {
  2749. ds_main_grid_rfemdamklist.rowposition = ds_main_grid_rfemdamklist.rowcount-1;
  2750. grd_rfemdamklist_oncellclick();
  2751. }
  2752. else
  2753. {
  2754. if(ds_main_grid_rfehdabplist.rowcount > 0)
  2755. {
  2756. if( sysf_messageBox("부품목록의 데이터가 남아있습니다.\n'예(Yes)'를 누르시면 부품목록의 데이터까지 삭제하시게 됩니다.\n", "Q003") == 6)
  2757. {
  2758. for(var row = 0; row < ds_main_grid_rfehdabplist.rowcount; row++)
  2759. {
  2760. ds_main_grid_rfehdabplist.updatecontrol = false;
  2761. ds_main_grid_rfehdabplist.setRowType(row, "d");
  2762. ds_main_grid_rfehdabplist.updatecontrol = true;
  2763. }
  2764. misfGridIUD(grd_rfemdamklist, "D");
  2765. grp_hidden.ipt_insStatus.value = 0;
  2766. fRfemdamkComponentsTF(false,'Y');
  2767. var oParam = {};
  2768. oParam.id = "TXRFE00601";
  2769. oParam.service = "reqapp.ReqMngt";
  2770. oParam.method = "reqSaveHistRfeList";
  2771. oParam.inds = "rfehemhtlist=ds_main_grid_rfehemhtlist:u rfemdamklist=ds_main_grid_rfemdamklist:u rfehdabplist=ds_main_grid_rfehdabplist:u";
  2772. oParam.outds = "";
  2773. oParam.async = false;
  2774. //oParam.callback = "cf_TXRFE00601";
  2775. tranf_submit(oParam);
  2776. ds_main_component_rfemdamklist.clearData();
  2777. ds_main_component_rfemdamklist.addRow();
  2778. grd_rfehemhtlist_oncellclick();
  2779. }
  2780. else
  2781. {
  2782. return;
  2783. }
  2784. }
  2785. else
  2786. {
  2787. if(sysf_messageBox("","Q001") == 6)
  2788. {
  2789. misfGridIUD(grd_rfemdamklist, "D");
  2790. grp_hidden.ipt_insStatus.value = 0
  2791. fRfemdamkComponentsTF(false,'Y');
  2792. var oParam = {};
  2793. oParam.id = "TXRFE00601";
  2794. oParam.service = "reqapp.ReqMngt";
  2795. oParam.method = "reqSaveHistRfeList";
  2796. oParam.inds = "rfehemhtlist=ds_main_grid_rfehemhtlist:u rfemdamklist=ds_main_grid_rfemdamklist:u rfehdabplist=ds_main_grid_rfehdabplist:u";
  2797. oParam.outds = "";
  2798. oParam.async = false;
  2799. //oParam.callback = "cf_TXRFE00601";
  2800. tranf_submit(oParam);
  2801. ds_main_component_rfemdamklist.clearData();
  2802. ds_main_component_rfemdamklist.addRow();
  2803. grd_rfehemhtlist_oncellclick();
  2804. }
  2805. else
  2806. {
  2807. return;
  2808. }
  2809. }
  2810. }
  2811. fRfemdamkComponentsTF(false, 'Y');
  2812. }
  2813. else
  2814. {
  2815. sysf_messageBox("삭제할 수리일자별 목록을", "C002")
  2816. }
  2817. }
  2818. function switch2_case1_btn_attupload_onclick(obj:Button, e:ClickEventInfo)
  2819. {
  2820. if(String(utlf_transNullToEmpty(ds_main_component_rfehemhtlist.getColumn(0, "filenm"))).length > 0)
  2821. {
  2822. var rtn = sysf_messageBox("이미 등록 된 파일이 있습니다.\n삭제 하시겠습니까?", "Q");
  2823. if(rtn == "6")
  2824. {
  2825. ds_send_fileinfo_fileinfolist.clearData();
  2826. ds_send_fileinfo_fileinfolist.addRow();
  2827. ds_send_fileinfo_fileinfolist.setColumn(0, "status", "d");
  2828. ds_send_fileinfo_fileinfolist.setColumn(0, "fileseqno", ds_main_component_rfehemhtlist.getColumn(0, "fileseqno"));
  2829. ds_send_fileinfo_fileinfolist.setColumn(0, "fixasetcd", ds_main_component_rfehemhtlist.getColumn(0, "fixasetcd"));
  2830. ds_send_fileinfo_fileinfolist.setColumn(0, "filepath", ds_main_component_rfehemhtlist.getColumn(0, "filepath"));
  2831. var oParam = {};
  2832. oParam.id = "TXRFC01102";
  2833. oParam.service = "purcbaseapp.PurcBaseMngt";
  2834. oParam.method = "delFixasetAttFile";
  2835. oParam.inds = "fileinfolist=ds_send_fileinfo_fileinfolist";
  2836. oParam.outds = "";
  2837. oParam.async = false;
  2838. oParam.callback = "cf_TXRFC01102";
  2839. tranf_submit(oParam);
  2840. if(arErrorCode.pop("TXRFC01102") > -1)
  2841. {
  2842. ds_main_component_rfehemhtlist.setColumn(0, "filenm", "");
  2843. ds_main_component_rfehemhtlist.setColumn(0, "fileseqno", "");
  2844. ds_main_component_rfehemhtlist.setColumn(0, "filepath", "");
  2845. }
  2846. else
  2847. {
  2848. sysf_messageBox("파일 삭제가 실패하였습니다.","E");
  2849. }
  2850. }
  2851. else
  2852. {
  2853. return;
  2854. }
  2855. }
  2856. var fd = new FileDialog;
  2857. var vFile = fd.open("FileOpen", FileDialog.SINGLELOAD);
  2858. if(utlf_isNull(vFile)) return;
  2859. // vFile.open(VirtualFile.openRead | VirtualFile.openBinary);
  2860. // vFile.seek(0,VirtualFile.seekBegin);
  2861. //
  2862. // var bData = new Buffer(vFile.read(vFile.getFileSize()));
  2863. //
  2864. // switch2.case1.ipt_uploadfile.value = bData;
  2865. // // var filename = files.substring(files.lastIndexOf('\\')+1 , files.length ); //파일이름만 나오게 문자정리
  2866. // switch2.case1.ipt_attfilenm.value = bData.name;
  2867. //
  2868. // if (utlf_transNullToEmpty(switch2.case1.ipt_uploadfile.value).length > 0)
  2869. // {
  2870. //var maxsize = switch2.case1.upd_uploadfile..attribute("filesize");
  2871. ds_send_fileinfo_fileinfolist.clearData();
  2872. ds_send_fileinfo_fileinfolist.addRow();
  2873. var file = dsf_writeFileToDs(vFile, ds_send_fileinfo_fileinfolist, 0, "filedata");
  2874. var filename = file.filename;
  2875. var filesize = file.filesize;
  2876. var idx = filename.indexOf(".");
  2877. //ds_send_fileinfo_fileinfolist.setColumn(nRow, "filedata", filename);
  2878. switch2.case1.ipt_attfilenm.value = file.filename;
  2879. ds_send_fileinfo_fileinfolist.setColumn(0, "filenm", file.filename);
  2880. ds_send_fileinfo_fileinfolist.setColumn(0, "filesize", file.filesize);
  2881. ds_send_fileinfo_fileinfolist.setColumn(0, "filetype", file.filetype);
  2882. ds_send_fileupcolumn.setColumn(0, "refinstcd", ds_main_component_rfehemhtlist.getColumn(0, "instcd"));
  2883. ds_send_fileupcolumn.setColumn(0, "refdeptcd", sysf_getUserInfo("dutplcecd"));
  2884. ds_send_fileupcolumn.setColumn(0, "refpsnid", sysf_getUserInfo("userid"));
  2885. ds_send_fileupcolumn.setColumn(0, "fixasetcd", ds_main_component_rfehemhtlist.getColumn(0, "fixasetcd"));
  2886. ds_send_fileupcolumn.setColumn(0, "reqdd", ds_main_component_rfehemhtlist.getColumn(0, "reqdd"));
  2887. ds_send_fileupcolumn.setColumn(0, "reqno", ds_main_component_rfehemhtlist.getColumn(0, "reqno"));
  2888. var oParam = {};
  2889. oParam.id = "TXRFC01101";
  2890. oParam.service = "purcbaseapp.PurcBaseMngt";
  2891. oParam.method = "insFixasetAttFile";
  2892. oParam.inds = "sfile=ds_send_fileinfo_fileinfolist req=ds_send_fileupcolumn";
  2893. oParam.outds = "ds_tmp_attfileinfo=attfileinfo";
  2894. oParam.async = false;
  2895. oParam.callback = "cf_TXRFC01101";
  2896. tranf_submit(oParam);
  2897. if(arErrorCode.pop("TXRFC01101") > -1)
  2898. {
  2899. ds_main_component_rfehemhtlist.setColumn(0, "filenm", ds_tmp_attfileinfo.getColumn(0, "filenm"));
  2900. ds_main_component_rfehemhtlist.setColumn(0, "fileseqno", ds_tmp_attfileinfo.getColumn(0, "fileseqno"));
  2901. ds_main_component_rfehemhtlist.setColumn(0, "filepath", ds_tmp_attfileinfo.getColumn(0, "filepath"));
  2902. }
  2903. //}
  2904. }
  2905. function cf_TXRFC01102(sSvcId, nErrorCode, sErrorMsg) {
  2906. arErrorCode.push(sSvcId, nErrorCode);
  2907. }
  2908. function cf_TXRFC01101(sSvcId, nErrorCode, sErrorMsg)
  2909. {
  2910. arErrorCode.push(sSvcId, nErrorCode);
  2911. if(nErrorCode < 0) return;
  2912. }
  2913. function btn_send_onclick(obj:Button, e:ClickEventInfo)
  2914. {
  2915. grp_hidden.ipt_sancttrsmyn.value = "Y";
  2916. if(ds_main_grid_rfehemhtlist.getColumn(ds_main_grid_rfehemhtlist.rowposition, "sanctyn") == "R")
  2917. {
  2918. ds_main_grid_rfehemhtlist.setColumn(ds_main_grid_rfehemhtlist.rowposition, "sanctyn","A");
  2919. }
  2920. btn_save.click();
  2921. }
  2922. function btn_save_onclick(obj:Button, e:ClickEventInfo)
  2923. {
  2924. var workstat = switch2.case1.cmb_workstat.value;
  2925. var focus = ds_main_grid_rfehemhtlist.rowposition;
  2926. if( sysf_getUserInfo("dutplceinstcd") != ds_main_grid_rfehemhtlist.getColumn(0, "instcd") ){
  2927. sysf_messageBox("현재 로그인한 기관코드와 저장할 기관코드가 달라 저장","E001");
  2928. return;
  2929. }
  2930. if(!frmf_chkMdtGrid(grd_rfehdabplist, [3,4,5,6], ["수리일자", "지급형태", "유형", "비용구분", "부품코드"])) return;
  2931. for( var fRow = 0; fRow < ds_main_grid_rfehdabplist.rowcount; fRow++)
  2932. {
  2933. if(utlf_isNull(ds_main_grid_rfehdabplist.getColumn(fRow, "acsrscd")))
  2934. {
  2935. sysf_messageBox("부품목록의 부품코드를", "C001");
  2936. return;
  2937. }
  2938. if(utlf_isNull(ds_main_grid_rfehdabplist.getColumn(fRow, "acsrsqty")) || ds_main_grid_rfehdabplist.getColumn(fRow, "acsrsqty") == "0" )
  2939. {
  2940. sysf_messageBox("부품목록의 부품수량을", "C001");
  2941. return;
  2942. }
  2943. }
  2944. var fsend = "";
  2945. var fmcode = "Q002";
  2946. if(grp_hidden.ipt_sancttrsmyn.value == "Y")
  2947. {
  2948. fsend = "[-- 전송작업 실행시 현재 데이터를 수정할 수 없게 됩니다. --]\n\n 전송 작업을";
  2949. fmcode = "Q003";
  2950. }
  2951. if(sysf_messageBox(fsend, fmcode) == 6)
  2952. {
  2953. if(ds_main_grid_rfehemhtlist.getRowType(ds_main_grid_rfehemhtlist.rowposition) != 2)
  2954. {
  2955. ds_main_grid_rfehemhtlist.updatecontrol = false;
  2956. ds_main_grid_rfehemhtlist.setRowType(ds_main_grid_rfehemhtlist.rowposition, "u");
  2957. var totalCmtDD = "";
  2958. var totalCmt = "";
  2959. for(var i = 0; i < ds_main_grid_rfemdamklist.rowcount; i++)
  2960. {
  2961. totalCmtDD = String(utlf_transNullToEmpty(ds_main_grid_rfemdamklist.getColumn(i, "rpirdd")));
  2962. if(utlf_isNull(totalCmtDD))
  2963. {
  2964. totalCmt = "";
  2965. }
  2966. else
  2967. {
  2968. totalCmt += ( totalCmtDD.substr(0,4) + "-" + totalCmtDD.substr(4,2) + "-" + totalCmtDD.substr(6,2) + " >>\n"
  2969. + utlf_transNullToEmpty(ds_main_grid_rfemdamklist.getColumn(i, "rpirspec")) + "\n")
  2970. }
  2971. }
  2972. switch2.case1.txt_lastrpirrslt.value = totalCmt;
  2973. ds_main_grid_rfehemhtlist.setColumn(ds_main_grid_rfehemhtlist.rowposition, "workstat", switch2.case1.cmb_workstat.value);
  2974. ds_main_grid_rfehemhtlist.setColumn(ds_main_grid_rfehemhtlist.rowposition, "docustat", switch2.case1.cmb_docustat.value);
  2975. ds_main_grid_rfehemhtlist.setColumn(ds_main_grid_rfehemhtlist.rowposition, "rpirflag1", grp_hidden.cmb_rpirflag1.value);
  2976. ds_main_grid_rfehemhtlist.setColumn(ds_main_grid_rfehemhtlist.rowposition, "rpirflag2", switch2.case1.cmb_rpirflag2.value);
  2977. ds_main_grid_rfehemhtlist.setColumn(ds_main_grid_rfehemhtlist.rowposition, "sanctid", grp_hidden.ipt_sanctid.value);
  2978. ds_main_grid_rfehemhtlist.setColumn(ds_main_grid_rfehemhtlist.rowposition, "estimateamt", grp_hidden.ipt_estimateamt.value);
  2979. ds_main_grid_rfehemhtlist.setColumn(ds_main_grid_rfehemhtlist.rowposition, "reductionamt", grp_hidden.ipt_reductionamt.value);
  2980. ds_main_grid_rfehemhtlist.setColumn(ds_main_grid_rfehemhtlist.rowposition, "custcd", switch2.case1.ipt_custcd.value);
  2981. ds_main_grid_rfehemhtlist.setColumn(ds_main_grid_rfehemhtlist.rowposition, "nonworkdayno", grp_hidden.ipt_nonworkdayno.value);
  2982. ds_main_grid_rfehemhtlist.setColumn(ds_main_grid_rfehemhtlist.rowposition, "lastrpirrslt", switch2.case1.txt_lastrpirrslt.value);
  2983. ds_main_grid_rfehemhtlist.setColumn(ds_main_grid_rfehemhtlist.rowposition, "rpirenddd", switch2.case1.ipt_rpirenddd.value);
  2984. ds_main_grid_rfehemhtlist.setColumn(ds_main_grid_rfehemhtlist.rowposition, "rpiramt", switch2.case1.ipt_rpiramt.value);
  2985. ds_main_grid_rfehemhtlist.setColumn(ds_main_grid_rfehemhtlist.rowposition, "chkpsn", switch2.case1.ipt_chkpsn.value);
  2986. ds_main_grid_rfehemhtlist.setColumn(ds_main_grid_rfehemhtlist.rowposition, "chkpsnnm", switch2.case1.ipt_chkpsnnm.value);
  2987. ds_main_grid_rfehemhtlist.setColumn(ds_main_grid_rfehemhtlist.rowposition, "chkdd", switch2.case1.ipt_chkdd.value);
  2988. ds_main_grid_rfehemhtlist.setColumn(ds_main_grid_rfehemhtlist.rowposition, "useyn", grp_hidden.rdo_useyn.value);
  2989. ds_main_grid_rfehemhtlist.setColumn(ds_main_grid_rfehemhtlist.rowposition, "sancttrsmyn", grp_hidden.ipt_sancttrsmyn.value);
  2990. ds_main_grid_rfehemhtlist.setColumn(ds_main_grid_rfehemhtlist.rowposition, "deptaprvyn", grp_hidden.bool_deptaprvyn.value);
  2991. ds_main_grid_rfehemhtlist.setColumn(ds_main_grid_rfehemhtlist.rowposition, "chrgtel", switch2.case1.ipt_chrgtel.value);
  2992. ds_main_grid_rfehemhtlist.setColumn(ds_main_grid_rfehemhtlist.rowposition, "deptaprvdd", grp_hidden.ipt_deptaprvdd.value);
  2993. ds_main_grid_rfehemhtlist.setColumn(ds_main_grid_rfehemhtlist.rowposition, "deptaprvpsnid", grp_hidden.ipt_deptaprvpsnid.value);
  2994. ds_main_grid_rfehemhtlist.setColumn(ds_main_grid_rfehemhtlist.rowposition, "mngersanctid", switch2.case1.ipt_mngersanctid.value);
  2995. ds_main_grid_rfehemhtlist.setColumn(ds_main_grid_rfehemhtlist.rowposition, "deprtmangrsanctid", switch2.case1.ipt_deprtmangrsanctid.value);
  2996. ds_main_grid_rfehemhtlist.setColumn(ds_main_grid_rfehemhtlist.rowposition, "rpirendyn", switch2.case1.chk_rpirendyn.value);
  2997. ds_main_grid_rfehemhtlist.setColumn(ds_main_grid_rfehemhtlist.rowposition, "estiamt", switch2.case1.ipt_estiamt.value);
  2998. if (utlf_isNull(ds_main_grid_rfehemhtlist.getColumn(ds_main_grid_rfehemhtlist.rowposition, "acptpsnid")))
  2999. {
  3000. grp_hidden.ipt_acptpsnid.value = sysf_getUserInfo("userid");
  3001. }
  3002. if (utlf_isNull(ds_main_grid_rfehemhtlist.getColumn(ds_main_grid_rfehemhtlist.rowposition, "acptdeptcd")))
  3003. {
  3004. grp_hidden.ipt_acptdeptcd.value = sysf_getUserInfo("dutplcecd");
  3005. }
  3006. ds_main_grid_rfehemhtlist.setColumn(ds_main_grid_rfehemhtlist.rowposition, "chrgpsnid", switch2.case1.ipt_chrgpsnid.value);
  3007. ds_main_grid_rfehemhtlist.setColumn(ds_main_grid_rfehemhtlist.rowposition, "acptpsnid", grp_hidden.ipt_acptpsnid.value);
  3008. ds_main_grid_rfehemhtlist.setColumn(ds_main_grid_rfehemhtlist.rowposition, "acptdd", switch2.case1.ipt_acptdd.value);
  3009. ds_main_grid_rfehemhtlist.setColumn(ds_main_grid_rfehemhtlist.rowposition, "acpttm", grp_hidden.ipt_acpttm.value);
  3010. ds_main_grid_rfehemhtlist.setColumn(ds_main_grid_rfehemhtlist.rowposition, "acptdeptcd", grp_hidden.ipt_acptdeptcd.value);
  3011. ds_main_grid_rfehemhtlist.setColumn(ds_main_grid_rfehemhtlist.rowposition, "bizscrnid", "SMRFE00600");
  3012. }
  3013. if( grp_hidden.ipt_insStatus.value == 1 )
  3014. {
  3015. arrCompId = new Array("switch2.case1.ipt_rpirdd","switch2.case1.ipt_mainrpirpsn","switch2.case1.txt_rpirspec");
  3016. frmf_isRequiredControls(arrCompId);
  3017. ds_main_grid_rfemdamklist.setColumn(ds_main_grid_rfemdamklist.rowposition, "instcd", ds_main_grid_rfehemhtlist.getColumn(ds_main_grid_rfehemhtlist.rowposition, "instcd"));
  3018. ds_main_grid_rfemdamklist.setColumn(ds_main_grid_rfemdamklist.rowposition, "fixtrseqmtflag", ds_main_grid_rfehemhtlist.getColumn(ds_main_grid_rfehemhtlist.rowposition, "fixtrseqmtflag"));
  3019. ds_main_grid_rfemdamklist.setColumn(ds_main_grid_rfemdamklist.rowposition, "reqdd", ds_main_grid_rfehemhtlist.getColumn(ds_main_grid_rfehemhtlist.rowposition, "reqdd"));
  3020. ds_main_grid_rfemdamklist.setColumn(ds_main_grid_rfemdamklist.rowposition, "rpirdd", switch2.case1.ipt_rpirdd.value);
  3021. ds_main_grid_rfemdamklist.setColumn(ds_main_grid_rfemdamklist.rowposition, "mainrpirpsn", switch2.case1.ipt_mainrpirpsn.value);
  3022. ds_main_grid_rfemdamklist.setColumn(ds_main_grid_rfemdamklist.rowposition, "mainrpirpsnnm", switch2.case1.ipt_mainrpirpsnnm.value);
  3023. ds_main_grid_rfemdamklist.setColumn(ds_main_grid_rfemdamklist.rowposition, "supprpirpsn", switch2.case1.ipt_supprpirpsn.value);
  3024. ds_main_grid_rfemdamklist.setColumn(ds_main_grid_rfemdamklist.rowposition, "supprpirpsnnm", switch2.case1.ipt_supprpirpsnnm.value);
  3025. ds_main_grid_rfemdamklist.setColumn(ds_main_grid_rfemdamklist.rowposition, "rpirspec", switch2.case1.txt_rpirspec.value);
  3026. ds_main_grid_rfemdamklist.setColumn(ds_main_grid_rfemdamklist.rowposition, "rpirtm", switch2.case1.ipt_rpirtm.value);
  3027. }
  3028. else if(grp_hidden.ipt_insStatus.value == 2)
  3029. {
  3030. ds_main_grid_rfemdamklist.updatecontrol = false;
  3031. ds_main_grid_rfemdamklist.setRowType(ds_main_grid_rfemdamklist.rowposition, "u");
  3032. ds_main_grid_rfemdamklist.setColumn(ds_main_grid_rfemdamklist.rowposition, "rpirdd", switch2.case1.ipt_rpirdd.value);
  3033. ds_main_grid_rfemdamklist.setColumn(ds_main_grid_rfemdamklist.rowposition, "mainrpirpsn", switch2.case1.ipt_mainrpirpsn.value);
  3034. ds_main_grid_rfemdamklist.setColumn(ds_main_grid_rfemdamklist.rowposition, "mainrpirpsnnm", switch2.case1.ipt_mainrpirpsnnm.value);
  3035. ds_main_grid_rfemdamklist.setColumn(ds_main_grid_rfemdamklist.rowposition, "supprpirpsn", switch2.case1.ipt_supprpirpsn.value);
  3036. ds_main_grid_rfemdamklist.setColumn(ds_main_grid_rfemdamklist.rowposition, "supprpirpsnnm", switch2.case1.ipt_supprpirpsnnm.value);
  3037. ds_main_grid_rfemdamklist.setColumn(ds_main_grid_rfemdamklist.rowposition, "rpirspec", switch2.case1.txt_rpirspec.value);
  3038. ds_main_grid_rfemdamklist.setColumn(ds_main_grid_rfemdamklist.rowposition, "rpirtm", switch2.case1.ipt_rpirtm.value);
  3039. ds_main_grid_rfemdamklist.updatecontrol = true;
  3040. }
  3041. grp_hidden.ipt_insStatus.value = 0;
  3042. fRfemdamkComponentsTF(false,'Y');
  3043. var oParam = {};
  3044. oParam.id = "TXRFE00601";
  3045. oParam.service = "reqapp.ReqMngt";
  3046. oParam.method = "reqSaveHistRfeList";
  3047. oParam.inds = "rfehemhtlist=ds_main_grid_rfehemhtlist:u rfemdamklist=ds_main_grid_rfemdamklist:u rfehdabplist=ds_main_grid_rfehdabplist:u";
  3048. oParam.outds = "";
  3049. oParam.async = false;
  3050. oParam.callback = "cf_TXRFE00601";
  3051. tranf_submit(oParam);
  3052. if(arErrorCode.pop("TXRFE00601") > -1)
  3053. {
  3054. btn_search.click();
  3055. }
  3056. }
  3057. else
  3058. {
  3059. grp_hidden.ipt_sancttrsmyn.value = "";
  3060. return;
  3061. }
  3062. grd_rfehemhtlist.setFocus();
  3063. ds_main_grid_rfehemhtlist.rowposition = focus;
  3064. grd_rfehemhtlist_oncellclick();
  3065. }
  3066. function cf_TXRFE00601(sSvcId, nErrorCode, sErrorMsg)
  3067. {
  3068. arErrorCode.push(sSvcId, nErrorCode);
  3069. if(nErrorCode < 0) return;
  3070. }
  3071. function btn_init_onclick(obj:Button, e:ClickEventInfo)
  3072. {
  3073. fInitialize();
  3074. }
  3075. function btn_print_onclick(obj:Button, e:ClickEventInfo)
  3076. {
  3077. ds_send_sendprint.clearData();
  3078. ds_send_sendprint.addRow();
  3079. ds_send_sendprint.setColumn(0, "instcd", ds_main_grid_rfehemhtlist.getColumn(ds_main_grid_rfehemhtlist.rowposition, "instcd"));
  3080. ds_send_sendprint.setColumn(0, "reqdd", ds_main_grid_rfehemhtlist.getColumn(ds_main_grid_rfehemhtlist.rowposition, "reqdd"));
  3081. ds_send_sendprint.setColumn(0, "reqno", ds_main_grid_rfehemhtlist.getColumn(ds_main_grid_rfehemhtlist.rowposition, "reqno"));
  3082. ds_send_sendprint.setColumn(0, "fixtrseqmtflag", ds_main_grid_rfehemhtlist.getColumn(ds_main_grid_rfehemhtlist.rowposition, "fixtrseqmtflag"));
  3083. var oParam = {};
  3084. oParam.id = "TRRFE00703";
  3085. oParam.service = "reqapp.ReqMngt";
  3086. oParam.method = "reqGetRpirPrntInfo";
  3087. oParam.inds = "req=ds_send_sendprint";
  3088. oParam.outds = "ds_print_rpirprntinfo=rpirprntinfo";
  3089. oParam.async = false;
  3090. oParam.callback = "cf_TRRFE00703";
  3091. tranf_submit(oParam);
  3092. if(arErrorCode.pop("TRRFE00703") > -1)
  3093. {
  3094. var objDOM = rptf_createDOM();
  3095. rptf_setNodeListToDOM(objDOM, "/root/print/rpirprntinfo", ds_print_rpirprntinfo);
  3096. var objParam = new Object();
  3097. objParam.xml_data_XML1 = objDOM.documentElement.source;
  3098. var option = "";
  3099. rptf_exeReportPreview30(["RPRFE00601"],[objParam], option);
  3100. }
  3101. }
  3102. function cf_TRRFE00703(sSvcId, nErrorCode, sErrorMsg)
  3103. {
  3104. arErrorCode.push(sSvcId, nErrorCode);
  3105. if(nErrorCode < 0) return;
  3106. }
  3107. function btn_print2_onclick(obj:Button, e:ClickEventInfo)
  3108. {
  3109. ds_print_PrintRfehemht.clearData();
  3110. ds_send_sendprint.clearData();
  3111. ds_send_sendprint.addRow();
  3112. ds_send_sendprint.setColumn(0, "instcd", ds_main_grid_rfehemhtlist.getColumn(ds_main_grid_rfehemhtlist.rowposition, "instcd"));
  3113. ds_send_sendprint.setColumn(0, "chrgpsnid", ds_main_grid_rfehemhtlist.getColumn(ds_main_grid_rfehemhtlist.rowposition, "chrgpsnid"));
  3114. ds_send_sendprint.setColumn(0, "reqdd", ds_main_grid_rfehemhtlist.getColumn(ds_main_grid_rfehemhtlist.rowposition, "reqdd"));
  3115. ds_send_sendprint.setColumn(0, "reqdd2", ds_send_sendprint.getColumn(0, "reqdd"));
  3116. ds_send_sendprint.setColumn(0, "reqno", ds_main_grid_rfehemhtlist.getColumn(ds_main_grid_rfehemhtlist.rowposition, "reqno"));
  3117. ds_send_sendprint.setColumn(0, "reqno2", ds_send_sendprint.getColumn(0, "reqno"));
  3118. ds_send_sendprint.setColumn(0, "reqdeptcd", ds_main_grid_rfehemhtlist.getColumn(ds_main_grid_rfehemhtlist.rowposition, "reqdeptcd"));
  3119. var oParam = {};
  3120. oParam.id = "TRRFE00701";
  3121. oParam.service = "reqapp.ReqMngt";
  3122. oParam.method = "reqPrintRfehemht";
  3123. oParam.inds = "req=ds_send_sendprint";
  3124. oParam.outds = "ds_print_PrintRfehemht=PrintRfehemht";
  3125. oParam.async = false;
  3126. //oParam.callback = "cf_TRRFE00701";
  3127. tranf_submit(oParam);
  3128. for(var i = 0; i < ds_main_grid_rfehemhtlist.rowcount; i++)
  3129. {
  3130. ds_main_grid_rfehemhtlist.updatecontrol = false;
  3131. dsf_makeValue(ds_main_grid_rfehemhtlist, "rpirflag2nm", "string", grd_rfehemhtlist.getCellText(i, grd_rfehemhtlist.getBindCellIndex("body", "rpirflag2")), i);
  3132. ds_main_grid_rfehemhtlist.updatecontrol = true;
  3133. }
  3134. var objDOM = rptf_createDOM();
  3135. rptf_setNodeListToDOM(objDOM, "/root/main/grid/rfehemhtlist", ds_main_grid_rfehemhtlist);
  3136. rptf_setNodeListToDOM(objDOM, "/root/init/main/rfcmfacdlist", ds_init_main_rfcmfacdlist);
  3137. var objParam = new Object();
  3138. objParam.xml_data_XML1 = objDOM.documentElement.source;
  3139. var option = "";
  3140. rptf_exeReportPreview30(["RPRFE00602"],[objParam], option);
  3141. }
  3142. function button5_onclick(obj:Button, e:ClickEventInfo)
  3143. {
  3144. }
  3145. function switch2_case1_Button00_ondblclick(obj:Button, e:MouseEventInfo)
  3146. {
  3147. var dutplcecd = sysf_getUserInfo("dutplcecd");
  3148. if ( dutplcecd != "4090500000" || sysf_getUserInfo("userid") == "93518" || sysf_getUserInfo("userid") == "08111"|| sysf_getUserInfo("userid") == "MIS"|| sysf_getUserInfo("userid") == "95047"|| sysf_getUserInfo("userid") == "93507"|| sysf_getUserInfo("userid") == "10306")
  3149. {
  3150. switch2.case1.ipt_rpirdd.enable = true;
  3151. }
  3152. else
  3153. {
  3154. switch2.case1.ipt_rpirdd.enable = false;
  3155. }
  3156. }
  3157. function ds_main_grid_rfehemhtlist_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
  3158. {
  3159. switch( e.columnid ){
  3160. case "deliveyn" :
  3161. if( e.newvalue == "Y" || e.newvalue == "1" ){
  3162. obj.setColumn(e.row, e.columnid, "Y");
  3163. }else{
  3164. obj.setColumn(e.row, e.columnid, "N");
  3165. }
  3166. break;
  3167. default :
  3168. break;
  3169. }
  3170. }
  3171. function switch2_case1_ipt_custcd_onkeydown(obj:Edit, e:KeyEventInfo)
  3172. {
  3173. if( e.keycode == 13 ){
  3174. obj.updateToDataset();
  3175. }
  3176. }
  3177. function switch2_case1_ipt_chrgpsnid_onkeydown(obj:Edit, e:KeyEventInfo)
  3178. {
  3179. if( e.keycode == 13 ){
  3180. obj.updateToDataset();
  3181. }
  3182. }
  3183. function switch2_case1_ipt_mainrpirpsn_onkeydown(obj:Edit, e:KeyEventInfo)
  3184. {
  3185. if( e.keycode == 13 ){
  3186. obj.updateToDataset();
  3187. }
  3188. }
  3189. function switch2_case1_ipt_supprpirpsn_onkeydown(obj:Edit, e:KeyEventInfo)
  3190. {
  3191. if( e.keycode == 13 ){
  3192. obj.updateToDataset();
  3193. }
  3194. }
  3195. // function switch2_case1_btn_attdownload_onclick(obj:Button, e:ClickEventInfo)
  3196. // {
  3197. // var filepath = ds_main_component_rfehemhtlist.getColumn(0, "filepath");
  3198. // var fileseqno = ds_main_component_rfehemhtlist.getColumn(0, "fileseqno");
  3199. // var filenm = ds_main_component_rfehemhtlist.getColumn(0, "filenm");
  3200. // var fileExt = "*";
  3201. //
  3202. // if(!utlf_isNull(filenm) && !utlf_isNull(filenm)) {
  3203. // fileExt = filenm.substr(filenm.lastIndexOf('.')+1);
  3204. // } else {
  3205. // sysf_messageBox("첨부파일이 없습니다.", "E");
  3206. // return;
  3207. // }
  3208. //
  3209. // ds_send.setColumn(0, "filepath", filepath);
  3210. // ds_send.setColumn(0, "fileseqno", fileseqno);
  3211. //
  3212. // sysf_setErrorMsg(false); //자바단에서 에러발생시 1.0은 오류리턴을 안해서...
  3213. //
  3214. // var oParam = {};
  3215. // oParam.id = "TRRFC01102";
  3216. // oParam.service = "purcbaseapp.PurcBaseMngt";
  3217. // oParam.method = "reqGetFixasetAttfileDownLoad";
  3218. // oParam.inds = "req=ds_send";
  3219. // oParam.outds = "ds_main_attachfile=attachfile";
  3220. // oParam.async = false;
  3221. // //oParam.callback = "cf_TRRFC01102";
  3222. //
  3223. // tranf_submit(oParam);
  3224. //
  3225. // sysf_setErrorMsg(true);
  3226. //
  3227. // var fd = new FileDialog;
  3228. // var objVFile = fd.open("FileSave", FileDialog.SAVE, "%MYDOCUMENT%", filenm); // 단일 파일 선택
  3229. // if (objVFile != null)
  3230. // {
  3231. // var temp = dsf_readFileFromDs(objVFile.fullpath+"."+fileExt, ds_main_attachfile, 0, "filedata"); // 파일저장
  3232. // sleep(1000);
  3233. // if( !utlf_isNull(temp) )
  3234. // {
  3235. // var rtn = sysf_messageBox("파일을", "Q004");
  3236. // if( rtn == 6 )
  3237. // {
  3238. // var text = new String(objVFile.fullpath);
  3239. // var replaceText = text.replace(" ", "");
  3240. // if( text.length != replaceText.length )
  3241. // {
  3242. // sysf_messageBox("공백이 포함된 [파일명/폴더]는 자동열기가 실행되지 않습니다.", "E999", "");
  3243. // return;
  3244. // }
  3245. // else
  3246. // {
  3247. // //system.execShell(objVFile.fullpath);
  3248. // var path = objVFile.fullpath;
  3249. // var sArg = "";
  3250. // var objExtCommon = new ExtCommon();
  3251. // objExtCommon.executeProcess(path, sArg);
  3252. // }
  3253. // }
  3254. // }
  3255. // }
  3256. // }
  3257. function switch2_case1_ipt_deprtmangrsanctid_onkeydown(obj:Edit, e:KeyEventInfo)
  3258. {
  3259. if( e.keycode == 13 ){
  3260. obj.updateToDataset();
  3261. }
  3262. }
  3263. function switch2_case1_ipt_mngersanctid_onkeydown(obj:Edit, e:KeyEventInfo)
  3264. {
  3265. if( e.keycode == 13 ){
  3266. obj.updateToDataset();
  3267. }
  3268. }
  3269. function group2_ipt_fixasetcd_onkeydown(obj:Edit, e:KeyEventInfo)
  3270. {
  3271. if( e.keycode == 13 ){
  3272. obj.updateToDataset();
  3273. }
  3274. }
  3275. function switch2_case1_ipt_chkpsn_onkeydown(obj:Edit, e:KeyEventInfo)
  3276. {
  3277. if( e.keycode == 13 ){
  3278. obj.updateToDataset();
  3279. }
  3280. }
  3281. ]]></Script>
  3282. </Form>
  3283. </FDL>