1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMMNN03500" position="absolute 0 0 1180 780" titletext="신생아집중치료실 인계장" oninit="SMMNN03500_oninit" onload="SMMNN03500_onload" scrollbars="none">
- <Layouts>
- <Layout>
- <Div position="absolute 0 0 1179 25" id="group1">
- <Layouts>
- <Layout>
- <Static text="신생아집중치료실 인계장" position="absolute 0 0 189 25" id="caption6" class="tit_1"/>
- </Layout>
- </Layouts>
- </Div>
- <Div position="absolute 4 20 1180 800" id="group2">
- <Layouts>
- <Layout>
- <Tab position="absolute 0 25 1165 770" id="switch1" onchanged="group2_switch1_onchanged" onlbuttondown="group2_switch1_onlbuttondown" class="tab_Normal">
- <Tabpages>
- <Tabpage text="NICU 게시판" position="absolute 0 0 1178 703" id="board">
- <Layouts>
- <Layout>
- <Div position="absolute 190 5 970 693" id="import3" url="SMMNN03100_분만실게시판.xfdl"/>
- </Layout>
- </Layouts>
- </Tabpage>
- <!--
- <Tabpage text="업무 체크리스트" id="chklist">
- <Layouts>
- <Layout>
- <Button position="absolute 1070 40 1156 59" id="btn_baseinfo" class="btn2" visible="true" text="기준자료관리" onclick="group2_switch1_chklist_btn_baseinfo_onclick"/>
- <Grid position="absolute 5 118 385 548" id="grd_chk1" visible="true" binddataset="ds_main_chklists_dutylist1" onheadclick="group2_switch1_chklist_grd_chk1_onheadclick">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="25"/>
- <Column size="290"/>
- <Column size="55"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" text="Day 업무"/>
- <Cell col="2" text="시행"/>
- <Cell col="3" text="chkid"/>
- <Cell col="4" text="dutycd"/>
- <Cell col="5" text="workdd"/>
- <Cell col="6" text="caption2"/>
- <Cell col="7" text="caption1"/>
- <Cell col="8"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" text="expr:currow + 1"/>
- <Cell col="1" text="bind:chknm"/>
- <Cell col="2" displaytype="checkbox" edittype="checkbox" text="bind:chkyn" expr="expr:(chkyn == "Y" || chkyn == 1) ? 1 : 0"/>
- <Cell col="3" text="bind:chkid"/>
- <Cell col="4" text="bind:dutycd"/>
- <Cell col="5" text="bind:workdd"/>
- <Cell col="6" text="bind:gubn"/>
- <Cell col="7" text="bind:dutynm"/>
- <Cell col="8" text="bind:lastupdtrid"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Grid position="absolute 505 0 605 100" id="grd_savedutylist" class="datagrid" visible="false" binddataset="ds_main_chksaveinfo_dutychkinfo_dutylist">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="25"/>
- <Column size="10"/>
- <Column size="10"/>
- <Column size="10"/>
- <Column size="10"/>
- <Column size="10"/>
- <Column size="0"/>
- <Column size="10"/>
- <Column size="10"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" text="Day"/>
- <Cell col="2" text="확인"/>
- <Cell col="3" text="chkid"/>
- <Cell col="4" text="dutycd"/>
- <Cell col="5" text="workdd"/>
- <Cell col="6" text="caption2"/>
- <Cell col="7" text="dutynm"/>
- <Cell col="8" text="caption1"/>
- </Band>
- <Band id="body">
- <Cell celltype="head"/>
- <Cell col="1" text="bind:chknm"/>
- <Cell col="2" displaytype="checkbox" edittype="checkbox" text="bind:chkyn" expr="expr:(chkyn == "Y" || chkyn == 1) ? 1 : 0"/>
- <Cell col="3" text="bind:chkid"/>
- <Cell col="4" text="bind:dutycd"/>
- <Cell col="5" text="bind:workdd"/>
- <Cell col="6" text="bind:gubn"/>
- <Cell col="7" text="bind:dutynm"/>
- <Cell col="8" text="bind:lastupdtrid"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Grid position="absolute 390 118 770 548" id="grd_chk2" visible="true" binddataset="ds_main_chklists_dutylist2" onheadclick="group2_switch1_chklist_grd_chk2_onheadclick">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="25"/>
- <Column size="290"/>
- <Column size="55"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" text="Evening 업무"/>
- <Cell col="2" text="시행"/>
- <Cell col="3" text="chkid"/>
- <Cell col="4" text="dutycd"/>
- <Cell col="5" text="workdd"/>
- <Cell col="6" text="caption2"/>
- <Cell col="7" text="caption1"/>
- <Cell col="8"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" text="expr:currow + 1"/>
- <Cell col="1" text="bind:chknm"/>
- <Cell col="2" displaytype="checkbox" edittype="checkbox" text="bind:chkyn" expr="expr:(chkyn == "Y" || chkyn == 1) ? 1 : 0"/>
- <Cell col="3" text="bind:chkid"/>
- <Cell col="4" text="bind:dutycd"/>
- <Cell col="5" text="bind:workdd"/>
- <Cell col="6" text="bind:gubn"/>
- <Cell col="7" text="bind:dutynm"/>
- <Cell col="8" text="bind:lastupdtrid"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Grid position="absolute 775 118 1155 548" id="grd_chk3" visible="true" binddataset="ds_main_chklists_dutylist3" onheadclick="group2_switch1_chklist_grd_chk3_onheadclick">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="25"/>
- <Column size="290"/>
- <Column size="55"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" text="Night 업무"/>
- <Cell col="2" text="시행"/>
- <Cell col="3" text="chkid"/>
- <Cell col="4" text="dutycd"/>
- <Cell col="5" text="workdd"/>
- <Cell col="6" text="caption2"/>
- <Cell col="7" text="caption1"/>
- <Cell col="8"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" text="expr:currow + 1"/>
- <Cell col="1" text="bind:chknm"/>
- <Cell col="2" displaytype="checkbox" edittype="checkbox" text="bind:chkyn" expr="expr:(chkyn == "Y" || chkyn == 1) ? 1 : 0"/>
- <Cell col="3" text="bind:chkid"/>
- <Cell col="4" text="bind:dutycd"/>
- <Cell col="5" text="bind:workdd"/>
- <Cell col="6" text="bind:gubn"/>
- <Cell col="7" text="bind:dutynm"/>
- <Cell col="8" text="bind:lastupdtrid"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Shape position="absolute 6 10 410 37" id="roundrect5" type="roundrectangle"/>
- <Button position="absolute 345 13 401 35" id="button6" class="btn1" text="조회" onclick="group2_switch1_chklist_button6_onclick"/>
- <Button position="absolute 270 121 312 140" id="button9" class="btn5" text="저장" onclick="group2_switch1_chklist_button9_onclick"/>
- <Static position="absolute 196 14 216 31" align="align:center middle;" id="cap_workweek" style="align:center middle;font:Dotum,9,bold;"/>
- <Static text="업무일자 :" position="absolute 15 14 111 31" id="caption4" class="search_name"/>
- <Static text="요일" position="absolute 215 13 255 33" id="caption14"/>
- <Static text="caption15" position="absolute 670 5 770 25" id="caption15" visible="false"/>
- <Button position="absolute 910 20 966 42" id="button21" class="btn1" visible="false" text="출력" onclick="group2_switch1_chklist_button21_onclick"/>
- <TextArea position="absolute 61 66 385 116" id="textarea1" enable="false"/>
- <Static text="근무자" position="absolute 5 65 59 117" align="align:center middle;" id="caption16" class="cell_1" style="padding:0 0 0 0;align:center middle;"/>
- <TextArea position="absolute 446 66 769 116" id="textarea2" enable="false"/>
- <Static text="근무자" position="absolute 390 65 444 117" align="align:center middle;" id="caption17" class="cell_1" style="padding:0 0 0 0;align:center middle;"/>
- <TextArea position="absolute 830 66 1155 116" id="textarea3" enable="false"/>
- <Static text="근무자" position="absolute 774 65 828 117" align="align:center middle;" id="caption18" class="cell_1" style="padding:0 0 0 0;align:center middle;"/>
- <Calendar position="absolute 105 14 193 33" id="ipt_workdd" class="input_search" mask="yyyy-mm-dd" autoselect="true" autoskip="true" onchanged="group2_switch1_chklist_ipt_workdd_onchanged"/>
- <Shape position="absolute 5 61 385 67" linetype="horizontal" id="line2" class="line_10"/>
- <Static text="Day" position="absolute 5 45 55 61" id="caption8" class="tit_2"/>
- <Shape position="absolute 390 61 770 67" linetype="horizontal" id="line1" class="line_10"/>
- <Static text="Evening" position="absolute 390 45 456 61" id="caption1" class="tit_2"/>
- <Static text="Night" position="absolute 774 45 829 61" id="caption2" class="tit_2"/>
- <Shape position="absolute 775 61 1155 67" linetype="horizontal" id="line3" class="line_10"/>
- <Button position="absolute 655 121 697 140" id="button3" class="btn5" text="저장" onclick="group2_switch1_chklist_button3_onclick"/>
- <Button position="absolute 1040 121 1082 140" id="button4" class="btn5" text="저장" onclick="group2_switch1_chklist_button4_onclick"/>
- <Static text="비고" position="absolute 5 550 385 570" align="align:center middle;" id="caption3" class="cell_1" style="align:center middle;font:Dotum,9,bold;"/>
- <Static text="비고" position="absolute 390 550 770 570" align="align:center middle;" id="caption5" class="cell_1" style="align:center middle;font:Dotum,9,bold;"/>
- <Static text="비고" position="absolute 775 550 1155 570" align="align:center middle;" id="caption7" class="cell_1" style="align:center middle;font:Dotum,9,bold;"/>
- <TextArea position="absolute 5 571 385 636" id="tar_chk1"/>
- <TextArea position="absolute 390 571 770 636" id="tar_chk2"/>
- <TextArea position="absolute 775 571 1155 636" id="tar_chk3"/>
- <Static text="수간호사 확인:" position="absolute 960 660 1050 680" id="caption9" style="font:Dotum,9,bold;"/>
- <Edit position="absolute 1050 660 1115 679" id="ipt_chiefnm"/>
- <Static text="확인자 :" position="absolute 235 637 295 657" id="caption10" style="font:Dotum,9,bold;"/>
- <Edit position="absolute 290 638 385 657" id="ipt_cert1" enable="false"/>
- <Edit position="absolute 675 638 770 657" id="ipt_cert2" enable="false"/>
- <Edit position="absolute 1060 638 1155 657" id="ipt_cert3" enable="false"/>
- <Static text="확인자 :" position="absolute 620 639 680 659" id="caption11" style="font:Dotum,9,bold;"/>
- <Static text="확인자 :" position="absolute 1005 639 1065 659" id="caption13" style="font:Dotum,9,bold;"/>
- <Edit position="absolute 135 638 230 657" id="ipt_certid1" visible="false" enable="false"/>
- <Edit position="absolute 515 638 610 657" id="ipt_certid2" visible="false" enable="false"/>
- <Edit position="absolute 905 638 1000 657" id="ipt_certid3" visible="false" enable="false"/>
- <Edit position="absolute 870 658 935 677" id="ipt_chiefid" visible="false"/>
- <Button position="absolute 1117 660 1159 679" id="btn_cert" class="btn5" text="확인" onclick="group2_switch1_chklist_btn_cert_onclick"/>
- <Button position="absolute 290 14 332 33" id="button38" class="btn2" text="오늘" onclick="group2_switch1_chklist_button38_onclick"/>
- <Button position="absolute 245 14 287 33" id="button39" class="btn2" text="어제" onclick="group2_switch1_chklist_button39_onclick"/>
- </Layout>
- </Layouts>
- </Tabpage>
- -->
- <Tabpage text="물품 인계대장" position="absolute 0 0 1163 698" id="trnswork">
- <Layouts>
- <Layout>
- <Grid position="absolute 565 50 915 200" id="grd_trnssaveinfo" visible="false" binddataset="ds_main_trnssaveinfo">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="100"/>
- <Column size="72"/>
- <Column size="68"/>
- <Column size="100"/>
- <Column size="100"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="caption1"/>
- <Cell col="1" text="caption2"/>
- <Cell col="2" text="caption3"/>
- <Cell col="3" text="caption4"/>
- <Cell col="4" text="caption5"/>
- </Band>
- <Band id="body">
- <Cell text="bind:workdd"/>
- <Cell col="1" text="bind:cdid"/>
- <Cell col="2" text="bind:dutycd"/>
- <Cell col="3" text="bind:qty"/>
- <Cell col="4" text="bind:recflag"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Shape position="absolute 6 10 1155 44" id="roundrect1" type="roundrectangle"/>
- <Button position="absolute 1030 16 1086 38" id="btn_searchtrns" class="btn1" text="조회" onclick="group2_switch1_trnswork_btn_searchtrns_onclick"/>
- <Calendar position="absolute 120 18 208 37" id="ipt_trnsdd" class="input_search" mask="yyyy-mm-dd" autoselect="true" autoskip="true" onchanged="group2_switch1_trnswork_ipt_trnsdd_onchanged"/>
- <Static text="업무일자 :" position="absolute 15 18 111 35" id="caption20" class="search_name"/>
- <Grid position="absolute 1 75 1160 695" id="grd_trnslist" binddataset="ds_main_trnsinfo_trnslist" style="background:#ffffffff;">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="25"/>
- <Column size="0"/>
- <Column size="132"/>
- <Column size="80"/>
- <Column size="45"/>
- <Column size="45"/>
- <Column size="45"/>
- <Column size="45"/>
- <Column size="0"/>
- <Column size="45"/>
- <Column size="45"/>
- <Column size="45"/>
- <Column size="0"/>
- <Column size="45"/>
- <Column size="45"/>
- <Column size="45"/>
- <Column size="0"/>
- <Column size="45"/>
- <Column size="45"/>
- <Column size="45"/>
- <Column size="0"/>
- <Column size="45"/>
- <Column size="45"/>
- <Column size="45"/>
- <Column size="0"/>
- <Column size="45"/>
- <Column size="45"/>
- <Column size="45"/>
- <Column size="0"/>
- <Column size="45"/>
- <Column size="45"/>
- <Column size="45"/>
- <Column size="0"/>
- <Column size="100"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell rowspan="2"/>
- <Cell col="1" text="물품코드"/>
- <Cell col="2" rowspan="2" text="물품"/>
- <Cell col="3" rowspan="2" text="유효기간"/>
- <Cell col="4" rowspan="2" text="보유량"/>
- <Cell col="5" colspan="3"/>
- <Cell col="9" colspan="3"/>
- <Cell col="13" colspan="3"/>
- <Cell col="17" colspan="3"/>
- <Cell col="21" colspan="3"/>
- <Cell col="25" colspan="3"/>
- <Cell col="29" colspan="4"/>
- <Cell col="33" rowspan="2" text="비고"/>
- <Cell row="1" col="5" text="D"/>
- <Cell row="1" col="6" text="E"/>
- <Cell row="1" col="7" text="N"/>
- <Cell row="1" col="8"/>
- <Cell row="1" col="9" text="D"/>
- <Cell row="1" col="10" text="E"/>
- <Cell row="1" col="11" text="N"/>
- <Cell row="1" col="12"/>
- <Cell row="1" col="13" text="D"/>
- <Cell row="1" col="14" text="E"/>
- <Cell row="1" col="15" text="N"/>
- <Cell row="1" col="16"/>
- <Cell row="1" col="17" text="D"/>
- <Cell row="1" col="18" text="E"/>
- <Cell row="1" col="19" text="N"/>
- <Cell row="1" col="20"/>
- <Cell row="1" col="21" text="D"/>
- <Cell row="1" col="22" text="E"/>
- <Cell row="1" col="23" text="N"/>
- <Cell row="1" col="24"/>
- <Cell row="1" col="25" text="D"/>
- <Cell row="1" col="26" text="E"/>
- <Cell row="1" col="27" text="N"/>
- <Cell row="1" col="28"/>
- <Cell row="1" col="29" text="D"/>
- <Cell row="1" col="30" text="E"/>
- <Cell row="1" col="31" text="N"/>
- <Cell row="1" col="32"/>
- </Band>
- <Band id="body">
- <Cell celltype="head"/>
- <Cell col="1" text="bind:cdid"/>
- <Cell col="2" style="align:left middle;background:EXPR(cdid == '999999' ? '#eeffee' : '');background2:EXPR(cdid == '999999' ? '#eeffee' : '');font:Dotum,9,bold;" text="bind:cdnm"/>
- <Cell col="3" style="align:center middle;background:EXPR(cdid == '999999' ? '#eeffee' : '');background2:EXPR(cdid == '999999' ? '#eeffee' : '');font:Dotum,9,bold;" text="bind:exprdd" mask="expr:utlf_isNull(exprdd) ? '' : '####-##-##'"/>
- <Cell col="4" style="align:center middle;background:EXPR(cdid == '999999' ? '#eeffee' : '');background2:EXPR(cdid == '999999' ? '#eeffee' : '');font:Dotum,9,bold;" text="bind:qty"/>
- <Cell col="5" displaytype="text" edittype="expr:editvalue1" style="align:center middle;background:EXPR(cdid == '999999' ? '#eeffee' : qty != d1 ? '#ffff00' : backgrvalue1);background2:EXPR(cdid == '999999' ? '#eeffee' : qty != d1 ? '#ffff00' : backgrvalue1);font:EXPR(fontvalue1);" text="bind:d1" editautoselect="true"/>
- <Cell col="6" displaytype="text" edittype="expr:editvalue1" style="align:center middle;background:EXPR(cdid == '999999' ? '#eeffee' : qty != e1 ? '#ffff00' : backgrvalue1);background2:EXPR(cdid == '999999' ? '#eeffee' : qty != e1 ? '#ffff00' : backgrvalue1);font:EXPR(fontvalue1);" text="bind:e1" editautoselect="true"/>
- <Cell col="7" displaytype="text" edittype="expr:editvalue1" style="align:center middle;background:EXPR(cdid == '999999' ? '#eeffee' : qty != n1 ? '#ffff00' : backgrvalue1);background2:EXPR(cdid == '999999' ? '#eeffee' : qty != n1 ? '#ffff00' : backgrvalue1);font:EXPR(fontvalue1);" text="bind:n1" editautoselect="true"/>
- <Cell col="8" style="align:center middle;" text="bind:day1" editautoselect="true"/>
- <Cell col="9" displaytype="text" edittype="expr:editvalue2" style="align:center middle;background:EXPR(cdid == '999999' ? '#eeffee' : qty != d2 ? '#ffff00' : backgrvalue2);background2:EXPR(cdid == '999999' ? '#eeffee' : qty != d2 ? '#ffff00' : backgrvalue2);font:EXPR(fontvalue2);" text="bind:d2" editautoselect="true"/>
- <Cell col="10" displaytype="text" edittype="expr:editvalue2" style="align:center middle;background:EXPR(cdid == '999999' ? '#eeffee' : qty != e2 ? '#ffff00' : backgrvalue2);background2:EXPR(cdid == '999999' ? '#eeffee' : qty != e2 ? '#ffff00' : backgrvalue2);font:EXPR(fontvalue2);" text="bind:e2" editautoselect="true"/>
- <Cell col="11" displaytype="text" edittype="expr:editvalue2" style="align:center middle;background:EXPR(cdid == '999999' ? '#eeffee' : qty != n2 ? '#ffff00' : backgrvalue2);background2:EXPR(cdid == '999999' ? '#eeffee' : qty != n2 ? '#ffff00' : backgrvalue2);font:EXPR(fontvalue2);" text="bind:n2" editautoselect="true"/>
- <Cell col="12" style="align:center middle;" text="bind:day2" editautoselect="true"/>
- <Cell col="13" displaytype="text" edittype="expr:editvalue3" style="align:center middle;background:EXPR(cdid == '999999' ? '#eeffee' : qty != d3 ? '#ffff00' : backgrvalue3);background2:EXPR(cdid == '999999' ? '#eeffee' : qty != d3 ? '#ffff00' : backgrvalue3);font:EXPR(fontvalue3);" text="bind:d3" editautoselect="true"/>
- <Cell col="14" displaytype="text" edittype="expr:editvalue3" style="align:center middle;background:EXPR(cdid == '999999' ? '#eeffee' : qty != e3 ? '#ffff00' : backgrvalue3);background2:EXPR(cdid == '999999' ? '#eeffee' : qty != e3 ? '#ffff00' : backgrvalue3);font:EXPR(fontvalue3);" text="bind:e3" editautoselect="true"/>
- <Cell col="15" displaytype="text" edittype="expr:editvalue3" style="align:center middle;background:EXPR(cdid == '999999' ? '#eeffee' : qty != n3 ? '#ffff00' : backgrvalue3);background2:EXPR(cdid == '999999' ? '#eeffee' : qty != n3 ? '#ffff00' : backgrvalue3);font:EXPR(fontvalue3);" text="bind:n3" editautoselect="true"/>
- <Cell col="16" style="align:center middle;" text="bind:day3" editautoselect="true"/>
- <Cell col="17" displaytype="text" edittype="expr:editvalue4" style="align:center middle;background:EXPR(cdid == '999999' ? '#eeffee' : qty != d4 ? '#ffff00' : backgrvalue4);background2:EXPR(cdid == '999999' ? '#eeffee' : qty != d4 ? '#ffff00' : backgrvalue4);font:EXPR(fontvalue4);" text="bind:d4" editautoselect="true"/>
- <Cell col="18" displaytype="text" edittype="expr:editvalue4" style="align:center middle;background:EXPR(cdid == '999999' ? '#eeffee' : qty != e4 ? '#ffff00' : backgrvalue4);background2:EXPR(cdid == '999999' ? '#eeffee' : qty != e4 ? '#ffff00' : backgrvalue4);font:EXPR(fontvalue4);" text="bind:e4" editautoselect="true"/>
- <Cell col="19" displaytype="text" edittype="expr:editvalue4" style="align:center middle;background:EXPR(cdid == '999999' ? '#eeffee' : qty != n4 ? '#ffff00' : backgrvalue4);background2:EXPR(cdid == '999999' ? '#eeffee' : qty != n4 ? '#ffff00' : backgrvalue4);font:EXPR(fontvalue4);" text="bind:n4" editautoselect="true"/>
- <Cell col="20" style="align:center middle;" text="bind:day4" editautoselect="true"/>
- <Cell col="21" displaytype="text" edittype="expr:editvalue5" style="align:center middle;background:EXPR(cdid == '999999' ? '#eeffee' : qty != d5 ? '#ffff00' : backgrvalue5);background2:EXPR(cdid == '999999' ? '#eeffee' : qty != d5 ? '#ffff00' : backgrvalue5);font:EXPR(fontvalue5);" text="bind:d5" editautoselect="true"/>
- <Cell col="22" displaytype="text" edittype="expr:editvalue5" style="align:center middle;background:EXPR(cdid == '999999' ? '#eeffee' : qty != e5 ? '#ffff00' : backgrvalue5);background2:EXPR(cdid == '999999' ? '#eeffee' : qty != e5 ? '#ffff00' : backgrvalue5);font:EXPR(fontvalue5);" text="bind:e5" editautoselect="true"/>
- <Cell col="23" displaytype="text" edittype="expr:editvalue5" style="align:center middle;background:EXPR(cdid == '999999' ? '#eeffee' : qty != n5 ? '#ffff00' : backgrvalue5);background2:EXPR(cdid == '999999' ? '#eeffee' : qty != n5 ? '#ffff00' : backgrvalue5);font:EXPR(fontvalue5);" text="bind:n5" editautoselect="true"/>
- <Cell col="24" style="align:center middle;" text="bind:day5" editautoselect="true"/>
- <Cell col="25" displaytype="text" edittype="expr:editvalue6" style="align:center middle;background:EXPR(cdid == '999999' ? '#eeffee' : qty != d6 ? '#ffff00' : backgrvalue6);background2:EXPR(cdid == '999999' ? '#eeffee' : qty != d6 ? '#ffff00' : backgrvalue6);font:EXPR(fontvalue6);" text="bind:d6" editautoselect="true"/>
- <Cell col="26" displaytype="text" edittype="expr:editvalue6" style="align:center middle;background:EXPR(cdid == '999999' ? '#eeffee' : qty != e6 ? '#ffff00' : backgrvalue6);background2:EXPR(cdid == '999999' ? '#eeffee' : qty != e6 ? '#ffff00' : backgrvalue6);font:EXPR(fontvalue6);" text="bind:e6" editautoselect="true"/>
- <Cell col="27" displaytype="text" edittype="expr:editvalue6" style="align:center middle;background:EXPR(cdid == '999999' ? '#eeffee' : qty != n6 ? '#ffff00' : backgrvalue6);background2:EXPR(cdid == '999999' ? '#eeffee' : qty != n6 ? '#ffff00' : backgrvalue6);font:EXPR(fontvalue6);" text="bind:n6" editautoselect="true"/>
- <Cell col="28" style="align:center middle;" text="bind:day6" editautoselect="true"/>
- <Cell col="29" displaytype="text" edittype="expr:editvalue7" style="align:center middle;background:EXPR(cdid == '999999' ? '#eeffee' : qty != d7 ? '#ffff00' : backgrvalue7);background2:EXPR(cdid == '999999' ? '#eeffee' : qty != d7 ? '#ffff00' : backgrvalue7);font:EXPR(fontvalue7);" text="bind:d7" editautoselect="true"/>
- <Cell col="30" displaytype="text" edittype="expr:editvalue7" style="align:center middle;background:EXPR(cdid == '999999' ? '#eeffee' : qty != e7 ? '#ffff00' : backgrvalue7);background2:EXPR(cdid == '999999' ? '#eeffee' : qty != e7 ? '#ffff00' : backgrvalue7);font:EXPR(fontvalue7);" text="bind:e7" editautoselect="true"/>
- <Cell col="31" displaytype="text" edittype="expr:editvalue7" style="align:center middle;background:EXPR(cdid == '999999' ? '#eeffee' : qty != n7 ? '#ffff00' : backgrvalue7);background2:EXPR(cdid == '999999' ? '#eeffee' : qty != n7 ? '#ffff00' : backgrvalue7);font:EXPR(fontvalue7);" text="bind:n7" editautoselect="true"/>
- <Cell col="32" text="bind:day7"/>
- <Cell col="33" displaytype="text" edittype="text" style="background:EXPR(cdid == '999999' ? '#eeffee' : '');background2:EXPR(cdid == '999999' ? '#eeffee' : '');" text="bind:cmt"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Static text="물품인계내역" position="absolute 1 55 117 71" id="caption21" class="tit_2"/>
- <Shape position="absolute 1 71 1160 77" linetype="horizontal" id="line4" class="line_10"/>
- <Static text="조회기간 :" position="absolute 260 19 357 36" id="caption22" class="search_name"/>
- <Calendar position="absolute 350 18 438 37" id="ipt_trnfrdd" class="input_search" enable="false"/>
- <Calendar position="absolute 450 18 538 37" id="ipt_trntodd" class="input_search" enable="false"/>
- <Static text="~" position="absolute 440 19 453 39" id="caption23"/>
- <Button position="absolute 1115 50 1157 69" id="button5" class="btn5" visible="false" text="저장" onclick="group2_switch1_trnswork_button5_onclick"/>
- <Button position="absolute 1050 50 1114 69" id="button7" class="btn2" text="기준자료" onclick="group2_switch1_trnswork_button7_onclick"/>
- <Button position="absolute 1115 50 1157 69" id="button10" class="btn5" text="저장" onclick="group2_switch1_trnswork_button10_onclick"/>
- <Radio position="absolute 637 20 882 35" id="rdo_cdgrupid" visible="false" columncount="-1" codecolumn="codecolumn" datacolumn="datacolumn" rowcount="-1" onitemchanged="group2_switch1_trnswork_rdo_cdgrupid_onitemchanged">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">001</Col>
- <Col id="datacolumn">물품인계대장</Col>
- </Row>
- <Row>
- <Col id="codecolumn">002</Col>
- <Col id="datacolumn">비치약관리</Col>
- </Row>
- <Row>
- <Col id="codecolumn">003</Col>
- <Col id="datacolumn">마약관리</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- <Static text="구 분 :" position="absolute 550 20 647 37" id="caption24" class="search_name" visible="false"/>
- <Button position="absolute 210 20 223 35" id="button11" class="icon_next" onclick="group2_switch1_trnswork_button11_onclick"/>
- <Button position="absolute 106 20 119 35" id="button12" class="icon_pre" onclick="group2_switch1_trnswork_button12_onclick"/>
- <Div position="absolute 890 75 1130 125" id="grp_duty" visible="false" style="background:#87cefaff;border:0 none #87cefaff ;">
- <Layouts>
- <Layout>
- <Static text="확인할 Duty를 선택하십시오." position="absolute 0 5 188 20" id="caption33" class="tit_2"/>
- <Button position="absolute 150 25 192 44" id="bnt_patlabel_nm" class="btn5" taborder="22" text="확인" onclick="group2_switch1_trnswork_grp_duty_bnt_patlabel_nm_onclick"/>
- <Button position="absolute 195 25 237 44" id="button27" class="btn5" taborder="22" text="취소" onclick="group2_switch1_trnswork_grp_duty_button27_onclick"/>
- <Radio position="absolute 7 26 137 43" id="rdo_dutyflag" columncount="-1" codecolumn="codecolumn" datacolumn="datacolumn" rowcount="-1">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">
- </Col>
- <Col id="datacolumn">전체</Col>
- </Row>
- <Row>
- <Col id="codecolumn">D</Col>
- <Col id="datacolumn">D</Col>
- </Row>
- <Row>
- <Col id="codecolumn">E</Col>
- <Col id="datacolumn">E</Col>
- </Row>
- <Row>
- <Col id="codecolumn">N</Col>
- <Col id="datacolumn">N</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- </Layout>
- </Layouts>
- </Div>
- <Button position="absolute 1090 16 1146 38" id="button18" class="btn1" text="엑셀" onclick="group2_switch1_trnswork_button18_onclick"/>
- <Shape position="absolute 1019 16 1025 37" linetype="vertical" id="line11" class="line_4"/>
- </Layout>
- </Layouts>
- </Tabpage>
- <Tabpage text="장비수리" id="repair">
- <Layouts>
- <Layout>
- <Grid position="absolute 1 80 1160 695" id="grd_repairlist" binddataset="ds_main_repairinfo_repairlist" cellsizingtype="both" extendsizetype="both" autosizingtype="row" selecttype="multirow" autoenter="select">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="25" band="left"/>
- <Column size="79"/>
- <Column size="100"/>
- <Column size="124"/>
- <Column size="100"/>
- <Column size="85"/>
- <Column size="123"/>
- <Column size="98"/>
- <Column size="62"/>
- <Column size="82"/>
- <Column size="65"/>
- <Column size="193"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" text="등록일자"/>
- <Cell col="2" text="자산코드"/>
- <Cell col="3" text="장비명"/>
- <Cell col="4" text="규격"/>
- <Cell col="5" text="취득일자"/>
- <Cell col="6" text="고장내용"/>
- <Cell col="7" text="의뢰부서"/>
- <Cell col="8" text="의뢰자"/>
- <Cell col="9" text="수리일자"/>
- <Cell col="10" text="수리결과"/>
- <Cell col="11" text="수리결과"/>
- </Band>
- <Band id="body">
- <Cell celltype="head"/>
- <Cell col="1" displaytype="normal" style="align:center middle;" text="bind:genrdd" mask="expr:utlf_isNull(genrdd) || genrdd == '-' ? '' : '####-##-##'"/>
- <Cell col="2" style="align:left middle;" text="bind:fixasetcd"/>
- <Cell col="3" style="align:left middle;padding:2 2 2 2;" text="bind:goodflagengnm" wordwrap="word" autosizerow="limitmin"/>
- <Cell col="4" style="align:left middle;" text="bind:goodspec"/>
- <Cell col="5" style="align:left middle;" text="bind:possndd" mask="expr:utlf_isNull(possndd) || possndd == '-' ? '' : '####-##-##'"/>
- <Cell col="6" style="align:left middle;padding:2 2 2 2;" text="bind:hdrncspec" wordwrap="word" autosizerow="limitmin"/>
- <Cell col="7" style="align:left middle;" text="bind:execdeptnm"/>
- <Cell col="8" style="align:left middle;" text="bind:fstrgstrnm"/>
- <Cell col="9" style="align:left middle;" text="bind:rpirenddd" mask="expr:utlf_isNull(rpirenddd) || rpirenddd == '-' ? '' : '####-##-##'"/>
- <Cell col="10" style="align:center middle;" text="bind:workstatnm"/>
- <Cell col="11" style="align:left middle;padding:2 2 2 2;" text="bind:lastrpirrslt" wordwrap="word" autosizerow="limitmin"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Shape position="absolute 1 15 1159 49" id="roundrect3" type="roundrectangle" style="background:#fffbf2ff;border:0 none #ffd799ff ;"/>
- <Button position="absolute 1030 21 1086 43" id="btn_searchrpir" class="btn1" text="조회" onclick="group2_switch1_repair_btn_searchrpir_onclick"/>
- <Shape position="absolute 1019 21 1025 42" linetype="vertical" id="line7" class="line_4"/>
- <Static text="~" position="absolute 200 24 213 44" id="caption30"/>
- <Calendar position="absolute 110 23 198 42" id="ipt_rpirfromdd" class="input_search" autoselect="true" autoskip="true"/>
- <Calendar position="absolute 210 23 298 42" id="ipt_rpirtodd" class="input_search" autoselect="true" autoskip="true"/>
- <Static text="조회기간 :" position="absolute 20 24 117 41" id="caption29" class="search_name"/>
- <Static text="장비수리내역" position="absolute 1 60 117 76" id="caption31" class="tit_2"/>
- <Shape position="absolute 1 76 1160 82" linetype="horizontal" id="line8" class="line_10"/>
- <CheckBox position="absolute 325 22 425 42" id="checkbox1" text="완료제외" truevalue="Y"/>
- <Button position="absolute 1090 21 1146 43" id="button19" class="btn1" text="엑셀" onclick="group2_switch1_repair_button19_onclick"/>
- </Layout>
- </Layouts>
- </Tabpage>
- <Tabpage text="물품수리" id="good">
- <Layouts>
- <Layout>
- <Shape position="absolute 1 76 1160 82" linetype="horizontal" id="line9" class="line_10"/>
- <Shape position="absolute 1 15 1159 49" id="roundrect4" type="roundrectangle" style="background:#fffbf2ff;border:0 none #ffd799ff ;"/>
- <Static text="~" position="absolute 200 24 213 44" id="caption12"/>
- <Static text="물품수리내역" position="absolute 1 60 117 76" id="caption19" class="tit_2"/>
- <Calendar position="absolute 210 23 298 42" id="ipt_goodtodd" class="input_search" autoskip="true" autoselect="true"/>
- <Calendar position="absolute 110 23 198 42" id="ipt_goodfromdd" class="input_search" autoskip="true" autoselect="true"/>
- <Button position="absolute 1030 21 1086 43" id="btn_searchgood" class="btn1" text="조회" onclick="group2_switch1_good_btn_searchgood_onclick"/>
- <Static text="조회기간 :" position="absolute 20 24 117 41" id="caption32" class="search_name"/>
- <Shape position="absolute 1019 21 1025 42" linetype="vertical" id="line10" class="line_4"/>
- <Grid position="absolute 1 80 1160 695" id="grd_goodlist" class="datagrid2" binddataset="ds_main_goodinfo_goodlist" cellsizingtype="both" extendsizetype="row" selecttype="multirow" oncellclick="group2_switch1_good_grd_goodlist_oncellclick" autoenter="select" oncloseup="group2_switch1_good_grd_goodlist_oncloseup" onlbuttonup="group2_switch1_good_grd_goodlist_onlbuttonup">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="25" band="left"/>
- <Column size="84"/>
- <Column size="0"/>
- <Column size="182"/>
- <Column size="50"/>
- <Column size="44"/>
- <Column size="61"/>
- <Column size="62"/>
- <Column size="46"/>
- <Column size="61"/>
- <Column size="85"/>
- <Column size="66"/>
- <Column size="0"/>
- <Column size="378"/>
- <Column size="0"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="26" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" text="등록일자"/>
- <Cell col="2" text="물품코드"/>
- <Cell col="3" text="물품명"/>
- <Cell col="4" text="총 재고량"/>
- <Cell col="5" text="수량"/>
- <Cell col="6" text="내용"/>
- <Cell col="7" text="등록자"/>
- <Cell col="8" text="연락 유무"/>
- <Cell col="9" text="처리 내역"/>
- <Cell col="10" text="종료일자"/>
- <Cell col="11" text="확인자"/>
- <Cell col="12" text="확인자ID"/>
- <Cell col="13" text="비고"/>
- <Cell col="14" text="caption1"/>
- <Cell col="15" text="caption2"/>
- </Band>
- <Band id="body">
- <Cell celltype="head"/>
- <Cell col="1" displaytype="date" edittype="date" style="align:center middle;padding:0 0 0 0;" text="bind:gnrldd" editautoselect="true" calendardisplay="display" calendardisplaynulltype="none"/>
- <Cell col="2" text="bind:goodcd"/>
- <Cell col="3" style="align:left middle;" text="bind:goodnm" editautoselect="true"/>
- <Cell col="4" style="align:center middle;" text="bind:safestocqty" editautoselect="true"/>
- <Cell col="5" displaytype="text" edittype="text" style="align:center middle;" text="bind:qty" editautoselect="true"/>
- <Cell col="6" displaytype="combo" edittype="combo" style="align:center middle;" text="bind:rpirflag" combodataset="ds_rpirflag" combocodecol="value" combodatacol="label"/>
- <Cell col="7" style="align:center middle;" text="bind:fstrgstrnm" editautoselect="true"/>
- <Cell col="8" displaytype="combo" edittype="combo" style="align:center middle;" text="bind:sendyn" combodataset="ds_sendyn" combocodecol="value" combodatacol="label"/>
- <Cell col="9" displaytype="combo" edittype="combo" style="align:center middle;" text="bind:rsltflag" editautoselect="true" combodataset="ds_rsltflag" combocodecol="value" combodatacol="label"/>
- <Cell col="10" displaytype="date" edittype="date" style="padding:0 0 0 0;" text="bind:enddd" editautoselect="true" calendardisplay="display" calendardisplaynulltype="none"/>
- <Cell col="11" style="align:center middle;" text="bind:certnm" editautoselect="true"/>
- <Cell col="12" text="bind:certid"/>
- <Cell col="13" displaytype="text" edittype="text" text="bind:cmt" editautoselect="true"/>
- <Cell col="14" text="bind:seqno"/>
- <Cell col="15" text="bind:recflag"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Button position="absolute 1030 55 1072 74" id="button23" class="btn2" text="추가" onclick="group2_switch1_good_button23_onclick"/>
- <Button position="absolute 1073 55 1115 74" id="button24" class="btn2" text="삭제" onclick="group2_switch1_good_button24_onclick"/>
- <Button position="absolute 1116 55 1158 74" id="button25" class="btn5" text="저장" onclick="group2_switch1_good_button25_onclick"/>
- <Button position="absolute 1090 21 1146 43" id="button20" class="btn1" text="엑셀" onclick="group2_switch1_good_button20_onclick"/>
- <Static text="조회기간 :" position="absolute 330 25 401 42" id="caption53" class="search_name"/>
- <Radio position="absolute 405 25 594 41" id="radio3" columncount="3" codecolumn="codecolumn" datacolumn="datacolumn" rowcount="1">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">
- </Col>
- <Col id="datacolumn">전체</Col>
- </Row>
- <Row>
- <Col id="codecolumn">1</Col>
- <Col id="datacolumn">미종료</Col>
- </Row>
- <Row>
- <Col id="codecolumn">2</Col>
- <Col id="datacolumn">종료</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- </Layout>
- </Layouts>
- </Tabpage>
- <!--
- <Tabpage text="약품관리" id="narc">
- <Layouts>
- <Layout>
- <Shape position="absolute 6 10 410 37" id="roundrect7" type="roundrectangle" style="background:#fffbf2ff;border:0 none #ffd799ff ;"/>
- <Button position="absolute 345 13 401 35" id="button40" class="btn1" text="조회" onclick="group2_switch1_narc_button40_onclick"/>
- <Calendar position="absolute 105 14 193 33" id="ipt_narcdd" class="input_search" mask="yyyy-mm-dd" autoskip="true" autoselect="true" onchanged="group2_switch1_narc_ipt_narcdd_onchanged"/>
- <Static text="업무일자 :" position="absolute 15 14 111 31" id="caption42" class="search_name"/>
- <Static text="요일" position="absolute 215 13 255 33" id="caption43" style="font:Dotum,9,bold;"/>
- <Static position="absolute 196 14 216 31" align="align:center middle;" id="cap_narcweek" style="align:center middle;font:Dotum,9,bold;"/>
- <Button position="absolute 245 14 287 33" id="button37" class="btn2" text="어제" onclick="group2_switch1_narc_button37_onclick"/>
- <Button position="absolute 290 14 332 33" id="button36" class="btn2" text="오늘" onclick="group2_switch1_narc_button36_onclick"/>
- <Grid position="absolute 0 65 385 600" id="grd_narclist1" class="datagrid2" visible="true" binddataset="ds_main_narcinfo_narclist1">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="25"/>
- <Column size="181"/>
- <Column size="75"/>
- <Column size="35"/>
- <Column size="35"/>
- <Column size="35"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" text="처방명"/>
- <Cell col="2" text="유효일자"/>
- <Cell col="3" text="수량"/>
- <Cell col="4" text="현량"/>
- <Cell col="5" text="처방"/>
- <Cell col="6" text="caption3"/>
- <Cell col="7" text="caption1"/>
- <Cell col="8" text="caption2"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" text="expr:currow + 1"/>
- <Cell col="1" text="bind:cdnm"/>
- <Cell col="2" style="align:center middle;" text="bind:exprdd" mask="####-##-##"/>
- <Cell col="3" style="align:center middle;" text="bind:qty"/>
- <Cell col="4" displaytype="text" edittype="text" style="align:center middle;" text="bind:curqty" mask="#,###"/>
- <Cell col="5" displaytype="text" edittype="text" style="align:center middle;" text="bind:prcpqty"/>
- <Cell col="6" text="bind:workdd"/>
- <Cell col="7" text="bind:cdid"/>
- <Cell col="8" text="bind:dutycd"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Shape position="absolute 0 61 385 67" linetype="horizontal" id="line14" class="line_10"/>
- <Static text="Day" position="absolute 0 45 50 61" id="caption41" class="tit_2"/>
- <Static text="Evening" position="absolute 390 45 456 61" id="caption44" class="tit_2"/>
- <Shape position="absolute 390 61 775 67" linetype="horizontal" id="line15" class="line_10"/>
- <Static text="Night" position="absolute 780 45 832 61" id="caption45" class="tit_2"/>
- <Shape position="absolute 780 61 1160 67" linetype="horizontal" id="line16" class="line_10"/>
- <Grid position="absolute 780 65 1160 600" id="grd_narclist3" class="datagrid2" visible="true" binddataset="ds_main_narcinfo_narclist3">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="25"/>
- <Column size="177"/>
- <Column size="75"/>
- <Column size="35"/>
- <Column size="35"/>
- <Column size="35"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" text="처방명"/>
- <Cell col="2" text="유효일자"/>
- <Cell col="3" text="수량"/>
- <Cell col="4" text="현량"/>
- <Cell col="5" text="처방"/>
- <Cell col="6" text="caption3"/>
- <Cell col="7" text="caption1"/>
- <Cell col="8" text="caption2"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" text="expr:currow + 1"/>
- <Cell col="1" text="bind:cdnm"/>
- <Cell col="2" style="align:center middle;" text="bind:exprdd" mask="####-##-##"/>
- <Cell col="3" style="align:center middle;" text="bind:qty"/>
- <Cell col="4" displaytype="text" edittype="text" style="align:center middle;" text="bind:curqty" mask="#,###"/>
- <Cell col="5" displaytype="text" edittype="text" style="align:center middle;" text="bind:prcpqty"/>
- <Cell col="6" text="bind:workdd"/>
- <Cell col="7" text="bind:cdid"/>
- <Cell col="8" text="bind:dutycd"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Grid position="absolute 390 65 775 600" id="grd_narclist2" class="datagrid2" visible="true" binddataset="ds_main_narcinfo_narclist2">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="25"/>
- <Column size="181"/>
- <Column size="75"/>
- <Column size="35"/>
- <Column size="35"/>
- <Column size="35"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" text="처방명"/>
- <Cell col="2" text="유효일자"/>
- <Cell col="3" text="수량"/>
- <Cell col="4" text="현량"/>
- <Cell col="5" text="처방"/>
- <Cell col="6" text="caption3"/>
- <Cell col="7" text="caption1"/>
- <Cell col="8" text="caption2"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" text="expr:currow + 1"/>
- <Cell col="1" text="bind:cdnm"/>
- <Cell col="2" style="align:center middle;" text="bind:exprdd" mask="####-##-##"/>
- <Cell col="3" style="align:center middle;" text="bind:qty"/>
- <Cell col="4" displaytype="text" edittype="text" style="align:center middle;" text="bind:curqty" mask="#,###"/>
- <Cell col="5" displaytype="text" edittype="text" style="align:center middle;" text="bind:prcpqty"/>
- <Cell col="6" displaytype="text" edittype="text" text="bind:workdd"/>
- <Cell col="7" text="bind:cdid"/>
- <Cell col="8" text="bind:dutycd"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Radio position="absolute 415 25 660 40" id="rdo_nacgrup" visible="false" columncount="-1" codecolumn="codecolumn" datacolumn="datacolumn" rowcount="-1">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">001</Col>
- <Col id="datacolumn">물품인계대장</Col>
- </Row>
- <Row>
- <Col id="codecolumn">002</Col>
- <Col id="datacolumn">비치약관리</Col>
- </Row>
- <Row>
- <Col id="codecolumn">003</Col>
- <Col id="datacolumn">마약관리</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- <Button position="absolute 343 40 385 59" id="btn_narccert1" class="btn5" text="저장" onclick="group2_switch1_narc_btn_narccert1_onclick"/>
- <Button position="absolute 733 40 775 59" id="btn_narccert2" class="btn5" text="저장" onclick="group2_switch1_narc_btn_narccert2_onclick"/>
- <Button position="absolute 1118 40 1160 59" id="btn_narccert3" class="btn5" text="저장" onclick="group2_switch1_narc_btn_narccert3_onclick"/>
- <Static text="인계자 :" position="absolute 122 605 184 625" id="caption46" style="font:Dotum,9,bold;"/>
- <Static text="인수자 :" position="absolute 122 628 182 648" id="caption47" style="font:Dotum,9,bold;"/>
- <Edit readonly="true" position="absolute 180 605 255 624" id="output1" class="output"/>
- <Button position="absolute 257 604 321 623" id="btn_cert1" class="btn5" text="인계확인" onclick="group2_switch1_narc_btn_cert1_onclick"/>
- <Button position="absolute 257 628 321 647" id="btn_trnsin1" class="btn5" text="인수확인" onclick="group2_switch1_narc_btn_trnsin1_onclick"/>
- <Edit readonly="true" position="absolute 180 628 255 647" id="output2" class="output"/>
- <Static text="인계자 :" position="absolute 512 605 574 625" id="caption48" style="font:Dotum,9,bold;"/>
- <Static text="인수자 :" position="absolute 512 628 572 648" id="caption49" style="font:Dotum,9,bold;"/>
- <Button position="absolute 647 604 711 623" id="btn_cert2" class="btn5" text="인계확인" onclick="group2_switch1_narc_btn_cert2_onclick"/>
- <Button position="absolute 647 628 711 647" id="btn_trnsin2" class="btn5" text="인수확인" onclick="group2_switch1_narc_btn_trnsin2_onclick"/>
- <Edit readonly="true" position="absolute 570 605 645 624" id="output3" class="output"/>
- <Edit readonly="true" position="absolute 570 628 645 647" id="output4" class="output"/>
- <Edit readonly="true" position="absolute 952 630 1027 649" id="output5" class="output"/>
- <Static text="인계자 :" position="absolute 894 607 956 627" id="caption50" style="font:Dotum,9,bold;"/>
- <Static text="인수자 :" position="absolute 894 630 954 650" id="caption51" style="font:Dotum,9,bold;"/>
- <Button position="absolute 1029 606 1093 625" id="btn_cert3" class="btn5" text="인계확인" onclick="group2_switch1_narc_btn_cert3_onclick"/>
- <Edit readonly="true" position="absolute 952 607 1027 626" id="output6" class="output"/>
- <Button position="absolute 1029 630 1093 649" id="btn_trnsin3" class="btn5" text="인수확인" onclick="group2_switch1_narc_btn_trnsin3_onclick"/>
- <Shape position="absolute 0 652 1160 658" linetype="vertical" id="line17" class="line_2"/>
- <Static text="수간호사 :" position="absolute 840 670 909 690" id="caption52" style="font:Dotum,9,bold;"/>
- <Edit readonly="true" position="absolute 910 670 985 689" id="opt_cheifcertnm" class="output"/>
- <Button position="absolute 987 670 1073 689" id="btn_chiefcert" class="btn5" text="수간호사확인" onclick="group2_switch1_narc_btn_chiefcert_onclick"/>
- <Button position="absolute 1075 670 1161 689" id="btn_chiefcertcncl" class="btn5" text="수간호사취소" onclick="group2_switch1_narc_btn_chiefcertcncl_onclick"/>
- <Button position="absolute 1095 605 1159 624" id="btn_certcncl3" class="btn5" text="인계취소" onclick="group2_switch1_narc_btn_certcncl3_onclick"/>
- <Button position="absolute 1095 629 1159 648" id="btn_trnsincncl3" class="btn5" text="인수취소" onclick="group2_switch1_narc_btn_trnsincncl3_onclick"/>
- <Button position="absolute 713 628 777 647" id="btn_trnsincncl2" class="btn5" text="인수취소" onclick="group2_switch1_narc_btn_trnsincncl2_onclick"/>
- <Button position="absolute 713 604 777 623" id="btn_certcncl2" class="btn5" text="인계취소" onclick="group2_switch1_narc_btn_certcncl2_onclick"/>
- <Button position="absolute 325 604 389 623" id="btn_certcncl1" class="btn5" text="인계취소" onclick="group2_switch1_narc_btn_certcncl1_onclick"/>
- <Button position="absolute 325 628 389 647" id="btn_trnsincncl1" class="btn5" text="인수취소" onclick="group2_switch1_narc_btn_trnsincncl1_onclick"/>
- <Button position="absolute 1100 10 1156 32" id="button41" class="btn4" text="출력" onclick="group2_switch1_narc_button41_onclick"/>
- <Div position="absolute 935 40 1140 111" id="group3" visible="false">
- <Layouts>
- <Layout width="205" height="71">
- <Calendar position="absolute 5 25 95 44" id="ipt_prtfromdd"/>
- <Calendar position="absolute 110 25 200 44" id="ipt_prttodd"/>
- <Static text="* 출력기간을 선택하십시오." position="absolute 5 5 180 25" id="caption54" style="font:Dotum,9,bold;"/>
- <Button position="absolute 115 50 157 69" id="button42" class="btn5" text="확인" onclick="group2_switch1_narc_group3_button42_onclick"/>
- <Button position="absolute 160 50 202 69" id="button43" class="btn2" text="취소" onclick="group2_switch1_narc_group3_button43_onclick"/>
- </Layout>
- </Layouts>
- </Div>
- <Static text="마약인계 출력물은 저장된 내역에 한해서만 출력이 됩니다." position="absolute 780 10 1098 30" id="caption55"/>
- </Layout>
- </Layouts>
- </Tabpage>
- -->
- </Tabpages>
- </Tab>
- <Button id="btn_trns" taborder="2" text="물품 인계대장" position="absolute 84 16 176 40" class="btn_tab" onclick="Button_onclick"/>
- <Button id="button13" taborder="3" text="장비수리" class="btn_tab" position="absolute 177 16 242 40" onclick="Button_onclick"/>
- <Button id="button22" taborder="4" text="물품수리" class="btn_tab" position="absolute 243 16 307 40" onclick="Button_onclick"/>
- <Button id="button30" taborder="5" text="약품관리" class="btn_tab" position="absolute 308 16 372 40" onclick="Button_onclick"/>
- <Shape id="line02" class="line_10" position="absolute 0 39 1161 45"/>
- <Button id="button1" taborder="6" text="NICU 게시판" onclick="Button_onclick" class="btn_tab_S" position="absolute 0 16 83 40"/>
- </Layout>
- </Layouts>
- </Div>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_main_chklists_dutylist1" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_main_chklists_dutylist1_oncolumnchanged"/>
- <Dataset id="ds_main_chklists_dutylist2" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_main_chklists_dutylist2_oncolumnchanged"/>
- <Dataset id="ds_main_chklists_dutylist3" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_main_chklists_dutylist3_oncolumnchanged"/>
- <Dataset id="ds_main_cond_chklist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="workdd" type="STRING" size="256"/>
- <Column id="workweek" type="STRING" size="256"/>
- <Column id="cmt1" type="STRING" size="256"/>
- <Column id="cmt2" type="STRING" size="256"/>
- <Column id="cmt3" type="STRING" size="256"/>
- <Column id="certid1" type="STRING" size="256"/>
- <Column id="certid2" type="STRING" size="256"/>
- <Column id="certid3" type="STRING" size="256"/>
- <Column id="certnm1" type="STRING" size="256"/>
- <Column id="certnm2" type="STRING" size="256"/>
- <Column id="certnm3" type="STRING" size="256"/>
- <Column id="chiefid" type="STRING" size="256"/>
- <Column id="chiefnm" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="workdd"/>
- <Col id="workweek"/>
- <Col id="cmt1"/>
- <Col id="cmt2"/>
- <Col id="cmt3"/>
- <Col id="certid1"/>
- <Col id="certid2"/>
- <Col id="certid3"/>
- <Col id="certnm1"/>
- <Col id="certnm2"/>
- <Col id="certnm3"/>
- <Col id="chiefid"/>
- <Col id="chiefnm"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_cond_trnsinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="workdd" type="STRING" size="256"/>
- <Column id="fromdd" type="STRING" size="256"/>
- <Column id="todd" type="STRING" size="256"/>
- <Column id="cdgrupid" type="STRING" size="256"/>
- <Column id="flag" type="STRING" size="256"/>
- <Column id="recflag" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="workdd"/>
- <Col id="fromdd"/>
- <Col id="todd"/>
- <Col id="cdgrupid">001</Col>
- <Col id="flag"/>
- <Col id="recflag">02</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_cond_pcainfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="fromdd" type="STRING" size="256"/>
- <Column id="todd" type="STRING" size="256"/>
- <Column id="rtnflag" type="STRING" size="256"/>
- <Column id="pcakind" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="fromdd"/>
- <Col id="todd"/>
- <Col id="rtnflag">1</Col>
- <Col id="pcakind"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_cond_repairinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_main_cond_repairinfo_oncolumnchanged">
- <ColumnInfo>
- <Column id="fromdd" type="STRING" size="256"/>
- <Column id="todd" type="STRING" size="256"/>
- <Column id="chkyn" type="STRING" size="256"/>
- <Column id="deptcd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="fromdd"/>
- <Col id="todd"/>
- <Col id="chkyn"/>
- <Col id="deptcd">2110201000</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_cond_goodinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="fromdd" type="STRING" size="256"/>
- <Column id="todd" type="STRING" size="256"/>
- <Column id="flag" type="STRING" size="256"/>
- <Column id="recflag" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="fromdd"/>
- <Col id="todd"/>
- <Col id="flag"/>
- <Col id="recflag"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_cond_erprcpinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="opdd" type="STRING" size="256"/>
- <Column id="erdchktype" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="opdd"/>
- <Col id="erdchktype">B</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_cond_narcinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="workdd" type="STRING" size="256"/>
- <Column id="workweek" type="STRING" size="256"/>
- <Column id="cdgrupid" type="STRING" size="256"/>
- <Column id="prtfromdd" type="STRING" size="256"/>
- <Column id="prttodd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="workdd"/>
- <Col id="workweek"/>
- <Col id="cdgrupid"/>
- <Col id="prtfromdd"/>
- <Col id="prttodd"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_chksaveinfo_dutychkinfo_dutylist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_main_chksaveinfo_dutychkinfo_dutylist_oncolumnchanged"/>
- <Dataset id="ds_main_dutytable" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="daynm" type="STRING" size="256"/>
- <Column id="evenm" type="STRING" size="256"/>
- <Column id="nightnm" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="daynm"/>
- <Col id="evenm"/>
- <Col id="nightnm"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_trnsinfo_trnslist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_main_trnsinfo_trnslist_oncolumnchanged"/>
- <Dataset id="ds_main_trnssaveinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="dutycd" type="STRING" size="256"/>
- <Column id="workdd" type="STRING" size="256"/>
- <Column id="cdid" type="STRING" size="256"/>
- <Column id="qty" type="STRING" size="256"/>
- <Column id="recflag" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_pcainfo_pcalist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_main_repairinfo_repairlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_main_goodinfo_goodlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_main_goodinfo_goodlist_oncolumnchanged"/>
- <Dataset id="ds_main_erprcpinfo_erdruglist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_main_narcinfo_narclist1" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_main_narcinfo_narclist1_oncolumnchanged"/>
- <Dataset id="ds_main_narcinfo_narclist2" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_main_narcinfo_narclist2_oncolumnchanged"/>
- <Dataset id="ds_main_narcinfo_narclist3" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_main_narcinfo_narclist3_oncolumnchanged"/>
- <Dataset id="ds_init_pcainfo_pcalist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_hidden" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_temp_prtnarcinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_code_codeinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_mnwmcode" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_prtemp_chklistsprt" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_codelist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_send2_reqdata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_main_chklst" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="chksend" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_send_savedata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_rpirflag" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="label" type="STRING" size="256"/>
- <Column id="value" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="label">분실</Col>
- <Col id="value">1</Col>
- </Row>
- <Row>
- <Col id="label">파손</Col>
- <Col id="value">2</Col>
- </Row>
- <Row>
- <Col id="label">소모</Col>
- <Col id="value">3</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_sendyn" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="label" type="STRING" size="256"/>
- <Column id="value" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="label">Y</Col>
- <Col id="value">Y</Col>
- </Row>
- <Row>
- <Col id="label">N</Col>
- <Col id="value">N</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_rsltflag" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="label" type="STRING" size="256"/>
- <Column id="value" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="label">교환</Col>
- <Col id="value">1</Col>
- </Row>
- <Row>
- <Col id="label">수리</Col>
- <Col id="value">2</Col>
- </Row>
- <Row>
- <Col id="label">청구</Col>
- <Col id="value">3</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_narcinfo_trnslist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="certnm1" type="STRING" size="256"/>
- <Column id="trnsinnm1" type="STRING" size="256"/>
- <Column id="certnm2" type="STRING" size="256"/>
- <Column id="trnsinnm2" type="STRING" size="256"/>
- <Column id="trnsinnm3" type="STRING" size="256"/>
- <Column id="certnm3" type="STRING" size="256"/>
- <Column id="chiefcertnm" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_send_chksend" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_main_chklists_dutycmtlist1" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_main_chklists_dutycmtlist2" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_main_chklists_dutycmtlist3" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_main_chklists_chieflist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_send_trnsinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_send_repairinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_send_goodinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_send_narcsend" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_send_savedata_narcinfo_narclist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_temp_tmp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_send_reqdata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="group2.switch1.chklist.cap_workweek" propid="text" datasetid="ds_main_cond_chklist" columnid="workweek"/>
- <BindItem id="item1" compid="group2.switch1.chklist.caption15" propid="text" datasetid="ds_main_chklst" columnid="chksend"/>
- <BindItem id="item2" compid="group2.switch1.chklist.textarea1" propid="value" datasetid="ds_main_dutytable" columnid="daynm"/>
- <BindItem id="item3" compid="group2.switch1.chklist.textarea2" propid="value" datasetid="ds_main_dutytable" columnid="evenm"/>
- <BindItem id="item4" compid="group2.switch1.chklist.textarea3" propid="value" datasetid="ds_main_dutytable" columnid="nightnm"/>
- <BindItem id="item5" compid="group2.switch1.chklist.ipt_workdd" propid="value" datasetid="ds_main_cond_chklist" columnid="workdd"/>
- <BindItem id="item6" compid="group2.switch1.chklist.tar_chk1" propid="value" datasetid="ds_main_cond_chklist" columnid="cmt1"/>
- <BindItem id="item7" compid="group2.switch1.chklist.tar_chk2" propid="value" datasetid="ds_main_cond_chklist" columnid="cmt2"/>
- <BindItem id="item8" compid="group2.switch1.chklist.tar_chk3" propid="value" datasetid="ds_main_cond_chklist" columnid="cmt3"/>
- <BindItem id="item9" compid="group2.switch1.chklist.ipt_chiefnm" propid="value" datasetid="ds_main_cond_chklist" columnid="chiefnm"/>
- <BindItem id="item10" compid="group2.switch1.chklist.ipt_cert1" propid="value" datasetid="ds_main_cond_chklist" columnid="certnm1"/>
- <BindItem id="item11" compid="group2.switch1.chklist.ipt_cert2" propid="value" datasetid="ds_main_cond_chklist" columnid="certnm2"/>
- <BindItem id="item12" compid="group2.switch1.chklist.ipt_cert3" propid="value" datasetid="ds_main_cond_chklist" columnid="certnm3"/>
- <BindItem id="item13" compid="group2.switch1.chklist.ipt_certid1" propid="value" datasetid="ds_main_cond_chklist" columnid="certid1"/>
- <BindItem id="item14" compid="group2.switch1.chklist.ipt_certid2" propid="value" datasetid="ds_main_cond_chklist" columnid="certid2"/>
- <BindItem id="item15" compid="group2.switch1.chklist.ipt_certid3" propid="value" datasetid="ds_main_cond_chklist" columnid="certid3"/>
- <BindItem id="item16" compid="group2.switch1.chklist.ipt_chiefid" propid="value" datasetid="ds_main_cond_chklist" columnid="chiefid"/>
- <BindItem id="item17" compid="group2.switch1.trnswork.ipt_trnsdd" propid="value" datasetid="ds_main_cond_trnsinfo" columnid="workdd"/>
- <BindItem id="item18" compid="group2.switch1.trnswork.ipt_trnfrdd" propid="value" datasetid="ds_main_cond_trnsinfo" columnid="fromdd"/>
- <BindItem id="item19" compid="group2.switch1.trnswork.ipt_trntodd" propid="value" datasetid="ds_main_cond_trnsinfo" columnid="todd"/>
- <BindItem id="item20" compid="group2.switch1.trnswork.rdo_cdgrupid" propid="value" datasetid="ds_main_cond_trnsinfo" columnid="cdgrupid"/>
- <BindItem id="item21" compid="group2.switch1.trnswork.grp_duty.rdo_dutyflag" propid="value" datasetid="ds_main_cond_trnsinfo" columnid="flag"/>
- <BindItem id="item22" compid="group2.switch1.repair.ipt_rpirfromdd" propid="value" datasetid="ds_main_cond_repairinfo" columnid="fromdd"/>
- <BindItem id="item23" compid="group2.switch1.repair.ipt_rpirtodd" propid="value" datasetid="ds_main_cond_repairinfo" columnid="todd"/>
- <BindItem id="item24" compid="group2.switch1.repair.checkbox1" propid="value" datasetid="ds_main_cond_repairinfo" columnid="chkyn"/>
- <BindItem id="item25" compid="group2.switch1.good.ipt_goodtodd" propid="value" datasetid="ds_main_cond_goodinfo" columnid="todd"/>
- <BindItem id="item26" compid="group2.switch1.good.ipt_goodfromdd" propid="value" datasetid="ds_main_cond_goodinfo" columnid="fromdd"/>
- <BindItem id="item27" compid="group2.switch1.good.radio3" propid="value" datasetid="ds_main_cond_goodinfo" columnid="flag"/>
- <BindItem id="item28" compid="group2.switch1.narc.ipt_narcdd" propid="value" datasetid="ds_main_cond_narcinfo" columnid="workdd"/>
- <BindItem id="item29" compid="group2.switch1.narc.cap_narcweek" propid="text" datasetid="ds_main_cond_narcinfo" columnid="workweek"/>
- <BindItem id="item30" compid="group2.switch1.narc.rdo_nacgrup" propid="value" datasetid="ds_main_cond_narcinfo" columnid="cdgrupid"/>
- <BindItem id="item31" compid="group2.switch1.narc.output1" propid="value" datasetid="ds_main_narcinfo_trnslist" columnid="certnm1"/>
- <BindItem id="item32" compid="group2.switch1.narc.output2" propid="value" datasetid="ds_main_narcinfo_trnslist" columnid="trnsinnm1"/>
- <BindItem id="item33" compid="group2.switch1.narc.output3" propid="value" datasetid="ds_main_narcinfo_trnslist" columnid="certnm2"/>
- <BindItem id="item34" compid="group2.switch1.narc.output4" propid="value" datasetid="ds_main_narcinfo_trnslist" columnid="trnsinnm2"/>
- <BindItem id="item35" compid="group2.switch1.narc.output5" propid="value" datasetid="ds_main_narcinfo_trnslist" columnid="trnsinnm3"/>
- <BindItem id="item36" compid="group2.switch1.narc.output6" propid="value" datasetid="ds_main_narcinfo_trnslist" columnid="certnm3"/>
- <BindItem id="item37" compid="group2.switch1.narc.opt_cheifcertnm" propid="value" datasetid="ds_main_narcinfo_trnslist" columnid="chiefcertnm"/>
- <BindItem id="item38" compid="group2.switch1.narc.group3.ipt_prtfromdd" propid="value" datasetid="ds_main_cond_narcinfo" columnid="prtfromdd"/>
- <BindItem id="item39" compid="group2.switch1.narc.group3.ipt_prttodd" propid="value" datasetid="ds_main_cond_narcinfo" columnid="prttodd"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name :
- * Job Name :
- * Creator :
- * Make Date : 2015-11-13
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2015-11-13 Live Converter TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- include "com_commonxp::comm_main.xjs";
- var arErrorCode = new HashArray();
- function cf_TXMNP00571(sSvcId, nErrorCode, sErrorMsg) {
- arErrorCode.push(sSvcId, nErrorCode);
- if(nErrorCode < 0) return;
- utlf_addLog("***** cf_TXMNP00571 *****");
- }
- function SMMNN03500_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj);
- }
- function SMMNN03500_onload(obj:Form, e:LoadEventInfo)
- {
- //grdf_setRowTypeIcon(group2.switch1.chklist.grd_savedutylist, 0);
- grdf_setRowTypeIcon(group2.switch1.trnswork.grd_trnslist, 0);
- grdf_setRowTypeIcon(group2.switch1.repair.grd_repairlist, 0);
- grdf_setRowTypeIcon(group2.switch1.good.grd_goodlist, 0);
-
- dsf_makeValue(ds_send2_reqdata,"srchdd" , "string", utlf_getCurrentDate());
- dsf_makeValue(ds_send2_reqdata,"cdgrupid" , "string", "'045'");
- var oParam = {};
- oParam.id = "TRMNW00001";
- oParam.service = "wardcareapp.WardCareMngt";
- oParam.method = "reqGetNursHardCdInfo";
- oParam.inds = "req=ds_send2_reqdata";
- oParam.outds = "ds_codelist=codelist";
- oParam.async = false;
- tranf_submit(oParam);
- var jobposcd = sysf_getUserInfo("jobposcd");
- jobposcd = "75";
- if(jobposcd == "75") {
- //group2.switch1.chklist.btn_cert.enable= true;
- //group2.switch1.chklist.btn_baseinfo.enable= true;
- } else {
- //group2.switch1.chklist.btn_cert.enable = false;
- //group2.switch1.chklist.btn_baseinfo.enable= false;
- }
- }
- var cmtflag = "";
-
- function fChklistSrch() {
- cmtflag = "";
- var workdd = String(ds_main_cond_chklist.getColumn(0, "workdd"));
- var chkdd1 = workdd.toDate("YYYYMMDD");
- var workweek = utlf_getDateTime(chkdd1, 'W');
-
- ds_main_cond_chklist.getColumn(0, "workweek", workweek);
-
- ds_send_chksend.clearData();
-
- dsf_makeValue(ds_send_chksend,"workdd" , "string", workdd);
- dsf_makeValue(ds_send_chksend,"dd" , "string", utlf_transNullToEmpty(workdd).substr(6,2));
- dsf_makeValue(ds_send_chksend,"workweek" , "string", workweek);
- dsf_makeValue(ds_send_chksend,"userdeptcd" , "string", sysf_getUserInfo("dutplcecd"));
- dsf_makeValue(ds_send_chksend,"gubn" , "string", "A");
-
- var oParam = {};
- oParam.id = "TRMNP00571";
- oParam.service = "opanstapp.OpAnstRec";
- oParam.method = "reqGetDutyChkList";
- oParam.inds = "req=ds_send_chksend";
- oParam.outds = "ds_main_chklists_dutylist1=dutylist1 ds_main_chklists_dutylist2=dutylist2 ds_main_chklists_dutylist3=dutylist3 ds_main_chklists_dutycmtlist1=dutycmtlist1 ds_main_chklists_dutycmtlist2=dutycmtlist2 ds_main_chklists_dutycmtlist3=dutycmtlist3 ds_main_chklists_chieflist=chieflist";
- oParam.async = false;
-
- tranf_submit(oParam);
-
- var node1 = instance1.selectNodes("/root/main/chklists/dutycmtlist1");
- var node2 = instance1.selectNodes("/root/main/chklists/dutycmtlist2");
- var node3 = instance1.selectNodes("/root/main/chklists/dutycmtlist3");
- var node4 = instance1.selectNodes("/root/main/chklists/chieflist");
-
- if(ds_main_chklists_dutycmtlist1.rowcount > 0) {
- dsf_makeValue(ds_main_cond_chklist,"certid1" , "string", ds_main_chklists_dutycmtlist1.getColumn(0, "certid"));
- dsf_makeValue(ds_main_cond_chklist,"certnm1" , "string", ds_main_chklists_dutycmtlist1.getColumn(0, "certnm"));
- dsf_makeValue(ds_main_cond_chklist,"cmt1" , "string", ds_main_chklists_dutycmtlist1.getColumn(0, "cmt"));
-
- } else {
- dsf_makeValue(ds_main_cond_chklist,"certid1" , "string", sysf_getUserInfo("userid"));
- dsf_makeValue(ds_main_cond_chklist,"certnm1" , "string", sysf_getUserInfo("usernm"));
- dsf_makeValue(ds_main_cond_chklist,"cmt1" , "string", "");
- }
- if(ds_main_chklists_dutycmtlist2.rowcount >0) {
- dsf_makeValue(ds_main_cond_chklist,"certid2" , "string", ds_main_chklists_dutycmtlist2.getColumn(0, "certid"));
- dsf_makeValue(ds_main_cond_chklist,"certnm2" , "string", ds_main_chklists_dutycmtlist2.getColumn(0, "certnm"));
- dsf_makeValue(ds_main_cond_chklist,"cmt2" , "string", ds_main_chklists_dutycmtlist2.getColumn(0, "cmt"));
-
- } else {
- dsf_makeValue(ds_main_cond_chklist,"certid2" , "string", sysf_getUserInfo("userid"));
- dsf_makeValue(ds_main_cond_chklist,"certnm2" , "string", sysf_getUserInfo("usernm"));
- dsf_makeValue(ds_main_cond_chklist,"cmt2" , "string", "");
- }
- if(ds_main_chklists_dutycmtlist3.rowcount > 0) {
- dsf_makeValue(ds_main_cond_chklist,"certid3" , "string", ds_main_chklists_dutycmtlist3.getColumn(0, "certid"));
- dsf_makeValue(ds_main_cond_chklist,"certnm3" , "string", ds_main_chklists_dutycmtlist3.getColumn(0, "certnm"));
- dsf_makeValue(ds_main_cond_chklist,"cmt3" , "string", ds_main_chklists_dutycmtlist3.getColumn(0, "cmt"));
-
- } else {
- dsf_makeValue(ds_main_cond_chklist,"certid3" , "string", sysf_getUserInfo("userid"));
- dsf_makeValue(ds_main_cond_chklist,"certnm3" , "string", sysf_getUserInfo("usernm"));
- dsf_makeValue(ds_main_cond_chklist,"cmt3" , "string", "");
- }
- var existyn = "N";
- var chiefid="";
-
- if(ds_main_chklists_chieflist.rowcount > 0) {
- chiefid = ds_main_chklists_chieflist.getColumn(0, "chiefid");
- if( utlf_isNull(chiefid) ) {
- group2.switch1.chklist.ipt_chiefid.value = "";
- group2.switch1.chklist.ipt_chiefnm.value = "";
- } else {
- group2.switch1.chklist.ipt_chiefid.value = ds_main_chklists_chieflist.getColumn(0, "chiefid");
- group2.switch1.chklist.ipt_chiefnm.value = ds_main_chklists_chieflist.getColumn(0, "chiefnm");
- existyn = "Y";
- }
-
- } else {
-
- }
-
- if(existyn == "Y") {
- group2.switch1.chklist.ipt_chiefnm.value = group2.switch1.chklist.ipt_chiefnm.value + "(완료)";
- }
-
- var oParam = {};
- oParam.id = "TRMNP00572";
- oParam.service = "opanstapp.OpAnstStocMngt";
- oParam.method = "reqGetCdxDuty";
- oParam.inds = "req=ds_send_chksend";
- oParam.outds = "ds_main_dutytable=dutytable";
- oParam.async = false;
- tranf_submit(oParam);
- }
- function fChklistsSave(seq){
- var msg = sysf_messageBox("체크된 정보를","Q002");
-
- if(msg =="6"){
-
- if(seq == 1) {
- dsf_makeValue(ds_main_cond_chklist,"certid" + seq ,"string",sysf_getUserInfo("userid"));
- dsf_makeValue(ds_main_cond_chklist,"certnm" + seq ,"string",sysf_getUserInfo("usernm"));
- }
-
- var datagrid = eval("group2.switch1.chklist.grd_chk"+seq);
- var cmt = eval("group2.switch1.chklist.tar_chk"+seq);
- var certid = eval("group2.switch1.chklist.ipt_certid"+seq);
-
- var updt = grdf_getGridUpdateData(datagrid, "all");
-
- grdf_setStatusColumn(updt, "status");
- ds_send_savedata.copyData(updt);
-
- var cmtcnt = cmt.value;
- var certidcnt = certid.value;
-
- if( utlf_isNull(certidcnt) ) {
- certidcnt = sysf_getUserInfo("userid");
- }
-
- dsf_makeValue(ds_send_savedata,"cmt" ,"string" ,cmtcnt);
- dsf_makeValue(ds_send_savedata,"certid" ,"string" ,certidcnt);
- dsf_makeValue(ds_send_savedata,"gubn" ,"string" ,"A");
- dsf_makeValue(ds_send_savedata,"workdd" ,"string" ,group2.switch1.chklist.ipt_workdd.value);
- dsf_makeValue(ds_send_savedata,"dutycd" ,"string" ,datagrid.getCellValue(0, datagrid.getBindCellIndex("body","dutycd")));
-
- var oParam = {};
- oParam.id = "TXMNP00571";
- oParam.service = "opanstapp.OpAnstRec";
- oParam.method = "reqExeDtyChkInfo";
- oParam.inds = "dutylist=ds_send_savedata req=ds_main_cond_chklist";
- oParam.outds = "ds_main_chklists_dutylist1=dutylist1 ds_main_chklists_dutylist2=dutylist2 ds_main_chklists_dutylist3=dutylist3";
- oParam.async = false;
- oParam.callback = "cf_TXMNP00571";
- tranf_submit(oParam);
- if(arErrorCode.pop("TXMNP00571") > -1){
-
- sysf_messageBox("저장","I002");
- fChklistSrch();
- }
-
-
- } else {
- return;
- }
- }
- function fChgRptUserid(grdObj){
- for( var k=0 ; k<dsObj.rowcount ; k++ ){
- var Workdd = dsObj.getColumn(k, "workdd");
- var Lastupdtrid = dsObj.getColumn(k, "lastupdtrid");
- var Comuserid = sysf_getUserId();
- if(( !utlf_isNull(Workdd) )&&( !utlf_isNull(Lastupdtrid) )){
- dsObj.setColumn(k, "lastupdtrid", Comuserid);
- dsObj.updatecontrol =false;
- dsObj.setRowType(k, "U");
- dsObj.updatecontrol =true;
- }
- }
- }
- function fChngNarcList(grdObj) {
-
- }
- function fCalcdate(calcn, calcd){
-
- calcd = calcd.toDate("YYYYMMDD");
- calcd = calcd.getAddDate(calcn , "D");
- calcd = calcd.getDateFormat("YYYYMMDD");
-
- return calcd;
- }
- function fCalcWorkDate(fromdd) {
- var sDate = fromdd;
- var sFromDate = sDate.toDate();
- var sToDate = sDate.toDate();
- var sWeek = sFromDate.getDayOfWeek("N");
-
- if(sWeek == 0) {
- sWeek = 7;
- }
- var sFromday = 0;
- var sToday = 0;
-
- sFromday = parseInt(sWeek) -1;
- sToday = 7 - parseInt(sWeek);
-
- var sfrmdd = sFromDate.getAddDate( sFromday * -1 , "D");
- sfrmdd = sfrmdd.getDateFormat();
-
- var stodd = sToDate.getAddDate(sToday).getDateFormat();
-
- group2.switch1.trnswork.ipt_trnfrdd.value = sfrmdd;
- group2.switch1.trnswork.ipt_trntodd.value = stodd;
- }
- function fSaveErPrcpInfo(pStat) {
-
-
- var sel;
-
- if(grd_erdruglist.rows > 0) {
- for(var i = grd_erdruglist.fixedRows; i < grd_erdruglist.rows; i++) {
- sel = grd_erdruglist.valueMatrix(i, grd_erdruglist.colRef("sel"));
-
- if(sel == "Y") {
- if(pStat == "Save") {
- grd_erdruglist.valueMatrix(i, grd_erdruglist.colRef("scgubn")) = "S";
- } else if(pStat == "Cancel") {
- grd_erdruglist.valueMatrix(i, grd_erdruglist.colRef("scgubn")) = "C";
- } else if(pStat == "Memo") {
- grd_erdruglist.valueMatrix(i, grd_erdruglist.colRef("scgubn")) = "M";
- }
- }
- }
- }
- var updt = getGridUpdateData(grd_erdruglist);
- model.makeValue("/root/send/savedata/erprcpinfo/erdruglist", updt);
- submit("TXMNP07406");
-
- btn_erprcp.dispatch("DOMActivate");
- }
- //마약관리를 조회한다.
- function fNarcSrch() {
- ds_send_narcsend.copyData(ds_main_cond_narcinfo);
- //마약리스트를 조회한다.
- var oParam = {};
- oParam.id = "TRMNP07406";
- oParam.service = "opanstapp.OpAnstRec";
- oParam.method = "reqGetNarcInfo";
- oParam.inds = "req=ds_send_narcsend";
- oParam.outds = "ds_main_narcinfo_narclist1=narclist1 ds_main_narcinfo_narclist2=narclist2 ds_main_narcinfo_narclist3=narclist3 ds_main_narcinfo_trnslist=trnslist";
- oParam.async = false;
- tranf_submit(oParam);
-
- fChkNarcAuth();
-
- }
- function fChkNarcAuth() {
- var btn; //btn_cert
- var btn1; //btn_trnsin
- var btn2; //btn_narccert
- var btn3; //btn_certcncl
- var btn4; //btn_trnsincncl
-
- var chiefcertid = ds_main_narcinfo_trnslist.getColumn(0, "chiefcertid");
-
- //수간호사 확인이 되었을 경우, 현량 수정 및 인계, 인수자 변경불가.
- if( !utlf_isNull(chiefcertid) ) {
-
-
- group2.switch1.narc.btn_cert1.enable = false;
- group2.switch1.narc.btn_cert2.enable = false;
- group2.switch1.narc.btn_cert3.enable = false;
-
- group2.switch1.narc.btn_trnsin1.enable = false;
- group2.switch1.narc.btn_trnsin2.enable = false;
- group2.switch1.narc.btn_trnsin3.enable = false;
-
- group2.switch1.narc.btn_narccert1.enable = false;
- group2.switch1.narc.btn_narccert2.enable = false;
- group2.switch1.narc.btn_narccert3.enable = false;
-
- group2.switch1.narc.btn_certcncl1.enable = false;
- group2.switch1.narc.btn_certcncl2.enable = false;
- group2.switch1.narc.btn_certcncl3.enable = false;
-
- group2.switch1.narc.btn_trnsincncl1.enable = false;
- group2.switch1.narc.btn_trnsincncl2.enable = false;
- group2.switch1.narc.btn_trnsincncl3.enable = false;
-
-
- } else {
-
- group2.switch1.narc.btn_cert1.enable = true;
- group2.switch1.narc.btn_cert2.enable = true;
- group2.switch1.narc.btn_cert3.enable = true;
-
- group2.switch1.narc.btn_trnsin1.enable = true;
- group2.switch1.narc.btn_trnsin2.enable = true;
- group2.switch1.narc.btn_trnsin3.enable = true;
-
- group2.switch1.narc.btn_narccert1.enable = true;
- group2.switch1.narc.btn_narccert2.enable = true;
- group2.switch1.narc.btn_narccert3.enable = true;
-
- group2.switch1.narc.btn_certcncl1.enable = true;
- group2.switch1.narc.btn_certcncl2.enable = true;
- group2.switch1.narc.btn_certcncl3.enable = true;
-
- group2.switch1.narc.btn_trnsincncl1.enable = true;
- group2.switch1.narc.btn_trnsincncl2.enable = true;
- group2.switch1.narc.btn_trnsincncl3.enable = true;
-
-
- for(var i = 1; i <= 3; i++) {
-
- var trnsinnm = ds_main_narcinfo_trnslist.getColumn(0, "trnsinnm" + i);
- var certnm = ds_main_narcinfo_trnslist.getColumn(0, "certnm" + i);
-
- btn = eval("group2.switch1.narc.btn_cert" + i);
- btn1 = eval("group2.switch1.narc.btn_trnsin" + i);
- btn2 = eval("group2.switch1.narc.btn_narccert" + i);
- btn3 = eval("group2.switch1.narc.btn_certcncl" + i);
- btn4 = eval("group2.switch1.narc.btn_trnsincncl" + i);
-
- btn.enable = true;
- if( utlf_isNull(certnm) ) {
- btn1.enable = false;
- btn4.enable = false;
- }
-
- //인수가 되었을경우, 인계확인, 현량수정 저장할수 없게 막음.
- if( !utlf_isNull(trnsinnm)) {
- btn.enable = false;
- btn2.enable = false;
- btn3.enable = false;
- } else {
- btn.enable = true;
- btn2.enable = true;
- btn3.enable = true;
- }
- }
- }
- }
- function fSaveNarcInfo(flag, dutycd, cnclflag) {
- var workdd = utlf_transNullToEmpty(String(group2.switch1.narc.ipt_narcdd.value));
-
- var grdnm;
- var grdnm1;
- var dutynm = "";
- var flagnm = "";
-
- if(dutycd == "D") {
- grdnm = eval(group2.switch1.narc.grd_narclist1.binddataset);
- grdnm1 = "group2.switch1.narc.grd_narclist1";
- dutynm = "Day";
- } else if(dutycd == "E") {
- grdnm = eval(group2.switch1.narc.grd_narclist2.binddataset);
- grdnm1 = "group2.switch1.narc.grd_narclist2";
- dutynm="Evening";
- } else if(dutycd == "N") {
- grdnm = eval(group2.switch1.narc.grd_narclist3.binddataset);
- grdnm1 = "group2.switch1.narc.grd_narclist3";
- dutynm = "Night";
- }
-
- if(flag == "1") {
-
- for(var i = 0; i < grdnm.rowcount; i++) {
- grdnm.updatecontrol =false;
- grdnm.setRowType(i, "U");
- grdnm.updatecontrol =true;
- }
-
- var updtdata = grdf_getGridUpdateData(grdnm1, "all");
-
- grdf_setStatusColumn(updtdata, "status");
-
- ds_send_savedata_narcinfo_narclist.copyData(updtdata);
-
- ds_send_savedata_narcinfo_narclist.updateColID("curqty", "qty");
-
- var oParam = {};
- oParam.id = "TXMNP07407";
- oParam.service = "opanstapp.OpAnstRec";
- oParam.method = "reqSetTrnsInfo";
- oParam.inds = "req=ds_send_savedata_narcinfo_narclist";
- oParam.outds = "ds_temp_tmp=tmp";
- oParam.async = false;
- tranf_submit(oParam);
-
- ds_temp_tmp.updateColID("icnt", "cnt");
-
- if( utlf_isNull(cnclflag) ) {
- flagnm = "인계확인";
- } else {
- flagnm = "인계취소";
- }
-
- } else if(flag == "2") {
- if( utlf_isNull(cnclflag) ) {
- flagnm = "인수확인";
- } else {
- flagnm = "인수취소";
- }
- }
-
- var rtn;
- if(flag == "1" || flag == "2") {
- rtn = sysf_messageBox(workdd.substr(0,4) + "년 " + workdd.substr(4, 2) + "월 " + workdd.substr(6, 2) + "일 " + dutynm + "번 근무 "+ flagnm + "을 하시겠습니까?", "Q");
- } else { //flag == "3"
- if( !utlf_isNull(cnclflag) ) {
-
- rtn = sysf_messageBox(workdd.substr(0,4) + "년 " + workdd.substr(4, 2) + "월 " + workdd.substr(6, 2) + "일 " + "수간호사 마약확인 취소를 하시겠습니까? ", "Q");
- } else {
- rtn = sysf_messageBox("확인후엔 인계, 인수 내역을 수정하실수 없습니다.\n" + workdd.substr(0,4) + "년 " + workdd.substr(4, 2) + "월 " + workdd.substr(6, 2) + "일 " + "수간호사 마약확인을 하시겠습니까? ", "Q");
- }
-
- }
-
-
- //flag가 3일경우 dutycd 값이 ''이면 확인 ''이 아니면 취소로 사용하겠음.
- if(rtn == "6") {
- dsf_makeValue(ds_send_savedata,"workdd" ,"string" , group2.switch1.narc.ipt_narcdd.value);
- dsf_makeValue(ds_send_savedata,"cdgrupid" ,"string" , group2.switch1.narc.rdo_nacgrup.value);
- dsf_makeValue(ds_send_savedata,"flag" ,"string" , flag);
- dsf_makeValue(ds_send_savedata,"dutycd" ,"string" , dutycd);
- dsf_makeValue(ds_send_savedata,"cnclflag" ,"string" , cnclflag);
-
- var oParam = {};
- oParam.id = "TXMNN03002";
- oParam.service = "partrtnnbabyapp.PartrtnPatMngt";
- oParam.method = "reqSetCnfmTrns";
- oParam.inds = "req=ds_send_savedata";
- oParam.outds = "";
- oParam.async = false;
- tranf_submit(oParam);
-
- } else {
-
- }
-
- fNarcSrch();
- }
- function group2_switch1_chklist_btn_baseinfo_onclick(obj:Button, e:ClickEventInfo)
- {
- sysf_setModelProperty("gubn", "A");
- frmf_modal("SMMNP00575", "SMMNP00575", null, null, null, null, null, null, null, null, null, null, "M");
- sysf_setModelProperty("gubn", "");
- }
- function ds_main_chklists_dutylist1_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
- {
- if( e.columnid == "chkyn" ){
- obj.setColumn(e.row, "chkyn", (e.newvalue == "Y" || e.newvalue == 1) ? "Y" : "N");
- }
- fChgRptUserid(obj);
- }
- function group2_switch1_chklist_grd_chk1_onheadclick(obj:Grid, e:GridClickEventInfo)
- {
- if(e.col == group2.switch1.chklist.grd_chk1.getBindCellIndex("body","chkyn") ) {
- fChgRptUserid("ds_main_chklists_dutylist1");
- }
- }
- function ds_main_chksaveinfo_dutychkinfo_dutylist_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
- {
- if( e.columnid == "chkyn" ){
- obj.setColumn(e.row, "chkyn", (e.newvalue == "Y" || e.newvalue == 1) ? "Y" : "N");
- }
- }
- function ds_main_chklists_dutylist2_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
- {
- if( e.columnid == "chkyn" ){
- obj.setColumn(e.row, "chkyn", (e.newvalue == "Y" || e.newvalue == 1) ? "Y" : "N");
- }
- fChgRptUserid(obj);
- }
- function group2_switch1_chklist_grd_chk2_onheadclick(obj:Grid, e:GridClickEventInfo)
- {
- if(e.col == group2.switch1.chklist.grd_chk2.getBindCellIndex("body","chkyn") ) {
- fChgRptUserid("ds_main_chklists_dutylist2");
- }
- }
- function ds_main_chklists_dutylist3_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
- {
- if( e.columnid == "chkyn" ){
- obj.setColumn(e.row, "chkyn", (e.newvalue == "Y" || e.newvalue == 1) ? "Y" : "N");
- }
- fChgRptUserid(obj);
- }
- function group2_switch1_chklist_grd_chk3_onheadclick(obj:Grid, e:GridClickEventInfo)
- {
- if(e.col == group2.switch1.chklist.grd_chk3.getBindCellIndex("body","chkyn") ) {
- fChgRptUserid("ds_main_chklists_dutylist3");
- }
- }
- function group2_switch1_chklist_button6_onclick(obj:Button, e:ClickEventInfo)
- {
- fChklistSrch();
- }
- function group2_switch1_chklist_button9_onclick(obj:Button, e:ClickEventInfo)
- {
- fChklistsSave("1");
- }
- function group2_switch1_chklist_button21_onclick(obj:Button, e:ClickEventInfo)
- {
- fChklistPrt();
- }
- function group2_switch1_chklist_ipt_workdd_onchanged(obj:Calendar, e:ChangeEventInfo)
- {
- fChklistSrch();
- }
- function group2_switch1_chklist_button3_onclick(obj:Button, e:ClickEventInfo)
- {
- fChklistsSave("2");
- }
- function group2_switch1_chklist_button4_onclick(obj:Button, e:ClickEventInfo)
- {
- fChklistsSave("3");
- }
- function group2_switch1_chklist_btn_cert_onclick(obj:Button, e:ClickEventInfo)
- {
- dsf_makeValue(ds_send_savedata,"workdd", "string", group2.switch1.chklist.ipt_workdd.value);
- dsf_makeValue(ds_send_savedata,"gubn", "string", "A");
- var oParam = {};
- oParam.id = "TXMNP00572";
- oParam.service = "opanstapp.OpAnstRec";
- oParam.method = "reqExeCheifCert";
- oParam.inds = "req=ds_send_savedata";
- oParam.outds = "";
- oParam.async = false;
- tranf_submit(oParam);
- }
- function group2_switch1_chklist_button38_onclick(obj:Button, e:ClickEventInfo)
- {
- var sChkdd = utlf_getCurrentDate();
-
- ds_main_cond_chklist.setColumn(0, "workdd", sChkdd);
-
- var chkdd1 = sChkdd.toDate("YYYYMMDD");
-
- var workweek = utlf_getDateTime(chkdd1, 'W');
- ds_main_cond_chklist.setColumn(0, "workweek", workweek);
-
- fChklistSrch();
- }
- function group2_switch1_chklist_button39_onclick(obj:Button, e:ClickEventInfo)
- {
- var sChkdd = utlf_getCurrentDate();
- var sCalcdd = fCalcdate(-1, sChkdd);
-
- ds_main_cond_chklist.setColumn(0, "workdd", sCalcdd);
-
- var chkdd1 = sCalcdd.toDate("YYYYMMDD");
-
- var workweek = utlf_getDateTime(chkdd1, 'W');
- ds_main_cond_chklist.setColumn(0, "workweek", workweek);
-
- fChklistSrch();
- }
- function group2_switch1_trnswork_btn_searchtrns_onclick(obj:Button, e:ClickEventInfo)
- {
- ds_main_trnssaveinfo.clearData();
- //grdf_initGridStyle(group2.switch1.trnswork.grd_trnslist);
- ds_send_trnsinfo.copyData(ds_main_cond_trnsinfo);
- ds_main_trnsinfo_trnslist.clearData();
- //140904 변경 - AYS
- var oParam = {};
- oParam.id = "TRMNN03002";
- oParam.service = "partrtnnbabyapp.PartrtnPatMngt";
- oParam.method = "reqGetTrnsInfo";
- oParam.inds = "req=ds_send_trnsinfo";
- oParam.outds = "ds_main_trnsinfo_trnslist=trnslist";
- oParam.async = false;
- tranf_submit(oParam);
- ds_main_trnsinfo_trnslist.rowposition = -1;
-
- var fromdd = String(group2.switch1.trnswork.ipt_trnfrdd.value);
- var sCalcdd;
- var workdd = group2.switch1.trnswork.ipt_trnsdd.value;
- var sRecflag = ds_main_cond_trnsinfo.getColumn(0, "recflag");
-
- for(var i = 1; i < 8; i++) {
- sCalcdd = fCalcdate(i-1, fromdd);
-
- if(sCalcdd == workdd) {
- for(var j = 0; j < ds_main_trnsinfo_trnslist.rowcount-1; j++) {
- ds_main_trnssaveinfo.enableevent = false;
- ds_main_trnssaveinfo.updatecontrol = false;
-
- var nRow1 = ds_main_trnssaveinfo.addRow();
- ds_main_trnssaveinfo.setColumn(nRow1, "dutycd", "D");
-
- ds_main_trnssaveinfo.setColumn(nRow1, "workdd", workdd);
- ds_main_trnssaveinfo.setColumn(nRow1, "cdid", ds_main_trnsinfo_trnslist.getColumn(j , "cdid") );
- ds_main_trnssaveinfo.setColumn(nRow1, "qty", ds_main_trnsinfo_trnslist.getColumn(j , "d" + (i)) );
- ds_main_trnssaveinfo.setColumn(nRow1, "recflag", sRecflag);
-
-
- var nRow2 = ds_main_trnssaveinfo.addRow();
- ds_main_trnssaveinfo.setColumn(nRow2, "dutycd", "E");
-
- ds_main_trnssaveinfo.setColumn(nRow2, "workdd", workdd);
- ds_main_trnssaveinfo.setColumn(nRow2, "cdid", ds_main_trnsinfo_trnslist.getColumn(j , "cdid") );
- ds_main_trnssaveinfo.setColumn(nRow2, "qty", ds_main_trnsinfo_trnslist.getColumn(j , "e" + (i)) );
- ds_main_trnssaveinfo.setColumn(nRow2, "recflag", sRecflag);
-
-
- var nRow3 = ds_main_trnssaveinfo.addRow();
- ds_main_trnssaveinfo.setColumn(nRow3, "dutycd", "N");
-
- ds_main_trnssaveinfo.setColumn(nRow3, "workdd", workdd);
- ds_main_trnssaveinfo.setColumn(nRow3, "cdid", ds_main_trnsinfo_trnslist.getColumn(j , "cdid") );
- ds_main_trnssaveinfo.setColumn(nRow3, "qty", ds_main_trnsinfo_trnslist.getColumn(j , "n" + (i)) );
- ds_main_trnssaveinfo.setColumn(nRow3, "recflag", sRecflag);
-
- ds_main_trnssaveinfo.enableevent = true;
- ds_main_trnssaveinfo.updatecontrol = true;
-
- ds_main_trnsinfo_trnslist.enableevent = false;
- ds_main_trnsinfo_trnslist.updatecontrol = false;
- ds_main_trnsinfo_trnslist.addColumn("editvalue" + (i),"string");
- ds_main_trnsinfo_trnslist.addColumn("backgrvalue" + (i),"string");
- ds_main_trnsinfo_trnslist.addColumn("fontvalue" + (i),"string");
- ds_main_trnsinfo_trnslist.setColumn(j,"editvalue" + (i),"text");
- ds_main_trnsinfo_trnslist.setColumn(j,"backgrvalue" + (i),"#eeffee");
- ds_main_trnsinfo_trnslist.setColumn(j,"fontvalue" + (i),"Dotum,9,bold");
- ds_main_trnsinfo_trnslist.updatecontrol = true;
- ds_main_trnsinfo_trnslist.enableevent = true;
-
- ds_main_trnsinfo_trnslist.enableevent = false;
- ds_main_trnsinfo_trnslist.updatecontrol = false;
- group2.switch1.trnswork.grd_trnslist.setCellProperty("Head",i+4 ,"font","Dotum,9,bold");
- group2.switch1.trnswork.grd_trnslist.setCellProperty("Head",(i*4)+9 ,"font","Dotum,9,bold");
- group2.switch1.trnswork.grd_trnslist.setCellProperty("Head",(i*4)+10 ,"font","Dotum,9,bold");
- group2.switch1.trnswork.grd_trnslist.setCellProperty("Head",(i*4)+11 ,"font","Dotum,9,bold");
- ds_main_trnsinfo_trnslist.updatecontrol = true;
- ds_main_trnsinfo_trnslist.enableevent = true;
- }
-
- } else {
- ds_main_trnsinfo_trnslist.enableevent = false;
- ds_main_trnsinfo_trnslist.updatecontrol = false;
- dsf_setFixVal(ds_main_trnsinfo_trnslist, "editvalue" + (i)+":none,backgrvalue" + (i)+":,fontvalue" + (i)+":");
- group2.switch1.trnswork.grd_trnslist.setCellProperty("Head",i+4 ,"font","Dotum,9");
- group2.switch1.trnswork.grd_trnslist.setCellProperty("Head",(i*4)+9 ,"font","Dotum,9");
- group2.switch1.trnswork.grd_trnslist.setCellProperty("Head",(i*4)+10 ,"font","Dotum,9");
- group2.switch1.trnswork.grd_trnslist.setCellProperty("Head",(i*4)+11 ,"font","Dotum,9");
- ds_main_trnsinfo_trnslist.updatecontrol = true;
- ds_main_trnsinfo_trnslist.enableevent = true;
- }
-
-
- ds_main_trnsinfo_trnslist.enableevent = false;
- ds_main_trnsinfo_trnslist.updatecontrol = false;
-
- group2.switch1.trnswork.grd_trnslist.setCellProperty("Head",i+4 ,"text",sCalcdd.substr(0,4) + "-" + sCalcdd.substr(4,2) + "-" + sCalcdd.substr(6,2));
- // group2.switch1.trnswork.grd_trnslist.setCellProperty("Head",group2.switch1.trnswork.grd_trnslist.getBindCellIndex("body","e" + (i +1)) ,"text",sCalcdd.substr(0,4) + "-" + sCalcdd.substr(4,2) + "-" + sCalcdd.substr(6,2));
- // group2.switch1.trnswork.grd_trnslist.setCellProperty("Head",group2.switch1.trnswork.grd_trnslist.getBindCellIndex("body","n" + (i +1)) ,"text",sCalcdd.substr(0,4) + "-" + sCalcdd.substr(4,2) + "-" + sCalcdd.substr(6,2));
- // group2.switch1.trnswork.grd_trnslist.setCellProperty("Head",group2.switch1.trnswork.grd_trnslist.getBindCellIndex("body","day" + (i +1)) ,"text",sCalcdd.substr(0,4) + "-" + sCalcdd.substr(4,2) + "-" + sCalcdd.substr(6,2));
-
- ds_main_trnsinfo_trnslist.updatecontrol = true;
- ds_main_trnsinfo_trnslist.enableevent = true;
-
- }
- /*
- var cdid;
- var qty;
- var dqty;
- var eqty;
- var nqty;
-
- for(var i = 0; i < ds_main_trnsinfo_trnslist.rowcount; i++) {
- cdid = ds_main_trnsinfo_trnslist.getColumn(i, "cdid");
- qty = ds_main_trnsinfo_trnslist.getColumn(i, "qty");
-
- if(cdid == "999999") {
- //grd_trnslist.rowStyle(i, "data", "background-color") = "#eeffee";
- } else {
-
-
- for(j = 1; j <= 7; j++) {
- dqty = ds_main_trnsinfo_trnslist.getColumn(i, ("d"+j));
- eqty = ds_main_trnsinfo_trnslist.getColumn(i, ("e"+j));
- nqty = ds_main_trnsinfo_trnslist.getColumn(i, ("n"+j));
-
- if(qty != dqty) {
-
- grd_trnslist.cellStyle("background-color", i, grd_trnslist.colRef("d"+j)) ="#ffff00";
- }
-
- if(qty != eqty) {
-
-
- grd_trnslist.cellStyle("background-color", i, grd_trnslist.colRef("e"+j)) ="#ffff00";
- }
- if(qty != nqty) {
-
- grd_trnslist.cellStyle("background-color", i, grd_trnslist.colRef("n"+j)) ="#ffff00";
- }
- }
- }
- }
- */
- }
- function group2_switch1_trnswork_ipt_trnsdd_onchanged(obj:Calendar, e:ChangeEventInfo)
- {
- fCalcWorkDate(String(group2.switch1.trnswork.ipt_trnsdd.value));
- group2_switch1_trnswork_btn_searchtrns_onclick();
- }
- function ds_main_trnsinfo_trnslist_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
- {
- group2.switch1.trnswork.grd_trnslist.updateToDataset();
- var col = group2.switch1.trnswork.grd_trnslist.currentcol;
- var ref;
- var seq;
- var duty;
-
- var workdd;
- var dutycd;
- var cdid;
-
- if(col >=group2.switch1.trnswork.grd_trnslist.getBindCellIndex("body","d1") && col <=group2.switch1.trnswork.grd_trnslist.getBindCellIndex("body","n7")) {
-
- ref = group2.switch1.trnswork.grd_trnslist.getCellProperty("body", col, "text").replace("bind:", "");
- seq = ref.substr(1,1);
- duty = ref.substr(0,1);
-
-
- if(duty == "d") {
- dutycd = "D";
- } else if(duty == "e") {
- dutycd = "E";
- } else if(duty == "n") {
- dutycd = "N";
- }
- workdd = ds_main_trnsinfo_trnslist.getColumn(e.row, ("day" + seq) );
- cdid = ds_main_trnsinfo_trnslist.getColumn(e.row, "cdid" );
- qty = group2.switch1.trnswork.grd_trnslist.getCellValue(ds_main_trnsinfo_trnslist.rowposition, col);
-
- //alert("workdd: " + workdd + " cdid: " + cdid + " duty: " + dutycd + " qty: " + qty);
- ds_main_trnssaveinfo.filter("workdd == '" + workdd + "' && cdid == '" + cdid + "' && dutycd == '" + dutycd + "'");
-
-
- if(ds_main_trnssaveinfo.rowcount > 0) {
-
- ds_main_trnssaveinfo.setColumn(0, "qty", qty);
- } else {
- ds_main_trnssaveinfo.addRow();
- ds_main_trnssaveinfo.setColumn(ds_main_trnssaveinfo.rowposition, "dutycd", dutycd);
-
- ds_main_trnssaveinfo.setColumn(ds_main_trnssaveinfo.rowposition, "workdd", workdd);
- ds_main_trnssaveinfo.setColumn(ds_main_trnssaveinfo.rowposition, "cdid", cdid);
- ds_main_trnssaveinfo.setColumn(ds_main_trnssaveinfo.rowposition, "qty", qty);
- }
- }
- ds_main_trnssaveinfo.filter("");
- if(col == group2.switch1.trnswork.grd_trnslist.getBindCellIndex("body","cmt")) {
- cmtflag = "1";
- }
- }
- function group2_switch1_trnswork_button5_onclick(obj:Button, e:ClickEventInfo)
- {
- for(var i = 0; i < ds_main_trnssaveinfo.rowcount; i++) {
- ds_main_trnssaveinfo.updatecontrol =false;
- ds_main_trnssaveinfo.setRowType(i, "U");
- ds_main_trnssaveinfo.updatecontrol =true;
- }
-
- var updtdata = grdf_getGridUpdateData(group2.switch1.trnswork.grd_trnssaveinfo, "all");
- grdf_setStatusColumn(updtdata, "status");
- dsf_createDs("ds_send_savedata");
- ds_send_savedata.copyData(updtdata,true);
- dsf_setTypeFormat(ds_send_savedata, "qty:INT");
-
-
-
- if(updtdata.rowcount > 0) {
-
- //ds_send_savedata.copyData(updtdata,true);
- //dsf_setDefaultVal(ds_send_savedata, "qty:0");
- var oParam = {};
-
- oParam.id = "TXMNN03003";
- oParam.service = "partrtnnbabyapp.PartrtnPatMngt";
- oParam.method = "reqSetTrnsInfo";
- oParam.inds = "req=ds_send_savedata";
- oParam.outds = "";
- oParam.async = false;
- tranf_submit(oParam);
- }
-
- if( !utlf_isNull(cmtflag) ) {
- var updtdata = grdf_getGridUpdateData(group2.switch1.trnswork.grd_trnslist, "all");
- ds_send_savedata.copyData(updtdata,true);
- dsf_makeValue(ds_send_savedata,"cdgrupid" ,"string" , group2.switch1.trnswork.rdo_cdgrupid.value,0);
- dsf_makeValue(ds_send_savedata,"recflag" ,"string" , ds_main_cond_trnsinfo.getColumn(0, "recflag"),0);
-
-
- var oParam = {};
- oParam.id = "TXMNN03004";
- oParam.service = "partrtnnbabyapp.PartrtnPatMngt";
- oParam.method = "reqSetTrnsCmtInfo";
- oParam.inds = "req=ds_send_savedata";
- oParam.outds = "";
- oParam.async = false;
- tranf_submit(oParam);
- group2_switch1_trnswork_btn_searchtrns_onclick();
- }
- }
- function group2_switch1_trnswork_button7_onclick(obj:Button, e:ClickEventInfo)
- {
- frmf_modal("SMMNN03200","SMMNN03200","", "", "", "", "", "", "", "", "", "", "M");
- }
- function group2_switch1_trnswork_button10_onclick(obj:Button, e:ClickEventInfo)
- {
- group2.switch1.trnswork.grp_duty.visible = true;
- }
- function group2_switch1_trnswork_rdo_cdgrupid_onitemchanged(obj:Radio, e:ItemChangeEventInfo)
- {
- group2_switch1_trnswork_btn_searchtrns_onclick();
- }
- function group2_switch1_trnswork_button11_onclick(obj:Button, e:ClickEventInfo)
- {
- var sChkdd = String(group2.switch1.trnswork.ipt_trnsdd.value);
- var sCalcdd = fCalcdate(1, sChkdd);
-
- ds_main_cond_trnsinfo.setColumn(0, "workdd", sCalcdd);
-
- var chkdd1 = sCalcdd.toDate("YYYYMMDD");
- group2_switch1_trnswork_ipt_trnsdd_onchanged();
- }
- function group2_switch1_trnswork_button12_onclick(obj:Button, e:ClickEventInfo)
- {
- var sChkdd = String(group2.switch1.trnswork.ipt_trnsdd.value);
- var sCalcdd = fCalcdate(-1, sChkdd);
-
- ds_main_cond_trnsinfo.setColumn(0, "workdd", sCalcdd);
-
- var chkdd1 = sCalcdd.toDate("YYYYMMDD");
- group2_switch1_trnswork_ipt_trnsdd_onchanged();
- }
- function group2_switch1_trnswork_grp_duty_bnt_patlabel_nm_onclick(obj:Button, e:ClickEventInfo)
- {
- group2_switch1_trnswork_button5_onclick();
-
- group2.switch1.trnswork.grp_duty.visible = false;
- var workdd = utlf_transNullToEmpty(String(group2.switch1.trnswork.ipt_trnsdd.value));
- var sRecflag = ds_main_cond_trnsinfo.getColumn(0, "recflag");
- //alert(sRecflag);
-
- var duty = group2.switch1.trnswork.grp_duty.rdo_dutyflag.value;
- var dutynm ="";
- if( utlf_isNull(duty) ) {
- dutynm="전체";
- } else if(duty == "D") {
- dutynm="Day";
- } else if(duty == "E") {
- dutynm="Evening";
- } else if(duty == "N") {
- dutynm="Night";
- }
-
- var rtn = sysf_messageBox(workdd.substr(0,4) + "-" + workdd.substr(4,2) + "-" + workdd.substr(6,2) + "일 " + dutynm + " 저장/확인을 하시겠습니까?", "Q");
-
- if(rtn == "6") {
- dsf_makeValue(ds_send_savedata,"workdd", "string", group2.switch1.trnswork.ipt_trnsdd.value);
- dsf_makeValue(ds_send_savedata,"dutycd", "string", group2.switch1.trnswork.grp_duty.rdo_dutyflag.value);
- dsf_makeValue(ds_send_savedata,"cdgrupid", "string", group2.switch1.trnswork.rdo_cdgrupid.value);
- dsf_makeValue(ds_send_savedata,"recflag", "string", sRecflag);
-
- var oParam = {};
- oParam.id = "TXMNN03002";
- oParam.service = "partrtnnbabyapp.PartrtnPatMngt";
- oParam.method = "reqSetCnfmTrns";
- oParam.inds = "req=ds_send_savedata";
- oParam.outds = "";
- oParam.async = false;
- tranf_submit(oParam);
-
- group2_switch1_trnswork_btn_searchtrns_onclick();
- }
- }
- function group2_switch1_trnswork_grp_duty_button27_onclick(obj:Button, e:ClickEventInfo)
- {
- group2.switch1.trnswork.grp_duty.visible = false;
- }
- function group2_switch1_trnswork_button18_onclick(obj:Button, e:ClickEventInfo)
- {
- grdf_exportExcel(group2.switch1.trnswork.grd_trnslist, "excel", group2.switch1.trnswork.rdo_cdgrupid.text , true, "" , "" , true);
- }
- function group2_switch1_repair_btn_searchrpir_onclick(obj:Button, e:ClickEventInfo)
- {
- ds_main_trnssaveinfo.clearData();
- //grdf_initGridStyle(group2.switch1.trnswork.grd_trnslist);
-
- ds_send_repairinfo.copyData(ds_main_cond_repairinfo);
-
- var oParam = {};
- oParam.id = "TRMNP07403";
- oParam.service = "opanstapp.OpAnstRec";
- oParam.method = "reqGetRepairInfo";
- oParam.inds = "req=ds_send_repairinfo";
- oParam.outds = "ds_main_repairinfo_repairlist=repairlist";
- oParam.async = false;
- tranf_submit(oParam);
- }
- function group2_switch1_repair_button19_onclick(obj:Button, e:ClickEventInfo)
- {
- grdf_exportExcel(group2.switch1.repair.grd_repairlist, "excel", "장비수리내역" , true, "" , "" , true);
- }
- function group2_switch1_good_btn_searchgood_onclick(obj:Button, e:ClickEventInfo)
- {
- var sRecflag = ds_main_cond_trnsinfo.getColumn(0, "recflag");
-
- dsf_makeValue(ds_main_cond_goodinfo,"recflag", "string", sRecflag);
- ds_main_trnssaveinfo.clearData();
- //grdf_initGridStyle(group2.switch1.trnswork.grd_trnslist);
-
- ds_send_goodinfo.copyData(ds_main_cond_goodinfo);
-
- var oParam = {};
- oParam.id = "TRMNN03001";
- oParam.service = "partrtnnbabyapp.PartrtnPatMngt";
- oParam.method = "reqGetGoodRpirInfo";
- oParam.inds = "req=ds_send_goodinfo";
- oParam.outds = "ds_main_goodinfo_goodlist=goodlist";
- oParam.async = false;
- tranf_submit(oParam);
- }
- function ds_main_goodinfo_goodlist_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
- {
- if(e.columnid == "enddd") {
- ds_main_goodinfo_goodlist.setColumn(ds_main_goodinfo_goodlist.rowposition, "certid", sysf_getUserInfo("userid"));
- ds_main_goodinfo_goodlist.setColumn(ds_main_goodinfo_goodlist.rowposition, "certnm", sysf_getUserInfo("usernm"));
- }
- }
- function group2_switch1_good_button23_onclick(obj:Button, e:ClickEventInfo)
- {
- sysf_setModelProperty("flag", "popup");
- sysf_setModelProperty("cdgrupid", "001");
- frmf_modal("SMMNN03200", "SMMNN03200", null, null, null, null, null, null, null, null, null, null, "M");
- sysf_setModelProperty("flag", "");
- sysf_setModelProperty("cdgrupid", "");
- }
- function group2_switch1_good_button24_onclick(obj:Button, e:ClickEventInfo)
- {
- if( ds_main_goodinfo_goodlist.getRowType(ds_main_goodinfo_goodlist.rowposition) =="2" ) {
- ds_main_goodinfo_goodlist.deleteRow(ds_main_goodinfo_goodlist.rowposition);
- } else {
- ds_main_goodinfo_goodlist.updatecontrol =false;
- ds_main_goodinfo_goodlist.setRowType(ds_main_goodinfo_goodlist.rowposition, "D");
- ds_main_goodinfo_goodlist.updatecontrol =true;
- }
- }
- function group2_switch1_good_button25_onclick(obj:Button, e:ClickEventInfo)
- {
- var updatedata = grdf_getGridUpdateData(group2.switch1.good.grd_goodlist, "all");
- //var sRecflag = model.getValue("/root/main/cond/trnsinfo/recflag");
-
- if( !utlf_isNull(updatedata) ) {
- var gnrldd;
- var goodnm;
- var safestocqty;
- var rpirflag;
-
- for(var i = 0; i < ds_main_goodinfo_goodlist.rowcount; i++) {
- gnrldd = ds_main_goodinfo_goodlist.getColumn(i, "gnrldd");
- goodnm = ds_main_goodinfo_goodlist.getColumn(i, "goodnm");
- rpirflag = ds_main_goodinfo_goodlist.getColumn(i, "rpirflag");
-
- if( utlf_isNull(gnrldd) ) {
- sysf_messageBox("등록일자를 입력하세요", "E");
- return;
- }
- if( utlf_isNull(goodnm) ) {
- sysf_messageBox("물픔을 선택하세요", "E");
- return;
- }
- if( utlf_isNull(rpirflag) ) {
- sysf_messageBox("내용을 입력하세요", "E");
- return;
- }
- }
- } else {
- sysf_messageBox("저장할 내역이 존재하지 않습니다.", "E");
- return;
- }
-
- grdf_setStatusColumn(updatedata, "status");
-
- ds_send_savedata.copyData(updatedata,true);
- dsf_makeValue(ds_send_savedata,"flag" ,"string" , "1", 0);
-
- ds_send_savedata.updateColID("goodcd", "cdid");
- var oParam = {};
- oParam.id = "TXMNN03001";
- oParam.service = "partrtnnbabyapp.PartrtnPatMngt";
- oParam.method = "reqExeGoodRpirInfo";
- oParam.inds = "goodlist=ds_send_savedata";
- oParam.outds = "";
- oParam.async = false;
- tranf_submit(oParam);
-
- group2_switch1_good_btn_searchgood_onclick();
- }
- function group2_switch1_good_button20_onclick(obj:Button, e:ClickEventInfo)
- {
- grdf_exportExcel(group2.switch1.good.grd_goodlist, "excel", "물품수리내역" , true, "" , "" , true);
- }
- function group2_switch1_narc_button40_onclick(obj:Button, e:ClickEventInfo)
- {
- fNarcSrch();
- }
- function group2_switch1_narc_ipt_narcdd_onchanged(obj:Calendar, e:ChangeEventInfo)
- {
- fNarcSrch();
- }
- function group2_switch1_narc_button37_onclick(obj:Button, e:ClickEventInfo)
- {
- var sChkdd = utlf_getCurrentDate();
- var sCalcdd = fCalcdate(-1, sChkdd);
-
- ds_main_cond_narcinfo.setColumn(0, "workdd", sCalcdd);
-
- var chkdd1 = sCalcdd.toDate("YYYYMMDD");
-
- var workweek = utlf_getDateTime(chkdd1, 'W');
- ds_main_cond_narcinfo.setColumn(0, "workweek", workweek);
-
- fNarcSrch();
- }
- function group2_switch1_narc_button36_onclick(obj:Button, e:ClickEventInfo)
- {
- var sChkdd = utlf_getCurrentDate();
-
- ds_main_cond_narcinfo.setColumn(0, "workdd", sChkdd);
-
- var chkdd1 = sChkdd.toDate("YYYYMMDD");
- var workweek = utlf_getDateTime(chkdd1, 'W');
-
- ds_main_cond_narcinfo.setColumn(0, "workweek", workweek);
-
- fNarcSrch();
- }
- function ds_main_narcinfo_narclist1_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
- {
- var prcpqty = obj.getColumn(obj.rowposition, "prcpqty");
- var curqty = obj.getColumn(obj.rowposition, "curqty");
- var qty = obj.getColumn(obj.rowposition, "qty");
-
- if(e.col == group2.switch1.narc.grd_narclist1.getBindCellIndex("body","curqty") && !utlf_isNull(curqty) ){
- obj.setColumn(obj.rowposition, "prcpqty", parseInt(qty) - parseInt(curqty));
- obj.updatecontrol =false;
- obj.setRowType(obj.rowposition, "U");
- obj.updatecontrol =true;
- }
- }
- function ds_main_narcinfo_narclist3_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
- {
- var prcpqty = obj.getColumn(obj.rowposition, "prcpqty");
- var curqty = obj.getColumn(obj.rowposition, "curqty");
- var qty = obj.getColumn(obj.rowposition, "qty");
-
- if(e.col == group2.switch1.narc.grd_narclist1.getBindCellIndex("body","curqty") && !utlf_isNull(curqty) ){
- obj.setColumn(obj.rowposition, "prcpqty", parseInt(qty) - parseInt(curqty));
- obj.updatecontrol =false;
- obj.setRowType(obj.rowposition, "U");
- obj.updatecontrol =true;
- }
- }
- function ds_main_narcinfo_narclist2_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
- {
- var prcpqty = obj.getColumn(obj.rowposition, "prcpqty");
- var curqty = obj.getColumn(obj.rowposition, "curqty");
- var qty = obj.getColumn(obj.rowposition, "qty");
-
- if(e.col == group2.switch1.narc.grd_narclist1.getBindCellIndex("body","curqty") && !utlf_isNull(curqty) ){
- obj.setColumn(obj.rowposition, "prcpqty", parseInt(qty) - parseInt(curqty));
- obj.updatecontrol =false;
- obj.setRowType(obj.rowposition, "U");
- obj.updatecontrol =true;
- }
- }
- function group2_switch1_narc_btn_narccert1_onclick(obj:Button, e:ClickEventInfo)
- {
- fSaveNarcInfo("1", "D");
- }
- function group2_switch1_narc_btn_narccert2_onclick(obj:Button, e:ClickEventInfo)
- {
- fSaveNarcInfo("1", "E");
- }
- function group2_switch1_narc_btn_narccert3_onclick(obj:Button, e:ClickEventInfo)
- {
- fSaveNarcInfo("1", "N");
- }
- function group2_switch1_narc_btn_cert1_onclick(obj:Button, e:ClickEventInfo)
- {
- fSaveNarcInfo("1", "D");
- }
- function group2_switch1_narc_btn_trnsin1_onclick(obj:Button, e:ClickEventInfo)
- {
- fSaveNarcInfo("2", "D");
- }
- function group2_switch1_narc_btn_cert2_onclick(obj:Button, e:ClickEventInfo)
- {
- fSaveNarcInfo("1", "E");
- }
- function group2_switch1_narc_btn_trnsin2_onclick(obj:Button, e:ClickEventInfo)
- {
- fSaveNarcInfo("2", "E");
- }
- function group2_switch1_narc_btn_cert3_onclick(obj:Button, e:ClickEventInfo)
- {
- fSaveNarcInfo("1", "N");
- }
- function group2_switch1_narc_btn_trnsin3_onclick(obj:Button, e:ClickEventInfo)
- {
- fSaveNarcInfo("2", "N");
- }
- function group2_switch1_narc_btn_chiefcert_onclick(obj:Button, e:ClickEventInfo)
- {
- fSaveNarcInfo("3", "", "");
- }
- function group2_switch1_narc_btn_chiefcertcncl_onclick(obj:Button, e:ClickEventInfo)
- {
- fSaveNarcInfo("3", "", "Y");
- }
- function group2_switch1_narc_btn_certcncl3_onclick(obj:Button, e:ClickEventInfo)
- {
- fSaveNarcInfo("1", "N", "Y");
- }
- function group2_switch1_narc_btn_trnsincncl3_onclick(obj:Button, e:ClickEventInfo)
- {
- fSaveNarcInfo("2", "N", "Y");
- }
- function group2_switch1_narc_btn_trnsincncl2_onclick(obj:Button, e:ClickEventInfo)
- {
- fSaveNarcInfo("2", "E", "Y");
- }
- function group2_switch1_narc_btn_certcncl2_onclick(obj:Button, e:ClickEventInfo)
- {
- fSaveNarcInfo("1", "E", "Y");
- }
- function group2_switch1_narc_btn_certcncl1_onclick(obj:Button, e:ClickEventInfo)
- {
- fSaveNarcInfo("1", "D", "Y");
- }
- function group2_switch1_narc_btn_trnsincncl1_onclick(obj:Button, e:ClickEventInfo)
- {
- fSaveNarcInfo("2", "D", "Y");
- }
- function group2_switch1_narc_button41_onclick(obj:Button, e:ClickEventInfo)
- {
- group2.switch1.narc.group3.visible = true;
- var narcdd = ds_main_cond_narcinfo.getColumn(0, "workdd");
-
- ds_main_cond_narcinfo.setColumn(0, "prtfromdd", narcdd);
- ds_main_cond_narcinfo.setColumn(0, "prttodd", narcdd);
- }
- function group2_switch1_narc_group3_button42_onclick(obj:Button, e:ClickEventInfo)
- {
- group2.switch1.narc.group3.visible = false;
- dsf_makeValue(ds_send_reqdata,"prtfromdd" ,"string" , group2.switch1.narc.group3.ipt_prtfromdd.value);
- dsf_makeValue(ds_send_reqdata,"prttodd" ,"string" , group2.switch1.narc.group3.ipt_prttodd.value);
-
-
- var oParam = {};
- oParam.id = "TRMNP07407";
- oParam.service = "opanstapp.OpAnstRec";
- oParam.method = "reqGetPrtNarcList";
- oParam.inds = "req=ds_send_reqdata";
- oParam.outds = "ds_temp_prtnarcinfo=prtnarclist";
- oParam.async = false;
- tranf_submit(oParam);
-
- var objDOM = rptf_createDOM(); // DOM 객체 설정
- rptf_setNodeListToDOM(objDOM, "/root/temp/prtnarcinfo/prtnarclist" , ds_temp_prtnarcinfo);
-
- var objParam = new Object();
- objParam.xml_data_XML1 = objDOM.documentElement.source;
-
- var option = "open=1;save=1;directprint=1;printdialog=0;print=1;zoom=1;";
- rptf_exeReportPreview30(["RPMNP07401"],[objParam], option);
- }
- function group2_switch1_narc_group3_button43_onclick(obj:Button, e:ClickEventInfo)
- {
- group2.switch1.narc.group3.visible = false;
- }
- function group2_switch1_onchanged(obj:Tab, e:TabIndexChangeEventInfo)
- {/*
- if(group2.switch1.tabindex == 1){
- ds_main_trnssaveinfo.clearData();
- group2.switch1.trnswork.ipt_trnsdd.value = utlf_getCurrentDate();
- fCalcWorkDate(utlf_getCurrentDate());
- group2.switch1.trnswork.rdo_cdgrupid.value = "001";
- group2.switch1.trnswork.grd_trnslist.setRealColSize(group2.switch1.trnswork.grd_trnslist.getBindCellIndex("body","exprdd"), 0, false);
-
- group2_switch1_trnswork_btn_searchtrns_onclick();
- }
-
- if(group2.switch1.tabindex == 2){
- group2.switch1.repair.ipt_rpirfromdd.value = utlf_getCurrentDate();
- group2.switch1.repair.ipt_rpirtodd.value = utlf_getCurrentDate();
- group2_switch1_repair_btn_searchrpir_onclick()
- }
-
- if(group2.switch1.tabindex == 3){
- group2.switch1.good.ipt_goodfromdd.value = utlf_getCurrentDate();
- group2.switch1.good.ipt_goodtodd.value = utlf_getCurrentDate();
-
- ds_main_goodinfo_goodlist.clearData();
- group2_switch1_good_btn_searchgood_onclick();
- }
-
- if(group2.switch1.tabindex == 4){
- ds_main_trnssaveinfo.clearData();
-
- group2.switch1.trnswork.ipt_trnsdd.value = utlf_getCurrentDate();
- fCalcWorkDate(utlf_getCurrentDate());
- group2.switch1.trnswork.rdo_cdgrupid.value = "002";
- group2.switch1.trnswork.grd_trnslist.setRealColSize(group2.switch1.trnswork.grd_trnslist.getBindCellIndex("body","exprdd") , group2.switch1.trnswork.grd_trnslist.getFormatColProperty(group2.switch1.trnswork.grd_trnslist.getBindCellIndex("body","exprdd"),"size"), false);
-
- group2_switch1_trnswork_btn_searchtrns_onclick();
- }
- */
- }
- function ds_main_cond_repairinfo_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
- {
- if( e.columnid == "chkyn" ){
- obj.setColumn(0, "chkyn", (e.newvalue == "Y" || e.newvalue == 1) ? "Y" : "");
- }
- }
- function group2_switch1_onlbuttondown(obj:Tab, e:TabMouseEventInfo)
- {/*
- if(e.fromreferenceobject.name == "switch1"){
- var sIdx = obj.getIndex(e.clientX, e.canvasY);
- if( sIdx != -1){
- if( e.index == sIdx ){
- obj.tabindex = sIdx;
- frmf_inputEnterKey("group2.switch1", "onchanged", new TabIndexChangeEventInfo);
- }
- }
- }
- */
- }
- function Button_onclick(obj:Button, e:ClickEventInfo)
- {
- lf_btnNoSelect();
- obj.class = "btn_tab_S";
-
- if(obj.name == "button1") group2.switch1.tabindex = 0;
-
- if(obj.name == "btn_trns") {
- group2.switch1.tabindex = 1;
- ds_main_trnssaveinfo.clearData();
- group2.switch1.trnswork.ipt_trnsdd.value = utlf_getCurrentDate();
- fCalcWorkDate(utlf_getCurrentDate());
- group2.switch1.trnswork.rdo_cdgrupid.value = "001";
- group2.switch1.trnswork.grd_trnslist.setRealColSize(group2.switch1.trnswork.grd_trnslist.getBindCellIndex("body","exprdd"), 0, false);
-
- group2_switch1_trnswork_btn_searchtrns_onclick();
-
- }
-
- if(obj.name == "button13") {
- group2.switch1.tabindex = 2;
- group2.switch1.repair.ipt_rpirfromdd.value = utlf_getCurrentDate();
- group2.switch1.repair.ipt_rpirtodd.value = utlf_getCurrentDate();
- group2_switch1_repair_btn_searchrpir_onclick()
-
- }
-
- if(obj.name == "button22") {
- group2.switch1.tabindex = 3;
- group2.switch1.good.ipt_goodfromdd.value = utlf_getCurrentDate();
- group2.switch1.good.ipt_goodtodd.value = utlf_getCurrentDate();
-
- ds_main_goodinfo_goodlist.clearData();
- group2_switch1_good_btn_searchgood_onclick();
- }
-
- if(obj.name == "button30") {
- group2.switch1.tabindex = 1;
- ds_main_trnssaveinfo.clearData();
-
- group2.switch1.trnswork.ipt_trnsdd.value = utlf_getCurrentDate();
- fCalcWorkDate(utlf_getCurrentDate());
- group2.switch1.trnswork.rdo_cdgrupid.value = "002";
- group2.switch1.trnswork.grd_trnslist.setRealColSize(group2.switch1.trnswork.grd_trnslist.getBindCellIndex("body","exprdd") , group2.switch1.trnswork.grd_trnslist.getFormatColProperty(group2.switch1.trnswork.grd_trnslist.getBindCellIndex("body","exprdd"),"size"), false);
-
- group2_switch1_trnswork_btn_searchtrns_onclick();
- }
- }
- function lf_btnNoSelect() {
- group2.button1.class = "btn_tab";
- group2.btn_trns.class = "btn_tab";
- group2.button13.class = "btn_tab";
- group2.button22.class = "btn_tab";
- group2.button30.class = "btn_tab";
- }
- var lastrow3 = -1;
- var lastcol3 = -1;
- var bDrop3 = false;
- function group2_switch1_good_grd_goodlist_oncellclick(obj:Grid, e:GridClickEventInfo)
- {
- lastrow3 = -1;
- lastcol3 = -1;
- grdf_controlGridCalendar(obj, e);
- }
- function group2_switch1_good_grd_goodlist_oncloseup(obj:Grid, e:GridEditEventInfo)
- {
- var dsGridBind = eval(obj.binddataset);
- var preVal = utlf_transNullToEmpty(dsGridBind.getColumn(e.row, e.col));
- var posVal = utlf_transNullToEmpty(e.value);
-
- if( bDrop3 == true && (!utlf_isNull(posVal) || preVal != posVal) ){
- obj.showEditor(false);
- }
-
- bDrop3 = false;
- lastrow3 = e.row;
- lastcol3 = e.col;
- }
- function group2_switch1_good_grd_goodlist_onlbuttonup(obj:Grid, e:GridMouseEventInfo)
- {
- grdf_setSelectedCell(obj, e);
-
- var dsGridBind = eval(obj.binddataset);
-
- // Combo DropDown Click 처리
- obj.autoenter = "select";
-
- if( e.fromreferenceobject.name == "dropbutton" ){
- bDrop3 = true;
- }
- if( e.row > -1 && obj.getCellProperty("body", e.col, "edittype") == "combo" ){
- // Combo 선택시 활성화 및 combodatacol 변경
- if( grdf_getSelectedCols(obj).length == 0 && grdf_getSelectedRows(obj).length == 0 && obj.getEditText() == undefined ){
- obj.showEditor(true);
- }else{
- if(!obj.isDropdownCombo() && (lastrow3 != e.row || lastcol3 != e.col)) {
- obj.setCellPos(e.col);
- dsGridBind.rowposition = e.row;
- obj.showEditor(true);
- if(bDrop3) {
- obj.dropdownCombo();
- }
- }
- }
- }else{
- obj.autoenter = "select";
- }
- }
- ]]></Script>
- </Form>
- </FDL>
|