1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMRSD10000" position="absolute 0 0 1190 805" titletext="약품청구관리" onload="SMRSD10000_onload">
- <Layouts>
- <Layout>
- <Div id="gd_set" taborder="9" position="absolute 0 174 580 803" visible="true">
- <Layouts>
- <Layout>
- <Static id="caption17" text="부서 청구SET" class="tit_2" position="absolute 0 4 108 21" anchor="default"/>
- <Shape id="line3" class="line_10" position="absolute 0 20 300 26" anchor="default"/>
- <Grid id="grd_setlist" taborder="1" binddataset="ds_main_list_reqmst_reqsetmst" useinputpanel="false" position="absolute 0 25 300 150" anchor="default" oncellclick="gd_set_grd_setlist_oncellclick">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="257"/>
- <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="기관코드"/>
- <Cell col="1" text="청구부서"/>
- <Cell col="2" text="청구주기"/>
- <Cell col="3" text="청구주기"/>
- <Cell col="4" text="청구SET명"/>
- <Cell col="5" text="물품구분"/>
- <Cell col="6" text="물품코드"/>
- <Cell col="7" text="물품명"/>
- <Cell col="8" text="청구량"/>
- <Cell col="9" text="청구단위"/>
- <Cell col="10" text="setcd"/>
- </Band>
- <Band id="body">
- <Cell text="bind:instcd"/>
- <Cell col="1" text="bind:reqdeptcd"/>
- <Cell col="2" text="bind:reqprid"/>
- <Cell col="3" text="bind:reqprnm"/>
- <Cell col="4" text="bind:goodsetnm"/>
- <Cell col="5" text="bind:goodflag"/>
- <Cell col="6" text="bind:goodcd"/>
- <Cell col="7" text="bind:goodnm"/>
- <Cell col="8" text="bind:goodqty"/>
- <Cell col="9" text="bind:requnit"/>
- <Cell col="10" text="bind:goodsetcd"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Static id="caption8" text="(* 청구주기가 일치하지 않으면 선택되지 않습니다.)" position="absolute 147 165 435 180" anchor="default"/>
- <Static id="caption5" text="부서 청구SET 물품" class="tit_2" position="absolute 5 164 158 181" anchor="default"/>
- <Shape id="line1" class="line_10" position="absolute 0 180 573 186" anchor="default"/>
- <Button id="btn_apply" taborder="2" text="선택" class="btn4" position="absolute 517 158 573 180" anchor="default" onclick="gd_set_btn_apply_onclick"/>
- <Grid id="grd_reqset" taborder="3" binddataset="ds_main_list_reqset_reqsetlist" useinputpanel="false" position="absolute 0 185 573 629" anchor="default" oncellclick="gd_set_grd_reqset_oncellclick">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="19"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="63"/>
- <Column size="0"/>
- <Column size="250"/>
- <Column size="50"/>
- <Column size="45"/>
- <Column size="0"/>
- <Column size="42"/>
- <Column size="43"/>
- <Column size="70"/>
- <Column size="66"/>
- <Column size="68"/>
- <Column size="100"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- </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="단위"/>
- <Cell col="12" text="주기"/>
- <Cell col="13" text="청구구분"/>
- <Cell col="14" text="구매구분"/>
- <Cell col="15" text="청구방법"/>
- <Cell col="16" text="포장단위"/>
- <Cell col="17"/>
- <Cell col="18"/>
- <Cell col="19"/>
- <Cell col="20"/>
- <Cell col="21"/>
- <Cell col="22"/>
- <Cell col="23"/>
- <Cell col="24"/>
- <Cell col="25"/>
- <Cell col="26"/>
- <Cell col="27"/>
- <Cell col="28"/>
- <Cell col="29"/>
- <Cell col="30"/>
- <Cell col="31"/>
- </Band>
- <Band id="body">
- <Cell displaytype="checkbox" edittype="checkbox" text="bind:chk"/>
- <Cell col="1" text="bind:instcd"/>
- <Cell col="2" text="bind:reqdeptcd"/>
- <Cell col="3" text="bind:reqprid"/>
- <Cell col="4" text="bind:goodflagnm"/>
- <Cell col="5" text="bind:goodcd"/>
- <Cell col="6" text="bind:allsizespecid"/>
- <Cell col="7" text="bind:goodnm"/>
- <Cell col="8" text="bind:goodspec"/>
- <Cell col="9" text="bind:goodqty"/>
- <Cell col="10" text="bind:basevol"/>
- <Cell col="11" text="bind:purcunit"/>
- <Cell col="12" text="bind:reqpridnm"/>
- <Cell col="13" text="bind:reqflagnm"/>
- <Cell col="14" text="bind:purcflagnm"/>
- <Cell col="15" text="bind:reqmthdnm"/>
- <Cell col="16" text="bind:setunit"/>
- <Cell col="17" text="bind:goodspec"/>
- <Cell col="18" text="bind:goodmodel"/>
- <Cell col="19" text="bind:prodcmpynm"/>
- <Cell col="20" text="bind:purcunit"/>
- <Cell col="21" text="bind:minexch"/>
- <Cell col="22" text="bind:stocqty"/>
- <Cell col="23" text="bind:ddavguseqty"/>
- <Cell col="24" text="bind:goodsetnm"/>
- <Cell col="25" text="bind:goodsetcd"/>
- <Cell col="26" text="bind:goodflag"/>
- <Cell col="27" text="bind:allsizeyn"/>
- <Cell col="28" text="bind:allsizespecid"/>
- <Cell col="29" text="bind:allsizespecidnm"/>
- <Cell col="30" text="bind:tmpreqflag"/>
- <Cell col="31" text="bind:reqflag"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Button id="btn_apply01" taborder="4" text="청구SET관리" onclick="grp_biz_swt_search_gd_set_btn_apply01_onclick" class="btn4" position="absolute 199 2 302 24" anchor="default"/>
- </Layout>
- </Layouts>
- </Div>
- <Div position="absolute 0 25 1186 50" id="grp_tle">
- <Layouts>
- <Layout>
- <Button position="absolute 1118 0 1186 22" id="btn_init" class="btn4" text="초기화" anchor="default" onclick="grp_tle_btn_init_onclick"/>
- <Shape id="line5" class="line_1" position="absolute 0 23 1186 25" anchor="left top right"/>
- </Layout>
- </Layouts>
- </Div>
- <Static id="caption6" text="약품청구관리" class="tit_1" position="absolute 0 0 120 25"/>
- <Div id="grp_main" taborder="2" position="absolute 584 168 1186 804" anchor="all">
- <Layouts>
- <Layout>
- <Shape id="lin_main" class="line_10" position="absolute 0 23 600 27" anchor="left top right"/>
- <Grid id="grd_goodreq" class="datagrid2" taborder="1" binddataset="ds_main_list_goodreq_goodreqlist" useinputpanel="false" position="absolute 0 27 600 635" anchor="all" cellclickbound="cell" cellsizingtype="col" selecttype="multirow" oncellclick="grp_main_grd_goodreq_oncellclick" onexpandup="grp_main_grd_goodreq_onexpandup" onmousemove="grp_main_grd_goodreq_onmousemove" autoenter="key" ontextchanged="grp_main_grd_goodreq_ontextchanged" onselectchanged="grp_main_grd_goodreq_onselectchanged" onkeydown="grp_main_grd_goodreq_onkeydown">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="25" band="left"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="35"/>
- <Column size="95"/>
- <Column size="28"/>
- <Column size="241"/>
- <Column size="125"/>
- <Column size="96"/>
- <Column size="78"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="62"/>
- <Column size="0"/>
- <Column size="58"/>
- <Column size="58"/>
- <Column size="43"/>
- <Column size="43"/>
- <Column size="87"/>
- <Column size="68"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="48"/>
- <Column size="69"/>
- <Column size="64"/>
- <Column size="69"/>
- <Column size="65"/>
- <Column size="100"/>
- <Column size="50"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" text="기관코드"/>
- <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="안전재고"/>
- <Cell col="13" text="현재고"/>
- <Cell col="14" text="환산수량"/>
- <Cell col="15" text="reqpackperunitqty"/>
- <Cell col="16" colspan="2" text="청구" taborder="undefined"/>
- <Cell col="18" colspan="2" text="청구" taborder="undefined"/>
- <Cell col="20" text="포장구성단위"/>
- <Cell col="21" text="수액집계"/>
- <Cell col="22" text="전월"/>
- <Cell col="23" text="승인"/>
- <Cell col="24" text="승인"/>
- <Cell col="25" text="청구자명"/>
- <Cell col="26" text="구매구분"/>
- <Cell col="27" text="청구방법"/>
- <Cell col="28" text="청구주기"/>
- <Cell col="29" text="비고"/>
- <Cell col="30" text="접수"/>
- <Cell col="31" text="미불출사유"/>
- <Cell col="32" text="caption1"/>
- <Cell col="33"/>
- <Cell col="34"/>
- <Cell col="35"/>
- <Cell col="36"/>
- <Cell col="37"/>
- <Cell col="38"/>
- <Cell col="39"/>
- <Cell col="40"/>
- <Cell col="41"/>
- <Cell col="42"/>
- <Cell col="43"/>
- <Cell col="44"/>
- <Cell col="45"/>
- <Cell col="46"/>
- <Cell col="47"/>
- <Cell col="48"/>
- <Cell col="49"/>
- <Cell col="50"/>
- <Cell col="51"/>
- <Cell col="52"/>
- <Cell col="53"/>
- <Cell col="54"/>
- <Cell col="55"/>
- <Cell col="56"/>
- <Cell col="57"/>
- <Cell col="58"/>
- <Cell col="59"/>
- <Cell col="60"/>
- <Cell col="61"/>
- <Cell col="62"/>
- <Cell col="63"/>
- <Cell col="64"/>
- <Cell col="65"/>
- <Cell col="66"/>
- <Cell col="67"/>
- <Cell col="68"/>
- <Cell col="69"/>
- </Band>
- <Band id="body">
- <Cell celltype="head"/>
- <Cell col="1" text="bind:instcd"/>
- <Cell col="2" text="bind:reqflag"/>
- <Cell col="3" text="bind:reqdd"/>
- <Cell col="4" text="bind:reqno"/>
- <Cell col="5" text="bind:reqseqno"/>
- <Cell col="6" displaytype="text" edittype="text" text="bind:goodcd" expandshow="show"/>
- <Cell col="7" text="bind:allsizespecid"/>
- <Cell col="8" displaytype="text" edittype="text" text="bind:goodnm"/>
- <Cell col="9" displaytype="text" edittype="text" text="bind:goodspec" expandshow="show"/>
- <Cell col="10" edittype="none" text="bind:goodmodel"/>
- <Cell col="11" edittype="none" text="bind:prodcmpynm"/>
- <Cell col="12" displaytype="text" edittype="text" text="bind:basevol" mask="#,###"/>
- <Cell col="13" displaytype="text" edittype="text" text="bind:stocqty" mask="#,###"/>
- <Cell col="14" displaytype="number" text="bind:exchqty"/>
- <Cell col="15" text="bind:reqpackperunitqty" mask="#,###.#"/>
- <Cell col="16" displaytype="normal" edittype="text" text="bind:reqpackqty"/>
- <Cell col="17" displaytype="normal" edittype="text" text="bind:reqqty"/>
- <Cell col="18" text="bind:reqpackunit"/>
- <Cell col="19" text="bind:requnit"/>
- <Cell col="20" text="bind:setunit"/>
- <Cell col="21" displaytype="number" text="bind:rgstqty"/>
- <Cell col="22" text="bind:befmonreqqty"/>
- <Cell col="23" displaytype="checkbox" edittype="checkbox" text="bind:deptaprvyn"/>
- <Cell col="24" text="bind:deptaprvnm"/>
- <Cell col="25" text="bind:reqpsnnm"/>
- <Cell col="26" text="bind:purcflagnm"/>
- <Cell col="27" text="bind:reqmthdnm"/>
- <Cell col="28" text="bind:reqpridnm"/>
- <Cell col="29" displaytype="text" edittype="text" text="bind:cmt"/>
- <Cell col="30" text="bind:jobstatus"/>
- <Cell col="31" text="bind:adjtrsn"/>
- <Cell col="32" text="bind:purcunit"/>
- <Cell col="33" text="bind:workflag"/>
- <Cell col="34" text="bind:reqmthdflag"/>
- <Cell col="35" text="bind:deliveflag"/>
- <Cell col="36" text="bind:reqpridflag"/>
- <Cell col="37" text="bind:goodflag"/>
- <Cell col="38" text="bind:bugtcd"/>
- <Cell col="39" text="bind:stdysubjno"/>
- <Cell col="40" text="bind:reqdeptcd"/>
- <Cell col="41" text="bind:reqcollcdeptcd"/>
- <Cell col="42" text="bind:delivedeptcd"/>
- <Cell col="43" text="bind:delivehopedd"/>
- <Cell col="44" text="bind:reqpsnid"/>
- <Cell col="45" text="bind:reqtm"/>
- <Cell col="46" text="bind:reqpsnnm"/>
- <Cell col="47" text="bind:ddavguseqty"/>
- <Cell col="48" text="bind:deptaprvdd"/>
- <Cell col="49" text="bind:acptflag"/>
- <Cell col="50" text="bind:acptdd"/>
- <Cell col="51" text="bind:acptcharid"/>
- <Cell col="52" text="bind:purcdmnddd"/>
- <Cell col="53" text="bind:purcdmndno"/>
- <Cell col="54" text="bind:purcdmndseq"/>
- <Cell col="55" text="bind:colreqdd"/>
- <Cell col="56" text="bind:colreqno"/>
- <Cell col="57" text="bind:colreqseqno"/>
- <Cell col="58" text="bind:deliveqty"/>
- <Cell col="59" text="bind:unwinresn"/>
- <Cell col="60" text="bind:deliveprcsflag"/>
- <Cell col="61" text="bind:cmt"/>
- <Cell col="62" text="bind:predeptaprvyn"/>
- <Cell col="63" text="bind:aprvyn"/>
- <Cell col="64" text="bind:allsizeyn"/>
- <Cell col="65" text="bind:allsizespecidnm"/>
- <Cell col="66" text="bind:chkcmt"/>
- <Cell col="67" text="bind:minexch" mask="#,###"/>
- <Cell col="68" text="bind:reqauth"/>
- <Cell col="69" text="bind:winacnt"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <TextArea id="tar_cmt" taborder="2" visible="false" position="absolute 31 79 81 95" anchor="default" ontextchanged="grp_main_tar_cmt_ontextchanged"/>
- <Div id="grp_button" taborder="3" position="absolute 7 0 600 22" anchor="top right">
- <Layouts>
- <Layout>
- <Button id="btn_delete" taborder="1" text="행삭제" class="btn2" position="absolute 60 0 111 22" anchor="default" onclick="grp_main_grp_button_btn_delete_onclick"/>
- <Button id="btn_choice" taborder="2" text="승인전체/접수전체취소" class="btn2" position="absolute 113 0 255 22" anchor="default" onclick="grp_main_grp_button_btn_choice_onclick"/>
- <Button id="btn_excel" taborder="3" text="엑셀" class="btn7" position="absolute 257 0 311 22" anchor="default" onclick="grp_main_grp_button_btn_excel_onclick"/>
- <CheckBox id="ckb_accept" taborder="4" position="absolute 525 3 592 18" text="동시승인" truevalue="Y" anchor="default" onclick="grp_main_grp_button_ckb_accept_onclick"/>
- <Button id="btn_save" taborder="5" text="저장" class="btn4" position="absolute 469 0 523 22" anchor="default" onclick="grp_main_grp_button_btn_save_onclick"/>
- <Button id="btn_accept" taborder="6" text="승인/미승인" class="btn4" position="absolute 369 0 467 22" anchor="default" onclick="grp_main_grp_button_btn_accept_onclick"/>
- <Button id="btn_print" taborder="7" text="출력" class="btn6" position="absolute 313 0 367 22" anchor="default" onclick="grp_main_grp_button_btn_print_onclick"/>
- <Button id="btn_insert" taborder="8" text="행추가" class="btn2" position="absolute 7 0 58 22" anchor="default" onclick="grp_main_grp_button_btn_insert_onclick"/>
- </Layout>
- </Layouts>
- </Div>
- <Grid id="grd_message" taborder="4" binddataset="ds_main_messagelists_messagelist" useinputpanel="false" visible="false" position="absolute 180 179 530 329" anchor="default">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="141"/>
- <Column size="100"/>
- <Column size="100"/>
- </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"/>
- <Cell col="4"/>
- </Band>
- <Band id="body">
- <Cell text="bind:instcd"/>
- <Cell col="1" text="bind:goodflag"/>
- <Cell col="2" text="bind:reqflag"/>
- <Cell col="3" text="bind:clostm"/>
- <Cell col="4" text="bind:closdesc"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- </Div>
- <Div id="grp_allsize" taborder="3" visible="false" position="absolute 649 274 1013 574">
- <Layouts>
- <Layout>
- <Shape id="rectangle1" type="rectangle" position="absolute 0 0 364 300" anchor="default"/>
- <Grid id="grd_codelist" class="grd_prodcmpylist" taborder="1" binddataset="ds_main_codelist" useinputpanel="false" position="absolute 6 33 358 294" anchor="default" cellclickbound="cell" cellsizingtype="col" selecttype="multirow">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="30"/>
- <Column size="40"/>
- <Column size="140"/>
- <Column size="76"/>
- <Column size="51"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="C"/>
- <Cell col="1" text="ID"/>
- <Cell col="2" text="명칭"/>
- <Cell col="3" text="모델"/>
- <Cell col="4" text="수량"/>
- </Band>
- <Band id="body">
- <Cell displaytype="checkbox" edittype="checkbox" text="bind:chk" expr="expr:(chk=="Y"||chk==1)?1:0"/>
- <Cell col="1" text="bind:allsizespecid"/>
- <Cell col="2" text="bind:goodspec"/>
- <Cell col="3" text="bind:goodmodel"/>
- <Cell col="4" displaytype="text" edittype="text" text="bind:qty"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Button id="btn_confirm" taborder="2" text="확인" class="btn4" position="absolute 302 6 358 28" anchor="default" onclick="grp_allsize_btn_confirm_onclick"/>
- <Shape id="line1" class="line_10" position="absolute 6 28 358 34" anchor="default"/>
- </Layout>
- </Layouts>
- </Div>
- <Div id="grp_sea" taborder="4" position="absolute 0 50 1186 130" class="div_SA2">
- <Layouts>
- <Layout>
- <Edit id="opt_reqfinaldept" taborder="8" readonly="true" visible="false" position="absolute 1005 0 1033 19" anchor="default"/>
- <Edit id="tmp_goodcd" taborder="9" visible="false" position="absolute 1100 0 1125 19" anchor="default"/>
- <Edit id="opt_reqfinaldeptnm" taborder="10" readonly="true" visible="false" position="absolute 1038 0 1058 19" anchor="default"/>
- <Edit id="tmp_goodnm" taborder="11" visible="false" position="absolute 1135 0 1165 19" anchor="default"/>
- <Edit id="tmpreqdeptcd" taborder="12" visible="false" position="absolute 1043 30 1083 49" anchor="default"/>
- <Edit id="opt_goodflag" taborder="13" readonly="true" visible="false" position="absolute 1035 5 1060 24" anchor="default"/>
- <Static id="caption4" text="작업구분 :" class="search_name" position="absolute 295 7 381 24" anchor="default"/>
- <Static id="caption11" text="기관코드 :" class="search_name" position="absolute 13 7 99 24" anchor="default"/>
- <Static id="caption16" text="청구일자 :" class="search_name" position="absolute 625 31 711 48" anchor="default"/>
- <Static id="caption18" text="청구주기 :" class="search_name" position="absolute 625 7 711 24" anchor="default"/>
- <Combo id="cmb_workflag" taborder="14" innerdataset="@ds_init_workflag_workflaglist" codecolumn="value" datacolumn="label" class="combo_default" position="absolute 385 6 530 25" anchor="default" onitemchanged="grp_sea_cmb_workflag_onitemchanged"/>
- <Combo id="cmb_reqpridflag" taborder="15" innerdataset="@ds_init_ReqpridLists_reqpridlist" codecolumn="value" datacolumn="label" class="combo_default" position="absolute 710 6 820 25" anchor="default" onitemchanged="grp_sea_cmb_reqpridflag_onitemchanged"/>
- <Edit id="opt_requsernm" taborder="16" readonly="true" position="absolute 155 30 249 49" anchor="default" class="output"/>
- <Edit id="opt_requser" taborder="17" readonly="true" position="absolute 101 30 154 49" anchor="default" class="output"/>
- <Shape id="line14" linetype="vertical" class="line_4" position="absolute 1100 9 1106 71" anchor="default"/>
- <Button id="btn_search" taborder="18" text="조회" class="btn1" position="absolute 1115 28 1171 50" anchor="default" onclick="grp_sea_btn_search_onclick"/>
- <Static id="caption3" text="청구부서 :" class="search_name" position="absolute 13 55 99 72" anchor="default"/>
- <Edit id="opt_instcd" taborder="19" readonly="true" visible="false" position="absolute 115 3 145 22" anchor="default"/>
- <Edit id="opt_instcdnm" taborder="20" readonly="true" position="absolute 101 6 249 25" anchor="default" class="output"/>
- <Combo id="cmb_reqdeptcd" taborder="21" innerdataset="@ds_init_ReqDeptLists_reqdeptlist" codecolumn="value" datacolumn="label" class="combo_default" position="absolute 101 54 249 73" anchor="default" onitemchanged="grp_sea_cmb_reqdeptcd_onitemchanged"/>
- <Static id="caption7" text="청구번호 :" class="search_name" position="absolute 625 55 711 72" anchor="default"/>
- <Combo id="cmb_hidden" taborder="22" visible="false" position="absolute 860 54 915 73" anchor="default"/>
- <Combo id="cmb_reqno" taborder="23" innerdataset="@ds_main_DeptReqnoLists_reqnolist" codecolumn="reqno" datacolumn="reqno" class="combo_default" position="absolute 710 54 785 73" anchor="default" onitemchanged="grp_sea_cmb_reqno_onitemchanged"/>
- <CheckBox id="chk_reqnonew" taborder="24" position="absolute 790 56 840 71" anchor="default" text="신규" style="font:Dotum,9,bold;" truevalue="Y" onclick="grp_sea_chk_reqnonew_onclick"/>
- <Calendar id="ipt_reqdd" taborder="25" class="input_essential" position="absolute 710 30 820 49" mask="yyyy-mm-dd" anchor="default" onchanged="grp_sea_ipt_reqdd_onchanged"/>
- <Static id="caption9" text="청 구 자 :" class="search_name" position="absolute 13 31 99 48" anchor="default"/>
- <Combo id="sel_goodflag" taborder="26" innerdataset="ds_init_sel_goodflag" codecolumn="cdid" datacolumn="cdnm" class="combo_default" enable="false" position="absolute 385 30 530 49" anchor="default" onitemchanged="grp_sea_sel_goodflag_onitemchanged"/>
- <Static id="caption24" text="물품구분 :" class="search_name" position="absolute 295 31 381 48" anchor="default"/>
- <Static id="cpt_dept" text="부서선택 :" class="search_name" visible="false" position="absolute 295 55 381 72" anchor="default"/>
- <Edit id="ipt_tempdeptnm" taborder="27" visible="false" position="absolute 485 54 595 73" anchor="default" class="output" readonly="true"/>
- <Edit id="ipt_tempdeptcd" taborder="28" class="input_search" visible="false" position="absolute 385 54 465 73" anchor="default" onkeydown="grp_sea_ipt_tempdeptcd_onkeydown"/>
- <Button id="btn_tempdeptcd" taborder="29" class="icon_search" visible="false" position="absolute 468 55 484 71" anchor="default" onclick="grp_sea_btn_tempdeptcd_onclick"/>
- </Layout>
- </Layouts>
- </Div>
- <Tab id="swt_search" taborder="5" tabindex="0" position="absolute 0 140 1186 166" onchanged="swt_search_onchanged">
- <Tabpages>
- <Tabpage id="bbt_reqdata" text="물품청구내역">
- <Layouts>
- <Layout/>
- </Layouts>
- </Tabpage>
- <Tabpage id="gd_find" text="물품검색">
- <Layouts>
- <Layout>
- <Shape id="lin_goodlist" class="line_1" position="absolute 3 125 579 126"/>
- </Layout>
- </Layouts>
- </Tabpage>
- <Tabpage id="gd_set" text="청구SET목록"/>
- </Tabpages>
- </Tab>
- <Static id="caption2" text="* 처방에 의한 청구내역은 [일별 청구현황 조회]에서 확인하실 수 있습니다." position="absolute 759 150 1178 163"/>
- <Button id="bbt_large" taborder="6" class="icon_pre_month" visible="false" position="absolute 584 147 600 163" onclick="bbt_large_onclick"/>
- <Button id="bbt_right" taborder="7" class="icon_next_month" visible="false" position="absolute 602 147 618 163" onclick="bbt_right_onclick"/>
- <Static id="caption25" text="All Size" position="absolute 702 148 752 163"/>
- <Static id="caption26" class="color_6" position="absolute 684 147 699 162" style="background:#ffff00ff;"/>
- <Button id="button1" taborder="8" text="제로(0인 수량) 삭제" class="btn2" position="absolute 449 142 579 162" onclick="button1_onclick"/>
- <Div id="gd_find" taborder="10" position="absolute 0 168 580 805">
- <Layouts>
- <Layout>
- <Div id="group2" taborder="0" position="absolute 3 0 579 97" anchor="default" class="div_SA2">
- <Layouts>
- <Layout>
- <Static id="caption12" text="대 분 류 :" class="search_name" position="absolute 5 29 93 46" anchor="default"/>
- <Combo id="ipt_lrgcd" taborder="8" position="absolute 91 28 243 47" anchor="default" onitemchanged="gd_find_group2_ipt_lrgcd_onitemchanged"/>
- <Static id="caption15" text="중 분 류 :" class="search_name" position="absolute 260 29 346 46" anchor="default"/>
- <Combo id="ipt_mdlcd" taborder="9" position="absolute 347 28 491 47" anchor="default"/>
- <Static id="caption10" text="물 품 명 :" class="search_name" position="absolute 5 75 91 92" anchor="default"/>
- <Edit id="ipt_goodnm" taborder="10" class="input_essential" position="absolute 91 74 491 93" anchor="default" onkeyup="gd_find_group2_ipt_goodnm_onkeyup" onkeydown="gd_find_group2_ipt_goodnm_onkeydown"/>
- <Edit id="ipt_edicd" taborder="11" class="input_default" position="absolute 347 51 491 70" anchor="default"/>
- <Static id="cap_edicd" text="EDI 코드 :" class="search_name" position="absolute 260 52 347 69" anchor="default"/>
- <Static id="caption14" text="물품구분 :" class="search_name" position="absolute 5 6 91 23" anchor="default"/>
- <Combo id="cmb_goodflag" taborder="12" innerdataset="ds_init_goodflag" codecolumn="cdid" datacolumn="cdnm" class="combo_default" enable="false" position="absolute 91 5 243 24" anchor="default" onitemchanged="gd_find_group2_cmb_goodflag_onitemchanged"/>
- <Edit id="ipt_goodcd" taborder="13" class="input_essential" position="absolute 91 51 243 70" anchor="default" onkeydown="gd_find_group2_ipt_goodcd_onkeydown"/>
- <Static id="caption13" text="물품코드 :" class="search_name" position="absolute 5 52 91 69" anchor="default"/>
- <Static id="cap_mngtcls" text="관리분류 :" class="search_name" visible="false" position="absolute 260 6 346 23" anchor="default"/>
- <Combo id="cmb_mngtcls" taborder="14" innerdataset="ds_init_cmb_mngtcls" codecolumn="cdid" datacolumn="cdnm" class="combo_essential" visible="false" position="absolute 347 5 491 24" anchor="default"/>
- <Shape id="line6" linetype="vertical" class="line_4" position="absolute 497 9 503 88" anchor="default"/>
- </Layout>
- </Layouts>
- </Div>
- <Button id="btn_searchgood" taborder="1" text="조회" class="btn1" position="absolute 514 38 570 60" anchor="default" onclick="gd_find_btn_searchgood_onclick"/>
- <Button id="bbt_apply2" taborder="2" text="적용" class="btn4" position="absolute 523 99 579 121" anchor="default" onclick="gd_find_bbt_apply2_onclick"/>
- <Grid id="grd_goodlist" taborder="3" binddataset="ds_main_GoodLists_goodlist" useinputpanel="false" position="absolute 3 126 578 635" anchor="default" cellclickbound="cell" cellsizingtype="col" selecttype="multirow" oncellclick="gd_find_grd_goodlist_oncellclick">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="25" band="left"/>
- <Column size="20"/>
- <Column size="75"/>
- <Column size="0"/>
- <Column size="150"/>
- <Column size="70"/>
- <Column size="70"/>
- <Column size="80"/>
- <Column size="55"/>
- <Column size="40"/>
- <Column size="65"/>
- <Column size="60"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1"/>
- <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="기관코드"/>
- <Cell col="13" text="물품구분"/>
- <Cell col="14" text="최소처방수량"/>
- <Cell col="15" text="기준량"/>
- <Cell col="16" text="재고량"/>
- <Cell col="17" text="사용자수량"/>
- <Cell col="18" text="단위"/>
- <Cell col="19"/>
- <Cell col="20"/>
- <Cell col="21"/>
- <Cell col="22"/>
- <Cell col="23"/>
- <Cell col="24"/>
- <Cell col="25"/>
- <Cell col="26"/>
- <Cell col="27"/>
- <Cell col="28"/>
- <Cell col="29"/>
- <Cell col="30"/>
- <Cell col="31"/>
- <Cell col="32"/>
- <Cell col="33"/>
- <Cell col="34"/>
- <Cell col="35"/>
- <Cell col="36"/>
- <Cell col="37"/>
- <Cell col="38"/>
- <Cell col="39"/>
- <Cell col="40"/>
- <Cell col="41"/>
- <Cell col="42"/>
- <Cell col="43"/>
- <Cell col="44"/>
- <Cell col="45"/>
- <Cell col="46"/>
- <Cell col="47"/>
- <Cell col="48"/>
- <Cell col="49"/>
- <Cell col="50"/>
- <Cell col="51"/>
- <Cell col="52"/>
- <Cell col="53"/>
- <Cell col="54"/>
- <Cell col="55"/>
- <Cell col="56"/>
- <Cell col="57"/>
- <Cell col="58"/>
- <Cell col="59"/>
- <Cell col="60"/>
- <Cell col="61"/>
- <Cell col="62"/>
- <Cell col="63"/>
- <Cell col="64"/>
- <Cell col="65"/>
- <Cell col="66"/>
- <Cell col="67"/>
- <Cell col="68"/>
- <Cell col="69"/>
- <Cell col="70"/>
- <Cell col="71"/>
- <Cell col="72"/>
- <Cell col="73"/>
- <Cell col="74"/>
- <Cell col="75"/>
- <Cell col="76"/>
- <Cell col="77"/>
- <Cell col="78"/>
- <Cell col="79"/>
- <Cell col="80"/>
- <Cell col="81"/>
- <Cell col="82"/>
- <Cell col="83"/>
- <Cell col="84"/>
- <Cell col="85"/>
- <Cell col="86"/>
- <Cell col="87"/>
- <Cell col="88"/>
- <Cell col="89"/>
- <Cell col="90"/>
- <Cell col="91"/>
- <Cell col="92"/>
- <Cell col="93"/>
- <Cell col="94"/>
- <Cell col="95"/>
- <Cell col="96"/>
- <Cell col="97"/>
- <Cell col="98"/>
- <Cell col="99"/>
- <Cell col="100"/>
- <Cell col="101"/>
- <Cell col="102"/>
- <Cell col="103" text="a"/>
- <Cell col="104" text="caption1"/>
- <Cell col="105" text="caption2"/>
- <Cell col="106"/>
- <Cell col="107"/>
- <Cell col="108"/>
- <Cell col="109"/>
- <Cell col="110"/>
- <Cell col="111"/>
- <Cell col="112"/>
- <Cell col="113"/>
- </Band>
- <Band id="body">
- <Cell celltype="head"/>
- <Cell col="1" displaytype="checkbox" edittype="checkbox" text="bind:select" expr="expr:(select=="true"||select==1)?1:0"/>
- <Cell col="2" displaytype="text" edittype="none" text="bind:goodcd"/>
- <Cell col="3" text="bind:allsizespecid"/>
- <Cell col="4" displaytype="text" text="bind:goodnm"/>
- <Cell col="5" displaytype="text" text="bind:goodspec"/>
- <Cell col="6" displaytype="text" text="bind:goodmodel"/>
- <Cell col="7" text="bind:setunit"/>
- <Cell col="8" text="bind:deliveunit"/>
- <Cell col="9" text="bind:reqpridnm"/>
- <Cell col="10" text="bind:reqmthdnm"/>
- <Cell col="11" text="bind:purcflagnm"/>
- <Cell col="12" text="bind:prodcmpycd"/>
- <Cell col="13" text="bind:prodcmpynm"/>
- <Cell col="14" text="bind:instcd"/>
- <Cell col="15" text="bind:goodflag"/>
- <Cell col="16" text="bind:minexch"/>
- <Cell col="17" text="bind:userqty"/>
- <Cell col="18" text="bind:purcunit"/>
- <Cell col="19" text="bind:safestocqty"/>
- <Cell col="20" text="bind:stocqty"/>
- <Cell col="21" text="bind:todd"/>
- <Cell col="22" text="bind:useyn"/>
- <Cell col="23" text="bind:fromdd"/>
- <Cell col="24" text="bind:asetflag"/>
- <Cell col="25" text="bind:lrgcd"/>
- <Cell col="26" text="bind:lrgnm"/>
- <Cell col="27" text="bind:mdlcd"/>
- <Cell col="28" text="bind:mdlnm"/>
- <Cell col="29" text="bind:smlcd"/>
- <Cell col="30" text="bind:smlnm"/>
- <Cell col="31" text="bind:proddrugsetflag"/>
- <Cell col="32" text="bind:winacnt"/>
- <Cell col="33" text="bind:winacntnm"/>
- <Cell col="34" text="bind:amtacnt"/>
- <Cell col="35" text="bind:amtacntnm"/>
- <Cell col="36" text="bind:mainmngtdeptcd"/>
- <Cell col="37" text="bind:mainmngtdeptnm"/>
- <Cell col="38" text="bind:mainusedeptcd"/>
- <Cell col="39" text="bind:mainusedeptnm"/>
- <Cell col="40" text="bind:purclnkgoodcd"/>
- <Cell col="41" text="bind:stocmngtflag"/>
- <Cell col="42" text="bind:purcunitnm"/>
- <Cell col="43" text="bind:deliveunitnm"/>
- <Cell col="44" text="bind:exchqty"/>
- <Cell col="45" text="bind:reuseyn"/>
- <Cell col="46" text="bind:divusenvalqty"/>
- <Cell col="47" text="bind:calcscorinfoacptstat"/>
- <Cell col="48" text="bind:calcscorinfoacptdd"/>
- <Cell col="49" text="bind:insuyn"/>
- <Cell col="50" text="bind:edicd"/>
- <Cell col="51" text="bind:newrgstdd"/>
- <Cell col="52" text="bind:reqdeptcd"/>
- <Cell col="53" text="bind:reqdeptnm"/>
- <Cell col="54" text="bind:reqpsn"/>
- <Cell col="55" text="bind:reqpsnnm"/>
- <Cell col="56" text="bind:reqflag"/>
- <Cell col="57" text="bind:reqflagnm"/>
- <Cell col="58" text="bind:reqmthd"/>
- <Cell col="59" text="bind:reqprid"/>
- <Cell col="60" text="bind:iopsnflag"/>
- <Cell col="61" text="bind:prodplce"/>
- <Cell col="62" text="bind:prodplcenm"/>
- <Cell col="63" text="bind:maincustlastsuplplce"/>
- <Cell col="64" text="bind:maincustlastsuplplcenm"/>
- <Cell col="65" text="bind:suppcustcd"/>
- <Cell col="66" text="bind:suppcustnm"/>
- <Cell col="67" text="bind:conflag"/>
- <Cell col="68" text="bind:fromconterm"/>
- <Cell col="69" text="bind:toconterm"/>
- <Cell col="70" text="bind:estmamt"/>
- <Cell col="71" text="bind:forgncurncyunitcost"/>
- <Cell col="72" text="bind:curncyunit"/>
- <Cell col="73" text="bind:curncyunitnm"/>
- <Cell col="74" text="bind:goodunitcost"/>
- <Cell col="75" text="bind:purcflag"/>
- <Cell col="76" text="bind:allsizeyn"/>
- <Cell col="77" text="bind:setplceordflag"/>
- <Cell col="78" text="bind:plceordbase"/>
- <Cell col="79" text="bind:plceordqtycretflag"/>
- <Cell col="80" text="bind:plceordnonusedd"/>
- <Cell col="81" text="bind:addtaxrate"/>
- <Cell col="82" text="bind:lastpurcdd"/>
- <Cell col="83" text="bind:nonusetretresn"/>
- <Cell col="84" text="bind:mngtflag"/>
- <Cell col="85" text="bind:bnscd"/>
- <Cell col="86" text="bind:cntrdrugyn"/>
- <Cell col="87" text="bind:narcflag"/>
- <Cell col="88" text="bind:expnyn"/>
- <Cell col="89" text="bind:cntsunit"/>
- <Cell col="90" text="bind:cntsqty"/>
- <Cell col="91" text="bind:specvol"/>
- <Cell col="92" text="bind:drugkind"/>
- <Cell col="93" text="bind:cooppurcyn"/>
- <Cell col="94" text="bind:autrampharm"/>
- <Cell col="95" text="bind:keepmthd"/>
- <Cell col="96" text="bind:specldrug"/>
- <Cell col="97" text="bind:gnrlspcl"/>
- <Cell col="98" text="bind:welfprt"/>
- <Cell col="99" text="bind:goodtype"/>
- <Cell col="100" text="bind:com"/>
- <Cell col="101" text="bind:limdrugyn"/>
- <Cell col="102" text="bind:cmt"/>
- <Cell col="103" text="bind:safestocappdd"/>
- <Cell col="104" text="bind:ddavguseqty"/>
- <Cell col="105" text="bind:mmavgusescheqty"/>
- <Cell col="106" text="bind:mmavguseqty"/>
- <Cell col="107" text="bind:prprtystocpossndayno"/>
- <Cell col="108" text="bind:orgloc"/>
- <Cell col="109" text="bind:oldcd"/>
- <Cell col="110" text="bind:goodhngnm"/>
- <Cell col="111" text="bind:goodengnm"/>
- <Cell col="112" text="bind:reqfnldeptcd"/>
- <Cell col="113" text="bind:tmpreqflag"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Shape id="line1" class="line_10" position="absolute 3 121 579 127" anchor="default"/>
- </Layout>
- </Layouts>
- </Div>
- <Button id="btn_repeat" taborder="11" text="Repeat청구" class="btn2" visible="false" position="absolute 510 168 596 190" anchor="top right" onclick="btn_repeat_onclick"/>
- <Div id="grp_repeat" taborder="1" visible="false" position="absolute 161 235 1155 650" style="background:white;border:1 solid #808080ff ;">
- <Layouts>
- <Layout>
- <Static id="caption1" text="Repeat 청구" class="tit_2" position="absolute 6 9 186 26" anchor="default"/>
- <Shape id="line2" class="line_10" position="absolute 6 25 986 31" anchor="default"/>
- <Button id="button3" taborder="1" text="확인" class="btn4" visible="false" position="absolute 871 385 927 407" anchor="default" onclick="grp_repeat_button3_onclick"/>
- <Button id="button4" taborder="2" text="닫기" class="btn4" position="absolute 930 385 986 407" anchor="default" onclick="grp_repeat_button4_onclick"/>
- <Grid id="grd_repeat" taborder="3" binddataset="ds_main_list_repeatreq_repeatlist" useinputpanel="false" position="absolute 6 30 986 381" anchor="default" cellclickbound="cell" cellsizingtype="col" selecttype="multirow" oncelldblclick="grp_repeat_grd_repeat_oncelldblclick">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="25" band="left"/>
- <Column size="72"/>
- <Column size="40"/>
- <Column size="65"/>
- <Column size="0"/>
- <Column size="60"/>
- <Column size="0"/>
- <Column size="80"/>
- <Column size="0"/>
- <Column size="60"/>
- <Column size="94"/>
- <Column size="277"/>
- <Column size="126"/>
- <Column size="50"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" text="청구일자"/>
- <Cell col="2" text="번호"/>
- <Cell col="3" text="청구구분"/>
- <Cell col="4" text="청구자"/>
- <Cell col="5" text="청구자명"/>
- <Cell col="6" text="부서승인여부"/>
- <Cell col="7" text="부서승인여부"/>
- <Cell col="8" text="접수여부"/>
- <Cell col="9" text="접수여부"/>
- <Cell col="10" text="물품코드"/>
- <Cell col="11" text="물품명"/>
- <Cell col="12" text="규격"/>
- <Cell col="13" text="수량"/>
- <Cell col="14"/>
- <Cell col="15"/>
- <Cell col="16"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" text="expr:currow+1"/>
- <Cell col="1" displaytype="date" text="bind:reqdd"/>
- <Cell col="2" text="bind:reqno"/>
- <Cell col="3" text="bind:reqflag"/>
- <Cell col="4" text="bind:reqpsnid"/>
- <Cell col="5" text="bind:reqpsnnm"/>
- <Cell col="6" text="bind:deptaprvyn"/>
- <Cell col="7" text="bind:deptaprvnm"/>
- <Cell col="8" text="bind:acptflag"/>
- <Cell col="9" text="bind:acptflagnm"/>
- <Cell col="10" displaytype="text" text="bind:goodcd"/>
- <Cell col="11" displaytype="text" text="bind:goodnm"/>
- <Cell col="12" displaytype="text" text="bind:goodspec"/>
- <Cell col="13" displaytype="number" text="bind:reqqty"/>
- <Cell col="14" text="bind:workflag"/>
- <Cell col="15" text="bind:requnit"/>
- <Cell col="16" text="bind:cmt"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Button id="button2" taborder="4" text="출력" class="btn6" position="absolute 741 385 797 407" anchor="default" onclick="grp_repeat_button2_onclick"/>
- <Button id="button5" taborder="5" text="Excel" class="btn7" position="absolute 800 385 868 407" anchor="default" onclick="grp_repeat_button5_onclick"/>
- </Layout>
- </Layouts>
- </Div>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_main_DeptReqnoLists_reqnolist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep"/>
- <Dataset id="ds_send_save_goodreqlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep"/>
- <Dataset id="ds_main_GoodLists_goodlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep" oncolumnchanged="ds_main_GoodLists_goodlist_oncolumnchanged"/>
- <Dataset id="ds_send_lastdatesearch" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="instcd" type="STRING" size="256"/>
- <Column id="deldeptcd" type="STRING" size="256"/>
- <Column id="reqym" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="instcd"/>
- <Col id="deldeptcd"/>
- <Col id="reqym"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_send_reqset" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="instcd" type="STRING" size="256"/>
- <Column id="reqdeptcd" type="STRING" size="256"/>
- <Column id="reqprid" type="STRING" size="256"/>
- <Column id="goodsetcd" type="STRING" size="256"/>
- <Column id="reqflag" type="STRING" size="256"/>
- <Column id="goodsetnm" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="instcd"/>
- <Col id="reqdeptcd"/>
- <Col id="reqprid"/>
- <Col id="goodsetcd"/>
- <Col id="reqflag"/>
- <Col id="goodsetnm"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_send_goodreq" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="workflag" type="STRING" size="256"/>
- <Column id="instcd" type="STRING" size="256"/>
- <Column id="reqflag" type="STRING" size="256"/>
- <Column id="deliveflag" type="STRING" size="256"/>
- <Column id="reqdd" type="STRING" size="256"/>
- <Column id="reqpridflag" type="STRING" size="256"/>
- <Column id="flag" type="STRING" size="256"/>
- <Column id="reqdeptcd" type="STRING" size="256"/>
- <Column id="reqdeptnm" type="STRING" size="256"/>
- <Column id="reqpsnid" type="STRING" size="256"/>
- <Column id="retrmaxreqnoyn" type="STRING" size="256"/>
- <Column id="reqno" type="STRING" size="256"/>
- <Column id="stdysubjno" type="STRING" size="256"/>
- <Column id="stdysubjnm" type="STRING" size="256"/>
- <Column id="bugtflag" type="STRING" size="256"/>
- <Column id="tmp_goodcd" type="STRING" size="256"/>
- <Column id="tmp_goodnm" type="STRING" size="256"/>
- <Column id="inputmethod" type="STRING" size="256"/>
- <Column id="instcdnm" type="STRING" size="256"/>
- <Column id="sapreq" type="STRING" size="256"/>
- <Column id="goodflag" type="STRING" size="256"/>
- <Column id="cmt" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="workflag">1</Col>
- <Col id="instcd"/>
- <Col id="reqflag"/>
- <Col id="deliveflag"/>
- <Col id="reqdd"/>
- <Col id="reqpridflag"/>
- <Col id="flag"/>
- <Col id="reqdeptcd"/>
- <Col id="reqdeptnm"/>
- <Col id="reqpsnid"/>
- <Col id="retrmaxreqnoyn"/>
- <Col id="reqno"/>
- <Col id="stdysubjno"/>
- <Col id="stdysubjnm"/>
- <Col id="bugtflag"/>
- <Col id="tmp_goodcd"/>
- <Col id="tmp_goodnm"/>
- <Col id="inputmethod"/>
- <Col id="instcdnm"/>
- <Col id="sapreq"/>
- <Col id="goodflag"/>
- <Col id="cmt"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_copynode" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="copynode" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="copynode"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_ReqpsnLists_reqpsnlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="instcd" type="STRING" size="256"/>
- <Column id="emplno" type="STRING" size="256"/>
- <Column id="emplnm" type="STRING" size="256"/>
- <Column id="reqdeptcd" type="STRING" size="256"/>
- <Column id="reqdeptnm" type="STRING" size="256"/>
- <Column id="reqaprvflag" type="STRING" size="256"/>
- <Column id="reqflag" type="STRING" size="256"/>
- <Column id="fstrgstrid" type="STRING" size="256"/>
- <Column id="fstrgstdt" type="STRING" size="256"/>
- <Column id="lastupdtrid" type="STRING" size="256"/>
- <Column id="lastupdtdt" type="STRING" size="256"/>
- <Column id="reqprid" type="STRING" size="256"/>
- <Column id="reqpridnm" type="STRING" size="256"/>
- <Column id="reqaprvflagnm" type="STRING" size="256"/>
- <Column id="reqflagnm" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="instcd"/>
- <Col id="emplno"/>
- <Col id="emplnm"/>
- <Col id="reqdeptcd"/>
- <Col id="reqdeptnm"/>
- <Col id="reqaprvflag"/>
- <Col id="reqflag"/>
- <Col id="fstrgstrid"/>
- <Col id="fstrgstdt"/>
- <Col id="lastupdtrid"/>
- <Col id="lastupdtdt"/>
- <Col id="reqprid"/>
- <Col id="reqpridnm"/>
- <Col id="reqaprvflagnm"/>
- <Col id="reqflagnm"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_CopyData" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="label" type="STRING" size="256"/>
- <Column id="value" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="label"/>
- <Col id="value"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_tmp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo/>
- </Dataset>
- <Dataset id="ds_temp_goodlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep"/>
- <Dataset id="ds_temp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="workflag" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="workflag"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_codelist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep" oncolumnchanged="ds_main_codelist_oncolumnchanged">
- <ColumnInfo>
- <Column id="allsizespecid" type="STRING" size="256"/>
- <Column id="goodspec" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="allsizespecid"/>
- <Col id="goodspec"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_tmp_common_goodflaglist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep"/>
- <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_send_reqpsn" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="instcd" type="STRING" size="256"/>
- <Column id="emplno" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="instcd"/>
- <Col id="emplno"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep"/>
- <Dataset id="ds_send_chkgoodreq" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="s" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="s"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_send_allsize" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="goodcd" type="STRING" size="256"/>
- <Column id="instcd" type="STRING" size="256"/>
- <Column id="goodspec" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="goodcd"/>
- <Col id="instcd"/>
- <Col id="goodspec"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_rsdhdeymlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="todd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="todd"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_list_goodreq_goodreqlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep" oncolumnchanged="ds_main_list_goodreq_goodreqlist_oncolumnchanged">
- <ColumnInfo>
- <Column id="chk" type="STRING" size="255"/>
- <Column id="goodcd" type="STRING" size="255"/>
- <Column id="goodnm" type="STRING" size="255"/>
- <Column id="goodspec" type="STRING" size="255"/>
- <Column id="setunit" type="STRING" size="255"/>
- <Column id="delivedeptnm" type="STRING" size="255"/>
- <Column id="delivedeptcd" type="STRING" size="255"/>
- <Column id="reqpackunit" type="STRING" size="255"/>
- <Column id="requnit" type="STRING" size="255"/>
- <Column id="reqpackperunitqty" type="BIGDECIMAL" size="255"/>
- <Column id="reqflag" type="STRING" size="255"/>
- <Column id="reqmthd" type="STRING" size="255"/>
- <Column id="reqpackqty" type="BIGDECIMAL" size="255"/>
- <Column id="reqqty" type="BIGDECIMAL" size="255"/>
- <Column id="safeqty" type="BIGDECIMAL" size="255"/>
- <Column id="ddavguseqty" type="BIGDECIMAL" size="255"/>
- <Column id="prepargodqty" type="BIGDECIMAL" size="255"/>
- <Column id="basevol" type="BIGDECIMAL" size="255"/>
- <Column id="purcflag" type="STRING" size="255"/>
- <Column id="goodunitcost" type="BIGDECIMAL" size="255"/>
- <Column id="goodpurccost" type="BIGDECIMAL" size="255"/>
- <Column id="reqcollcdeptcd" type="STRING" size="255"/>
- <Column id="tmpreqflag" type="STRING" size="255"/>
- <Column id="mngtcls" type="STRING" size="255"/>
- <Column id="instcd" type="STRING" size="255"/>
- <Column id="goodflag" type="STRING" size="255"/>
- <Column id="exchqty" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="chk"/>
- <Col id="goodcd"/>
- <Col id="goodnm"/>
- <Col id="goodspec"/>
- <Col id="setunit"/>
- <Col id="delivedeptnm"/>
- <Col id="delivedeptcd"/>
- <Col id="reqpackunit"/>
- <Col id="requnit"/>
- <Col id="reqpackperunitqty"/>
- <Col id="reqflag"/>
- <Col id="reqmthd"/>
- <Col id="reqpackqty"/>
- <Col id="reqqty"/>
- <Col id="safeqty"/>
- <Col id="ddavguseqty"/>
- <Col id="prepargodqty"/>
- <Col id="basevol"/>
- <Col id="purcflag"/>
- <Col id="goodunitcost"/>
- <Col id="goodpurccost"/>
- <Col id="reqcollcdeptcd"/>
- <Col id="tmpreqflag"/>
- <Col id="mngtcls"/>
- <Col id="instcd"/>
- <Col id="goodflag"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_list_goodreq_goodmaxreqno" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep"/>
- <Dataset id="ds_main_messagelists_messagelist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep"/>
- <Dataset id="ds_tempdept" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep" oncolumnchanged="ds_tempdept_oncolumnchanged">
- <ColumnInfo>
- <Column id="tempdeptcd" type="STRING" size="256"/>
- <Column id="tempdeptnm" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="tempdeptcd"/>
- <Col id="tempdeptnm"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_ReqDeptLists_reqdeptlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="label" type="STRING" size="256"/>
- <Column id="value" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="label"/>
- <Col id="value"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_send_message" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="instcd" type="STRING" size="256"/>
- <Column id="goodflag" type="STRING" size="256"/>
- <Column id="reqflag" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="instcd"/>
- <Col id="goodflag"/>
- <Col id="reqflag"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep"/>
- <Dataset id="ds_init_workflag" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo/>
- </Dataset>
- <Dataset id="ds_send_repeatreq" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="instcd" type="STRING" size="256"/>
- <Column id="reqdeptcd" type="STRING" size="256"/>
- <Column id="goodflag" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="instcd"/>
- <Col id="reqdeptcd"/>
- <Col id="goodflag"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_send_save_autoaprv" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="autoaprvyn" type="STRING" size="256"/>
- <Column id="reqnonew" type="STRING" size="256"/>
- <Column id="instcd" type="STRING" size="256"/>
- <Column id="reqdeptcd" type="STRING" size="256"/>
- <Column id="reqdd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="autoaprvyn"/>
- <Col id="reqnonew"/>
- <Col id="instcd"/>
- <Col id="reqdeptcd"/>
- <Col id="reqdd"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="reqdeptcd" type="STRING" size="256"/>
- <Column id="reqdeptnm" type="STRING" size="256"/>
- <Column id="requserno" type="STRING" size="256"/>
- <Column id="requsernm" type="STRING" size="256"/>
- <Column id="reqfinaldeptcd" type="STRING" size="256"/>
- <Column id="reqfinaldeptnm" type="STRING" size="256"/>
- <Column id="goodflag" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="reqdeptcd"/>
- <Col id="reqdeptnm"/>
- <Col id="requserno"/>
- <Col id="requsernm"/>
- <Col id="reqfinaldeptcd"/>
- <Col id="reqfinaldeptnm"/>
- <Col id="goodflag"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_reqselflag" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="label" type="STRING" size="256"/>
- <Column id="value" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="label">일반청구</Col>
- <Col id="value">1</Col>
- </Row>
- <Row>
- <Col id="label">정량보충</Col>
- <Col id="value">2</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_workflag_workflaglist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="label" type="STRING" size="256"/>
- <Column id="value" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="label">일반청구</Col>
- <Col id="value">1</Col>
- </Row>
- <Row>
- <Col id="label">비치약품청구</Col>
- <Col id="value">3</Col>
- </Row>
- <Row>
- <Col id="label">응급약물청구</Col>
- <Col id="value">5</Col>
- </Row>
- <Row>
- <Col id="label">비치약품반납</Col>
- <Col id="value">4</Col>
- </Row>
- <Row>
- <Col id="label">응급약물반납</Col>
- <Col id="value">2</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_list_reqset_reqsetlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep"/>
- <Dataset id="ds_main_list_reqmst_reqsetmst" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep"/>
- <Dataset id="ds_send_goodlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="refcond" type="STRING" size="256"/>
- <Column id="instcd" type="STRING" size="256"/>
- <Column id="goodflag" type="STRING" size="256"/>
- <Column id="goodcd" type="STRING" size="256"/>
- <Column id="goodnm" type="STRING" size="256"/>
- <Column id="indexnm" type="STRING" size="256"/>
- <Column id="indexgb" type="STRING" size="256"/>
- <Column id="reqflag" type="STRING" size="256"/>
- <Column id="lrgcd" type="STRING" size="256"/>
- <Column id="lrgnm" type="STRING" size="256"/>
- <Column id="mdlcd" type="STRING" size="256"/>
- <Column id="mdlnm" type="STRING" size="256"/>
- <Column id="prodcmpycd" type="STRING" size="256"/>
- <Column id="prodcmpynm" type="STRING" size="256"/>
- <Column id="goodspec" type="STRING" size="256"/>
- <Column id="goodmodel" type="STRING" size="256"/>
- <Column id="oldcd" type="STRING" size="256"/>
- <Column id="reqdeptcd" type="STRING" size="256"/>
- <Column id="reqprid" type="STRING" size="256"/>
- <Column id="instcdnm" type="STRING" size="256"/>
- <Column id="reqflagnm" type="STRING" size="256"/>
- <Column id="reqpridnm" type="STRING" size="256"/>
- <Column id="reqcheck" type="STRING" size="256"/>
- <Column id="purcdeptflag" type="STRING" size="256"/>
- <Column id="workflag" type="STRING" size="256"/>
- <Column id="edicd" type="STRING" size="256"/>
- <Column id="mngtcls" type="STRING" size="256"/>
- <Column id="reqmthd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="refcond"/>
- <Col id="instcd"/>
- <Col id="goodflag">Y</Col>
- <Col id="goodcd"/>
- <Col id="goodnm"/>
- <Col id="indexnm"/>
- <Col id="indexgb"/>
- <Col id="reqflag"/>
- <Col id="lrgcd"/>
- <Col id="lrgnm"/>
- <Col id="mdlcd"/>
- <Col id="mdlnm"/>
- <Col id="prodcmpycd"/>
- <Col id="prodcmpynm"/>
- <Col id="goodspec"/>
- <Col id="goodmodel"/>
- <Col id="oldcd"/>
- <Col id="reqdeptcd"/>
- <Col id="reqprid"/>
- <Col id="instcdnm"/>
- <Col id="reqflagnm"/>
- <Col id="reqpridnm"/>
- <Col id="reqcheck"/>
- <Col id="purcdeptflag"/>
- <Col id="workflag"/>
- <Col id="edicd"/>
- <Col id="mngtcls"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_list_repeatreq_repeatlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep"/>
- <Dataset id="ds_send_reqmst" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="instcd" type="STRING" size="256"/>
- <Column id="reqdeptcd" type="STRING" size="256"/>
- <Column id="reqflag" type="STRING" size="256"/>
- <Column id="reqpridflag" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="instcd"/>
- <Col id="reqdeptcd"/>
- <Col id="reqflag"/>
- <Col id="reqpridflag"/>
- </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="goodflag" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_temp_repdata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="instcd" type="STRING" size="256"/>
- <Column id="goodcd" type="STRING" size="256"/>
- <Column id="goodflag" type="STRING" size="256"/>
- <Column id="reqqty" type="STRING" size="256"/>
- <Column id="reqpackqty" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="instcd"/>
- <Col id="goodcd"/>
- <Col id="goodflag"/>
- <Col id="reqqty"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_ReqpridLists_reqpridlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="reqprid" type="STRING" size="256"/>
- <Column id="reqpridnm" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="reqprid">1</Col>
- <Col id="reqpridnm">일</Col>
- </Row>
- <Row>
- <Col id="reqprid">4</Col>
- <Col id="reqpridnm">월</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_hidden_temp_goodmaxreqno" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_target_defaultvalue" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="gd_find.group2.ipt_lrgcd" propid="value" datasetid="ds_send_goodlist" columnid="lrgcd"/>
- <BindItem id="item1" compid="gd_find.group2.ipt_mdlcd" propid="value" datasetid="ds_send_goodlist" columnid="mdlcd"/>
- <BindItem id="item2" compid="gd_find.group2.ipt_goodnm" propid="value" datasetid="ds_send_goodlist" columnid="goodnm"/>
- <BindItem id="item3" compid="gd_find.group2.ipt_edicd" propid="value" datasetid="ds_send_goodlist" columnid="edicd"/>
- <BindItem id="item4" compid="gd_find.group2.cmb_goodflag" propid="value" datasetid="ds_init" columnid="goodflag"/>
- <BindItem id="item5" compid="gd_find.group2.ipt_goodcd" propid="value" datasetid="ds_send_goodlist" columnid="goodcd"/>
- <BindItem id="item6" compid="gd_find.group2.cmb_mngtcls" propid="value" datasetid="ds_send_goodlist" columnid="mngtcls"/>
- <BindItem id="item7" compid="grp_sea.opt_reqfinaldept" propid="value" datasetid="ds_init" columnid="reqfinaldeptcd"/>
- <BindItem id="item8" compid="grp_sea.tmp_goodcd" propid="value" datasetid="ds_send_goodreq" columnid="tmp_goodcd"/>
- <BindItem id="item9" compid="grp_sea.opt_reqfinaldeptnm" propid="value" datasetid="ds_init" columnid="reqfinaldeptnm"/>
- <BindItem id="item10" compid="grp_sea.tmp_goodnm" propid="value" datasetid="ds_send_goodreq" columnid="tmp_goodnm"/>
- <BindItem id="item11" compid="grp_sea.tmpreqdeptcd" propid="value" datasetid="ds_send_goodlist" columnid="reqdeptcd"/>
- <BindItem id="item12" compid="grp_sea.opt_goodflag" propid="value" datasetid="ds_send" columnid="goodflag"/>
- <BindItem id="item13" compid="grp_sea.cmb_workflag" propid="value" datasetid="ds_send_goodreq" columnid="workflag"/>
- <BindItem id="item14" compid="grp_sea.cmb_reqpridflag" propid="value" datasetid="ds_send_goodreq" columnid="reqpridflag"/>
- <BindItem id="item15" compid="grp_sea.opt_requsernm" propid="value" datasetid="ds_init" columnid="requsernm"/>
- <BindItem id="item16" compid="grp_sea.opt_requser" propid="value" datasetid="ds_init" columnid="requserno"/>
- <BindItem id="item17" compid="grp_sea.opt_instcd" propid="value" datasetid="ds_send_goodreq" columnid="instcd"/>
- <BindItem id="item18" compid="grp_sea.opt_instcdnm" propid="value" datasetid="ds_send_goodreq" columnid="instcdnm"/>
- <BindItem id="item19" compid="grp_sea.cmb_reqdeptcd" propid="value" datasetid="ds_send_goodreq" columnid="reqdeptcd"/>
- <BindItem id="item20" compid="grp_sea.cmb_reqno" propid="value" datasetid="ds_send_goodreq" columnid="reqno"/>
- <BindItem id="item21" compid="grp_sea.chk_reqnonew" propid="value" datasetid="ds_send_save_autoaprv" columnid="reqnonew"/>
- <BindItem id="item22" compid="grp_sea.ipt_reqdd" propid="value" datasetid="ds_send_goodreq" columnid="reqdd"/>
- <BindItem id="item23" compid="grp_sea.sel_goodflag" propid="value" datasetid="ds_send_goodreq" columnid="goodflag"/>
- <BindItem id="item24" compid="grp_sea.ipt_tempdeptnm" propid="value" datasetid="ds_tempdept" columnid="tempdeptnm"/>
- <BindItem id="item25" compid="grp_sea.ipt_tempdeptcd" propid="value" datasetid="ds_tempdept" columnid="tempdeptcd"/>
- <BindItem id="item26" compid="grp_main.grp_button.ckb_accept" propid="value" datasetid="ds_send_save_autoaprv" columnid="autoaprvyn"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name :
- * Job Name :
- * Creator :
- * Make Date : 2017-06-19
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2017-06-19 Live Converter TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- //=======================================================================================
- // Lib Include
- //---------------------------------------------------------------------------------------
- include "com_commonxp::comm_main.xjs";
- include "mis_miscommonxp::MIS.xjs";
- include "mis_miscommonxp::RSZ001.xjs";
- include "mis_reqxp::SMRSD10000.xjs";
- //=======================================================================================
- // Global Form Variable
- //---------------------------------------------------------------------------------------
- var arErrorCode = new HashArray();
- //=======================================================================================
- // Function
- //---------------------------------------------------------------------------------------
- /****************************************************************************************
- * Argument : N/A
- * Description :
- ****************************************************************************************/
-
- //=======================================================================================
- // Event
- //---------------------------------------------------------------------------------------
- /****************************************************************************************
- * Components : Form
- * Description : 화면 처음 초기화시 폼초기화
- ****************************************************************************************/
- function SMRSD10000_onload(obj:Form, e:LoadEventInfo) {
- frmf_initForm(obj);
- grdf_initGrid(gd_find.grd_goodlist);
- grdf_initGrid(grp_main.grd_goodreq);
- //grdf_setGridSort(grp_main.grd_goodreq);
- grdf_setRowTypeIcon(grp_main.grd_goodreq, 0);
-
- fViewToggle(1);
- fInitialize();
- fGoodListSearch();
- }
- function btn_reqset_onclick(obj:Button, e:ClickEventInfo) {
-
- fViewToggle(2); // 1 :늘리기, 2 : 줄이기
- fReqSetList() ;
-
- }
- function gd_set_grd_reqset_oncellclick(obj:Grid, e:GridClickEventInfo) {
- if (e.row < 0 ) return;
- var chk = ds_main_list_reqset_reqsetlist.getColumn(obj.currentrow, "chk");
-
- if(chk == "true") {
- ds_main_list_reqset_reqsetlist.setColumn(obj.currentrow, "chk", "false");
- } else {
- ds_main_list_reqset_reqsetlist.setColumn(obj.currentrow, "chk", "true");
- }
-
- var reqprid = ds_main_list_reqset_reqsetlist.getColumn(ds_main_list_reqset_reqsetlist.rowposition, "reqprid");
-
- var reqpridflag = ds_send_goodreq.getColumn(0, "reqpridflag");
-
- if(reqprid != reqpridflag) {
- alert("청구불가능!! 청구주기를 확인하십시요 !!");
- }
-
- }
- function gd_set_btn_apply_onclick(obj:Button, e:ClickEventInfo) {
-
- fSelectDataApply2();
- }
- /****************************************************************************************
- * Components : Combo
- * Description : 대분류 변경
- ****************************************************************************************/
- function gd_find_group2_ipt_lrgcd_onitemchanged(obj:Combo, e:ItemChangeEventInfo) {
- rszfLMSComboList(gd_find.group2.cmb_goodflag.value, e.postvalue, "", "gd_find.group2.ipt_mdlcd", "", "M", "Y");
- }
- /****************************************************************************************
- * Components : Edit
- * Description : 부서조회
- ****************************************************************************************/
- function gd_find_group2_ipt_goodnm_onkeydown(obj:Edit, e:KeyEventInfo) {
- obj.updateToDataset();
- if(e.keycode == 13) gd_find.btn_searchgood.click();
- }
- /****************************************************************************************
- * Components : Combo
- * Description : 물품구분 변경
- ****************************************************************************************/
- function gd_find_group2_cmb_goodflag_onitemchanged(obj:Combo, e:ItemChangeEventInfo) {
- if(e.postvalue == "PH"){
- fSetTempDept(e.postvalue);
- }else{
- fSetTempDept();
- rszfLMSComboList(e.postvalue, "", "", "gd_find.group2.ipt_lrgcd", "", "L","Y");
- }
- }
- /****************************************************************************************
- * Components : Edit
- * Description : 물품코드 입력
- ****************************************************************************************/
- function gd_find_group2_ipt_goodcd_onkeydown(obj:Edit, e:KeyEventInfo) {
- obj.updateToDataset();
- if(e.keycode == 13) gd_find.btn_searchgood.click();
- }
- /****************************************************************************************
- * Components : Grid
- * Description : 물품검색 내역 선택
- ****************************************************************************************/
- function gd_find_grd_goodlist_oncellclick(obj:Grid, e:GridClickEventInfo) {
- if (e.row < 0 ) return;
-
- var Select = ds_main_GoodLists_goodlist.getColumn(e.row, "select");
- var Goodflag = ds_main_GoodLists_goodlist.getColumn(e.row, "goodflag");
- var TmpReqflag = ds_main_GoodLists_goodlist.getColumn(e.row, "tmpreqflag");
- var Reqprid = ds_main_GoodLists_goodlist.getColumn(e.row, "reqprid");
- if ((Select == "true") && (Reqprid != grp_sea.cmb_reqpridflag.value)) {
- ds_main_GoodLists_goodlist.setColumn(e.row, "select" , "false");
- sysf_messageBox("청구 불가능합니다,청구주기를","I007");
- return;
- }
- // reqmthd 청구방법 1:처방,2:정량,3:일반
- // purcflag 구매구분 1:구매,2:수탁,3:가납
- if (grp_sea.cmb_workflag.value == 3 || grp_sea.cmb_workflag.value == 4 || grp_sea.cmb_workflag.value == 5 ) {
- if ((ds_main_GoodLists_goodlist.getColumn(e.row, "reqmthd" ) != "1" ) &&
- (ds_main_GoodLists_goodlist.getColumn(e.row, "purcflag") != "2") )
- {
- ds_main_GoodLists_goodlist.setColumn(e.row, "select" , "false");
- sysf_messageBox("상비품이 아닙니다","I007");
- return;
- }
- }
- }
- /****************************************************************************************
- * Components : Button
- * Description : 물품검색 조회
- ****************************************************************************************/
- function gd_find_bbt_apply2_onclick(obj:Button, e:ClickEventInfo) {
- fSelectDataApply(gd_find.grd_goodlist, grp_main.grd_goodreq, "goodreqlist", "basevol");
- }
- /****************************************************************************************
- * Components : Button
- * Description : 물품검색 조회
- ****************************************************************************************/
- function gd_find_btn_searchgood_onclick(obj:Button, e:ClickEventInfo) {
- fGoodListSearch();
- }
- /****************************************************************************************
- * Components : Button
- * Description : 화면조정
- ****************************************************************************************/
- function bbt_large_onclick(obj:Button, e:ClickEventInfo)
- {
- swt_search.tabindex = 0;
- }
- /****************************************************************************************
- * Components : Button
- * Description : 화면조정
- ****************************************************************************************/
- function bbt_right_onclick(obj:Button, e:ClickEventInfo)
- {
- swt_search.tabindex = 0;
- }
- /****************************************************************************************
- * Components : Combo
- * Description : 작업구분 변경
- ****************************************************************************************/
- function grp_sea_cmb_workflag_onitemchanged(obj:Combo, e:ItemChangeEventInfo) {
- misfGridInit(gd_find.grd_goodlist);
- var updtdata = grdf_getGridUpdateData(grp_main.grd_goodreq, "all");
- if ( cmbworkflagold != grp_sea.cmb_workflag.value ) {
- if ( updtdata.rowcount > 0 ) {
- var ret = sysf_messageBox("그리드에 작업 중인 내용이 있습니다. 작업구분 변경을","Q003");
- if (ret != 6) { // not OK
- grp_sea.cmb_workflag.index = parseInt(cmbworkflagold)-1;
- return;
- }else{
- misfGridInit(grp_main.grd_goodreq);
- cmbworkflagold = grp_sea.cmb_workflag.value; //작업구분콤보의 변경전 값을 변수에 저장함
- fDeptReqNoQuery(); // 청구부서별 청구번호를 조회한다
- if (!utlf_isNull(grp_sea.cmb_reqno.value))
- grp_sea.btn_search.click();
- } // end else
- } else {
- cmbworkflagold = grp_sea.cmb_workflag.value; //작업구분콤보의 변경전 값을 변수에 저장함
- //2011.03.22 비치약품청구 및 응급약물청구시 낱개단위로 청구 가능하게 약무팀 요청
- fSetTempDept("PH");
- fDeptReqNoQuery();
- if (!utlf_isNull(grp_sea.cmb_reqno.value))
- grp_sea.btn_search.click();
- }
- } // end if*/
- }
- /****************************************************************************************
- * Components : Combo
- * Description : 청구주기 변경
- ****************************************************************************************/
- function grp_sea_cmb_reqpridflag_onitemchanged(obj:Combo, e:ItemChangeEventInfo) {
- fSetReqAuth();
- }
- /****************************************************************************************
- * Components : Button
- * Description : 조회
- ****************************************************************************************/
- function grp_sea_btn_search_onclick(obj:Button, e:ClickEventInfo) {
- fSearchButtonClick();
- //grp_main.grd_goodreq.dispatch("onmouseup");
- }
- /****************************************************************************************
- * Components : Combo
- * Description : 청구부서
- ****************************************************************************************/
- function grp_sea_cmb_reqdeptcd_onitemchanged(obj:Combo, e:ItemChangeEventInfo) {
- misfGridInit(grp_main.grd_goodreq);
- grp_sea.tmpreqdeptcd.value = e.postvalue; //청구부서 물품조회시 추가하는 부분
- fReqpridCopy(); // 청구 주기Set
- }
- /****************************************************************************************
- * Components : Combo
- * Description : 청구번호 변경
- ****************************************************************************************/
- function grp_sea_cmb_reqno_onitemchanged(obj:Combo, e:ItemChangeEventInfo) {
- grp_sea.btn_search.click();
- }
- function grp_sea_chk_reqnonew_onkillfocus(obj:CheckBox, e:KillFocusEventInfo) {
- fNewReqNo(); // 신규생성
-
- }
- /****************************************************************************************
- * Components : Combo
- * Description : 물품구분 변경
- ****************************************************************************************/
- function grp_sea_sel_goodflag_onitemchanged(obj:Combo, e:ItemChangeEventInfo) {
- fDeptReqNoQuery();
- }
- /****************************************************************************************
- * Components : Button
- * Description : 부서조회
- ****************************************************************************************/
- function grp_sea_btn_tempdeptcd_onclick(obj:Button, e:ClickEventInfo) {
- var tempolddeptcd = ds_tempdept.getColumn(0, "tempdeptcd");
- misfOpenPopUpList("02", ds_tempdept,"","tempdeptcd,tempdeptnm");
- var vDeptcd = ds_tempdept.getColumn(0, "tempdeptcd");
- //tempdeptcd가 예전의 값이랑 다를 경우에만 해당 이벤트가 발생하도록 하자
- //찾아온 부서를 청구부서콤보에 붙이는 함수를 호출한다.
- if (utlf_isNull(vDeptcd)) {
- return
- }
-
- if (utlf_isNull(ds_init_ReqDeptLists_reqdeptlist.lookupExpr("value == '" + vDeptcd + "'", "value"))) {
- fAddReqDeptcdCombo();
- } else {
- grp_sea.cmb_reqdeptcd.value = vDeptcd;
- }
- }
- /****************************************************************************************
- * Components : Grid
- * Description : 물품청구내역 선택
- ****************************************************************************************/
- function grp_main_grd_goodreq_oncellclick(obj:Grid, e:GridClickEventInfo) {
- grp_allsize.visible = false;
- }
- /****************************************************************************************
- * Components : Grid
- * Description : 물품청구내역 버튼클릭
- ****************************************************************************************/
- function grp_main_grd_goodreq_onexpandup(obj:Grid, e:GridMouseEventInfo) {
- fGoodreqButtonClick(e.clientY) ;
- }
- /****************************************************************************************
- * Components : Grid
- * Description : 물품청구내역 버튼선택시 바로 클릭
- ****************************************************************************************/
- function grp_main_grd_goodreq_onmousemove(obj:Grid, e:GridMouseEventInfo)
- {
- if(e.row > -1 && (e.col == obj.getBindCellIndex("body","goodcd") || e.col = obj.getBindCellIndex("body","goodspec")))
- obj.autoenter = "select";
- else obj.autoenter = "key";
- }
- /****************************************************************************************
- * Components : Grid
- * Description : 그리드 내용변경시 실행
- ****************************************************************************************/
- function grp_main_grd_goodreq_ontextchanged(obj:Grid, e:GridEditTextChangedEventInfo) {
- fGoodreqOnChange();
- }
- /****************************************************************************************
- * Components : Grid
- * Description : 그리드 내용변경시 실행
- ****************************************************************************************/
- function grp_main_grd_goodreq_onkeydown(obj:Grid, e:KeyEventInfo) {
- fGoodreqOnKeyDown(e);
- }
- /****************************************************************************************
- * Components : Button
- * Description : 행삭제
- ****************************************************************************************/
- function grp_main_grp_button_btn_delete_onclick(obj:Button, e:ClickEventInfo) {
- /* 접수된건은 삭제할수 없음 */
- if (ds_main_list_goodreq_goodreqlist.getColumn(ds_main_list_goodreq_goodreqlist.rowposition, "acptflag") == "Y")
- {
- sysf_messageBox("구매접수된 내역은 삭제","E001");
- return;
- }
- if(grp_sea.cmb_reqpridflag.value != "1")
- {
- if(rszfGetPurcAuthInfoByCond("reqaprvflag") =="1" &&
- ds_main_list_goodreq_goodreqlist.getColumn(ds_main_list_goodreq_goodreqlist.rowposition, "deptaprvyn") == "Y")
- {
- sysf_messageBox("미승인권자가 승인된 내역은 삭제","E001");
- return;
- }
- }
- misfGridIUD(grp_main.grd_goodreq, "D");
- }
- /****************************************************************************************
- * Components : Button
- * Description : 승인전체/접수전체취소
- ****************************************************************************************/
- function grp_main_grp_button_btn_choice_onclick(obj:Button, e:ClickEventInfo) {
- fSettingReqAprv();
- }
- /****************************************************************************************
- * Components : Button
- * Description : 엑셀저장
- ****************************************************************************************/
- function grp_main_grp_button_btn_excel_onclick(obj:Button, e:ClickEventInfo) {
- misfSaveExcel(grp_main.grd_goodreq);
- }
- /****************************************************************************************
- * Components : Button
- * Description : 엑셀저장
- ****************************************************************************************/
- function grp_main_grp_button_btn_save_onclick(obj:Button, e:ClickEventInfo) {
- //fSaveData(); // Data를 저장한다. 밑에서 한다.
- fConfirmSaveData();
- //grp_main.grd_goodreq.dispatch("onmouseup");
- }
- /****************************************************************************************
- * Components : Button
- * Description : 승인/미승인
- ****************************************************************************************/
- function grp_main_grp_button_btn_accept_onclick(obj:Button, e:ClickEventInfo) {
- fSaveReqAprv();
- }
- /****************************************************************************************
- * Components : Button
- * Description : 출력
- ****************************************************************************************/
- function grp_main_grp_button_btn_print_onclick(obj:Button, e:ClickEventInfo) {
- var objDOM = rptf_createDOM();
- var objParam = new Object();
- rptf_setNodeListToDOM(objDOM, "/root/main/list/goodreq/goodreqlist" , ds_main_list_goodreq_goodreqlist);
- objParam.xml_data_XML1 = objDOM.documentElement.source;
- var option = "open=1;save=1;directprint=0;printdialog=1;print=1;zoom=0";
- rptf_exeReportPreview30(["RPRSD00402"],[objParam], option);
- }
- /****************************************************************************************
- * Components : Button
- * Description : 행추가
- ****************************************************************************************/
- function grp_main_grp_button_btn_insert_onclick(obj:Button, e:ClickEventInfo) {
- if (fCheckRetrieveData(true) == false) return;
- misfGridIUD(grp_main.grd_goodreq, "A");
- ds_main_list_goodreq_goodreqlist.rowposition = ds_main_list_goodreq_goodreqlist.rowcount-1;
- grp_main.tar_cmt.value = "";
- fDefaultSetting(ds_main_list_goodreq_goodreqlist.rowposition);
- grp_main.grd_goodreq.setFocus();
- grp_main.grd_goodreq.setCellPos(grp_main.grd_goodreq.getBindCellIndex("body","goodcd"));
- grp_main.grd_goodreq.showEditor(true);
- }
- /****************************************************************************************
- * Components : Button
- * Description : 제로(0인 수량) 삭제
- ****************************************************************************************/
- function button1_onclick(obj:Button, e:ClickEventInfo) {
- fZeroReqQtyDel();
- }
- /****************************************************************************************
- * Components : Button
- * Description : allsize확인
- ****************************************************************************************/
- function grp_allsize_btn_confirm_onclick(obj:Button, e:ClickEventInfo) {
- fAllSizeSelect() ;
- }
- /****************************************************************************************
- * Components : Button
- * Description : repeat 확인(사용안함)
- ****************************************************************************************/
- function grp_repeat_button3_onclick(obj:Button, e:ClickEventInfo) {
- // fDataSet();
- // fDispSumAmt();
- // var nodelist = ds_main_list_purcdmndinfo_purcdmndsublist.rowcount;
- // if(nodelist > 0){
- // grp_sea.sel_goodflag.enable = false;
- // }else{
- // }
- // grp_repeat.visible = false;
- }
- /****************************************************************************************
- * Components : Button
- * Description : repeat 닫기
- ****************************************************************************************/
- function grp_repeat_button4_onclick(obj:Button, e:ClickEventInfo) {
- grp_repeat.visible = false;
- }
- /****************************************************************************************
- * Components : Grid
- * Description : repeat 선택
- ****************************************************************************************/
- function grp_repeat_grd_repeat_oncelldblclick(obj:Grid, e:GridClickEventInfo) {
- if(fValMain() == false ) return;
- fAddFromRepeatReq1(e.row);
- var row = grp_main.grd_goodreq.rows-grp_main.grd_goodreq.fixedrows;
- ds_main_list_goodreq_goodreqlist.setColumn(row, "reqqty" , ds_temp_repdata.getColumn(0,"reqqty"));
- ds_main_list_goodreq_goodreqlist.setColumn(row, "reqpackqty" , ds_temp_repdata.getColumn(0,"reqpackqtyqty"));
- }
- /****************************************************************************************
- * Components : Button
- * Description : repeat 출력
- ****************************************************************************************/
- function grp_repeat_button2_onclick(obj:Button, e:ClickEventInfo) {
- var objDOM = rptf_createDOM();
- var objParam = new Object();
- rptf_setNodeListToDOM(objDOM, "/root/main/list/repeatreq/repeatlist" , ds_main_list_repeatreq_repeatlist);
- objParam.xml_data_XML1 = objDOM.documentElement.source;
- var option = "open=1;save=1;directprint=0;printdialog=1;print=1;zoom=0";
- rptf_exeReportPreview30(["RPRSD00403"],[objParam], option);
- }
- /****************************************************************************************
- * Components : Button
- * Description : repeat 엑셀저장
- ****************************************************************************************/
- function grp_repeat_button5_onclick(obj:Button, e:ClickEventInfo) {
- misfSaveExcel(grp_repeat.grd_repeat);
- }
- /****************************************************************************************
- * Components : Button
- * Description : 초기화
- ****************************************************************************************/
- function grp_tle_btn_init_onclick(obj:Button, e:ClickEventInfo) {
- fInitialize();
- }
- /****************************************************************************************
- * Components : Tab
- * Description : 탭변경
- ****************************************************************************************/
- function swt_search_onchanged(obj:Tab, e:TabIndexChangeEventInfo)
- {
- if(e.postindex == 0) fViewToggle(1);
- if(e.postindex == 1) {
- fViewToggle(2);
- if (dsf_getColumnNullToEmpty(ds_init, 0, "goodflag") == "") {
- gd_find.group2.cmb_goodflag.index = 0;
- }
- fGoodListReady("",""); // 물품찾기 처리하는 함수
- }
- if(e.postindex == 2) {
- fViewToggle(3);
- fReqSetList() ;
- }
- }
- /****************************************************************************************
- * Components : CheckBox
- * Description : 동시승인 체크
- ****************************************************************************************/
- function grp_main_grp_button_ckb_accept_onclick(obj:CheckBox, e:ClickEventInfo)
- {
- if(obj.value == false) ds_send_save_autoaprv.setColumn(0,"autoaprvyn", "");
- }
- /****************************************************************************************
- * Components : Calendar
- * Description : 청구일자 변경
- ****************************************************************************************/
- function grp_sea_ipt_reqdd_onchanged(obj:Calendar, e:ChangeEventInfo)
- {
- fDeptReqNoQuery();
- }
- /****************************************************************************************
- * Components : Edit
- * Description : 부서조회
- ****************************************************************************************/
- function grp_sea_ipt_tempdeptcd_onkeydown(obj:Edit, e:KeyEventInfo)
- {
- if(e.keycode == 13) obj.updateToDataset();
- }
- /****************************************************************************************
- * Components : Edit
- * Description : 부서조회
- ****************************************************************************************/
- function ds_tempdept_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
- {
- if(e.columnid == "tempdeptcd") {
- misfSearchDept(grp_sea.ipt_tempdeptnm);
- var deptcd = e.newvalue;
- if (utlf_isNull(deptcd)) return;
- if (utlf_isNull(ds_init_ReqDeptLists_reqdeptlist.lookupExpr("value == '" + deptcd + "'", "value"))) {
- fAddReqDeptcdCombo();
- } else {
- grp_sea.cmb_reqdeptcd.value = deptcd;
- }
- }
- }
- /****************************************************************************************
- * Components : CheckBox
- * Description : 신규체크
- ****************************************************************************************/
- function grp_sea_chk_reqnonew_onclick(obj:CheckBox, e:ClickEventInfo)
- {
- if(obj.value == false) ds_send_save_autoaprv.setColumn(0,"reqnonew", "");
- fNewReqNo();
- }
- /****************************************************************************************
- * Components : Dataset
- * Description : 물품코드 선택
- ****************************************************************************************/
- function ds_main_GoodLists_goodlist_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
- {
- if(e.columnid=="select") {
- obj.setColumn(e.row,e.columnid,(e.newvalue=="true"||e.newvalue==1)?"true":"false");
- }
- }
- /****************************************************************************************
- * Components : Button
- * Description : repeat청구
- ****************************************************************************************/
- function btn_repeat_onclick(obj:Button, e:ClickEventInfo)
- {
- if (fValMain() == false) return;
-
- fRepeatReqSearch();
- }
- /****************************************************************************************
- * Components : Grid
- * Description : 그리드 내용변경시 실행
- ****************************************************************************************/
- function grp_main_grd_goodreq_onselectchanged(obj:Grid, e:GridSelectEventInfo)
- {
- grp_main.tar_cmt.value = ds_main_list_goodreq_goodreqlist.getColumn(e.row, "cmt");
- }
- /****************************************************************************************
- * Components : Dataset
- * Description : 그리드 데이터 변경시
- ****************************************************************************************/
- function ds_main_list_goodreq_goodreqlist_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
- {
- fCalcReqQty();
- }
- /****************************************************************************************
- * Components : Dataset
- * Description : 올사이즈 체크
- ****************************************************************************************/
- function ds_main_codelist_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
- {
- if(e.columnid=="chk") {
- obj.setColumn(e.row,e.columnid,(e.newvalue=="true"||e.newvalue==1)?"true":"false");
- }
- }
- /****************************************************************************************
- * Components : TextArea
- * Description : 값 변경시
- ****************************************************************************************/
- function grp_main_tar_cmt_ontextchanged(obj:TextArea, e:TextChangedEventInfo)
- {
- var cRow = grp_main.grd_goodreq.currentrow;
- if( cRow > -1 && (e.posttext != ds_main_list_goodreq_goodreqlist.getColumn(cRow, "cmt")) )
- {
- ds_main_list_goodreq_goodreqlist.setColumn(cRow, "cmt", e.posttext);
- if(ds_main_list_goodreq_goodreqlist.getRowType(cRow) == 1) grdf_setStatus(grp_main.grd_goodreq, "U", [cRow]);
- }
- }
- function grp_biz_swt_search_gd_set_btn_apply01_onclick(obj:Button, e:ClickEventInfo)
- {
- frmf_modal("SMRSD00200", "SMRSD00200", null, null, 0, 200, 200, null, null, null, null, null, "M");
- fReqSetList(1);
- }
- function gd_set_grd_setlist_oncellclick(obj:Grid, e:GridClickEventInfo)
- {
- fReqSetRead(obj.currentrow);
- }
- ]]></Script>
- </Form>
- </FDL>
|