1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMMNN03000" position="absolute 0 0 1163 753" titletext="분만실 인계" oninit="SMMNN03000_oninit" onload="SMMNN03000_onload">
- <Layouts>
- <Layout>
- <Static id="caption6" text="분만실 인계" class="tit_1" position="absolute 0 0 120 25"/>
- <Tab id="switch1" taborder="1" tabindex="0" position="absolute 0 40 1161 751" class="tab_Normal">
- <Tabpages>
- <Tabpage id="board" text="분만실 게시판">
- <Layouts>
- <Layout>
- <Div id="import3" taborder="0" url="SMMNN03100_분만실게시판.xfdl" position="absolute 190 5 970 693"/>
- </Layout>
- </Layouts>
- </Tabpage>
- <Tabpage id="chklist" text="업무 체크리스트">
- <Layouts>
- <Layout>
- <Button id="btn_baseinfo" taborder="1" text="기준자료관리" class="btn2" position="absolute 1070 40 1156 59"/>
- <Grid id="grd_chk1" taborder="2" binddataset="ds_grd_chk1" useinputpanel="false" position="absolute 5 118 385 548">
- <Formats>
- <Format id="default">
- <Columns>
- <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 text="Day 업무"/>
- <Cell col="1" text="시행"/>
- <Cell col="2" text="chkid"/>
- <Cell col="3" text="dutycd"/>
- <Cell col="4" text="workdd"/>
- <Cell col="5" text="caption2"/>
- <Cell col="6" text="caption1"/>
- <Cell col="7"/>
- </Band>
- <Band id="body">
- <Cell text="bind:chknm"/>
- <Cell col="1" text="bind:chkyn" edittype="checkbox" displaytype="checkbox"/>
- <Cell col="2" text="bind:chkid"/>
- <Cell col="3" text="bind:dutycd"/>
- <Cell col="4" text="bind:workdd"/>
- <Cell col="5" text="bind:gubn"/>
- <Cell col="6" text="bind:dutynm"/>
- <Cell col="7" text="bind:lastupdtrid"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Grid id="grd_savedutylist" class="datagrid" taborder="3" binddataset="ds_grd_savedutylist" useinputpanel="false" visible="false" position="absolute 505 0 605 100">
- <Formats>
- <Format id="default">
- <Columns>
- <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 text="Day"/>
- <Cell col="1" text="확인"/>
- <Cell col="2" text="chkid"/>
- <Cell col="3" text="dutycd"/>
- <Cell col="4" text="workdd"/>
- <Cell col="5" text="caption2"/>
- <Cell col="6" text="dutynm"/>
- <Cell col="7" text="caption1"/>
- </Band>
- <Band id="body">
- <Cell text="bind:chknm"/>
- <Cell col="1" text="bind:chkyn" edittype="checkbox" displaytype="checkbox"/>
- <Cell col="2" text="bind:chkid"/>
- <Cell col="3" text="bind:dutycd"/>
- <Cell col="4" text="bind:workdd"/>
- <Cell col="5" text="bind:gubn"/>
- <Cell col="6" text="bind:dutynm"/>
- <Cell col="7" text="bind:lastupdtrid"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Grid id="grd_chk2" taborder="4" binddataset="ds_grd_chk2" useinputpanel="false" position="absolute 390 118 770 548">
- <Formats>
- <Format id="default">
- <Columns>
- <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 text="Evening 업무"/>
- <Cell col="1" text="시행"/>
- <Cell col="2" text="chkid"/>
- <Cell col="3" text="dutycd"/>
- <Cell col="4" text="workdd"/>
- <Cell col="5" text="caption2"/>
- <Cell col="6" text="caption1"/>
- <Cell col="7"/>
- </Band>
- <Band id="body">
- <Cell text="bind:chknm"/>
- <Cell col="1" text="bind:chkyn" edittype="checkbox" displaytype="checkbox"/>
- <Cell col="2" text="bind:chkid"/>
- <Cell col="3" text="bind:dutycd"/>
- <Cell col="4" text="bind:workdd"/>
- <Cell col="5" text="bind:gubn"/>
- <Cell col="6" text="bind:dutynm"/>
- <Cell col="7" text="bind:lastupdtrid"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Grid id="grd_chk3" taborder="5" binddataset="ds_grd_chk3" useinputpanel="false" position="absolute 774 118 1155 548">
- <Formats>
- <Format id="default">
- <Columns>
- <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 text="Night 업무"/>
- <Cell col="1" text="시행"/>
- <Cell col="2" text="chkid"/>
- <Cell col="3" text="dutycd"/>
- <Cell col="4" text="workdd"/>
- <Cell col="5" text="caption2"/>
- <Cell col="6" text="caption1"/>
- <Cell col="7"/>
- </Band>
- <Band id="body">
- <Cell text="bind:chknm"/>
- <Cell col="1" text="bind:chkyn" edittype="checkbox" displaytype="checkbox"/>
- <Cell col="2" text="bind:chkid"/>
- <Cell col="3" text="bind:dutycd"/>
- <Cell col="4" text="bind:workdd"/>
- <Cell col="5" text="bind:gubn"/>
- <Cell col="6" text="bind:dutynm"/>
- <Cell col="7" text="bind:lastupdtrid"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Shape id="roundrect5" type="roundrectangle" position="absolute 6 10 410 37"/>
- <Button id="button6" taborder="6" text="조회" class="btn1" position="absolute 345 13 401 35"/>
- <Button id="button9" taborder="7" text="저장" class="btn5" position="absolute 270 121 312 140"/>
- <Static id="cap_workweek" position="absolute 196 14 216 31"/>
- <Static id="caption4" text="업무일자 :" class="search_name" position="absolute 15 14 111 31"/>
- <Static id="caption14" text="요일" position="absolute 215 13 255 33"/>
- <Static id="caption15" text="caption15" visible="false" position="absolute 670 5 770 25"/>
- <Button id="button21" taborder="8" text="출력" class="btn1" visible="false" position="absolute 910 20 966 42"/>
- <TextArea id="textarea1" taborder="9" position="absolute 61 66 385 116"/>
- <Static id="caption16" text="근무자" class="cell_1" position="absolute 5 65 59 117"/>
- <TextArea id="textarea2" taborder="10" position="absolute 446 66 770 116"/>
- <Static id="caption17" text="근무자" class="cell_1" position="absolute 390 65 444 117"/>
- <TextArea id="textarea3" taborder="11" position="absolute 830 66 1155 116"/>
- <Static id="caption18" text="근무자" class="cell_1" position="absolute 774 65 828 117"/>
- <Calendar id="ipt_workdd" taborder="12" class="input_search" position="absolute 105 14 193 33" mask="yyyy-mm-dd"/>
- <Shape id="line2" linetype="horizontal" class="line_10" position="absolute 5 60 385 66"/>
- <Static id="caption8" text="Day" class="tit_2" position="absolute 5 44 71 60"/>
- <Shape id="line1" linetype="horizontal" class="line_10" position="absolute 390 60 770 66"/>
- <Static id="caption1" text="Evening" class="tit_2" position="absolute 390 44 472 60"/>
- <Static id="caption2" text="Night" class="tit_2" position="absolute 774 44 842 60"/>
- <Shape id="line3" linetype="horizontal" class="line_10" position="absolute 774 60 1155 66"/>
- <Button id="button3" taborder="13" text="저장" class="btn5" position="absolute 655 121 697 140"/>
- <Button id="button4" taborder="14" text="저장" class="btn5" position="absolute 1040 121 1082 140"/>
- <Static id="caption3" text="비고" class="cell_1" position="absolute 5 550 385 570"/>
- <Static id="caption5" text="비고" class="cell_1" position="absolute 390 550 770 570"/>
- <Static id="caption7" text="비고" class="cell_1" position="absolute 775 550 1155 570"/>
- <TextArea id="tar_chk1" taborder="15" position="absolute 5 571 385 636"/>
- <TextArea id="tar_chk2" taborder="16" position="absolute 390 571 770 636"/>
- <TextArea id="tar_chk3" taborder="17" position="absolute 775 571 1155 636"/>
- <Static id="caption9" text="수간호사 확인:" position="absolute 960 660 1050 680"/>
- <Edit id="ipt_chiefnm" taborder="18" position="absolute 1050 660 1115 679"/>
- <Static id="caption10" text="확인자 :" position="absolute 235 637 295 657"/>
- <Edit id="ipt_cert1" taborder="19" position="absolute 290 638 385 657"/>
- <Edit id="ipt_cert2" taborder="20" position="absolute 675 638 770 657"/>
- <Edit id="ipt_cert3" taborder="21" position="absolute 1060 638 1155 657"/>
- <Static id="caption11" text="확인자 :" position="absolute 620 639 680 659"/>
- <Static id="caption13" text="확인자 :" position="absolute 1005 639 1065 659"/>
- <Edit id="ipt_certid1" taborder="22" visible="false" position="absolute 135 638 230 657"/>
- <Edit id="ipt_certid2" taborder="23" visible="false" position="absolute 515 638 610 657"/>
- <Edit id="ipt_certid3" taborder="24" visible="false" position="absolute 905 638 1000 657"/>
- <Edit id="ipt_chiefid" taborder="25" visible="false" position="absolute 870 658 935 677"/>
- <Button id="btn_cert" taborder="26" text="확인" class="btn5" position="absolute 1117 660 1159 679"/>
- <Button id="button38" taborder="27" text="오늘" class="btn2_letter2" position="absolute 290 14 332 33"/>
- <Button id="button39" taborder="28" text="어제" class="btn2_letter2" position="absolute 245 14 287 33"/>
- </Layout>
- </Layouts>
- </Tabpage>
- <Tabpage id="trnswork" text="물품 인계대장">
- <Layouts>
- <Layout>
- <Div id="grp_srch" taborder="15" position="absolute 1 1 1160 41" class="div_SA2"/>
- <Grid id="grd_trnssaveinfo" taborder="1" binddataset="ds_main_trnssaveinfo" useinputpanel="false" visible="false" position="absolute 565 43 915 193">
- <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>
- <Button id="btn_searchtrns" taborder="2" text="조회" class="btn1" position="absolute 1030 9 1086 31" onclick="switch1_trnswork_btn_searchtrns_onclick"/>
- <Calendar id="ipt_trnsdd" taborder="3" class="input_search" position="absolute 120 11 208 30" mask="yyyy-mm-dd" autoselect="true" onchanged="switch1_trnswork_ipt_trnsdd_onchanged"/>
- <Static id="caption20" text="업무일자 :" class="search_name" position="absolute 15 12 111 29"/>
- <Grid id="grd_trnslist" taborder="4" binddataset="ds_main_trnsinfo_trnslist" useinputpanel="false" position="absolute 1 69 1160 695" onheadclick="switch1_trnswork_grd_trnslist_onheadclick" selecttype="multirow" scrollpixel="all" autoenter="key" cellsizingtype="both" extendsizetype="row" onkeydown="switch1_trnswork_grd_trnslist_onkeydown">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="25" band="left"/>
- <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" taborder="undefined"/>
- <Cell col="1" rowspan="2" text="물품코드" taborder="undefined"/>
- <Cell col="2" rowspan="2" text="물품" taborder="undefined"/>
- <Cell col="3" rowspan="2" text="유효기간" taborder="undefined"/>
- <Cell col="4" rowspan="2" text="보유량" taborder="undefined"/>
- <Cell col="5" colspan="4" taborder="undefined"/>
- <Cell col="9" colspan="4" taborder="undefined"/>
- <Cell col="13" colspan="4" taborder="undefined"/>
- <Cell col="17" colspan="4" taborder="undefined"/>
- <Cell col="21" colspan="4" taborder="undefined"/>
- <Cell col="25" colspan="4" taborder="undefined"/>
- <Cell col="29" colspan="4" taborder="undefined"/>
- <Cell col="33" rowspan="2" text="비고" taborder="undefined"/>
- <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" displaytype="text" style="align:left top;padding:5 2 1 2;background:EXPR(cdid == '999999' ? '#eeffee' : '');background2:EXPR(cdid == '999999' ? '#eeffee' : '');font:Dotum,9,bold;" text="bind:cdnm" wordwrap="char"/>
- <Cell col="3" style="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="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" 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" 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" 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" 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" 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" 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" style="background:EXPR(cdid == '999999' ? '#eeffee' : qty != ? '#ffff00' : '');" text="bind:day7"/>
- <Cell col="33" displaytype="text" edittype="text" style="background:EXPR(cdid == '999999' ? '#eeffee' : '');background2:EXPR(cdid == '999999' ? '#eeffee' : '');" text="bind:cmt" editautoselect="true"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Static id="caption21" text="물품인계내역" class="tit_2" position="absolute 1 48 125 66"/>
- <Shape id="line4" linetype="horizontal" class="line_10" position="absolute 1 64 1160 70"/>
- <Static id="caption22" text="조회기간 :" class="search_name" position="absolute 260 12 357 29"/>
- <Calendar id="ipt_trnfrdd" taborder="5" class="input_search" enable="false" position="absolute 350 10 438 29" autoselect="true"/>
- <Calendar id="ipt_trntodd" taborder="6" class="input_search" enable="false" position="absolute 450 10 538 29" autoselect="true"/>
- <Static id="caption23" text="~" position="absolute 440 10 453 30"/>
- <Button id="button5" taborder="7" text="저장" class="btn5" visible="false" position="absolute 1115 44 1157 64" onclick="switch1_trnswork_button5_onclick"/>
- <Button id="button7" taborder="8" text="기준자료" class="btn2" position="absolute 1050 44 1114 64" onclick="switch1_trnswork_button7_onclick"/>
- <Button id="button10" taborder="9" text="저장" class="btn5" position="absolute 1115 44 1157 64" onclick="switch1_trnswork_button10_onclick"/>
- <Radio id="rdo_cdgrupid" taborder="10" columncount="4" rowcount="0" codecolumn="codecolumn" datacolumn="datacolumn" visible="false" position="absolute 629 12 914 28" onitemchanged="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 id="caption24" text="구 분 :" class="search_name" visible="false" position="absolute 550 12 647 29"/>
- <Button id="button11" taborder="11" class="icon_next" position="absolute 210 13 223 29" onclick="switch1_trnswork_button11_onclick"/>
- <Button id="button12" taborder="12" class="icon_pre" position="absolute 106 13 119 29" onclick="switch1_trnswork_button12_onclick"/>
- <Div id="grp_duty" taborder="13" visible="false" position="absolute 890 75 1130 125" style="background:#87cefaff;">
- <Layouts>
- <Layout>
- <Static id="caption33" text="확인할 Duty를 선택하십시오." class="search_name" position="absolute 8 5 204 20"/>
- <Button id="bnt_patlabel_nm" taborder="23" text="확인" class="btn5" position="absolute 150 24 192 44" onclick="switch1_trnswork_grp_duty_bnt_patlabel_nm_onclick"/>
- <Button id="button27" taborder="24" text="취소" class="btn5" position="absolute 193 24 235 44" onclick="switch1_trnswork_grp_duty_button27_onclick"/>
- <Radio id="rdo_dutyflag" taborder="25" columncount="-1" rowcount="-1" codecolumn="codecolumn" datacolumn="datacolumn" position="absolute 6 25 144 42" index="-1" style="textpadding:0 3 0 3;">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn"/>
- <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 id="button18" taborder="14" text="엑셀" class="btn7" position="absolute 1090 9 1146 31" onclick="switch1_trnswork_button18_onclick"/>
- <Shape id="line11" class="line_4" position="absolute 1019 10 1025 31" linetype="vertical"/>
- </Layout>
- </Layouts>
- </Tabpage>
- <Tabpage id="repair" text="장비수리">
- <Layouts>
- <Layout>
- <Div id="grp_srch" taborder="7" position="absolute 1 1 1160 41" class="div_SA2"/>
- <Grid id="grd_repairlist" taborder="1" binddataset="ds_main_repairinfo_repairlist" useinputpanel="false" position="absolute 1 70 1160 695">
- <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" text="bind:genrdd" mask="expr:utlf_isNull(genrdd) || genrdd == '-' ? '' : '####-##-##'"/>
- <Cell col="2" text="bind:fixasetcd"/>
- <Cell col="3" displaytype="text" text="bind:goodflagengnm"/>
- <Cell col="4" text="bind:goodspec"/>
- <Cell col="5" text="bind:possndd" mask="expr:utlf_isNull(possndd) || possndd == '-' ? '' : '####-##-##'"/>
- <Cell col="6" displaytype="text" text="bind:hdrncspec"/>
- <Cell col="7" text="bind:execdeptnm"/>
- <Cell col="8" text="bind:fstrgstrnm"/>
- <Cell col="9" text="bind:rpirenddd" mask="expr:utlf_isNull(rpirenddd) || rpirenddd == '-' ? '' : '####-##-##'"/>
- <Cell col="10" text="bind:workstatnm"/>
- <Cell col="11" displaytype="text" text="bind:lastrpirrslt"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Button id="btn_searchrpir" taborder="2" text="조회" class="btn1" position="absolute 1030 9 1086 31" onclick="switch1_repair_btn_searchrpir_onclick"/>
- <Shape id="line7" class="line_4" position="absolute 1019 9 1025 30" linetype="vertical"/>
- <Static id="caption30" text="~" position="absolute 200 11 213 31"/>
- <Calendar id="ipt_rpirfromdd" taborder="3" class="input_search" position="absolute 110 11 198 30" dateformat="yyyy-MM-dd" value="null"/>
- <Calendar id="ipt_rpirtodd" taborder="4" class="input_search" position="absolute 210 11 298 30" dateformat="yyyy-MM-dd"/>
- <Static id="caption29" text="조회기간 :" class="search_name" position="absolute 20 13 101 30"/>
- <Static id="caption31" text="장비수리내역" class="tit_2" position="absolute 1 49 125 71"/>
- <Shape id="line8" linetype="horizontal" class="line_10" position="absolute 1 65 1160 71"/>
- <CheckBox id="checkbox1" taborder="5" position="absolute 301 11 401 31" text="완료제외" truevalue="Y" onclick="switch1_repair_checkbox1_onclick"/>
- <Button id="button19" taborder="6" text="엑셀" class="btn7" position="absolute 1090 9 1146 31" onclick="switch1_repair_button19_onclick"/>
- </Layout>
- </Layouts>
- </Tabpage>
- <Tabpage id="good" text="물품수리">
- <Layouts>
- <Layout>
- <Div id="grp_srch" taborder="10" class="div_SA2" position="absolute 1 1 1160 41"/>
- <Shape id="line9" linetype="horizontal" class="line_10" position="absolute 1 65 1160 71"/>
- <Static id="caption12" text="~" position="absolute 200 11 213 31"/>
- <Static id="caption19" text="물품수리내역" class="tit_2" position="absolute 1 49 125 71"/>
- <Calendar id="ipt_goodtodd" taborder="1" class="input_search" position="absolute 210 11 298 30" dateformat="yyyy-MM-dd"/>
- <Calendar id="ipt_goodfromdd" taborder="2" class="input_search" position="absolute 110 11 198 30" dateformat="yyyy-MM-dd" value="null"/>
- <Button id="btn_searchgood" taborder="3" text="조회" class="btn1" position="absolute 1030 9 1086 31" onclick="switch1_good_btn_searchgood_onclick"/>
- <Static id="caption32" text="조회기간 :" class="search_name" position="absolute 20 13 109 30"/>
- <Shape id="line10" linetype="vertical" class="line_4" position="absolute 1019 10 1025 31"/>
- <Grid id="grd_goodlist" class="datagrid2" taborder="4" binddataset="ds_main_goodinfo_goodlist" useinputpanel="false" position="absolute 1 70 1160 696">
- <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"/>
- </Columns>
- <Rows>
- <Row size="30" 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"/>
- </Band>
- <Band id="body">
- <Cell celltype="head"/>
- <Cell col="1" displaytype="date" edittype="date" text="bind:gnrldd"/>
- <Cell col="2" text="bind:goodcd"/>
- <Cell col="3" displaytype="text" text="bind:goodnm"/>
- <Cell col="4" text="bind:safestocqty"/>
- <Cell col="5" displaytype="text" edittype="text" text="bind:qty"/>
- <Cell col="6" displaytype="combo" edittype="combo" text="bind:rpirflag" combodataset="ds_cmb_rpirflag" combocodecol="value" combodatacol="label"/>
- <Cell col="7" text="bind:fstrgstrnm"/>
- <Cell col="8" displaytype="combo" edittype="combo" text="bind:sendyn" combodataset="ds_cmb_sendyn" combocodecol="value" combodatacol="label"/>
- <Cell col="9" displaytype="combo" edittype="combo" text="bind:rsltflag" combodataset="ds_cmb_rsltflag" combocodecol="value" combodatacol="label"/>
- <Cell col="10" displaytype="date" edittype="date" text="bind:enddd"/>
- <Cell col="11" text="bind:certnm"/>
- <Cell col="12" text="bind:certid"/>
- <Cell col="13" displaytype="text" edittype="text" text="bind:cmt"/>
- <Cell col="14" text="bind:seqno"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Button id="button23" taborder="5" text="추가" class="btn2" position="absolute 1030 45 1072 65" onclick="switch1_good_button23_onclick"/>
- <Button id="button24" taborder="6" text="삭제" class="btn2" position="absolute 1073 45 1115 65" onclick="switch1_good_button24_onclick"/>
- <Button id="button25" taborder="7" text="저장" class="btn5" position="absolute 1116 45 1158 65" onclick="switch1_good_button25_onclick"/>
- <Button id="button20" taborder="8" text="엑셀" class="btn7" position="absolute 1090 9 1146 31" onclick="switch1_good_button20_onclick"/>
- <Static id="caption53" text="조회기간 :" class="search_name" position="absolute 330 13 403 30"/>
- <Radio id="radio3" taborder="9" columncount="3" rowcount="0" codecolumn="codecolumn" datacolumn="datacolumn" position="absolute 406 12 585 28">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn"/>
- <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 id="narc">
- <Layouts>
- <Layout>
- <Shape id="roundrect7" type="roundrectangle" position="absolute 6 10 410 37"/>
- <Button id="button40" taborder="1" text="조회" class="btn1" position="absolute 345 13 401 35"/>
- <Calendar id="ipt_narcdd" taborder="2" class="input_search" position="absolute 105 14 193 33" mask="yyyy-mm-dd"/>
- <Static id="caption42" text="업무일자 :" class="search_name" position="absolute 15 14 111 31"/>
- <Static id="caption43" text="요일" position="absolute 215 13 255 33"/>
- <Static id="cap_narcweek" position="absolute 196 14 216 31"/>
- <Button id="button37" taborder="3" text="어제" class="btn2_letter2" position="absolute 245 14 287 33"/>
- <Button id="button36" taborder="4" text="오늘" class="btn2_letter2" position="absolute 290 14 332 33"/>
- <Grid id="grd_narclist1" class="datagrid2" taborder="5" binddataset="ds_grd_narclist1" useinputpanel="false" position="absolute 0 65 385 600">
- <Formats>
- <Format id="default">
- <Columns>
- <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 text="처방명"/>
- <Cell col="1" text="유효일자"/>
- <Cell col="2" text="수량"/>
- <Cell col="3" text="현량"/>
- <Cell col="4" text="처방"/>
- <Cell col="5" text="caption3"/>
- <Cell col="6" text="caption1"/>
- <Cell col="7" text="caption2"/>
- </Band>
- <Band id="body">
- <Cell text="bind:cdnm"/>
- <Cell col="1" text="bind:exprdd" mask="yyyy-mm-dd"/>
- <Cell col="2" text="bind:qty"/>
- <Cell col="3" text="bind:curqty" edittype="text" displaytype="text" mask="#,###"/>
- <Cell col="4" text="bind:prcpqty" edittype="text" displaytype="text"/>
- <Cell col="5" text="bind:workdd"/>
- <Cell col="6" text="bind:cdid"/>
- <Cell col="7" text="bind:dutycd"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Shape id="line14" linetype="horizontal" class="line_1" position="absolute 0 57 385 63"/>
- <Static id="caption41" text="Day" class="tit_2" position="absolute 5 46 55 59"/>
- <Static id="caption44" text="Evening" class="tit_2" position="absolute 395 46 461 59"/>
- <Shape id="line15" linetype="horizontal" class="line_1" position="absolute 390 57 775 63"/>
- <Static id="caption45" text="Night" class="tit_2" position="absolute 785 46 837 60"/>
- <Shape id="line16" linetype="horizontal" class="line_1" position="absolute 780 57 1160 63"/>
- <Grid id="grd_narclist3" class="datagrid2" taborder="6" binddataset="ds_grd_narclist3" useinputpanel="false" position="absolute 780 65 1160 600">
- <Formats>
- <Format id="default">
- <Columns>
- <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 text="처방명"/>
- <Cell col="1" text="유효일자"/>
- <Cell col="2" text="수량"/>
- <Cell col="3" text="현량"/>
- <Cell col="4" text="처방"/>
- <Cell col="5" text="caption3"/>
- <Cell col="6" text="caption1"/>
- <Cell col="7" text="caption2"/>
- </Band>
- <Band id="body">
- <Cell text="bind:cdnm"/>
- <Cell col="1" text="bind:exprdd" mask="yyyy-mm-dd"/>
- <Cell col="2" text="bind:qty"/>
- <Cell col="3" text="bind:curqty" edittype="text" displaytype="text" mask="#,###"/>
- <Cell col="4" text="bind:prcpqty" edittype="text" displaytype="text"/>
- <Cell col="5" text="bind:workdd"/>
- <Cell col="6" text="bind:cdid"/>
- <Cell col="7" text="bind:dutycd"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Grid id="grd_narclist2" class="datagrid2" taborder="7" binddataset="ds_grd_narclist2" useinputpanel="false" position="absolute 390 65 775 600">
- <Formats>
- <Format id="default">
- <Columns>
- <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 text="처방명"/>
- <Cell col="1" text="유효일자"/>
- <Cell col="2" text="수량"/>
- <Cell col="3" text="현량"/>
- <Cell col="4" text="처방"/>
- <Cell col="5" text="caption3"/>
- <Cell col="6" text="caption1"/>
- <Cell col="7" text="caption2"/>
- </Band>
- <Band id="body">
- <Cell text="bind:cdnm"/>
- <Cell col="1" text="bind:exprdd" mask="yyyy-mm-dd"/>
- <Cell col="2" text="bind:qty"/>
- <Cell col="3" text="bind:curqty" edittype="text" displaytype="text" mask="#,###"/>
- <Cell col="4" text="bind:prcpqty" edittype="text" displaytype="text"/>
- <Cell col="5" text="bind:workdd" edittype="text" displaytype="text"/>
- <Cell col="6" text="bind:cdid"/>
- <Cell col="7" text="bind:dutycd"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Radio id="rdo_nacgrup" taborder="8" columncount="4" rowcount="0" codecolumn="codecolumn" datacolumn="datacolumn" visible="false" position="absolute 415 25 660 40">
- <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 id="btn_narccert1" taborder="9" text="저장" class="btn5" position="absolute 343 40 385 59"/>
- <Button id="btn_narccert2" taborder="10" text="저장" class="btn5" position="absolute 733 40 775 59"/>
- <Button id="btn_narccert3" taborder="11" text="저장" class="btn5" position="absolute 1118 40 1160 59"/>
- <Static id="caption46" text="인계자 :" position="absolute 122 605 184 625"/>
- <Static id="caption47" text="인수자 :" position="absolute 122 628 182 648"/>
- <Edit id="output1" taborder="12" readonly="true" position="absolute 180 605 255 624"/>
- <Button id="btn_cert1" taborder="13" text="인계확인" class="btn5" position="absolute 257 604 321 623"/>
- <Button id="btn_trnsin1" taborder="14" text="인수확인" class="btn5" position="absolute 257 628 321 647"/>
- <Edit id="output2" taborder="15" readonly="true" position="absolute 180 628 255 647"/>
- <Static id="caption48" text="인계자 :" position="absolute 512 605 574 625"/>
- <Static id="caption49" text="인수자 :" position="absolute 512 628 572 648"/>
- <Button id="btn_cert2" taborder="16" text="인계확인" class="btn5" position="absolute 647 604 711 623"/>
- <Button id="btn_trnsin2" taborder="17" text="인수확인" class="btn5" position="absolute 647 628 711 647"/>
- <Edit id="output3" taborder="18" readonly="true" position="absolute 570 605 645 624"/>
- <Edit id="output4" taborder="19" readonly="true" position="absolute 570 628 645 647"/>
- <Edit id="output5" taborder="20" readonly="true" position="absolute 952 630 1027 649"/>
- <Static id="caption50" text="인계자 :" position="absolute 894 607 956 627"/>
- <Static id="caption51" text="인수자 :" position="absolute 894 630 954 650"/>
- <Button id="btn_cert3" taborder="21" text="인계확인" class="btn5" position="absolute 1029 606 1093 625"/>
- <Edit id="output6" taborder="22" readonly="true" position="absolute 952 607 1027 626"/>
- <Button id="btn_trnsin3" taborder="23" text="인수확인" class="btn5" position="absolute 1029 630 1093 649"/>
- <Shape id="line17" linetype="horizontal" class="line_2" position="absolute 0 652 1160 658"/>
- <Static id="caption52" text="수간호사 :" position="absolute 840 670 909 690"/>
- <Edit id="opt_cheifcertnm" taborder="24" readonly="true" position="absolute 910 670 985 689"/>
- <Button id="btn_chiefcert" taborder="25" text="수간호사확인" class="btn5" position="absolute 987 670 1073 689"/>
- <Button id="btn_chiefcertcncl" taborder="26" text="수간호사취소" class="btn5" position="absolute 1075 670 1161 689"/>
- <Button id="btn_certcncl3" taborder="27" text="인계취소" class="btn5" position="absolute 1095 605 1159 624"/>
- <Button id="btn_trnsincncl3" taborder="28" text="인수취소" class="btn5" position="absolute 1095 629 1159 648"/>
- <Button id="btn_trnsincncl2" taborder="29" text="인수취소" class="btn5" position="absolute 713 628 777 647"/>
- <Button id="btn_certcncl2" taborder="30" text="인계취소" class="btn5" position="absolute 713 604 777 623"/>
- <Button id="btn_certcncl1" taborder="31" text="인계취소" class="btn5" position="absolute 325 604 389 623"/>
- <Button id="btn_trnsincncl1" taborder="32" text="인수취소" class="btn5" position="absolute 325 628 389 647"/>
- <Button id="button41" taborder="33" text="출력" class="btn4" position="absolute 1100 10 1156 32"/>
- <Div id="group3" taborder="34" visible="false" position="absolute 935 40 1140 111">
- <Layouts>
- <Layout>
- <Calendar id="ipt_prtfromdd" taborder="1" position="absolute 5 25 95 44"/>
- <Calendar id="ipt_prttodd" taborder="2" position="absolute 110 25 200 44"/>
- <Static id="caption54" text="* 출력기간을 선택하십시오." position="absolute 5 5 180 25"/>
- <Button id="button42" taborder="3" text="확인" class="btn5" position="absolute 115 50 157 69"/>
- <Button id="button43" taborder="4" text="취소" class="btn2_letter2" position="absolute 160 50 202 69"/>
- </Layout>
- </Layouts>
- </Div>
- <Static id="caption55" text="마약인계 출력물은 저장된 내역에 한해서만 출력이 됩니다." position="absolute 780 10 1098 30"/>
- </Layout>
- </Layouts>
- </Tabpage>
- </Tabpages>
- </Tab>
- <Button id="button1" taborder="2" onclick="Button_onclick" class="btn_tab_S" visible="true" position="absolute 0 30 92 54" text="분만실 게시판"/>
- <Button id="button2" taborder="3" text="업무 체크리스트" onclick="Button_onclick" class="btn_tab" visible="false" position="absolute 525 30 629 54"/>
- <Button id="btn_trns" taborder="4" text="물품 인계대장" onclick="Button_onclick" class="btn_tab" visible="true" position="absolute 93 30 185 54"/>
- <Button id="button13" taborder="5" text="장비수리" onclick="Button_onclick" class="btn_tab" visible="true" position="absolute 186 30 258 54"/>
- <Button id="button22" taborder="6" text="물품수리" onclick="Button_onclick" class="btn_tab" visible="true" position="absolute 259 30 331 54"/>
- <Button id="button30" taborder="7" text="약품관리" onclick="Button_onclick" class="btn_tab" position="absolute 332 30 404 54"/>
- <Button id="button26" taborder="8" text="응급처방물품관리" onclick="Button_onclick" class="btn_tab" visible="false" position="absolute 630 30 734 54"/>
- <Shape id="line02" class="line_10" position="absolute 0 51 1161 57"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_main_pcainfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="pcalist" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="pcalist"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_cond_goodinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <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_hidden" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="hidden" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="hidden"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_chklists" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="dutylist1" type="STRING" size="256"/>
- <Column id="dutylist2" type="STRING" size="256"/>
- <Column id="dutylist3" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="dutylist1"/>
- <Col id="dutylist2"/>
- <Col id="dutylist3"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_code" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="codeinfo" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codeinfo"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_cond_trnsinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <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">01</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_temp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="prtnarcinfo" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="prtnarcinfo"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_cond_chklist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <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_chksaveinfo_dutychkinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="dutylist" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="dutylist"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_trnsinfo_trnslist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep" oncolumnchanged="ds_main_trnsinfo_trnslist_oncolumnchanged">
- <ColumnInfo>
- <Column id="trnslist" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="trnslist"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_cond_pcainfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <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="keep">
- <ColumnInfo>
- <Column id="fromdd" type="STRING" size="256"/>
- <Column id="todd" type="STRING" size="256"/>
- <Column id="chkyn" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="fromdd"/>
- <Col id="todd"/>
- <Col id="chkyn"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_cond_erprcpinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <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_mnwmcode" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="mnwmcode" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="mnwmcode"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_chksaveinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo/>
- </Dataset>
- <Dataset id="ds_main_erprcpinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="erdruglist" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="erdruglist"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_narcinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="narclist1" type="STRING" size="256"/>
- <Column id="narclist2" type="STRING" size="256"/>
- <Column id="narclist3" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="narclist1"/>
- <Col id="narclist2"/>
- <Col id="narclist3"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_pcainfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="pcalist" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="pcalist"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo/>
- </Dataset>
- <Dataset id="ds_main_cond_narcinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <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_goodinfo_goodlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep" oncolumnchanged="ds_main_goodinfo_goodlist_oncolumnchanged"/>
- <Dataset id="ds_main_repairinfo_repairlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep"/>
- <Dataset id="ds_prtemp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="chklistsprt" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="chklistsprt"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="send" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="send"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_cond" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo/>
- </Dataset>
- <Dataset id="ds_main_dutytable" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <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_codelist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_main_trnssaveinfo" 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="cdid" type="STRING" size="256"/>
- <Column id="dutycd" type="STRING" size="256"/>
- <Column id="qty" type="STRING" size="256"/>
- <Column id="recflag" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_cmb_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_cmb_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_cmb_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>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="switch1.trnswork.ipt_trnsdd" propid="value" datasetid="ds_main_cond_trnsinfo" columnid="workdd"/>
- <BindItem id="item1" compid="switch1.trnswork.ipt_trnfrdd" propid="value" datasetid="ds_main_cond_trnsinfo" columnid="fromdd"/>
- <BindItem id="item2" compid="switch1.trnswork.ipt_trntodd" propid="value" datasetid="ds_main_cond_trnsinfo" columnid="todd"/>
- <BindItem id="item3" compid="switch1.trnswork.rdo_cdgrupid" propid="value" datasetid="ds_main_cond_trnsinfo" columnid="cdgrupid"/>
- <BindItem id="item4" compid="switch1.trnswork.grp_duty.rdo_dutyflag" propid="value" datasetid="ds_main_cond_trnsinfo" columnid="flag"/>
- <BindItem id="item5" compid="switch1.repair.ipt_rpirfromdd" propid="value" datasetid="ds_main_cond_repairinfo" columnid="fromdd"/>
- <BindItem id="item6" compid="switch1.repair.ipt_rpirtodd" propid="value" datasetid="ds_main_cond_repairinfo" columnid="todd"/>
- <BindItem id="item7" compid="switch1.repair.checkbox1" propid="value" datasetid="ds_main_cond_repairinfo" columnid="chkyn"/>
- <BindItem id="item8" compid="switch1.good.ipt_goodtodd" propid="value" datasetid="ds_main_cond_goodinfo" columnid="todd"/>
- <BindItem id="item9" compid="switch1.good.ipt_goodfromdd" propid="value" datasetid="ds_main_cond_goodinfo" columnid="fromdd"/>
- <BindItem id="item10" compid="switch1.good.radio3" propid="value" datasetid="ds_main_cond_goodinfo" columnid="flag"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name :
- * Job Name :
- * Creator :
- * Make Date : 2017-02-15
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2017-02-15 Live Converter TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- //=======================================================================================
- // Lib Include
- //---------------------------------------------------------------------------------------
- include "com_commonxp::comm_main.xjs";
- //include "emr_carecomxp::CareCom.xjs";
- var arErrorCode = new HashArray();
- //=======================================================================================
- // Function
- //---------------------------------------------------------------------------------------
- /****************************************************************************************
- * Argument : N/A
- * Description : 조회실행
- ****************************************************************************************/
- var cmtflag = "";
-
- function fChklistSrch() {
- cmtflag = "";
- var workdd = model.getValue("/root/main/cond/chklist/workdd");
-
- var chkdd1 = workdd.toDate("YYYYMMDD");
- var workweek = getDateTime(chkdd1, 'W');
-
- model.setValue("/root/main/cond/chklist/workweek", workweek);
-
- model.removenode("/root/send/chksend");
-
- model.makeValue("/root/send/chksend/workdd", workdd);
- model.makeValue("/root/send/chksend/dd", workdd.substr(6,2));
- model.makeValue("/root/send/chksend/workweek", workweek);
- model.makeValue("/root/send/chksend/userdeptcd", getUserInfo("dutplcecd"));
- model.makeValue("/root/send/chksend/gubn", "A");
-
- submit("TRMNP00571");
-
- 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(node1.length > 0) {
- model.makeValue("/root/main/cond/chklist/certid1", model.getValue("/root/main/chklists/dutycmtlist1/certid"));
- model.makeValue("/root/main/cond/chklist/certnm1", model.getValue("/root/main/chklists/dutycmtlist1/certnm"));
- model.makeValue("/root/main/cond/chklist/cmt1" , model.getValue("/root/main/chklists/dutycmtlist1/cmt"));
- } else {
- model.makeValue("/root/main/cond/chklist/certid1", getUserInfo("userid"));
- model.makeValue("/root/main/cond/chklist/certnm1", getUserInfo("usernm"));
- model.makeValue("/root/main/cond/chklist/cmt1", "");
- }
- if(node2.length >0) {
- model.makeValue("/root/main/cond/chklist/certid2", model.getValue("/root/main/chklists/dutycmtlist2/certid"));
- model.makeValue("/root/main/cond/chklist/certnm2", model.getValue("/root/main/chklists/dutycmtlist2/certnm"));
- model.makeValue("/root/main/cond/chklist/cmt2" , model.getValue("/root/main/chklists/dutycmtlist2/cmt"));
- } else {
- model.makeValue("/root/main/cond/chklist/certid2", getUserInfo("userid"));
- model.makeValue("/root/main/cond/chklist/certnm2", getUserInfo("usernm"));
- model.makeValue("/root/main/cond/chklist/cmt2", "");
- }
- if(node3.length > 0) {
- model.makeValue("/root/main/cond/chklist/certid3", model.getValue("/root/main/chklists/dutycmtlist3/certid"));
- model.makeValue("/root/main/cond/chklist/certnm3", model.getValue("/root/main/chklists/dutycmtlist3/certnm"));
- model.makeValue("/root/main/cond/chklist/cmt3" , model.getValue("/root/main/chklists/dutycmtlist3/cmt"));
- } else {
- model.makeValue("/root/main/cond/chklist/certid3", getUserInfo("userid"));
- model.makeValue("/root/main/cond/chklist/certnm3", getUserInfo("usernm"));
- model.makeValue("/root/main/cond/chklist/cmt3", "");
- }
- var existyn = "N";
- var chiefid="";
-
- if(node4.length > 0) {
- chiefid = model.getValue("/root/main/chklists/chieflist/chiefid");
- if(chiefid == "") {
- ipt_chiefid.value = "";
- ipt_chiefnm.value = "";
- } else {
- ipt_chiefid.value = model.getValue("/root/main/chklists/chieflist/chiefid");
- ipt_chiefnm.value = model.getValue("/root/main/chklists/chieflist/chiefnm");
- existyn = "Y";
- }
-
- } else {
-
- }
-
- if(existyn == "Y") {
- ipt_chiefnm.value = ipt_chiefnm.value + "(완료)";
- }
-
- submit("TRMNP00572");
- }
-
- function fChklistsSave(seq){
- var msg = messageBox("체크된 정보를","Q002");
-
- if(msg =="6"){
-
- if(seq == 1) {
- model.makeValue("/root/main/cond/chklist/certid" + seq, getUserInfo("userid"));
- model.makeValue("/root/main/cond/chklist/certnm" + seq, getUserInfo("usernm"));
- }
-
- var datagrid = document.controls("grd_chk" + seq);
- var cmt = document.controls("tar_chk" + seq);
- var certid = document.controls("ipt_certid" + seq);
-
- var updt = getGridUpdateData(datagrid);
-
- model.makeValue("/root/send/savedata/dutylist", updt);
-
- var cmtcnt = cmt.value;
- var certidcnt = certid.value;
-
- if(certidcnt == "" || certidcnt == null) {
- certidcnt = getUserInfo("userid");
- }
-
- model.makeValue("/root/send/savedata/cmt", cmtcnt);
- model.makeValue("/root/send/savedata/certid", certidcnt);
- model.makeValue("/root/send/savedata/gubn", "A");
- model.makeValue("/root/send/savedata/workdd", ipt_workdd.value);
- model.makeValue("/root/send/savedata/dutycd", datagrid.valueMatrix(1, datagrid.colRef("dutycd")));
-
- if(submit("TXMNP00571")){
-
- messageBox("저장","I002");
- fChklistSrch();
- }
-
-
- } else {
- return;
- }
- }
-
- function fChgRptUserid(grdObj){
- var datagrid = document.controls(grdObj);
- if(datagrid.col == datagrid.colRef("chkyn")){
- for(var k= datagrid.fixedRows;k < datagrid.rows; k++){
- var Workdd = datagrid.valueMatrix(k,datagrid.colRef("workdd"));
- var Lastupdtrid = datagrid.valueMatrix(k,datagrid.colRef("lastupdtrid"));
- var Comuserid = getUserId();
-
- if((Workdd !="")&&(Lastupdtrid!="")){
- datagrid.valueMatrix(k,datagrid.colRef("lastupdtrid"))=Comuserid;
- datagrid.rowStatus(k) = "2";
- }
- }
- }
- }
-
- function fChngNarcList(grdObj) {
- var datagrid = document.controls(grdObj);
-
- var prcpqty = datagrid.valueMatrix(datagrid.row, datagrid.colRef("prcpqty"));
- var curqty = datagrid.valueMatrix(datagrid.row, datagrid.colRef("curqty"));
- var qty = datagrid.valueMatrix(datagrid.row, datagrid.colRef("qty"));
-
- if(datagrid.col == datagrid.colRef("curqty") && curqty !="" && curqty != null){
- datagrid.valueMatrix(datagrid.row, datagrid.colRef("prcpqty")) = parseInt(qty) - parseInt(curqty);
- datagrid.rowStatus(datagrid.row) = "2";
-
- }
- }
-
- /****************************************************************************************
- * Argument : calcn - 순번
- * : calcd - 대상일자
- * Description : 조회기간계산
- ****************************************************************************************/
- function fCalcdate(calcn, calcd){
- calcd = calcd.toDate("YYYYMMDD");
- calcd = calcd.getAddDate(calcn , "D");
- calcd = calcd.getDateFormat("YYYYMMDD");
-
- return calcd;
- }
-
- /****************************************************************************************
- * Argument : fromdd - 대상일자
- * Description : 일자계산하여 조회기간 설정
- ****************************************************************************************/
- 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();
-
- ds_main_cond_trnsinfo.setColumn(0,"fromdd",sfrmdd);
- ds_main_cond_trnsinfo.setColumn(0,"todd",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() {
- model.removeNodeset("/root/send/narcsend");
- model.makeNode("/root/send/narcsend");
- model.copyNode("/root/send/narcsend", "/root/main/cond/narcinfo");
- //마약리스트를 조회한다.
- submit("TRMNP07406");
-
- 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 = model.getValue("/root/main/narcinfo/trnslist/chiefcertid");
-
- //수간호사 확인이 되었을 경우, 현량 수정 및 인계, 인수자 변경불가.
- if(chiefcertid != "" && chiefcertid != null) {
-
- for(var i = 1; i <= 3; i++) {
- btn = document.controls("btn_cert" + i);
- btn1 = document.controls("btn_trnsin" + i);
- btn2 = document.controls("btn_narccert" + i);
- btn3 = document.controls("btn_certcncl" + i);
- btn4 = document.controls("btn_trnsincncl" + i);
-
- btn.disabled = true;
- btn1.disabled = true;
- btn2.disabled = true;
- btn3.disabled = true;
- btn4.disabled = true;
- }
-
-
- } else {
- for(var i = 1; i <= 3; i++) {
- btn = document.controls("btn_cert" + i);
- btn1 = document.controls("btn_trnsin" + i);
- btn2 = document.controls("btn_narccert" + i);
- btn3 = document.controls("btn_certcncl" + i);
- btn4 = document.controls("btn_trnsincncl" + i);
-
- btn.disabled = false;
- btn1.disabled = false;
- btn2.disabled = false;
- btn3.disabled = false;
- btn4.disabled = false;
- }
-
- for(var i = 1; i <= 3; i++) {
-
- var trnsinnm = model.getValue("/root/main/narcinfo/trnslist/trnsinnm" + i);
- var certnm = model.getValue("/root/main/narcinfo/trnslist/certnm" + i);
-
- btn = document.controls("btn_cert" + i);
- btn1 = document.controls("btn_trnsin" + i);
- btn2 = document.controls("btn_narccert" + i);
- btn3 = document.controls("btn_certcncl" + i);
- btn4 = document.controls("btn_trnsincncl" + i);
-
- btn1.disabled = false;
-
- if(certnm =="" || certnm == null) {
- btn1.disabled = true;
- btn4.disabled = true;
- }
-
- //인수가 되었을경우, 인계확인, 현량수정 저장할수 없게 막음.
- if(trnsinnm!="" && trnsinnm != null) {
- btn.disabled = true;
- btn2.disabled = true;
- btn3.disabled = true;
- } else {
- btn.disabled = false;
- btn2.disabled = false;
- btn3.disabled = false;
- }
- }
- }
- }
-
-
- function fSaveNarcInfo(flag, dutycd, cnclflag) {
- var workdd = ipt_narcdd.value;
-
- var grdnm;
- var dutynm = "";
- var flagnm = "";
-
- if(dutycd == "D") {
- grdnm = document.controls("grd_narclist1");
- dutynm = "Day";
- } else if(dutycd == "E") {
- grdnm = document.controls("grd_narclist2");
- dutynm="Evening";
- } else if(dutycd == "N") {
- grdnm = document.controls("grd_narclist3");
- dutynm = "Night";
- }
-
- if(flag == "1") {
-
- for(var i = grdnm.fixedRows; i < grdnm.rows; i++) {
- grdnm.rowStatus(i) = "2";
- }
-
- model.makeValue("/root/send/savedata/narcinfo/narclist", getGridUpdateData(grdnm));
-
- submit("TXMNP07407");
- if(cnclflag == "" || cnclflag == null) {
- flagnm = "인계확인";
- } else {
- flagnm = "인계취소";
- }
-
- } else if(flag == "2") {
- if(cnclflag == "" || cnclflag == null) {
- flagnm = "인수확인";
- } else {
- flagnm = "인수취소";
- }
- }
-
- var rtn;
- if(flag == "1" || flag == "2") {
- rtn = messageBox(workdd.substr(0,4) + "년 " + workdd.substr(4, 2) + "월 " + workdd.substr(6, 2) + "일 " + dutynm + "번 근무 "+ flagnm + "을 하시겠습니까?", "Q");
- } else { //flag == "3"
- if(cnclflag != "" && cnclflag != null) {
-
- rtn = messageBox(workdd.substr(0,4) + "년 " + workdd.substr(4, 2) + "월 " + workdd.substr(6, 2) + "일 " + "수간호사 마약확인 취소를 하시겠습니까? ", "Q");
- } else {
- rtn = messageBox("확인후엔 인계, 인수 내역을 수정하실수 없습니다.\n" + workdd.substr(0,4) + "년 " + workdd.substr(4, 2) + "월 " + workdd.substr(6, 2) + "일 " + "수간호사 마약확인을 하시겠습니까? ", "Q");
- }
-
- }
-
-
- //flag가 3일경우 dutycd 값이 ''이면 확인 ''이 아니면 취소로 사용하겠음.
- if(rtn == "6") {
- model.makeValue("/root/send/savedata/workdd", ipt_narcdd.value);
- model.makeValue("/root/send/savedata/cdgrupid", rdo_nacgrup.value);
- model.makeValue("/root/send/savedata/flag", flag);
- model.makeValue("/root/send/savedata/dutycd", dutycd);
-
- model.makeValue("/root/send/savedata/cnclflag",cnclflag);
-
- submit("TXMNN03002"); // 140916 - AYS
-
- } else {
-
- }
-
- fNarcSrch();
- }
-
- /****************************************************************************************
- * Argument : N/A
- * Description : 탭버튼 선택시 클래스 초기화
- ****************************************************************************************/
- function lf_btnNoSelect() {
- button1.class = "btn_tab";
- btn_trns.class = "btn_tab";
- button13.class = "btn_tab";
- button22.class = "btn_tab";
- button30.class = "btn_tab";
- //사용하지 않는듯 하다
- // button2.class = "btn_tab";
- // button26.class = "btn_tab";
- }
-
- //=======================================================================================
- // Event
- //---------------------------------------------------------------------------------------
- /****************************************************************************************
- * Components : Form
- * Description : 화면 처음 초기화시 폼초기화
- ****************************************************************************************/
- function SMMNN03000_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj); // 폼 초기화
- }
- function SMMNN03000_onload(obj:Form, e:LoadEventInfo)
- {
- dsf_createDsRow("ds_send2_reqdata", [
- {col:"cdgrupid", type:"STRING", size:256, val:"'045'"}
- , {col:"srchdd", type:"STRING", size:256, val:utlf_getCurrentDate()}
- , {col:"flag", type:"STRING", size:256, val:""}
- , {col:"allflag", type:"STRING", size:256, val:""}
- ]);
- 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;
- //oParam.callback = "cf_TRMNW00001";
- tranf_submit(oParam);
- var jobposcd = sysf_getUserInfo("jobposcd");
- jobposcd = "75";
- if(jobposcd == "75") {
- switch1.chklist.btn_cert.enable = true;
- switch1.chklist.btn_baseinfo.enable = true;
- } else {
- switch1.chklist.btn_cert.enable = false;
- switch1.chklist.btn_baseinfo.enable = false;
- }
-
- grdf_setRowTypeIcon(switch1.trnswork.grd_trnslist, 0); // 그리드 상태 표시
- }
- /****************************************************************************************
- * Components : Button
- * Description : 탭버튼 선택 이벤트
- ****************************************************************************************/
- function Button_onclick(obj:Button, e:ClickEventInfo)
- {
- lf_btnNoSelect();
- obj.class = "btn_tab_S";
-
- if(obj.name == "button1") switch1.tabindex = 0;
- if(obj.name == "btn_trns") {
- switch1.tabindex = 2;
- ds_main_trnssaveinfo.clearData();
- ds_main_cond_trnsinfo.setColumn(0,"workdd",utlf_getCurrentDate());
-
- fCalcWorkDate(utlf_getCurrentDate());
-
- ds_main_cond_trnsinfo.setColumn(0,"cdgrupid","001");
- switch1.trnswork.grd_trnslist.setFormatColProperty(switch1.trnswork.grd_trnslist.getBindCellIndex("body","exprdd"),"size",0);
-
- switch1_trnswork_btn_searchtrns_onclick();
- }
- if(obj.name == "button13") {
- switch1.tabindex = 3;
-
- ds_main_cond_repairinfo.setColumn(0,"fromdd",utlf_getCurrentDate());
- ds_main_cond_repairinfo.setColumn(0,"todd",utlf_getCurrentDate());
- dsf_makeValue(ds_main_cond_repairinfo,"deptcd","string",ds_codelist.getColumn(0,"cdid"));
- switch1_repair_btn_searchrpir_onclick();
- }
- if(obj.name == "button22") {
- switch1.tabindex = 4;
-
- ds_main_cond_goodinfo.setColumn(0,"fromdd",utlf_getCurrentDate());
- ds_main_cond_goodinfo.setColumn(0,"todd",utlf_getCurrentDate());
- dsf_makeValue(ds_main_cond_repairinfo,"deptcd","string",ds_codelist.getColumn(0,"cdid"));
- switch1_repair_btn_searchrpir_onclick();
- }
- if(obj.name == "button30") {
- switch1.tabindex = 2;
-
- ds_main_trnssaveinfo.clearData();
- ds_main_cond_trnsinfo.setColumn(0,"workdd",utlf_getCurrentDate());
- fCalcWorkDate(utlf_getCurrentDate());
-
- ds_main_cond_trnsinfo.setColumn(0,"cdgrupid","002");
- switch1.trnswork.grd_trnslist.setFormatColProperty(switch1.trnswork.grd_trnslist.getBindCellIndex("body","exprdd"),"size",90);
- switch1_trnswork_btn_searchtrns_onclick();
- }
- //사용하지 않는듯 하다
- // if(obj.name == "button2") switch1.tabindex = 1;
- // if(obj.name == "button26") switch1.tabindex = 0;
- }
- /****************************************************************************************
- * Components : Button
- * Description : 물품 인계내역 조회
- ****************************************************************************************/
- function switch1_trnswork_btn_searchtrns_onclick(obj:Button, e:ClickEventInfo)
- {
- ds_main_trnssaveinfo.clearData();
- // grd_trnslist.rebuildStyle();
- dsf_createDs("ds_send_trnsinfo");
- ds_send_trnsinfo.copyData(ds_main_cond_trnsinfo);
-
- 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;
- //oParam.callback = "cf_TRMNN03002";
- tranf_submit(oParam);
-
- var fromdd = ds_main_cond_trnsinfo.getColumn(0,"fromdd");
- var sCalcdd;
- var workdd = ds_main_cond_trnsinfo.getColumn(0,"workdd");
- 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; j++) {
- if(ds_main_trnsinfo_trnslist.getColumn(j,"cdid") == "999999"){
- continue;
- }
- 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_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;
- switch1.trnswork.grd_trnslist.setCellProperty("Head",i+4 ,"font","Dotum,9,bold");
- switch1.trnswork.grd_trnslist.setCellProperty("Head",(i*4)+9 ,"font","Dotum,9,bold");
- switch1.trnswork.grd_trnslist.setCellProperty("Head",(i*4)+10 ,"font","Dotum,9,bold");
- 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)+":");
- switch1.trnswork.grd_trnslist.setCellProperty("Head",i+4 ,"font","Dotum,9");
- switch1.trnswork.grd_trnslist.setCellProperty("Head",(i*4)+9 ,"font","Dotum,9");
- switch1.trnswork.grd_trnslist.setCellProperty("Head",(i*4)+10 ,"font","Dotum,9");
- 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;
- switch1.trnswork.grd_trnslist.setCellProperty("Head",i+4,"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;
- }
-
- }
- /****************************************************************************************
- * Components : Button
- * Description : 전일 조회
- ****************************************************************************************/
- function switch1_trnswork_button12_onclick(obj:Button, e:ClickEventInfo)
- {
- var sChkdd = ds_main_cond_trnsinfo.getColumn(0,"workdd");
- var sCalcdd = fCalcdate(-1, sChkdd);
- ds_main_cond_trnsinfo.setColumn(0,"workdd",sCalcdd);
- var chkdd1 = sCalcdd.toDate("YYYYMMDD");
- switch1_trnswork_ipt_trnsdd_onchanged();
- }
- /****************************************************************************************
- * Components : Button
- * Description : 후일 조회
- ****************************************************************************************/
- function switch1_trnswork_button11_onclick(obj:Button, e:ClickEventInfo)
- {
- var sChkdd = ds_main_cond_trnsinfo.getColumn(0,"workdd");
- var sCalcdd = fCalcdate(1, sChkdd);
- ds_main_cond_trnsinfo.setColumn(0,"workdd",sCalcdd);
- var chkdd1 = sCalcdd.toDate("YYYYMMDD");
- switch1_trnswork_ipt_trnsdd_onchanged();
- }
- /****************************************************************************************
- * Components : Button
- * Description : 선택일자 조회
- ****************************************************************************************/
- function switch1_trnswork_ipt_trnsdd_onchanged(obj:Calendar, e:ChangeEventInfo)
- {
- fCalcWorkDate(ds_main_cond_trnsinfo.getColumn(0,"workdd"));
- switch1_trnswork_btn_searchtrns_onclick();
- }
- /****************************************************************************************
- * Components : Button
- * Description : 엑셀 저장
- ****************************************************************************************/
- function switch1_trnswork_button18_onclick(obj:Button, e:ClickEventInfo)
- {
- var name = switch1.trnswork.rdo_cdgrupid.text;
- if( ds_main_trnsinfo_trnslist.rowcount > 0 ){
- grdf_exportExcel(switch1.trnswork.grd_trnslist, name, name, false, "", "user", false);
- } else {
- sysf_messageBox("조회된 데이터가 ", "I004");
- }
- }
- /****************************************************************************************
- * Components : Radio
- * Description : 구분선택
- ****************************************************************************************/
- function switch1_trnswork_rdo_cdgrupid_onitemchanged(obj:Radio, e:ItemChangeEventInfo)
- {
- switch1_trnswork_btn_searchtrns_onclick();
- }
- /****************************************************************************************
- * Components : Button
- * Description : 분만실인계장기준자료 팝업 오픈
- ****************************************************************************************/
- function switch1_trnswork_button7_onclick(obj:Button, e:ClickEventInfo)
- {
- frmf_modal("SMMNN03200","SMMNN03200","","","","","","","","","","","M");
- }
- /****************************************************************************************
- * Components : Button
- * Description : 저장 그룹 오픈
- ****************************************************************************************/
- function switch1_trnswork_button10_onclick(obj:Button, e:ClickEventInfo)
- {
- switch1.trnswork.grp_duty.visible = true;
- }
- /****************************************************************************************
- * Components : Button
- * Description : 저장 확인
- ****************************************************************************************/
- function switch1_trnswork_grp_duty_bnt_patlabel_nm_onclick(obj:Button, e:ClickEventInfo)
- {
- switch1_trnswork_button5_onclick();
- switch1.trnswork.grp_duty.visible = false;
- var workdd = ds_main_cond_trnsinfo.getColumn(0,"workdd");
- var sRecflag = ds_main_cond_trnsinfo.getColumn(0, "recflag");
- var duty = ds_main_cond_trnsinfo.getColumn(0,"flag");
- 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_createDsRow("ds_send_savedata", [{col: "workdd" , val: ds_main_cond_trnsinfo.getColumn(0,"workdd")}
- ,{col: "dutycd" , val: ds_main_cond_trnsinfo.getColumn(0,"flag")}
- ,{col: "cdgrupid" , val: ds_main_cond_trnsinfo.getColumn(0,"cdgrupid")}
- ,{col: "recflag" , val: sRecflag}
- ]);
- var oParam = {};
- oParam.id = "TXMNN03002";
- oParam.service = "partrtnnbabyapp.PartrtnPatMngt";
- oParam.method = "reqSetCnfmTrns";
- oParam.inds = "req=ds_send_savedata";
- oParam.outds = "";
- oParam.async = false;
- //oParam.callback = "cf_TXMNN03002";
- tranf_submit(oParam);
- switch1_trnswork_btn_searchtrns_onclick();
- }
- }
- /****************************************************************************************
- * Components : Button
- * Description : 저장 그룹 close
- ****************************************************************************************/
- function switch1_trnswork_grp_duty_button27_onclick(obj:Button, e:ClickEventInfo)
- {
- switch1.trnswork.grp_duty.visible = false;
- }
- /****************************************************************************************
- * Components : Button
- * Description : 숨은 저장
- ****************************************************************************************/
- function switch1_trnswork_button5_onclick(obj:Button, e:ClickEventInfo)
- {
- for(var i = 0; i < ds_main_trnssaveinfo.rowcount; i++) {
- grdf_setStatus(switch1.trnswork.grd_trnssaveinfo, "D", [i]);
- }
-
- var updtdata = grdf_getGridUpdateData(switch1.trnswork.grd_trnssaveinfo, "all");
- grdf_setStatusColumn(updtdata, "status");
- // if(!utlf_isNull(updtdata)) {
- if(updtdata.rowcount > 0) {
- dsf_createDs("ds_send_savedata_trnslist");
- ds_send_savedata_trnslist.copyData(updtdata,true);
- dsf_setDefaultVal(ds_send_savedata_trnslist, "qty:0");
-
- var oParam = {};
- oParam.id = "TXMNN03003";
- oParam.service = "partrtnnbabyapp.PartrtnPatMngt";
- oParam.method = "reqSetTrnsInfo";
- oParam.inds = "req=ds_send_savedata_trnslist";
- oParam.outds = "";
- oParam.async = false;
- //oParam.callback = "cf_TXMNN03003";
- tranf_submit(oParam);
- }
- if(!utlf_isNull(cmtflag)) {
- var updtdata = grdf_getGridUpdateData(switch1.trnswork.grd_trnslist, "all");
-
- dsf_createDs("ds_send_savedata_cmtlist");
- ds_send_savedata_cmtlist.copyData(updtdata,true);
-
- dsf_setFixVal(ds_send_savedata_cmtlist, "cdgrupid:"+ds_main_cond_trnsinfo.getColumn(0,"cdgrupid")+",recflag:"+ds_main_cond_trnsinfo.getColumn(0,"recflag"));
-
- var oParam = {};
- oParam.id = "TXMNN03004";
- oParam.service = "partrtnnbabyapp.PartrtnPatMngt";
- oParam.method = "reqSetTrnsCmtInfo";
- oParam.inds = "req=ds_send_savedata_cmtlist";
- oParam.outds = "";
- oParam.async = false;
- //oParam.callback = "cf_TXMNN03004";
- tranf_submit(oParam);
-
- switch1_trnswork_btn_searchtrns_onclick();
- }
- }
- /****************************************************************************************
- * Components : Button
- * Description : 장비수리 조회
- ****************************************************************************************/
- function switch1_repair_btn_searchrpir_onclick(obj:Button, e:ClickEventInfo)
- {
- ds_main_trnssaveinfo.clearData();
- dsf_createDs("ds_send_repairinfo");
- 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 = true;
- //oParam.callback = "cf_TRMNP07403";
- tranf_submit(oParam);
- }
- /****************************************************************************************
- * Components : Button
- * Description : 장비수리 엑셀저장
- ****************************************************************************************/
- function switch1_repair_button19_onclick(obj:Button, e:ClickEventInfo)
- {
- if( ds_main_repairinfo_repairlist.rowcount > 0 ){
- grdf_exportExcel(switch1.repair.grd_repairlist, "장비수리내역", "장비수리내역", false, "", "user", false);
- } else {
- sysf_messageBox("조회된 데이터가 ", "I004");
- }
- }
- /****************************************************************************************
- * Components : CheckBox
- * Description : 완료제외 체크
- ****************************************************************************************/
- function switch1_repair_checkbox1_onclick(obj:CheckBox, e:ClickEventInfo)
- {
- if(obj.value == false) ds_main_cond_repairinfo.setColumn(0,"chkyn","");
- }
- /****************************************************************************************
- * Components : Button
- * Description : 물품수리 조회
- ****************************************************************************************/
- function 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();
- dsf_createDs("ds_send_goodinfo");
- 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 = true;
- //oParam.callback = "cf_TRMNN03001";
- tranf_submit(oParam);
- }
- /****************************************************************************************
- * Components : Button
- * Description : 물품수리내역 엑셀저장
- ****************************************************************************************/
- function switch1_good_button20_onclick(obj:Button, e:ClickEventInfo)
- {
- if( ds_main_goodinfo_goodlist.rowcount > 0 ){
- grdf_exportExcel(switch1.good.grd_goodlist, "물품수리내역", "물품수리내역", false, "", "user", false);
- } else {
- sysf_messageBox("조회된 데이터가 ", "I004");
- }
- }
- /****************************************************************************************
- * Components : Button
- * Description : 물품수리내역 추가
- ****************************************************************************************/
- function switch1_good_button23_onclick(obj:Button, e:ClickEventInfo)
- {
- sysf_setModelProperty("flag","popup");
- sysf_setModelProperty("cdgrupid","001");
- frmf_modal("SMMNN03200","SMMNN03200","","","","","","","","","","","M"); //SMMNN03200_분만실인계장기준자료 미전환
-
- sysf_setModelProperty("flag","");
- sysf_setModelProperty("cdgrupid","");
- }
- /****************************************************************************************
- * Components : Button
- * Description : 물품수리내역 삭제
- ****************************************************************************************/
- function switch1_good_button24_onclick(obj:Button, e:ClickEventInfo)
- {
- var cRow = ds_main_goodinfo_goodlist.rowposition;
-
- if( ds_main_goodinfo_goodlist.getRowType(cRow) == 2 ) {
- ds_main_goodinfo_goodlist.deleteRow(cRow);
- }else{
- grdf_setStatus(switch1.good.grd_goodlist, "D", [cRow]);
- }
- }
- /****************************************************************************************
- * Components : Button
- * Description : 물품수리내역 저장
- ****************************************************************************************/
- function switch1_good_button25_onclick(obj:Button, e:ClickEventInfo)
- {
- var updatedata = grdf_getGridUpdateData(switch1.good.grd_goodlist, "all");
- grdf_setStatusColumn(updatedata, "m");
- var sRecflag = ds_main_cond_trnsinfo.getColumn(0, "recflag");
- if(updatedata.rowcount > 0) {
- 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;
- }
- dsf_createDs("ds_send_savedata_goodlist");
- ds_send_savedata_goodlist.copyData(updatedata,true);
- ds_send_savedata_goodlist.updateColID("m","status");
- ds_send_savedata_goodlist.updateColID("goodcd","cdid");
- dsf_setFixVal(ds_send_savedata_goodlist, "flag:1,recflag:"+sRecflag);
- var oParam = {};
- oParam.id = "TXMNN03001";
- oParam.service = "partrtnnbabyapp.PartrtnPatMngt";
- oParam.method = "reqExeGoodRpirInfo";
- oParam.inds = "goodlist=ds_send_savedata_goodlist";
- oParam.outds = "";
- oParam.async = false;
- //oParam.callback = "cf_TXMNN03001";
- tranf_submit(oParam);
- switch1_good_btn_searchgood_onclick();
- }
- /****************************************************************************************
- * Components : Dataset
- * Description : 종료일자 입력시 확인자 입력
- ****************************************************************************************/
- function ds_main_goodinfo_goodlist_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
- {
- if(e.columnid == "enddd") {
- obj.setColumn(e.row,"certid",sysf_getUserInfo("userid"));
- obj.setColumn(e.row,"certnm",sysf_getUserInfo("usernm"));
- }
- }
- function switch1_trnswork_grd_trnslist_onkeydown(obj:Grid, e:KeyEventInfo)
- {
- if(e.keycode == 13){
- obj.showEditor(false);
- }
- }
- function ds_main_trnsinfo_trnslist_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
- {
- switch1.trnswork.grd_trnslist.updateToDataset();
- var col = switch1.trnswork.grd_trnslist.currentcol;
- var ref;
- var seq;
- var duty;
-
- var workdd;
- var dutycd;
- var cdid;
-
- if(col >= switch1.trnswork.grd_trnslist.getBindCellIndex("body", "d1") && col <= switch1.trnswork.grd_trnslist.getBindCellIndex("body", "n7")) {
-
- ref = 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(ds_main_trnsinfo_trnslist.rowposition, "day" + seq);
- cdid = ds_main_trnsinfo_trnslist.getColumn(ds_main_trnsinfo_trnslist.rowposition, "cdid");
- qty = switch1.trnswork.grd_trnslist.getCellValue(ds_main_trnsinfo_trnslist.rowposition, col); //ds_main_trnsinfo_trnslist.getColumn(ds_main_trnsinfo_trnslist.rowposition, col);
-
- //alert("workdd: " + workdd + " cdid: " + cdid + " duty: " + dutycd + " qty: " + qty);
-
- //var node = instance1.selectNodes(grd_trnssaveinfo.nodeset + "[workdd='" + workdd + "' and cdid='" + cdid + "' and dutycd='" + dutycd + "']");
- ds_main_trnssaveinfo.filter("workdd == '" + workdd + "' && cdid == '" + cdid + "' && dutycd == '" + dutycd + "'");
- //sysf_trace("workdd : " + workdd)
- //sysf_trace("cdid : " + cdid)
- //sysf_trace("dutycd : " + dutycd)
-
- //sysf_trace("rowcount : " + ds_main_trnssaveinfo.rowcount)
- if(ds_main_trnssaveinfo.rowcount > 0) {
- //sysf_trace("qty : " + qty)
- sysf_trace("22")
- ds_main_trnssaveinfo.setColumn(0, "qty", qty);
- } else {
- var row = ds_main_trnssaveinfo.addRow();
- ds_main_trnssaveinfo.setColumn(row, "dutycd", dutycd);
- ds_main_trnssaveinfo.setColumn(row, "workdd", workdd);
- ds_main_trnssaveinfo.setColumn(row, "cdid", cdid);
- ds_main_trnssaveinfo.setColumn(row, "qty", qty);
- }
-
- }
- ds_main_trnssaveinfo.filter("");
- if(col == switch1.trnswork.grd_trnslist.getBindCellIndex("body", "cmt")) {
- cmtflag = "1";
- }
- }
- ]]></Script>
- </Form>
- </FDL>
|