1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMADT12000" classname="SMADT12000_통합마약조회" inheritanceid="" position="absolute 0 0 1196 715" titletext="New Form" onload="SMADT12000_onload" onkeyup="SMADT12000_onkeyup" oninit="SMADT12000_oninit">
- <Layouts>
- <Layout>
- <Static id="caption6" text=" 통합 마약 관리" class="tit_1" position="absolute 0 0 160 25"/>
- <Div id="group2" anchor="left top right" taborder="1" class="div_SA" position="absolute 0 25 1195 65">
- <Layouts>
- <Layout>
- <Static id="caption2" text="바코드 :" class="search_name" position="absolute 13 12 80 29" anchor="default"/>
- <Edit id="ipt_barcode" taborder="57" class="input_search" position="absolute 88 10 308 29" anchor="default" onkeydown="group2_ipt_barcode_onkeydown" oneditclick="group2_ipt_barcode_oneditclick" useime="none"/>
- <Button id="btn_sea" taborder="58" text="조회" onclick="group2_btn_sea_onclick" class="btn1" position="absolute 326 10 382 32" anchor="default"/>
- <Button id="Button00" taborder="59" text="바코드 출력" position="absolute 913 9 1011 31" onclick="group2_Button00_onclick" anchor="top right" class="btn3"/>
- <Button id="Button01" taborder="60" text="마 감" position="absolute 1014 9 1074 31" onclick="group2_Button01_onclick" anchor="top right" class="btn3"/>
- <Button id="Button02" taborder="61" text="저장소별 현황" position="absolute 1077 9 1187 31" onclick="group2_Button02_onclick" anchor="top right" class="btn3"/>
- </Layout>
- </Layouts>
- </Div>
- <Static id="caption24" text="등록번호" class="cell_1" position="absolute 0 94 80 117"/>
- <Edit id="opt_pid" taborder="2" readonly="true" class="output" position="absolute 83 96 205 115"/>
- <Static id="caption14" text="진료과" class="cell_1" position="absolute 417 119 496 142"/>
- <Edit id="opt_orddeptcd" taborder="3" readonly="true" class="output" position="absolute 499 121 681 140"/>
- <Static id="caption13" text="담당의" class="cell_1" position="absolute 689 119 760 142"/>
- <Edit id="opt_orddrid" taborder="4" readonly="true" class="output" position="absolute 768 121 859 140"/>
- <Static id="caption25" text="환자명" class="cell_1" position="absolute 213 94 292 117"/>
- <Edit id="opt_hngnm" taborder="6" readonly="true" class="output" position="absolute 295 96 409 115"/>
- <Static id="caption9" text="진료일자" class="cell_1" position="absolute 213 119 292 142"/>
- <MaskEdit id="output1" taborder="7" displaynulltext=" " readonly="true" type="string" mask="####-##-##" class="output" position="absolute 295 121 409 140" style="align:left middle;"/>
- <Static id="caption10" text="면허번호" class="cell_1" position="absolute 867 119 959 142"/>
- <Edit id="opt_licenseno" taborder="8" readonly="true" class="output" position="absolute 967 121 1194 140"/>
- <Static id="caption23" text="성별" class="cell_1" position="absolute 417 94 496 117"/>
- <Edit id="opt_sex" taborder="10" readonly="true" class="output" position="absolute 499 96 581 115"/>
- <Static id="caption15" text="나이" class="cell_1" position="absolute 689 94 760 117"/>
- <Static id="caption8" text="상병" class="cell_1" position="absolute 0 144 80 167"/>
- <Edit id="opt_diagnm" taborder="12" readonly="true" class="output" position="absolute 83 146 1194 165"/>
- <Static id="caption19" text="주민등록번호" class="cell_1" position="absolute 867 94 959 117"/>
- <Edit id="output4" taborder="13" readonly="true" class="output" position="absolute 967 96 1194 115"/>
- <Static id="caption20" text="주소" class="cell_1" position="absolute 0 169 80 192"/>
- <Edit id="output3" taborder="15" readonly="true" class="output" position="absolute 83 171 1194 190"/>
- <Shape id="line02" class="line_10" position="absolute 0 89 1195 95" anchor="left top right"/>
- <Shape id="line00" class="line_1" position="absolute 0 191 1195 197" anchor="left top right"/>
- <Static id="caption26" text="환자정보" class="tit_2" position="absolute 0 73 82 94"/>
- <Static id="caption00" text="처방정보" class="tit_2" position="absolute 0 202 82 223"/>
- <Static id="caption01" text="조제 재고 정보" class="tit_2" position="absolute 0 408 138 429"/>
- <Shape id="line01" class="line_10" position="absolute 0 424 1195 430" anchor="left top right"/>
- <Edit id="opt_age" taborder="18" readonly="true" class="output" position="absolute 768 96 859 115"/>
- <Static id="caption02" text="투약번호" class="cell_1" position="absolute 0 119 80 142"/>
- <Edit id="opt_drugno" taborder="19" position="absolute 83 119 205 141" oneditclick="Edit00_oneditclick" class="output" style="font:arial,12,bold;"/>
- <Grid id="grd_narclist" class="grd_orderlist" taborder="20" binddataset="ds_main_narclist_narclist" autoenter="key" useinputpanel="false" selecttype="multirow" cellsizingtype="col" cellsizebandtype="allband" cellclickbound="cell" onrbuttonup="switch1_case1_grd_narclist_onrbuttonup" onkeyup="switch1_grd_onkeyup" onheadclick="switch1_case1_grd_narclist_onheadclick" oncelldblclick="switch1_case1_grd_narclist_oncelldblclick" position="absolute 0 223 1195 400" anchor="left top right">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="33" band="left"/>
- <Column size="67" band="left"/>
- <Column size="50" band="left"/>
- <Column size="50" band="left"/>
- <Column size="70" band="left"/>
- <Column size="74"/>
- <Column size="205"/>
- <Column size="28"/>
- <Column size="30"/>
- <Column size="36"/>
- <Column size="29"/>
- <Column size="35"/>
- <Column size="31"/>
- <Column size="40"/>
- <Column size="28"/>
- <Column size="40"/>
- <Column size="29"/>
- <Column size="28"/>
- <Column size="32"/>
- <Column size="28"/>
- <Column size="28"/>
- <Column size="29"/>
- <Column size="32"/>
- <Column size="35"/>
- <Column size="8"/>
- <Column size="70"/>
- <Column size="8"/>
- <Column size="70"/>
- <Column size="8"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="70"/>
- <Column size="9"/>
- <Column size="70"/>
- <Column size="9"/>
- <Column size="70"/>
- <Column size="9"/>
- <Column size="70"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="7"/>
- <Column size="70"/>
- <Column size="100"/>
- <Column size="7"/>
- <Column size="85"/>
- <Column size="7"/>
- <Column size="85"/>
- <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="30" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="처방 상태" wordwrap="char"/>
- <Cell col="1" text="처방일자" wordwrap="char"/>
- <Cell col="2" text="투약번호" wordwrap="char"/>
- <Cell col="3" text="처방구분" wordwrap="char"/>
- <Cell col="4" text="수행부서" wordwrap="char"/>
- <Cell col="5" text="약품코드" wordwrap="char"/>
- <Cell col="6" text="약품명" wordwrap="char"/>
- <Cell col="7" colspan="2" text="총량" wordwrap="char" taborder="undefined"/>
- <Cell col="9" colspan="2" text="일수량" wordwrap="char" taborder="undefined"/>
- <Cell col="11" colspan="2" text="1회수량" wordwrap="char" taborder="undefined"/>
- <Cell col="13" colspan="2" text="일용량" wordwrap="char" taborder="undefined"/>
- <Cell col="15" colspan="2" text="1회용량" wordwrap="char" taborder="undefined"/>
- <Cell col="17" text="횟수" wordwrap="char"/>
- <Cell col="18" colspan="2" text="잔량" wordwrap="char" taborder="undefined"/>
- <Cell col="20" colspan="2" text="반환횟수" wordwrap="char" taborder="undefined"/>
- <Cell col="22" colspan="2" text="반환수량" wordwrap="char" taborder="undefined"/>
- <Cell col="24" style="align:left;padding:0 0 0 8;" text="불출신청일자" wordwrap="char"/>
- <Cell col="25" text="불출 신청자" wordwrap="char"/>
- <Cell col="26" style="align:left;padding:0 0 0 8;" text="조제일시" wordwrap="char"/>
- <Cell col="27" text="조제 약사" wordwrap="char"/>
- <Cell col="28" style="align:left;padding:0 0 0 8;" text="투약일시" wordwrap="char"/>
- <Cell col="29" text="투약 약사" wordwrap="char"/>
- <Cell col="30" text="수령일시" wordwrap="char"/>
- <Cell col="31" text="수령 담당자" wordwrap="char"/>
- <Cell col="32" style="align:left;padding:0 0 0 8;" text="병동수령일시" wordwrap="char"/>
- <Cell col="33" text="부서확인 간호사" wordwrap="char"/>
- <Cell col="34" style="align:left;padding:0 0 0 8;" text="간호투약일시" wordwrap="char"/>
- <Cell col="35" text="간호투약 간호사" wordwrap="char"/>
- <Cell col="36" style="align:left;padding:0 0 0 8;" text="반환신청일시" wordwrap="char"/>
- <Cell col="37" text="반환신청 간호사" wordwrap="char"/>
- <Cell col="38" text="반환일시" wordwrap="char"/>
- <Cell col="39" text="반환 담당자" wordwrap="char"/>
- <Cell col="40" style="align:left;padding:0 0 0 8;" text="반환확인일시" wordwrap="char"/>
- <Cell col="41" text="반환확인 약사" wordwrap="char"/>
- <Cell col="42" text="반환사유" wordwrap="char"/>
- <Cell col="43" style="align:left;padding:0 0 0 8;" text="잔량반납 신청일시" wordwrap="char"/>
- <Cell col="44" text="잔량반납신청 간호사" wordwrap="char"/>
- <Cell col="45" style="align:left;padding:0 0 0 8;" text="잔량반납 확인일시" wordwrap="char"/>
- <Cell col="46" text="잔량반납확인 약사" wordwrap="char"/>
- <Cell col="47" text="prcpno"/>
- <Cell col="48" text="prcphistno"/>
- <Cell col="49" text="drugdd"/>
- <Cell col="50" text="drugno"/>
- <Cell col="51" text="ioflag"/>
- <Cell col="52" text="instcd"/>
- <Cell col="53" text="narcflag"/>
- <Cell col="54" text="prntflag"/>
- <Cell col="55" text="orddd"/>
- <Cell col="56" text="orddeptcd"/>
- <Cell col="57" text="prcpgenrflag"/>
- <Cell col="58" text="prntdt"/>
- <Cell col="59" text="caption1"/>
- <Cell col="60" text="반납반환 표시여부"/>
- <Cell col="61" text="투약기록 완료여부"/>
- <Cell col="62" text="간호 실시횟수"/>
- <Cell col="63" text="간호 반환횟수"/>
- <Cell col="64" text="투약x반환불가 횟수"/>
- <Cell col="65"/>
- </Band>
- <Band id="body">
- <Cell style="align:center top;padding:4 2 3 2;background2:#f0f0f0ff;" text="bind:prcphistcd" wordwrap="char" autosizerow="limitmin"/>
- <Cell col="1" style="align:left top;padding:4 2 3 2;background2:#f0f0f0ff;" text="bind:prcpdd" wordwrap="char" mask="expr:utlf_isNull(prcpdd) || prcpdd=='-' ? '' : '####/##/##'" autosizerow="limitmin"/>
- <Cell col="2" displaytype="text" style="align:center top;padding:4 2 3 2;background2:#f0f0f0ff;" text="bind:drugno" wordwrap="char" autosizerow="limitmin"/>
- <Cell col="3" style="align:left top;padding:4 2 3 2;background2:#f0f0f0ff;" text="bind:prcpkindnm" wordwrap="char" autosizerow="limitmin"/>
- <Cell col="4" style="align:left top;padding:4 2 3 2;background2:#f0f0f0ff;" text="bind:issdeptcdnm" wordwrap="char" autosizerow="limitmin"/>
- <Cell col="5" displaytype="text" style="align:left top;padding:4 2 3 2;background2:#f0f0f0ff;" text="bind:prcpcd" wordwrap="char" autosizerow="limitmin"/>
- <Cell col="6" displaytype="text" style="align:left top;padding:4 2 1 2;background2:#f0f0f0ff;" text="bind:drugnm" wordwrap="char" autosizerow="limitmin"/>
- <Cell col="7" style="align:right;padding:0 2 0 0;background2:#f0f0f0ff;" text="bind:totdrugqty"/>
- <Cell col="8" style="background2:#f0f0f0ff;" text="bind:prcpqtyunit"/>
- <Cell col="9" style="align:right;padding:0 2 0 0;background2:#f0f0f0ff;" text="bind:dayprcpqty"/>
- <Cell col="10" style="background2:#f0f0f0ff;" text="bind:dayprcpqtyunit"/>
- <Cell col="11" style="align:right;padding:0 2 0 0;background2:#f0f0f0ff;" text="bind:prcpqty2"/>
- <Cell col="12" style="background2:#f0f0f0ff;" text="bind:prcpqtyunit2"/>
- <Cell col="13" style="align:right;padding:0 2 0 0;background2:#f0f0f0ff;" text="bind:prcpvol"/>
- <Cell col="14" style="background2:#f0f0f0ff;" text="bind:prcpvolunit"/>
- <Cell col="15" style="align:right;padding:0 2 0 0;background2:#f0f0f0ff;" text="bind:prcpvol2"/>
- <Cell col="16" style="background2:#f0f0f0ff;" text="bind:prcpvolunit2"/>
- <Cell col="17" style="align:right;padding:0 2 0 0;background2:#f0f0f0ff;" text="bind:prcptims"/>
- <Cell col="18" style="align:right;padding:0 2 0 0;background2:#f0f0f0ff;" text="bind:spreqty"/>
- <Cell col="19" style="background2:#f0f0f0ff;" text="bind:prcpvolunit"/>
- <Cell col="20" style="align:right;padding:0 2 0 0;background2:#f0f0f0ff;" text="bind:rtnqty" mask="99999999999"/>
- <Cell col="21" style="background2:#f0f0f0ff;" text="bind:rtnunit"/>
- <Cell col="22" style="align:right;padding:0 2 0 0;background2:#f0f0f0ff;" text="bind:returnqty"/>
- <Cell col="23" style="background2:#f0f0f0ff;" text="bind:prcpqtyunit"/>
- <Cell col="24" style="background2:#f0f0f0ff;" text="bind:reqdt" mask="expr:utlf_isNull(reqdt) || reqdt=='-' ? '' : '####/##/## ##:##'"/>
- <Cell col="25" style="background2:#f0f0f0ff;" text="bind:reqidnm"/>
- <Cell col="26" style="background2:#f0f0f0ff;" text="bind:prcpdt" mask="expr:utlf_isNull(prcpdt) || prcpdt=='-' ? '' : '####/##/## ##:##'"/>
- <Cell col="27" style="background2:#f0f0f0ff;" text="bind:prcpidnm"/>
- <Cell col="28" style="background2:#f0f0f0ff;" text="bind:drugdt" mask="expr:utlf_isNull(drugdt) || drugdt=='-' ? '' : '####/##/## ##:##'"/>
- <Cell col="29" style="background2:#f0f0f0ff;" text="bind:drugidnm"/>
- <Cell col="30" style="background2:#f0f0f0ff;" text="bind:delivedt" mask="expr:utlf_isNull(delivedt) || delivedt=='-' ? '' : '####/##/##'"/>
- <Cell col="31" style="background2:#f0f0f0ff;" text="bind:deliveidnm"/>
- <Cell col="32" style="background2:#f0f0f0ff;" text="bind:acptdt" mask="expr:utlf_isNull(acptdt) || acptdt=='-' ? '' : '####/##/## ##:##'"/>
- <Cell col="33" style="background2:#f0f0f0ff;" text="bind:acptidnm"/>
- <Cell col="34" style="background2:#f0f0f0ff;" text="bind:nrexecdt" mask="expr:utlf_isNull(nrexecdt) || nrexecdt=='-' ? '' : '####/##/## ##:##'"/>
- <Cell col="35" style="background2:#f0f0f0ff;" text="bind:nrexecridnm"/>
- <Cell col="36" style="background2:#f0f0f0ff;" text="bind:rtnappdt" mask="expr:utlf_isNull(rtnappdt) || rtnappdt=='-' ? '' : '####/##/## ##:##'"/>
- <Cell col="37" style="background2:#f0f0f0ff;" text="bind:rtnappidnm"/>
- <Cell col="38" style="background2:#f0f0f0ff;" text="bind:rtndt" mask="expr:utlf_isNull(rtndt) || rtndt=='-' ? '' : '####/##/##''"/>
- <Cell col="39" style="background2:#f0f0f0ff;" text="bind:rtnidnm"/>
- <Cell col="40" style="background2:#f0f0f0ff;" text="bind:rtncnfmdt" mask="expr:utlf_isNull(rtncnfmdt) || rtncnfmdt=='-' ? '' : '####/##/## ##:##'"/>
- <Cell col="41" style="background2:#f0f0f0ff;" text="bind:rtncnfmidnm"/>
- <Cell col="42" displaytype="text" style="background2:#f0f0f0ff;" text="bind:rtnresn"/>
- <Cell col="43" style="background2:#f0f0f0ff;" text="bind:spredt" mask="expr:utlf_isNull(spredt) || spredt=='-' ? '' : '####/##/## ##:##'"/>
- <Cell col="44" style="background2:#f0f0f0ff;" text="bind:spreidnm"/>
- <Cell col="45" style="background2:#f0f0f0ff;" text="bind:sprecnfmdt" mask="expr:utlf_isNull(sprecnfmdt) || sprecnfmdt=='-' ? '' : '####/##/## ##:##'"/>
- <Cell col="46" style="background2:#f0f0f0ff;" text="bind:sprecnfmidnm"/>
- <Cell col="47" text="bind:prcpno"/>
- <Cell col="48" text="bind:prcphistno"/>
- <Cell col="49" text="bind:drugdd"/>
- <Cell col="50" text="bind:drugno"/>
- <Cell col="51" text="bind:ioflag"/>
- <Cell col="52" text="bind:instcd"/>
- <Cell col="53" text="bind:narcflag"/>
- <Cell col="54" text="bind:prntflag"/>
- <Cell col="55" text="bind:orddd"/>
- <Cell col="56" text="bind:orddeptcd"/>
- <Cell col="57" text="bind:prcpgenrflag"/>
- <Cell col="58" text="bind:prntdt"/>
- <Cell col="59" text="bind:presqty2"/>
- <Cell col="60" text="bind:statvisible"/>
- <Cell col="61" text="bind:medrendyn"/>
- <Cell col="62" text="bind:medrqty"/>
- <Cell col="63" text="bind:medrtims"/>
- <Cell col="64" text="bind:medrx"/>
- <Cell col="65" text="bind:drugseqno"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Grid id="grd_narclist00" class="grd_orderlist" taborder="21" binddataset="ds_adnmstoclist" autoenter="key" useinputpanel="false" selecttype="multirow" cellsizingtype="col" cellsizebandtype="allband" cellclickbound="cell" onrbuttonup="switch1_case1_grd_narclist_onrbuttonup" onkeyup="switch1_grd_onkeyup" onheadclick="switch1_case1_grd_narclist_onheadclick" oncelldblclick="switch1_case1_grd_narclist_oncelldblclick" position="absolute 936 320 1032 384" visible="false">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="77" band="left"/>
- <Column size="67" band="left"/>
- <Column size="96" band="left"/>
- <Column size="276" band="left"/>
- <Column size="70" band="left"/>
- <Column size="143"/>
- <Column size="69"/>
- <Column size="28"/>
- <Column size="13"/>
- <Column size="36"/>
- <Column size="29"/>
- <Column size="35"/>
- <Column size="31"/>
- <Column size="40"/>
- <Column size="28"/>
- <Column size="40"/>
- <Column size="29"/>
- <Column size="54"/>
- <Column size="32"/>
- <Column size="69"/>
- <Column size="28"/>
- <Column size="29"/>
- <Column size="32"/>
- <Column size="35"/>
- <Column size="8"/>
- <Column size="70"/>
- <Column size="8"/>
- <Column size="70"/>
- <Column size="8"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="70"/>
- <Column size="9"/>
- <Column size="70"/>
- <Column size="9"/>
- <Column size="70"/>
- <Column size="9"/>
- <Column size="70"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="7"/>
- <Column size="70"/>
- <Column size="100"/>
- <Column size="7"/>
- <Column size="85"/>
- <Column size="7"/>
- <Column size="85"/>
- <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="30" band="head"/>
- <Row size="22"/>
- </Rows>
- <Band id="head">
- <Cell text="처방 코드" wordwrap="char"/>
- <Cell col="1" text="입고구분" wordwrap="char"/>
- <Cell col="2" text="이력일시" wordwrap="char"/>
- <Cell col="3" text="제품번호" wordwrap="char"/>
- <Cell col="4" text="유효기간" wordwrap="char"/>
- <Cell col="5" text="제조번호" wordwrap="char"/>
- <Cell col="6" text="일련번호" wordwrap="char"/>
- <Cell col="7" colspan="2" text="seq" wordwrap="char" taborder="undefined"/>
- <Cell col="9" colspan="2" text="바코드_RFID" wordwrap="char" taborder="undefined"/>
- <Cell col="11" colspan="2" text="저장소_NO" wordwrap="char" taborder="undefined"/>
- <Cell col="13" colspan="2" text="유통수량" wordwrap="char" taborder="undefined"/>
- <Cell col="15" colspan="2" text="낱개수량" wordwrap="char" taborder="undefined"/>
- <Cell col="17" text="입고수량" wordwrap="char"/>
- <Cell col="18" colspan="2" text="입고일자" wordwrap="char" taborder="undefined"/>
- <Cell col="20" colspan="2" text="반환횟수" wordwrap="char" taborder="undefined"/>
- <Cell col="22" colspan="2" text="반환수량" wordwrap="char" taborder="undefined"/>
- <Cell col="24" style="align:left;padding:0 0 0 8;" text="불출신청일자" wordwrap="char"/>
- <Cell col="25" text="불출 신청자" wordwrap="char"/>
- <Cell col="26" style="align:left;padding:0 0 0 8;" text="조제일시" wordwrap="char"/>
- <Cell col="27" text="조제 약사" wordwrap="char"/>
- <Cell col="28" style="align:left;padding:0 0 0 8;" text="투약일시" wordwrap="char"/>
- <Cell col="29" text="투약 약사" wordwrap="char"/>
- <Cell col="30" text="수령일시" wordwrap="char"/>
- <Cell col="31" text="수령 담당자" wordwrap="char"/>
- <Cell col="32" style="align:left;padding:0 0 0 8;" text="병동수령일시" wordwrap="char"/>
- <Cell col="33" text="부서확인 간호사" wordwrap="char"/>
- <Cell col="34" style="align:left;padding:0 0 0 8;" text="간호투약일시" wordwrap="char"/>
- <Cell col="35" text="간호투약 간호사" wordwrap="char"/>
- <Cell col="36" style="align:left;padding:0 0 0 8;" text="반환신청일시" wordwrap="char"/>
- <Cell col="37" text="반환신청 간호사" wordwrap="char"/>
- <Cell col="38" text="반환일시" wordwrap="char"/>
- <Cell col="39" text="반환 담당자" wordwrap="char"/>
- <Cell col="40" style="align:left;padding:0 0 0 8;" text="반환확인일시" wordwrap="char"/>
- <Cell col="41" text="반환확인 약사" wordwrap="char"/>
- <Cell col="42" text="반환사유" wordwrap="char"/>
- <Cell col="43" style="align:left;padding:0 0 0 8;" text="잔량반납 신청일시" wordwrap="char"/>
- <Cell col="44" text="잔량반납신청 간호사" wordwrap="char"/>
- <Cell col="45" style="align:left;padding:0 0 0 8;" text="잔량반납 확인일시" wordwrap="char"/>
- <Cell col="46" text="잔량반납확인 약사" wordwrap="char"/>
- <Cell col="47" text="prcpno"/>
- <Cell col="48" text="prcphistno"/>
- <Cell col="49" text="drugdd"/>
- <Cell col="50" text="drugno"/>
- <Cell col="51" text="ioflag"/>
- <Cell col="52" text="instcd"/>
- <Cell col="53" text="narcflag"/>
- <Cell col="54" text="prntflag"/>
- <Cell col="55" text="orddd"/>
- <Cell col="56" text="orddeptcd"/>
- <Cell col="57" text="prcpgenrflag"/>
- <Cell col="58" text="prntdt"/>
- <Cell col="59" text="caption1"/>
- <Cell col="60" text="반납반환 표시여부"/>
- <Cell col="61" text="투약기록 완료여부"/>
- <Cell col="62" text="간호 실시횟수"/>
- <Cell col="63" text="간호 반환횟수"/>
- <Cell col="64" text="투약x반환불가 횟수"/>
- <Cell col="65"/>
- </Band>
- <Band id="body">
- <Cell style="align:center top;padding:4 2 3 2;background2:#f0f0f0ff;" text="bind:drugcd" wordwrap="char" autosizerow="limitmin"/>
- <Cell col="1" style="align:left top;padding:4 2 3 2;background2:#f0f0f0ff;" text="bind:infg" wordwrap="char" mask="expr:utlf_isNull(prcpdd) || prcpdd=='-' ? '' : '####/##/##'" autosizerow="limitmin"/>
- <Cell col="2" displaytype="text" style="align:center top;padding:4 2 3 2;background2:#f0f0f0ff;" text="bind:histdt" wordwrap="char" autosizerow="limitmin"/>
- <Cell col="3" style="align:left top;padding:4 2 3 2;background2:#f0f0f0ff;" text="bind:gtin" wordwrap="char" autosizerow="limitmin"/>
- <Cell col="4" style="align:left top;padding:4 2 3 2;background2:#f0f0f0ff;" text="bind:prd_valid_de" wordwrap="char" autosizerow="limitmin"/>
- <Cell col="5" displaytype="text" style="align:left top;padding:4 2 3 2;background2:#f0f0f0ff;" text="bind:mnf_no" wordwrap="char" autosizerow="limitmin"/>
- <Cell col="6" displaytype="text" style="align:left top;padding:4 2 1 2;background2:#f0f0f0ff;" text="bind:mnf_seq" wordwrap="char" autosizerow="limitmin"/>
- <Cell col="7" colspan="2" style="background2:#f0f0f0ff;" text="bind:seq" taborder="undefined">
- <Cell style="align:right;padding:0 2 0 0;background2:#f0f0f0ff;" text="bind:seq"/>
- <Cell col="1" style="background2:#f0f0f0ff;" text="bind:prcpqtyunit"/>
- </Cell>
- <Cell col="9" colspan="2" style="background2:#f0f0f0ff;" text="bind:prd_sgtin" taborder="undefined">
- <Cell style="align:right;padding:0 2 0 0;background2:#f0f0f0ff;" text="bind:dayprcpqty"/>
- <Cell col="1" style="background2:#f0f0f0ff;" text="bind:dayprcpqtyunit"/>
- </Cell>
- <Cell col="11" colspan="2" style="background2:#f0f0f0ff;" text="bind:storge_no" taborder="undefined">
- <Cell style="align:right;padding:0 2 0 0;background2:#f0f0f0ff;" text="bind:prcpqty2"/>
- <Cell col="1" style="background2:#f0f0f0ff;" text="bind:prcpqtyunit2"/>
- </Cell>
- <Cell col="13" style="align:right;padding:0 2 0 0;background2:#f0f0f0ff;" text="bind:prd_min_distb_qy"/>
- <Cell col="14" style="background2:#f0f0f0ff;" text="bind:prd_min_distb_unit"/>
- <Cell col="15" style="align:right;padding:0 2 0 0;background2:#f0f0f0ff;" text="bind:prd_tot_pce_qy"/>
- <Cell col="16" style="background2:#f0f0f0ff;" text="bind:prd_pce_unit"/>
- <Cell col="17" style="align:right;padding:0 2 0 0;background2:#f0f0f0ff;" text="bind:in_pce_qy"/>
- <Cell col="18" colspan="2" style="background2:#f0f0f0ff;" text="bind:indd" taborder="undefined">
- <Cell style="align:right;padding:0 2 0 0;background2:#f0f0f0ff;" text="bind:spreqty"/>
- <Cell col="1" style="background2:#f0f0f0ff;" text="bind:prcpvolunit"/>
- </Cell>
- <Cell col="20" style="align:right;padding:0 2 0 0;background2:#f0f0f0ff;" text="bind:rtnqty" mask="99999999999"/>
- <Cell col="21" style="background2:#f0f0f0ff;" text="bind:rtnunit"/>
- <Cell col="22" style="align:right;padding:0 2 0 0;background2:#f0f0f0ff;" text="bind:returnqty"/>
- <Cell col="23" style="background2:#f0f0f0ff;" text="bind:prcpqtyunit"/>
- <Cell col="24" style="background2:#f0f0f0ff;" text="bind:reqdt" mask="expr:utlf_isNull(reqdt) || reqdt=='-' ? '' : '####/##/## ##:##'"/>
- <Cell col="25" style="background2:#f0f0f0ff;" text="bind:reqidnm"/>
- <Cell col="26" style="background2:#f0f0f0ff;" text="bind:prcpdt" mask="expr:utlf_isNull(prcpdt) || prcpdt=='-' ? '' : '####/##/## ##:##'"/>
- <Cell col="27" style="background2:#f0f0f0ff;" text="bind:prcpidnm"/>
- <Cell col="28" style="background2:#f0f0f0ff;" text="bind:drugdt" mask="expr:utlf_isNull(drugdt) || drugdt=='-' ? '' : '####/##/## ##:##'"/>
- <Cell col="29" style="background2:#f0f0f0ff;" text="bind:drugidnm"/>
- <Cell col="30" style="background2:#f0f0f0ff;" text="bind:delivedt" mask="expr:utlf_isNull(delivedt) || delivedt=='-' ? '' : '####/##/##'"/>
- <Cell col="31" style="background2:#f0f0f0ff;" text="bind:deliveidnm"/>
- <Cell col="32" style="background2:#f0f0f0ff;" text="bind:acptdt" mask="expr:utlf_isNull(acptdt) || acptdt=='-' ? '' : '####/##/## ##:##'"/>
- <Cell col="33" style="background2:#f0f0f0ff;" text="bind:acptidnm"/>
- <Cell col="34" style="background2:#f0f0f0ff;" text="bind:nrexecdt" mask="expr:utlf_isNull(nrexecdt) || nrexecdt=='-' ? '' : '####/##/## ##:##'"/>
- <Cell col="35" style="background2:#f0f0f0ff;" text="bind:nrexecridnm"/>
- <Cell col="36" style="background2:#f0f0f0ff;" text="bind:rtnappdt" mask="expr:utlf_isNull(rtnappdt) || rtnappdt=='-' ? '' : '####/##/## ##:##'"/>
- <Cell col="37" style="background2:#f0f0f0ff;" text="bind:rtnappidnm"/>
- <Cell col="38" style="background2:#f0f0f0ff;" text="bind:rtndt" mask="expr:utlf_isNull(rtndt) || rtndt=='-' ? '' : '####/##/##''"/>
- <Cell col="39" style="background2:#f0f0f0ff;" text="bind:rtnidnm"/>
- <Cell col="40" style="background2:#f0f0f0ff;" text="bind:rtncnfmdt" mask="expr:utlf_isNull(rtncnfmdt) || rtncnfmdt=='-' ? '' : '####/##/## ##:##'"/>
- <Cell col="41" style="background2:#f0f0f0ff;" text="bind:rtncnfmidnm"/>
- <Cell col="42" displaytype="text" style="background2:#f0f0f0ff;" text="bind:rtnresn"/>
- <Cell col="43" style="background2:#f0f0f0ff;" text="bind:spredt" mask="expr:utlf_isNull(spredt) || spredt=='-' ? '' : '####/##/## ##:##'"/>
- <Cell col="44" style="background2:#f0f0f0ff;" text="bind:spreidnm"/>
- <Cell col="45" style="background2:#f0f0f0ff;" text="bind:sprecnfmdt" mask="expr:utlf_isNull(sprecnfmdt) || sprecnfmdt=='-' ? '' : '####/##/## ##:##'"/>
- <Cell col="46" style="background2:#f0f0f0ff;" text="bind:sprecnfmidnm"/>
- <Cell col="47" text="bind:prcpno"/>
- <Cell col="48" text="bind:prcphistno"/>
- <Cell col="49" text="bind:drugdd"/>
- <Cell col="50" text="bind:drugno"/>
- <Cell col="51" text="bind:ioflag"/>
- <Cell col="52" text="bind:instcd"/>
- <Cell col="53" text="bind:narcflag"/>
- <Cell col="54" text="bind:prntflag"/>
- <Cell col="55" text="bind:orddd"/>
- <Cell col="56" text="bind:orddeptcd"/>
- <Cell col="57" text="bind:prcpgenrflag"/>
- <Cell col="58" text="bind:prntdt"/>
- <Cell col="59" text="bind:presqty2"/>
- <Cell col="60" text="bind:statvisible"/>
- <Cell col="61" text="bind:medrendyn"/>
- <Cell col="62" text="bind:medrqty"/>
- <Cell col="63" text="bind:medrtims"/>
- <Cell col="64" text="bind:medrx"/>
- <Cell col="65" text="bind:drugseqno"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Grid id="grd_narclist01" class="grd_orderlist" taborder="22" binddataset="ds_adnmstocorder" autoenter="key" useinputpanel="false" selecttype="multirow" cellsizingtype="col" cellsizebandtype="allband" cellclickbound="cell" onrbuttonup="switch1_case1_grd_narclist_onrbuttonup" onkeyup="switch1_grd_onkeyup" onheadclick="switch1_case1_grd_narclist_onheadclick" oncelldblclick="switch1_case1_grd_narclist_oncelldblclick" position="absolute 0 429 1195 714" anchor="all">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="27" band="left"/>
- <Column size="77" band="left"/>
- <Column size="151" band="left"/>
- <Column size="106" band="left"/>
- <Column size="167" band="left"/>
- <Column size="90" band="left"/>
- <Column size="140"/>
- <Column size="96"/>
- <Column size="56"/>
- <Column size="59"/>
- <Column size="110"/>
- <Column size="65"/>
- <Column size="66"/>
- <Column size="65"/>
- <Column size="40"/>
- <Column size="40"/>
- </Columns>
- <Rows>
- <Row size="30" band="head"/>
- <Row size="22"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" text="처방 코드" wordwrap="char"/>
- <Cell col="2" text="이력일시" wordwrap="char"/>
- <Cell col="3" text="LabelNo"/>
- <Cell col="4" text="제품번호" wordwrap="char"/>
- <Cell col="5" text="유효기간" wordwrap="char"/>
- <Cell col="6" text="제조번호" wordwrap="char"/>
- <Cell col="7" text="일련번호" wordwrap="char"/>
- <Cell col="8" text="seq" wordwrap="char" taborder="undefined"/>
- <Cell col="9" text="불출유무"/>
- <Cell col="10" text="불출일자"/>
- <Cell col="11"/>
- <Cell col="12"/>
- <Cell col="13" text="불출유무"/>
- <Cell col="14"/>
- <Cell col="15"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" text="expr:currow + 1"/>
- <Cell col="1" style="align:center top;padding:4 2 3 2;background2:#f0f0f0ff;" text="bind:drugcd" wordwrap="char" autosizerow="limitmin"/>
- <Cell col="2" displaytype="text" style="align:center top;padding:4 2 3 2;background2:#f0f0f0ff;" text="bind:histdt" wordwrap="char" autosizerow="limitmin"/>
- <Cell col="3" text="bind:labelno" mask="@@@@-@@-@@ @@@"/>
- <Cell col="4" style="align:left top;padding:4 2 3 2;background2:#f0f0f0ff;" text="bind:gtin" wordwrap="char" autosizerow="limitmin"/>
- <Cell col="5" style="align:left top;padding:4 2 3 2;background2:#f0f0f0ff;" text="bind:prd_valid_de" wordwrap="char" autosizerow="limitmin"/>
- <Cell col="6" displaytype="text" style="align:left top;padding:4 2 3 2;background2:#f0f0f0ff;" text="bind:mnf_no" wordwrap="char" autosizerow="limitmin"/>
- <Cell col="7" displaytype="text" style="align:left top;padding:4 2 1 2;background2:#f0f0f0ff;" text="bind:mnf_seq" wordwrap="char" autosizerow="limitmin"/>
- <Cell col="8" style="background2:#f0f0f0ff;" text="bind:seq" taborder="undefined">
- <Cell style="align:right;padding:0 2 0 0;background2:#f0f0f0ff;" text="bind:seq"/>
- </Cell>
- <Cell col="9" text="bind:fnshfg"/>
- <Cell col="10" text="bind:outdd"/>
- <Cell col="11" text="bind:instcd"/>
- <Cell col="12" text="bind:infg"/>
- <Cell col="13" text="bind:fnshfg"/>
- <Cell col="14"/>
- <Cell col="15"/>
- </Band>
- </Format>
- <Format id="format_copy"/>
- </Formats>
- </Grid>
- <Button id="but_ok" taborder="23" text="승인" position="absolute 1135 402 1195 424" class="btn4" onclick="but_ok_onclick" onkeyup="but_ok_onkeyup" anchor="top right"/>
- <Shape id="line03" class="line_10" position="absolute 0 218 1195 224" anchor="left top right"/>
- </Layout>
- </Layouts>
- <Bind>
- <BindItem id="item0" compid="group2.ipt_barcode" propid="value" datasetid="ds_srchbarcode" columnid="barcode"/>
- <BindItem id="item1" compid="opt_pid" propid="value" datasetid="ds_main_prntlist_patinfo" columnid="pid"/>
- <BindItem id="item2" compid="opt_orddeptcd" propid="value" datasetid="ds_main_prntlist_patinfo" columnid="orddeptnm"/>
- <BindItem id="item3" compid="opt_orddrid" propid="value" datasetid="ds_main_prntlist_patinfo" columnid="medispclidnm"/>
- <BindItem id="item4" compid="opt_hngnm" propid="value" datasetid="ds_main_prntlist_patinfo" columnid="patnm"/>
- <BindItem id="item5" compid="output1" propid="value" datasetid="ds_main_prntlist_patinfo" columnid="prcpdd"/>
- <BindItem id="item6" compid="opt_licenseno" propid="value" datasetid="ds_main_prntlist_patinfo" columnid="medispclid_licnsno"/>
- <BindItem id="item7" compid="opt_sex" propid="value" datasetid="ds_main_prntlist_patinfo" columnid="sex"/>
- <BindItem id="item8" compid="output4" propid="value" datasetid="ds_main_prntlist_patinfo" columnid="rrgstno"/>
- <BindItem id="item9" compid="output3" propid="value" datasetid="ds_main_prntlist_patinfo" columnid="addr"/>
- <BindItem id="item10" compid="opt_age" propid="value" datasetid="ds_main_prntlist_patinfo" columnid="age"/>
- <BindItem id="item12" compid="SMADT12000" propid="text" datasetid="ds_main_prntlist_patinfo" columnid=""/>
- <BindItem id="item11" compid="opt_diagnm" propid="value" datasetid="ds_main_prntlist_diaginfo" columnid="diagcd1"/>
- <BindItem id="item13" compid="opt_drugno" propid="value" datasetid="ds_finddrugno" columnid="drugno"/>
- </Bind>
- <Objects>
- <Dataset id="ds_srchbarcode" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="barcode" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_senddata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="type" type="STRING" size="256"/>
- <Column id="ioflag" type="STRING" size="256"/>
- <Column id="prcpdd" type="STRING" size="256"/>
- <Column id="prcpno" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_finddrugno" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="drugdd" type="STRING" size="256"/>
- <Column id="drugno" type="STRING" size="256"/>
- <Column id="prcpno" type="STRING" size="256"/>
- <Column id="ioflag" type="STRING" size="256"/>
- <Column id="prcphistno" type="STRING" size="256"/>
- <Column id="drugseqno" type="STRING" size="256"/>
- <Column id="drugkind" type="STRING" size="256"/>
- <Column id="drugflag" type="STRING" size="256"/>
- <Column id="drugstat" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_send_prntinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_main_prntlist_patinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="orddd" type="STRING" size="256"/>
- <Column id="prcpdd" type="STRING" size="256"/>
- <Column id="drugfl" type="STRING" size="256"/>
- <Column id="rcprcpdd" type="STRING" size="256"/>
- <Column id="prcpno" type="STRING" size="256"/>
- <Column id="prcphistno" type="STRING" size="256"/>
- <Column id="drugdd" type="STRING" size="256"/>
- <Column id="drugno" type="STRING" size="256"/>
- <Column id="sumdt" type="STRING" size="256"/>
- <Column id="orddrnm" type="STRING" size="256"/>
- <Column id="orddeptnm" type="STRING" size="256"/>
- <Column id="wardnm" type="STRING" size="256"/>
- <Column id="roomcd" type="STRING" size="256"/>
- <Column id="isdeptcdnm" type="STRING" size="256"/>
- <Column id="sex" type="STRING" size="256"/>
- <Column id="age" type="STRING" size="256"/>
- <Column id="patbdwt" type="STRING" size="256"/>
- <Column id="patbdht" type="STRING" size="256"/>
- <Column id="patnm" type="STRING" size="256"/>
- <Column id="rrgstno" type="STRING" size="256"/>
- <Column id="addr" type="STRING" size="256"/>
- <Column id="medispclidnm" type="STRING" size="256"/>
- <Column id="medispclid_licnsno" type="STRING" size="256"/>
- <Column id="atdoctidnm" type="STRING" size="256"/>
- <Column id="atdoctid_licnsno" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_prntlist_diaginfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="diagcd1" type="STRING" size="512"/>
- <Column id="diagcd" type="STRING" size="256"/>
- <Column id="icd10cd" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_narclist_narclist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_req" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_send_stoc" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="drugcd" type="STRING" size="256"/>
- <Column id="storge_no" type="STRING" size="256"/>
- <Column id="prcpno" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_adnmstoclist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <column id="instcd" type="STRING" size="256"/>
- <column id="drugcd" type="STRING" size="256"/>
- <column id="infg" type="STRING" size="256"/>
- <column id="histdt" type="STRING" size="256"/>
- <column id="gtin" type="STRING" size="256"/>
- <column id="prd_valid_de" type="STRING" size="256"/>
- <column id="mnf_no" type="STRING" size="256"/>
- <column id="mnf_seq" type="STRING" size="256"/>
- <column id="seq" type="STRING" size="256"/>
- <column id="prd_sgtin" type="STRING" size="256"/>
- <column id="storge_no" type="STRING" size="256"/>
- <column id="prtm_se_nm" type="STRING" size="256"/>
- <column id="prd_min_distb_qy" type="STRING" size="256"/>
- <column id="prd_min_distb_unit" type="STRING" size="256"/>
- <column id="prd_tot_pce_qy" type="STRING" size="256"/>
- <column id="prd_pce_unit" type="STRING" size="256"/>
- <column id="in_pce_qy" type="STRING" size="256"/>
- <column id="indd" type="STRING" size="256"/>
- <column id="opp_bssh_cd" type="STRING" size="256"/>
- <column id="opp_bssh_nm" type="STRING" size="256"/>
- <column id="opp_storge_no" type="STRING" size="256"/>
- <column id="in_dtl_cd" type="STRING" size="256"/>
- <column id="in_trnsfe_se_cd" type="STRING" size="256"/>
- <column id="out_fg" type="STRING" size="256"/>
- <column id="out_pce_qy" type="STRING" size="256"/>
- <column id="fnshfg" type="STRING" size="256"/>
- <column id="prcpno" type="STRING" size="256"/>
- <column id="drugdd" type="STRING" size="256"/>
- <column id="drugno" type="STRING" size="256"/>
- <column id="ioflag" type="STRING" size="256"/>
- <column id="drugseqno" type="STRING" size="256"/>
- <column id="pat_id_no_ty_cd" type="STRING" size="256"/>
- <column id="pat_id_no" type="STRING" size="256"/>
- <column id="pat_in" type="STRING" size="256"/>
- <column id="lcns_asort_cd" type="STRING" size="256"/>
- <column id="lcns_no" type="STRING" size="256"/>
- <column id="prsc_doc_nm" type="STRING" size="256"/>
- <column id="prsc_ord_no" type="STRING" size="256"/>
- <column id="diss_code" type="STRING" size="256"/>
- <column id="once_qy" type="STRING" size="256"/>
- <column id="ade_cnt" type="STRING" size="256"/>
- <column id="tot_dcnt" type="STRING" size="256"/>
- <column id="sum_qy" type="STRING" size="256"/>
- <column id="aft_dsuse_qy" type="STRING" size="256"/>
- <column id="dsuse_se_cd" type="STRING" size="256"/>
- <column id="dsuse_prv_cd" type="STRING" size="256"/>
- <column id="dsuse_mth_cd" type="STRING" size="256"/>
- <column id="dsuse_loc" type="STRING" size="256"/>
- <column id="dsuse_de" type="STRING" size="256"/>
- <column id="dsuse_instt_cd" type="STRING" size="256"/>
- <column id="dsuse_doc_de" type="STRING" size="256"/>
- <column id="outdd" type="STRING" size="256"/>
- <column id="out_bssh_cd" type="STRING" size="256"/>
- <column id="out_bssh_nm" type="STRING" size="256"/>
- <column id="out_storge_no" type="STRING" size="256"/>
- <column id="out_dtl_cd" type="STRING" size="256"/>
- <column id="out_trnsfr_se_cd" type="STRING" size="256"/>
- <column id="insendfg" type="STRING" size="256"/>
- <column id="outsendfg" type="STRING" size="256"/>
- <Column id="indt" type="STRING" size="256"/>
- <Column id="outdt" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_adnmstocorder" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <column id="instcd" type="STRING" size="256"/>
- <column id="drugcd" type="STRING" size="256"/>
- <column id="infg" type="STRING" size="256"/>
- <column id="histdt" type="STRING" size="256"/>
- <column id="gtin" type="STRING" size="256"/>
- <column id="prd_valid_de" type="STRING" size="256"/>
- <column id="mnf_no" type="STRING" size="256"/>
- <column id="mnf_seq" type="STRING" size="256"/>
- <column id="seq" type="STRING" size="256"/>
- <column id="prd_sgtin" type="STRING" size="256"/>
- <column id="storge_no" type="STRING" size="256"/>
- <column id="prtm_se_nm" type="STRING" size="256"/>
- <column id="prd_min_distb_qy" type="STRING" size="256"/>
- <column id="prd_min_distb_unit" type="STRING" size="256"/>
- <column id="prd_tot_pce_qy" type="STRING" size="256"/>
- <column id="prd_pce_unit" type="STRING" size="256"/>
- <column id="in_pce_qy" type="STRING" size="256"/>
- <column id="indd" type="STRING" size="256"/>
- <column id="opp_bssh_cd" type="STRING" size="256"/>
- <column id="opp_bssh_nm" type="STRING" size="256"/>
- <column id="opp_storge_no" type="STRING" size="256"/>
- <column id="in_dtl_cd" type="STRING" size="256"/>
- <column id="in_trnsfe_se_cd" type="STRING" size="256"/>
- <column id="out_fg" type="STRING" size="256"/>
- <column id="out_pce_qy" type="STRING" size="256"/>
- <column id="fnshfg" type="STRING" size="256"/>
- <column id="prcpno" type="STRING" size="256"/>
- <column id="drugdd" type="STRING" size="256"/>
- <column id="drugno" type="STRING" size="256"/>
- <column id="ioflag" type="STRING" size="256"/>
- <column id="drugseqno" type="STRING" size="256"/>
- <column id="pat_id_no_ty_cd" type="STRING" size="256"/>
- <column id="pat_id_no" type="STRING" size="256"/>
- <column id="pat_in" type="STRING" size="256"/>
- <column id="lcns_asort_cd" type="STRING" size="256"/>
- <column id="lcns_no" type="STRING" size="256"/>
- <column id="prsc_doc_nm" type="STRING" size="256"/>
- <column id="prsc_ord_no" type="STRING" size="256"/>
- <column id="diss_code" type="STRING" size="256"/>
- <column id="once_qy" type="STRING" size="256"/>
- <column id="ade_cnt" type="STRING" size="256"/>
- <column id="tot_dcnt" type="STRING" size="256"/>
- <column id="sum_qy" type="STRING" size="256"/>
- <column id="aft_dsuse_qy" type="STRING" size="256"/>
- <column id="dsuse_se_cd" type="STRING" size="256"/>
- <column id="dsuse_prv_cd" type="STRING" size="256"/>
- <column id="dsuse_mth_cd" type="STRING" size="256"/>
- <column id="dsuse_loc" type="STRING" size="256"/>
- <column id="dsuse_de" type="STRING" size="256"/>
- <column id="dsuse_instt_cd" type="STRING" size="256"/>
- <column id="dsuse_doc_de" type="STRING" size="256"/>
- <column id="outdd" type="STRING" size="256"/>
- <column id="out_bssh_cd" type="STRING" size="256"/>
- <column id="out_bssh_nm" type="STRING" size="256"/>
- <column id="out_storge_no" type="STRING" size="256"/>
- <column id="out_dtl_cd" type="STRING" size="256"/>
- <column id="out_trnsfr_se_cd" type="STRING" size="256"/>
- <column id="insendfg" type="STRING" size="256"/>
- <column id="outsendfg" type="STRING" size="256"/>
- <Column id="labelno" type="STRING" size="256"/>
- <Column id="Column0" type="STRING" size="256"/>
- <Column id="Column1" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_sendstocupdata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="instcd" type="STRING" size="255" value=""/>
- <Column id="infg" type="STRING" size="255" value=""/>
- <Column id="histdt" type="STRING" size="255" value=""/>
- <Column id="gtin" type="STRING" size="255" value=""/>
- <Column id="prd_valid_de" type="STRING" size="255" value=""/>
- <Column id="mnf_no" type="STRING" size="255" value=""/>
- <Column id="mnf_seq" type="STRING" size="255" value=""/>
- <Column id="seq" type="STRING" size="255" value=""/>
- <Column id="prcpno" type="STRING" size="255" value=""/>
- <Column id="drugdd" type="STRING" size="255" value=""/>
- <Column id="drugno" type="STRING" size="255" value=""/>
- <Column id="ioflag" type="STRING" size="255" value=""/>
- <Column id="drugseqno" type="STRING" size="255" value=""/>
- <Column id="pat_id_no_ty_cd" type="STRING" size="255" value=""/>
- <Column id="pat_id_no" type="STRING" size="255" value=""/>
- <Column id="pat_nm" type="STRING" size="255" value=""/>
- <Column id="lcns_asort_cd" type="STRING" size="255" value=""/>
- <Column id="lcns_no" type="STRING" size="255" value=""/>
- <Column id="prsc_doc_nm" type="STRING" size="255" value=""/>
- <Column id="prsc_ord_no" type="STRING" size="255" value=""/>
- <Column id="diss_code" type="STRING" size="255" value=""/>
- <Column id="once_qy" type="STRING" size="255" value=""/>
- <Column id="ade_cnt" type="STRING" size="255" value=""/>
- <Column id="tot_dcnt" type="STRING" size="255" value=""/>
- <Column id="sum_qy" type="STRING" size="255" value=""/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- </Objects>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name :
- * Job Name :
- * Creator :
- * Make Date : 2018-03-08
- * Description :
- ****************************************************************************************/
- //=======================================================================================
- // Lib Include
- //---------------------------------------------------------------------------------------
- include "com_commonxp::comm_main.xjs"
- include "ast_commonxp::AST.xjs"
- var Arstorge_no ;
- function SMADT12000_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj); // 폼 초기화
- // if ( Vdeptcd == '3240300000') {
- // Arstorge_no = "S0002";
- // } else if ( Vdeptcd == '3240400000') {
- // Arstorge_no = "S0003";
- // } else if ( Vdeptcd == '3240807000') {
- // Arstorge_no = "S0004";
- // } else {
- // Arstorge_no = "S0002";
- // }
-
- }
- function SMADT12000_onload(obj:Form, e:LoadEventInfo)
- {
- /*ds_srchbarcode.clearData(); */
- ds_adnmstocorder
- }
- function group2_ipt_barcode_onkeydown(obj:Edit, e:KeyEventInfo)
- {
- if(e.keycode == 13) {
- obj.updateToDataset();
- var srchbarcode = "";
- var barcodetype = "";
- var barcodeinout = "";
- var barcodeprcpdd = "";
- var barcodeprcpno = "";
- srchbarcode = ds_srchbarcode.getColumn(0, "barcode");
- barcodetype = srchbarcode.substr(1,1);
- barcodeinout = srchbarcode.substr(2,1);
- barcodeprcpdd = srchbarcode.substr(3,8);
- barcodeprcpno = srchbarcode.substr(11,10);
- barcodeprcpno = parseFloat(barcodeprcpno);
-
- //alert(barcodetype);
- //alert(barcodeinout);
- //alert(barcodeprcpdd);
- //alert(barcodeprcpno);
- ds_senddata.setColumn(0,"type" , barcodetype);
- ds_senddata.setColumn(0,"ioflag" , barcodeinout);
- ds_senddata.setColumn(0,"prcpdd" , barcodeprcpdd);
- ds_senddata.setColumn(0,"prcpno" , barcodeprcpno);
-
- var oParam = {};
- oParam.id = "TRADT12000";
- oParam.service = "pharmacydrugsumapp.NarcManagent";
- oParam.method = "reqGetNarcPatList";
- oParam.inds = "req=ds_senddata";
- oParam.outds = "ds_finddrugno=patdata";
- oParam.async = false;
- tranf_submit(oParam);
- //////환자 정보찾기
- ds_send_prntinfo.clear();
- dsf_copyColInfo(ds_send_prntinfo,ds_finddrugno);
- ds_send_prntinfo.addRow();
- var Fpid = ds_finddrugno.getColumn(0,"pid");
- var Fdrugdd = ds_finddrugno.getColumn(0,"drugdd");
- var Fprcpdd = ds_finddrugno.getColumn(0,"prcpdd");
- var Forddd = ds_finddrugno.getColumn(0,"orddd");
- var Fdrugno = ds_finddrugno.getColumn(0,"drugno");
- var Fprcpno = ds_finddrugno.getColumn(0,"prcpno");
- var Fioflag = ds_finddrugno.getColumn(0,"ioflag");
- var Fprcphistno = ds_finddrugno.getColumn(0,"prcphistno");
- var Fdrugseqno = ds_finddrugno.getColumn(0,"drugseqno");
- var Fdrugkind = ds_finddrugno.getColumn(0,"drugkind");
- var Fdrugflag = ds_finddrugno.getColumn(0,"drugflag");
- var Fdrugstat = ds_finddrugno.getColumn(0,"drugstat");
-
-
- ds_send_prntinfo.setColumn(0,"pid" , Fpid );
- ds_send_prntinfo.setColumn(0,"drugdd" , Fdrugdd );
- ds_send_prntinfo.setColumn(0,"prcpdd" , Fprcpdd );
- ds_send_prntinfo.setColumn(0,"orddd" , Forddd );
- ds_send_prntinfo.setColumn(0,"drugno" , Fdrugno );
- ds_send_prntinfo.setColumn(0,"prcpno" , Fprcpno );
- ds_send_prntinfo.setColumn(0,"ioflag" , Fioflag );
- ds_send_prntinfo.setColumn(0,"prcphistno" , Fprcphistno );
- ds_send_prntinfo.setColumn(0,"drugseqno" , Fdrugseqno );
- var oParam = {};
- oParam.id = "TRADT30103";
- oParam.service = "pharmacyprescriptionapp.Narcotics";
- oParam.method = "reqGetNarcPrntData";
- oParam.inds = "req=ds_send_prntinfo";
- oParam.outds = "ds_main_prntlist_patinfo=patinfo ds_main_prntlist_diaginfo=diaginfo ds_main_prntlist_prntlist=prntlist ds_main_prntlist_resn=resn";
- oParam.async = false;
- //oParam.callback = "cf_TRADT30103";
- tranf_submit(oParam);
- ds_req.clear();
- dsf_createDsRow("ds_req", [
- {col:"narcflag", type:"STRING", size:256, val: Fdrugkind}
- , {col:"timeflag", type:"STRING", size:256, val:'2'}
- , {col:"fst_dd", type:"STRING", size:256, val:Fdrugdd}
- , {col:"last_dd", type:"STRING", size:256, val:Fdrugdd}
- , {col:"srchdrugkind", type:"STRING", size:256, val:Fdrugkind}
- , {col:"srchioflag", type:"STRING", size:256, val:Fioflag}
- , {col:"drugflag", type:"STRING", size:256, val:Fdrugflag}
- , {col:"srchroot", type:"STRING", size:256, val:""}
- , {col:"narcstat", type:"STRING", size:256, val:""}
- , {col:"cnclstat", type:"STRING", size:256, val:""}
- , {col:"rtnstat", type:"STRING", size:256, val:""}
- , {col:"nodeliveflag", type:"STRING", size:256, val:""}
- , {col:"narctype", type:"STRING", size:256, val:""}
- , {col:"pid", type:"STRING", size:256, val:Fpid}
- , {col:"ward", type:"STRING", size:256, val:""}
- , {col:"srchdrugno", type:"STRING", size:256, val:Fdrugno}
- , {col:"barcode", type:"STRING", size:256, val:srchbarcode}
- , {col:"narccd", type:"STRING", size:256, val:""}
- , {col:"barcode_2", type:"STRING", size:256, val:""}
- , {col:"srchdeptcd", type:"STRING", size:256, val:""}
- , {col:"srchprcpkind", type:"STRING", size:256, val:""}
- , {col:"srchprcpkindall", type:"STRING", size:256, val:""}
- , {col:"prntdt", type:"STRING", size:256, val:""}
- , {col:"issdeptcd", type:"STRING", size:256, val:""}
- , {col:"selkey", type:"STRING", size:256, val:""}
- , {col:"kuflag", type:"STRING", size:256, val:"Y"}
- , {col:"prcpno", type:"STRING", size:256, val:Fprcpno}
- , {col:"barcodeflag", type:"STRING", size:256, val:"Y"}
- ]);
- var oParam = {};
- oParam.id = "TRADT30102";
- oParam.service = "pharmacyprescriptionapp.Narcotics";
- oParam.method = "reqGetNarcData";
- oParam.inds = "req=ds_req";
- oParam.outds = "ds_main_narclist_narclist=narclist";
- oParam.async = false;
- // oParam.callback = "cf_TRADT30102";
- tranf_submit(oParam);
- for(var i = 0; i < ds_main_narclist_narclist.rowcount ; i++){
- var sPrcpcd = ds_main_narclist_narclist.getColumn(i, "prcpcd"); // 처방코드명
- var sPrcpno = ds_main_narclist_narclist.getColumn(i, "prcpno"); // 처방코드명
- var sTotdrugqty = parseInt(ds_main_narclist_narclist.getColumn(i, "totdrugqty")); // 처방코드명
- // alert(sPrcpcd);
- ds_send_stoc.setColumn(0,"drugcd" , sPrcpcd );
- ds_send_stoc.setColumn(0,"storge_no" , Arstorge_no );
- ds_send_stoc.setColumn(0,"prcpno" , sPrcpno );
- var oParam = {};
- oParam.id = "TRADT12001";
- oParam.service = "pharmacydrugsumapp.NarcManagent";
- oParam.method = "reqGetNarcStocList";
- oParam.inds = "req=ds_send_stoc";
- oParam.outds = "ds_adnmstoclist=stocdata";
- oParam.async = false;
- tranf_submit(oParam);
- }
- ds_adnmstocorder.clearData();
- for(var k = 0; k < sTotdrugqty ; k++){
- ds_adnmstocorder.copyRow(ds_adnmstocorder.addRow(), ds_adnmstoclist, k);
- }
- }
- }
- function but_ok_onclick(obj:Button, e:ClickEventInfo)
- {
- // alert(ds_adnmstocorder.rowcount);
- for(var q = 0; q < ds_adnmstocorder.rowcount ; q++){
- var sFnshfg = ds_adnmstocorder.getColumn(q, "fnshfg");
- var sInstcd = ds_adnmstocorder.getColumn(q, "instcd");
- var sInfg = ds_adnmstocorder.getColumn(q, "infg");
- var sHistdt = ds_adnmstocorder.getColumn(q, "histdt");
- var sGtin = ds_adnmstocorder.getColumn(q, "gtin");
- var sPrd_valid_de = ds_adnmstocorder.getColumn(q, "prd_valid_de");
- var sMnf_no = ds_adnmstocorder.getColumn(q, "mnf_no");
- var sMnf_seq = ds_adnmstocorder.getColumn(q, "mnf_seq");
- var sSeq = ds_adnmstocorder.getColumn(q, "seq");
-
- var sPrcpno = ds_main_narclist_narclist.getColumn(0, "prcpno");
- var sDrugdd = ds_main_narclist_narclist.getColumn(0, "drugdd");
- var sDrugno = ds_main_narclist_narclist.getColumn(0, "drugno");
- var sIoflag = ds_main_narclist_narclist.getColumn(0, "ioflag");
- var sDrugseqno = ds_main_narclist_narclist.getColumn(0, "drugseqno");
- var sOnce_qty = parseInt(ds_main_narclist_narclist.getColumn(0, "prcpqty"));
- var sAde_cnt = parseInt(ds_main_narclist_narclist.getColumn(0, "prcptims"));
- var sTot_dcnt = parseInt(ds_main_narclist_narclist.getColumn(0, "prcpdayno"));
- var sSum_qy = parseInt(ds_main_narclist_narclist.getColumn(0, "totdrugqty"));
- alert(sOnce_qty + ':' + sAde_cnt + ':' + sTot_dcnt + ':' + sTot_dcnt);
- var sPat_id_no = ds_main_prntlist_patinfo.getColumn(0, "pid");
- var sPat_nm = ds_main_prntlist_patinfo.getColumn(0, "patnm");
- var sLcns_no = ds_main_prntlist_patinfo.getColumn(0, "medispclid_licnsno");
- var sPrsc_doc_nm = ds_main_prntlist_patinfo.getColumn(0, "medispclidnm");
- var sprsc_ord_no = ds_main_prntlist_patinfo.getColumn(0, "drugno");
-
- var sDiss_code = ds_main_prntlist_diaginfo.getColumn(0, "diagcd1");
- sDiss_code = sDiss_code.substr(1,6);
-
- //trace(ds_sendstocupdata.saveXML());
- if ( sFnshfg == '1' ) {
- alert("이미 등록된 데이타 등록하지 않습니다.!")
- } else {
- ds_sendstocupdata.clearData();
- ds_sendstocupdata.addRow();
- ds_sendstocupdata.setColumn(0,"instcd" , sInstcd );
- ds_sendstocupdata.setColumn(0,"infg" , sInfg );
- ds_sendstocupdata.setColumn(0,"histdt" , sHistdt );
- ds_sendstocupdata.setColumn(0,"gtin" , sGtin );
- ds_sendstocupdata.setColumn(0,"prd_valid_de" , sPrd_valid_de );
- ds_sendstocupdata.setColumn(0,"mnf_no" , sMnf_no );
- ds_sendstocupdata.setColumn(0,"mnf_seq" , sMnf_seq );
- ds_sendstocupdata.setColumn(0,"seq" , sSeq);
- ds_sendstocupdata.setColumn(0,"prcpno" , sPrcpno );
- ds_sendstocupdata.setColumn(0,"drugdd" , sDrugdd );
- ds_sendstocupdata.setColumn(0,"drugno" , sDrugno);
- ds_sendstocupdata.setColumn(0,"ioflag" , sIoflag);
- ds_sendstocupdata.setColumn(0,"drugseqno" , sDrugseqno );
- ds_sendstocupdata.setColumn(0,"pat_id_no_ty_cd" , "" );
- ds_sendstocupdata.setColumn(0,"pat_id_no" , sPat_id_no );
- ds_sendstocupdata.setColumn(0,"pat_nm" , sPat_nm );
- ds_sendstocupdata.setColumn(0,"lcns_asort_cd" , "" );
- ds_sendstocupdata.setColumn(0,"lcns_no" , sLcns_no );
- ds_sendstocupdata.setColumn(0,"prsc_doc_nm" , sPrsc_doc_nm );
- ds_sendstocupdata.setColumn(0,"prsc_ord_no" , sprsc_ord_no );
- ds_sendstocupdata.setColumn(0,"diss_code" , sDiss_code );
- ds_sendstocupdata.setColumn(0,"once_qy" , sOnce_qty );
- ds_sendstocupdata.setColumn(0,"ade_cnt" , sAde_cnt);
- ds_sendstocupdata.setColumn(0,"tot_dcnt" , sTot_dcnt );
- ds_sendstocupdata.setColumn(0,"sum_qy" , sSum_qy );
-
- var oParam = {};
- oParam.id = "TXADT12001";
- oParam.service = "pharmacydrugsumapp.NarcManagent";
- oParam.method = "reqGetStocUpDate";
- oParam.inds = "req=ds_sendstocupdata";
- //oParam.outds = "ds_adnmstoclist=stocdata";
- oParam.async = false;
- tranf_submit(oParam);
- }
- }
-
- }
- function group2_Button00_onclick(obj:Button, e:ClickEventInfo)
- {
- frmf_modal("SMADT12010", "SMADT12010", null, null, null, null, null, null, null, null, null, null, "M");
- }
- function group2_Button01_onclick(obj:Button, e:ClickEventInfo)
- {
- frmf_modal("SMADT12005", "SMADT12005", null, null, null, null, null, null, null, null, null, null, "M");
- }
- function group2_btn_sea_onclick(obj:Button, e:ClickEventInfo)
- {
-
- }
- function group2_ipt_barcode00_onkeydown(obj:Edit, e:KeyEventInfo)
- {
- if(e.keycode == 13) {
- obj.updateToDataset();
- var srchbarcode_1 = "";
- var barcode_gtin = "";
- var barcode_date = "";
- var barcode_seq = "";
- var barcode_jaejo = "";
- var barcodeflag = 'N' ;
- var barcodestart = 'N' ;
- var barcode_one ="";
- var barcode_two ="";
- var barcode_str ="";
- var s_qq = 0 ;
- var srchbarcode_1 = ds_srchbarcode.getColumn(0, "barcode");
- var barcode_length = srchbarcode_1.length;
- //alert(barcode_length)
- if (barcode_length > 14) {
- barcode_gtin = srchbarcode_1.substr(2,14);
- barcode_two = srchbarcode_1.substr(16,2)
-
- if ( barcode_two == "17" ) {
- barcode_date = srchbarcode_1.substr(18,6);
- s_qq = 24
- for(var qq = s_qq; qq < barcode_length ; qq++){
- barcode_one = srchbarcode_1.substr(qq,1);
- barcode_two = srchbarcode_1.substr(qq - 1,2);
- if ( barcode_two == "10" ) {
- // alert(qq);
- for(var ww = qq + 1 ; ww < barcode_length ; ww++){
- barcode_one = srchbarcode_1.substr(ww,1);
- // alert (barcode_one + barcodeflag);
- if (barcode_one == "[" ) {
- barcodeflag = 'Y' ;
- s_qq = ww;
- }else{
- if ( barcodeflag == 'N' ) {
- barcode_str = barcode_str + barcode_one ;
- }
- barcode_jaejo = barcode_str ;
- }
- }
- }
- }
- for(var ww = s_qq + 6 ; ww < barcode_length ; ww++){
- barcode_one = srchbarcode_1.substr(ww,1);
- barcode_seq = barcode_seq + barcode_one
- }
- }
- if ( barcode_two == "21") {
- barcodeflag = 'N';
- //alert("22코드");
- for(var ww = 18 ; ww < barcode_length ; ww++){
- barcode_one = srchbarcode_1.substr(ww,1);
- if (barcode_one == "[" ) {
- barcodeflag = 'Y' ;
- s_qq = ww;
- }else{
- if ( barcodeflag == 'N' ) {
- barcode_str = barcode_str + barcode_one ;
- }
- barcode_seq = barcode_str ;
- }
- }
- // alert(s_qq);
- for(var ww = s_qq + 5 ; ww < barcode_length ; ww++){
- barcode_one = srchbarcode_1.substr(ww,1);
- barcode_two = srchbarcode_1.substr(ww - 1,2);
- // alert(barcode_two);
- if ( barcode_two == "17" ) {
- barcode_date = srchbarcode_1.substr(ww+1,6);
- barcode_str = "";
- for(var qq = ww + 9 ; qq < barcode_length ; qq++){
- barcode_one = srchbarcode_1.substr(qq,1);
- barcode_str = barcode_str + barcode_one ;
- }
- barcode_jaejo = barcode_str ;
- }
- }
-
- }
-
- }
- alert (barcode_gtin + ' : ' + barcode_date +' : ' +barcode_jaejo +' : ' + barcode_seq);
-
-
- // barcodetype_1 = srchbarcode.substr(1,1);
- // barcodeinout_1 = srchbarcode.substr(2,1);
- // barcodeprcpdd_1 = srchbarcode.substr(3,8);
- // barcodeprcpno_1 = srchbarcode.substr(11,10);
- // barcodeprcpno_1 = parseFloat(barcodeprcpno);
- }
-
- }
- function group2_Button02_onclick(obj:Button, e:ClickEventInfo)
- {
- frmf_modal("SMADT12006", "SMADT12006", null, null, null, null, null, null, null, null, null, null, "M");
- }
- ]]></Script>
- </Form>
- </FDL>
|