1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMADT12005" classname="SMADT12000_통합마약조회" inheritanceid="" position="absolute 0 0 1196 934" titletext="New Form" oninit="SMADT12005_oninit">
- <Layouts>
- <Layout>
- <Shape id="line05" class="line_10" position="absolute 0 802 1195 808" anchor="left right bottom"/>
- <Shape id="line03" class="line_10" position="absolute 0 582 605 588" anchor="left bottom"/>
- <Shape id="line04" class="line_10" position="absolute 608 582 1195 588" anchor="left right bottom"/>
- <Shape id="line01" class="line_10" position="absolute 676 411 1195 417" anchor="right bottom"/>
- <Shape id="line00" class="line_10" position="absolute 676 89 1195 95" anchor="top right"/>
- <Static id="caption6" text=" 통합 마약 마감 관리" class="tit_1" position="absolute 0 0 160 25" onclick="caption6_onclick"/>
- <Static id="caption00" text="마감데이타 현황" class="tit_2" position="absolute 0 73 172 94"/>
- <Div id="grp_srch" taborder="29" class="div_SA" position="absolute 0 25 1195 65" anchor="left top right">
- <Layouts>
- <Layout width="776" height="31">
- <Calendar id="Calendar00" taborder="0" position="absolute 84 11 176 31" anchor="default" autoselect="true" dateformat="yyyy-MM-dd" value="null"/>
- <Static id="Static00" text="마감일자 :" position="absolute 7 15 86 27" style="font:Dotum,9,bold;" anchor="default" class="search_name"/>
- <Radio id="radio2" taborder="1" columncount="-1" rowcount="-1" codecolumn="codecolumn" datacolumn="datacolumn" class="radio_search" position="absolute 412 11 680 31" style="textpadding:0 10 0 3;font:Dotum,9,bold;" onitemclick="grp_srch_radio2_onitemclick" anchor="default" index="-1">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn" size="256"/>
- <Column id="datacolumn" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">T</Col>
- <Col id="datacolumn">전체</Col>
- </Row>
- <Row>
- <Col id="codecolumn">O</Col>
- <Col id="datacolumn">조제신규보고</Col>
- </Row>
- <Row>
- <Col id="codecolumn">R</Col>
- <Col id="datacolumn">취소수정보고</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- <Static id="Static02" text="구분 :" position="absolute 358 15 405 27" style="font:Dotum,9,bold;" anchor="default" class="search_name"/>
- <Static id="Static01" text="type :" position="absolute 190 15 237 27" style="font:Dotum,9,bold;" anchor="default" class="search_name"/>
- <Radio id="Rad_type" taborder="2" columncount="0" rowcount="1" position="absolute 244 13 355 29" onitemclick="grp_srch_Radio00_onitemclick" codecolumn="codecolumn" datacolumn="datacolumn" style="font:Dotum,9,bold;" anchor="default">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn" size="256"/>
- <Column id="datacolumn" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">중점</Col>
- <Col id="datacolumn">중점</Col>
- </Row>
- <Row>
- <Col id="codecolumn">일반</Col>
- <Col id="datacolumn">일반</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- </Layout>
- </Layouts>
- </Div>
- <Button id="btn_sea" taborder="30" text="조회" class="btn1" position="absolute 1118 34 1186 56" onclick="btn_sea_onclick" anchor="top right"/>
- <Button id="btn_sea00" taborder="34" text="마감" class="btn4" position="absolute 718 34 772 56" onclick="btn_sea00_onclick" anchor="top right"/>
- <Button id="btn_sea01" taborder="35" text="마감 삭제" class="btn4" position="absolute 858 34 943 56" onclick="btn_sea01_onclick" visible="true" anchor="top right"/>
- <Grid id="grd_daypatlist00" class="grd_daypatlist" taborder="36" binddataset="ds_ref_adnmpmmrlist" autoenter="key" useinputpanel="false" selecttype="multirow" cellsizingtype="col" cellsizebandtype="allband" cellclickbound="cell" onrbuttonup="switch1_case1_grd_narclist_onrbuttonup" oncelldblclick="grd_daypatlist_oncelldblclick" position="absolute 0 807 1195 933" anchor="left right bottom">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="29" band="left"/>
- <Column size="62"/>
- <Column size="31"/>
- <Column size="145"/>
- <Column size="145"/>
- <Column size="80"/>
- <Column size="268"/>
- <Column size="122"/>
- <Column size="119"/>
- <Column size="81"/>
- <Column size="59"/>
- <Column size="57"/>
- </Columns>
- <Rows>
- <Row size="30" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="순번"/>
- <Cell col="1" text="마감일자"/>
- <Cell col="2" text="구분"/>
- <Cell col="3" text="헤드정보"/>
- <Cell col="4" text="상세정보"/>
- <Cell col="5" text="처방코드"/>
- <Cell col="6" text="제품명" wordwrap="char"/>
- <Cell col="7" text="제조번호" wordwrap="char"/>
- <Cell col="8" text="일련번호"/>
- <Cell col="9" text="등록번호"/>
- <Cell col="10" text="투약번호"/>
- <Cell col="11" text="총수량"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" text="expr:currow + 1"/>
- <Cell col="1" text="bind:hdr_de"/>
- <Cell col="2" displaytype="combo" style="align:center;" text="bind:rpt_ty_cd" combodataset="ds_rptcdtynm" combocodecol="CD" combodatacol="CDNM"/>
- <Cell col="3" text="bind:usr_rpt_id_no"/>
- <Cell col="4" text="bind:usr_rpt_ln_id_no"/>
- <Cell col="5" style="align:left;" text="bind:drugcd"/>
- <Cell col="6" displaytype="text" edittype="normal" style="align:left top;padding:4 2 3 2;" text="bind:prduct_nm" wordwrap="char" autosizerow="limitmin"/>
- <Cell col="7" style="align:left top;padding:4 2 3 2;" text="bind:mnf_no" wordwrap="char" autosizerow="limitmin"/>
- <Cell col="8" style="align:left;" text="bind:mnf_seq"/>
- <Cell col="9" displaytype="text" text="bind:pid"/>
- <Cell col="10" displaytype="text" edittype="text" style="align:middle;" text="bind:drugno" wordwrap="char"/>
- <Cell col="11" text="bind:pce_qy"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Grid id="grd_hismagamlist" class="grd_hismagamlist" taborder="37" binddataset="ds_hismagamlist" autoenter="key" useinputpanel="false" selecttype="multirow" cellsizingtype="col" cellsizebandtype="allband" cellclickbound="cell" onrbuttonup="switch1_case1_grd_narclist_onrbuttonup" position="absolute 676 94 1195 411" anchor="top right bottom" oncelldblclick="grd_hismagamlist_oncelldblclick" autofittype="col">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="27" band="left"/>
- <Column size="86"/>
- <Column size="54"/>
- <Column size="65"/>
- <Column size="59"/>
- <Column size="62"/>
- <Column size="76"/>
- <Column size="49"/>
- <Column size="49"/>
- </Columns>
- <Rows>
- <Row size="30" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="순번"/>
- <Cell col="1" text="처방코드"/>
- <Cell col="2" text="투약번호"/>
- <Cell col="3" text="등록번호"/>
- <Cell col="4" text="성명"/>
- <Cell col="5" text="상병코드"/>
- <Cell col="6" text="반환일"/>
- <Cell col="7" text="불출량"/>
- <Cell col="8" text="보고량"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" text="expr:currow + 1"/>
- <Cell col="1" displaytype="normal" style="align:left;background:EXPR(bogocnt != deliveqty ? 'gainsboro' : '');background2:EXPR(bogocnt != deliveqty ? 'gainsboro' : '');color:EXPR(bogocnt != deliveqty ? 'red' : '');color2:EXPR(bogocnt != deliveqty ? 'red' : '');font:EXPR(bogocnt != deliveqty ? 'Dotum, 9, bold' : 'Dotum, 9');" text="bind:drugcd"/>
- <Cell col="2" displaytype="text" edittype="text" style="background:EXPR(bogocnt != deliveqty ? 'gainsboro' : '');background2:EXPR(bogocnt != deliveqty ? 'gainsboro' : '');color:EXPR(bogocnt != deliveqty ? 'red' : '');color2:EXPR(bogocnt != deliveqty ? 'red' : '');font:EXPR(bogocnt != deliveqty ? 'Dotum, 9, bold' : 'Dotum, 9');" text="bind:drugno"/>
- <Cell col="3" style="background:EXPR(bogocnt != deliveqty ? 'gainsboro' : '');background2:EXPR(bogocnt != deliveqty ? 'gainsboro' : '');color:EXPR(bogocnt != deliveqty ? 'red' : '');color2:EXPR(bogocnt != deliveqty ? 'red' : '');font:EXPR(bogocnt != deliveqty ? 'Dotum, 9, bold' : 'Dotum, 9');" text="bind:pid"/>
- <Cell col="4" style="background:EXPR(bogocnt != deliveqty ? 'gainsboro' : '');background2:EXPR(bogocnt != deliveqty ? 'gainsboro' : '');color:EXPR(bogocnt != deliveqty ? 'red' : '');color2:EXPR(bogocnt != deliveqty ? 'red' : '');font:EXPR(bogocnt != deliveqty ? 'Dotum, 9, bold' : 'Dotum, 9');" text="bind:hngnm"/>
- <Cell col="5" style="background:EXPR(bogocnt != deliveqty ? 'gainsboro' : '');background2:EXPR(bogocnt != deliveqty ? 'gainsboro' : '');color:EXPR(bogocnt != deliveqty ? 'red' : '');color2:EXPR(bogocnt != deliveqty ? 'red' : '');font:EXPR(bogocnt != deliveqty ? 'Dotum, 9, bold' : 'Dotum, 9');" text="bind:diagcd"/>
- <Cell col="6" style="background:EXPR(bogocnt != deliveqty ? 'gainsboro' : '');background2:EXPR(bogocnt != deliveqty ? 'gainsboro' : '');color:EXPR(bogocnt != deliveqty ? 'red' : '');color2:EXPR(bogocnt != deliveqty ? 'red' : '');font:EXPR(bogocnt != deliveqty ? 'Dotum, 9, bold' : 'Dotum, 9');" text="bind:rtnenddd"/>
- <Cell col="7" style="align:center;background:EXPR(bogocnt != deliveqty ? 'gainsboro' : '');background2:EXPR(bogocnt != deliveqty ? 'gainsboro' : '');color:EXPR(bogocnt != deliveqty ? 'red' : '');color2:EXPR(bogocnt != deliveqty ? 'red' : '');font:EXPR(bogocnt != deliveqty ? 'Dotum, 9, bold' : 'Dotum, 9');" text="bind:deliveqty"/>
- <Cell col="8" style="align:center;background:EXPR(bogocnt != deliveqty ? 'gainsboro' : '');background2:EXPR(bogocnt != deliveqty ? 'gainsboro' : '');color:EXPR(bogocnt != deliveqty ? 'red' : '');color2:EXPR(bogocnt != deliveqty ? 'red' : '');font:EXPR(bogocnt != deliveqty ? 'Dotum, 9, bold' : 'Dotum, 9');" text="bind:bogocnt"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Button id="btn_histri" taborder="38" text="HIS마감조회" class="btn1" position="absolute 1008 34 1115 56" onclick="btn_histri_onclick" anchor="top right"/>
- <Grid id="grd_daypatlist02" class="grd_daypatlist" taborder="39" binddataset="ds_hismagamsum" autoenter="key" useinputpanel="false" selecttype="multirow" cellsizingtype="col" cellsizebandtype="allband" cellclickbound="cell" onrbuttonup="switch1_case1_grd_narclist_onrbuttonup" position="absolute 608 587 1195 802" anchor="left right bottom" oncelldblclick="grd_daypatlist02_oncelldblclick">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="23" band="left"/>
- <Column size="81"/>
- <Column size="235"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- </Columns>
- <Rows>
- <Row size="30" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="순번"/>
- <Cell col="1" text="처방코드"/>
- <Cell col="2" text="처방명"/>
- <Cell col="3" text="불출량+"/>
- <Cell col="4" text="불출량-"/>
- <Cell col="5" text="보고량+"/>
- <Cell col="6" text="보고량-"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" text="expr:currow + 1"/>
- <Cell col="1" displaytype="normal" style="align:left;background:EXPR(ordqty != outqtyp || ordqtym != outqtym ? 'gainsboro' : '');background2:EXPR(ordqty != outqtyp || ordqtym != outqtym ? 'gainsboro' : '');color:EXPR(ordqty != outqtyp || ordqtym != outqtym ? 'red' : '');color2:EXPR(ordqty != outqtyp || ordqtym != outqtym ? 'red' : '');font:EXPR(ordqty != outqtyp || ordqtym != outqtym ? 'Dotum, 9, bold' : 'Dotum, 9');" text="bind:drugcd"/>
- <Cell col="2" displaytype="text" edittype="text" style="background:EXPR(ordqty != outqtyp || ordqtym != outqtym ? 'gainsboro' : '');background2:EXPR(ordqty != outqtyp || ordqtym != outqtym ? 'gainsboro' : '');color:EXPR(ordqty != outqtyp || ordqtym != outqtym ? 'red' : '');color2:EXPR(ordqty != outqtyp || ordqtym != outqtym ? 'red' : '');font:EXPR(ordqty != outqtyp || ordqtym != outqtym ? 'Dotum, 9, bold' : 'Dotum, 9');" text="bind:drugnm"/>
- <Cell col="3" style="align:center;background:EXPR(ordqty != outqtyp || ordqtym != outqtym ? 'gainsboro' : '');background2:EXPR(ordqty != outqtyp || ordqtym != outqtym ? 'gainsboro' : '');color:EXPR(ordqty != outqtyp || ordqtym != outqtym ? 'red' : '');color2:EXPR(ordqty != outqtyp || ordqtym != outqtym ? 'red' : '');font:EXPR(ordqty != outqtyp ? 'Dotum, 9, bold' : 'Dotum, 9');" text="bind:ordqty"/>
- <Cell col="4" style="background:EXPR(ordqty != outqtyp || ordqtym != outqtym ? 'gainsboro' : '');background2:EXPR(ordqty != outqtyp || ordqtym != outqtym ? 'gainsboro' : '');color:EXPR(ordqty != outqtyp || ordqtym != outqtym ? 'red' : '');color2:EXPR(ordqty != outqtyp || ordqtym != outqtym ? 'red' : '');font:EXPR(ordqtym != outqtym ? 'Dotum, 9, bold' : 'Dotum, 9');" text="bind:ordqtym"/>
- <Cell col="5" style="background:EXPR(ordqty != outqtyp || ordqtym != outqtym ? 'gainsboro' : '');background2:EXPR(ordqty != outqtyp || ordqtym != outqtym ? 'gainsboro' : '');color:EXPR(ordqty != outqtyp || ordqtym != outqtym ? 'red' : '');color2:EXPR(ordqty != outqtyp || ordqtym != outqtym ? 'red' : '');font:EXPR(ordqty != outqtyp ? 'Dotum, 9, bold' : 'Dotum, 9');" text="bind:outqtyp"/>
- <Cell col="6" style="background:EXPR(ordqty != outqtyp || ordqtym != outqtym ? 'gainsboro' : '');background2:EXPR(ordqty != outqtyp || ordqtym != outqtym ? 'gainsboro' : '');color:EXPR(ordqty != outqtyp || ordqtym != outqtym ? 'red' : '');color2:EXPR(ordqty != outqtyp || ordqtym != outqtym ? 'red' : '');font:EXPR(ordqtym != outqtym ? 'Dotum, 9, bold' : 'Dotum, 9');" text="bind:outqtym"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Grid id="grd_daypatlist03" class="grd_daypatlist" taborder="40" binddataset="ds_hispmmrsum" autoenter="key" useinputpanel="false" selecttype="multirow" cellsizingtype="col" cellsizebandtype="allband" cellclickbound="cell" onrbuttonup="switch1_case1_grd_narclist_onrbuttonup" oncelldblclick="grd_daypatlist_oncelldblclick" position="absolute 0 587 605 802" anchor="left bottom">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="23" band="left"/>
- <Column size="39"/>
- <Column size="95"/>
- <Column size="384"/>
- <Column size="56"/>
- </Columns>
- <Rows>
- <Row size="30" 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="불출량"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" text="expr:currow + 1"/>
- <Cell col="1" text="bind:narcflag"/>
- <Cell col="2" displaytype="normal" style="align:left;" text="bind:drugcd"/>
- <Cell col="3" displaytype="text" edittype="text" text="bind:prduct_nm"/>
- <Cell col="4" style="align:center;" text="bind:ordqty"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Grid id="grd_selstoclist" class="grd_orderlist" taborder="41" binddataset="ds_adnmstoclist" autoenter="key" useinputpanel="false" selecttype="multirow" cellsizingtype="col" cellsizebandtype="allband" cellclickbound="cell" onrbuttonup="switch1_case1_grd_narclist_onrbuttonup" position="absolute 1 807 1195 933" onheadclick="grd_selstoclist_onheadclick" anchor="left right bottom" onkeydown="grd_selstoclist_onkeydown">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="27" band="left"/>
- <Column size="68" band="left"/>
- <Column size="75" band="left"/>
- <Column size="54" band="left"/>
- <Column size="88" band="left"/>
- <Column size="103" band="left"/>
- <Column size="141" band="left"/>
- <Column size="70" band="left"/>
- <Column size="149"/>
- <Column size="109"/>
- <Column size="29"/>
- <Column size="25"/>
- <Column size="52"/>
- <Column size="73"/>
- <Column size="69"/>
- <Column size="68"/>
- </Columns>
- <Rows>
- <Row size="30" band="head"/>
- <Row size="22"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" text=" 등록번호"/>
- <Cell col="2" text="환자명"/>
- <Cell col="3" text="투약번호"/>
- <Cell col="4" text="처방 코드" wordwrap="char"/>
- <Cell col="5" text="LabelNo"/>
- <Cell col="6" text="제품번호" wordwrap="char"/>
- <Cell col="7" text="유효기간" wordwrap="char"/>
- <Cell col="8" text="제조번호" wordwrap="char"/>
- <Cell col="9" text="일련번호" wordwrap="char"/>
- <Cell col="10" colspan="2" text="seq" taborder="undefined">
- <Cell text="seq" wordwrap="char" taborder="undefined"/>
- <Cell col="1"/>
- </Cell>
- <Cell col="12" text="잔량"/>
- <Cell col="13" text="불출일자"/>
- <Cell col="14" text="반환일자"/>
- <Cell col="15" text="잔량일자"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" text="expr:currow + 1"/>
- <Cell col="1" style="background:EXPR(EXPR( fnshfg == '1' ? 'yellow' : ''));background2:EXPR(EXPR( fnshfg == '1' ? 'yellow' : ''));" text="bind:pid"/>
- <Cell col="2" style="background:EXPR(EXPR( fnshfg == '1' ? 'yellow' : ''));background2:EXPR(EXPR( fnshfg == '1' ? 'yellow' : ''));" text="bind:pat_nm"/>
- <Cell col="3" displaytype="text" style="background:EXPR(EXPR( fnshfg == '1' ? 'yellow' : ''));background2:EXPR(EXPR( fnshfg == '1' ? 'yellow' : ''));" text="bind:drugno"/>
- <Cell col="4" style="align:left;padding:4 2 3 2;" text="bind:drugcd" wordwrap="char" autosizerow="limitmin"/>
- <Cell col="5" text="bind:labelno" mask="@@@@-@@-@@ @@@"/>
- <Cell col="6" style="align:left top;padding:4 2 3 2;background:EXPR(EXPR( fnshfg == '1' ? 'yellow' : ''));background2:EXPR(EXPR( fnshfg == '1' ? 'yellow' : ''));" text="bind:gtin" wordwrap="char" autosizerow="limitmin"/>
- <Cell col="7" style="align:left top;padding:4 2 3 2;background:EXPR(EXPR( fnshfg == '1' ? 'yellow' : ''));background2:EXPR(EXPR( fnshfg == '1' ? 'yellow' : ''));" text="bind:prd_valid_de" wordwrap="char" autosizerow="limitmin"/>
- <Cell col="8" displaytype="text" style="align:left top;padding:4 2 3 2;background:EXPR(EXPR( fnshfg == '1' ? 'yellow' : ''));background2:EXPR(EXPR( fnshfg == '1' ? 'yellow' : ''));" text="bind:mnf_no" wordwrap="char" autosizerow="limitmin"/>
- <Cell col="9" displaytype="text" style="align:left top;padding:4 2 1 2;background:EXPR(EXPR( fnshfg == '1' ? 'yellow' : ''));background2:EXPR(EXPR( fnshfg == '1' ? 'yellow' : ''));" text="bind:mnf_seq" wordwrap="char" autosizerow="limitmin"/>
- <Cell col="10" style="background:EXPR(EXPR( fnshfg == '1' ? 'yellow' : ''));background2:EXPR(EXPR( fnshfg == '1' ? 'yellow' : ''));" text="bind:seq" taborder="undefined">
- <Cell style="align:right;padding:0 2 0 0;background2:#f0f0f0ff;" text="bind:seq"/>
- </Cell>
- <Cell col="11" style="background:EXPR(EXPR( fnshfg == '1' ? 'yellow' : ''));background2:EXPR(EXPR( fnshfg == '1' ? 'yellow' : ''));" text="bind:histno"/>
- <Cell col="12" text="bind:spreqy"/>
- <Cell col="13" style="background:EXPR(EXPR( fnshfg == '1' ? 'yellow' : ''));background2:EXPR(EXPR( fnshfg == '1' ? 'yellow' : ''));" text="bind:outdd"/>
- <Cell col="14" style="background:EXPR(EXPR( fnshfg == '1' ? 'yellow' : ''));background2:EXPR(EXPR( fnshfg == '1' ? 'yellow' : ''));" text="bind:rtndd"/>
- <Cell col="15" style="background:EXPR(EXPR( fnshfg == '1' ? 'yellow' : ''));background2:EXPR(EXPR( fnshfg == '1' ? 'yellow' : ''));" text="bind:spredd"/>
- </Band>
- </Format>
- <Format id="format_copy"/>
- <Format id="format_copy_2"/>
- </Formats>
- </Grid>
- <Grid id="grd_hismagamminlist" class="grd_hismagamminlist" taborder="42" binddataset="ds_hismagamminlist" autoenter="key" useinputpanel="false" selecttype="multirow" cellsizingtype="col" cellsizebandtype="allband" cellclickbound="cell" onrbuttonup="switch1_case1_grd_narclist_onrbuttonup" position="absolute 676 416 1195 582" anchor="right bottom" oncelldblclick="grd_hismagamminlist_oncelldblclick" autofittype="col">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="27" band="left"/>
- <Column size="86"/>
- <Column size="54"/>
- <Column size="65"/>
- <Column size="59"/>
- <Column size="62"/>
- <Column size="76"/>
- <Column size="49"/>
- <Column size="49"/>
- </Columns>
- <Rows>
- <Row size="30" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="순번"/>
- <Cell col="1" text="처방코드"/>
- <Cell col="2" text="투약번호"/>
- <Cell col="3" text="등록번호"/>
- <Cell col="4" text="성명"/>
- <Cell col="5" text="상병코드"/>
- <Cell col="6" text="반환일"/>
- <Cell col="7" text="불출량"/>
- <Cell col="8" text="보고량"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" text="expr:currow + 1"/>
- <Cell col="1" displaytype="normal" style="align:left;background:EXPR(bogocnt != deliveqty ? 'gainsboro' : '');background2:EXPR(bogocnt != deliveqty ? 'gainsboro' : '');color:EXPR(bogocnt != deliveqty ? 'red' : '');color2:EXPR(bogocnt != deliveqty ? 'red' : '');font:EXPR(bogocnt != deliveqty ? 'Dotum, 9, bold' : 'Dotum, 9');" text="bind:drugcd"/>
- <Cell col="2" displaytype="text" edittype="text" style="background:EXPR(bogocnt != deliveqty ? 'gainsboro' : '');background2:EXPR(bogocnt != deliveqty ? 'gainsboro' : '');color:EXPR(bogocnt != deliveqty ? 'red' : '');color2:EXPR(bogocnt != deliveqty ? 'red' : '');font:EXPR(bogocnt != deliveqty ? 'Dotum, 9, bold' : 'Dotum, 9');" text="bind:drugno"/>
- <Cell col="3" style="background:EXPR(bogocnt != deliveqty ? 'gainsboro' : '');background2:EXPR(bogocnt != deliveqty ? 'gainsboro' : '');color:EXPR(bogocnt != deliveqty ? 'red' : '');color2:EXPR(bogocnt != deliveqty ? 'red' : '');font:EXPR(bogocnt != deliveqty ? 'Dotum, 9, bold' : 'Dotum, 9');" text="bind:pid"/>
- <Cell col="4" style="background:EXPR(bogocnt != deliveqty ? 'gainsboro' : '');background2:EXPR(bogocnt != deliveqty ? 'gainsboro' : '');color:EXPR(bogocnt != deliveqty ? 'red' : '');color2:EXPR(bogocnt != deliveqty ? 'red' : '');font:EXPR(bogocnt != deliveqty ? 'Dotum, 9, bold' : 'Dotum, 9');" text="bind:hngnm"/>
- <Cell col="5" style="background:EXPR(bogocnt != deliveqty ? 'gainsboro' : '');background2:EXPR(bogocnt != deliveqty ? 'gainsboro' : '');color:EXPR(bogocnt != deliveqty ? 'red' : '');color2:EXPR(bogocnt != deliveqty ? 'red' : '');font:EXPR(bogocnt != deliveqty ? 'Dotum, 9, bold' : 'Dotum, 9');" text="bind:diagcd"/>
- <Cell col="6" style="background:EXPR(bogocnt != deliveqty ? 'gainsboro' : '');background2:EXPR(bogocnt != deliveqty ? 'gainsboro' : '');color:EXPR(bogocnt != deliveqty ? 'red' : '');color2:EXPR(bogocnt != deliveqty ? 'red' : '');font:EXPR(bogocnt != deliveqty ? 'Dotum, 9, bold' : 'Dotum, 9');" text="bind:rtnenddd"/>
- <Cell col="7" style="align:center;background:EXPR(bogocnt != deliveqty ? 'gainsboro' : '');background2:EXPR(bogocnt != deliveqty ? 'gainsboro' : '');color:EXPR(bogocnt != deliveqty ? 'red' : '');color2:EXPR(bogocnt != deliveqty ? 'red' : '');font:EXPR(bogocnt != deliveqty ? 'Dotum, 9, bold' : 'Dotum, 9');" text="bind:deliveqty"/>
- <Cell col="8" style="align:center;background:EXPR(bogocnt != deliveqty ? 'gainsboro' : '');background2:EXPR(bogocnt != deliveqty ? 'gainsboro' : '');color:EXPR(bogocnt != deliveqty ? 'red' : '');color2:EXPR(bogocnt != deliveqty ? 'red' : '');font:EXPR(bogocnt != deliveqty ? 'Dotum, 9, bold' : 'Dotum, 9');" text="bind:bogocnt"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Button id="btn_trans" taborder="43" text="전송" class="btn4" position="absolute 946 34 1002 56" onclick="btn_trans_onclick" anchor="top right"/>
- <Button id="but_hisP" taborder="44" text="HIS마감+" position="absolute 936 67 1012 89" class="btn7" onclick="but_hisP_onclick" anchor="top right"/>
- <Button id="but_hisM" taborder="45" text="HIS마감-" class="btn7" position="absolute 1015 67 1091 89" onclick="but_hisM_onclick" anchor="top right"/>
- <Button id="but_hissum" taborder="46" text="HIS마감합계" class="btn7" position="absolute 1094 67 1195 89" onclick="but_hissum_onclick" anchor="top right"/>
- <Button id="but_nimsum" taborder="47" text=" 림스 보고 현황합계" class="btn7" position="absolute 340 67 480 89" onclick="but_nimsum_onclick"/>
- <Button id="but_nimlist" taborder="48" text=" 림스 보고 현황" class="btn7" position="absolute 220 67 336 89" onclick="but_nimlist_onclick"/>
- <Button id="Button00" taborder="49" position="absolute 624 69 647 89" onclick="Button00_onclick" anchor="top right" style="background:@gradation;" text="+"/>
- <Button id="Button01" taborder="50" text="-" position="absolute 650 69 673 89" onclick="Button01_onclick" anchor="top right"/>
- <Grid id="grd_daypatlist" class="grd_daypatlist" taborder="25" binddataset="ds_adnmpmmrlist" autoenter="key" useinputpanel="false" selecttype="multirow" cellsizingtype="col" cellsizebandtype="allband" cellclickbound="cell" onrbuttonup="switch1_case1_grd_narclist_onrbuttonup" position="absolute 0 94 673 582" anchor="all" oncelldblclick="grd_daypatlist_oncelldblclick" onkeydown="grd_daypatlist_onkeydown">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="29" band="left"/>
- <Column size="38"/>
- <Column size="132"/>
- <Column size="135"/>
- <Column size="113"/>
- <Column size="80"/>
- <Column size="198"/>
- <Column size="89"/>
- <Column size="133"/>
- <Column size="61"/>
- <Column size="51"/>
- <Column size="49"/>
- <Column size="47"/>
- <Column size="43"/>
- <Column size="42"/>
- <Column size="42"/>
- <Column size="47"/>
- <Column size="51"/>
- </Columns>
- <Rows>
- <Row size="30" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="순번"/>
- <Cell col="1" text="구분"/>
- <Cell col="2" text="참조 헤드정보"/>
- <Cell col="3" text="신규 헤드정보"/>
- <Cell col="4" text="신규 상세정보"/>
- <Cell col="5" text="처방코드"/>
- <Cell col="6" text="제품명" wordwrap="char"/>
- <Cell col="7" text="제조번호" wordwrap="char"/>
- <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="총수량"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" text="expr:currow + 1"/>
- <Cell col="1" displaytype="combo" style="align:center;" text="bind:rpt_ty_cd" combodataset="ds_rptcdtynm" combocodecol="CD" combodatacol="CDNM"/>
- <Cell col="2" text="bind:ref_usr_rpt_id_no"/>
- <Cell col="3" text="bind:usr_rpt_id_no"/>
- <Cell col="4" text="bind:usr_rpt_ln_id_no"/>
- <Cell col="5" style="align:left;" text="bind:drugcd"/>
- <Cell col="6" displaytype="text" edittype="normal" style="align:left top;padding:4 2 3 2;" text="bind:prduct_nm" wordwrap="char" autosizerow="limitmin"/>
- <Cell col="7" style="align:left top;padding:4 2 3 2;" text="bind:mnf_no" wordwrap="char" autosizerow="limitmin"/>
- <Cell col="8" style="align:left;" text="bind:mnf_seq"/>
- <Cell col="9" displaytype="text" style="align:left;" text="bind:pid"/>
- <Cell col="10" text="bind:mdc_pat_nm"/>
- <Cell col="11" text="bind:mdc_sum_qy"/>
- <Cell col="12" text="bind:mdc_once_qy"/>
- <Cell col="13" text="bind:mdc_ade_cnt"/>
- <Cell col="14" text="bind:mdc_tot_dcnt"/>
- <Cell col="15" text="bind:mdc_aft_dsuse_qy"/>
- <Cell col="16" displaytype="text" edittype="text" style="align:middle;" text="bind:drugno" wordwrap="char"/>
- <Cell col="17" text="bind:pce_qy"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Button id="btn_seaall" taborder="51" text="마감전체" class="btn4" position="absolute 692 2 772 24" onclick="btn_seaall_onclick" anchor="top right" visible="false"/>
- <Grid id="grd_seldrugchk" class="grd_seldrugchk" taborder="52" binddataset="ds_drugchk" autoenter="key" useinputpanel="false" selecttype="multirow" cellsizingtype="col" cellsizebandtype="allband" cellclickbound="cell" onrbuttonup="switch1_case1_grd_narclist_onrbuttonup" position="absolute 676 94 1195 582" onheadclick="grd_seldrugchk_onheadclick" oncelldblclick="grd_seldrugchk_oncelldblclick" anchor="top right bottom">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="27" band="left"/>
- <Column size="81"/>
- <Column size="70"/>
- <Column size="77"/>
- <Column size="54"/>
- <Column size="60"/>
- <Column size="67"/>
- <Column size="41"/>
- <Column size="0"/>
- <Column size="41"/>
- </Columns>
- <Rows>
- <Row size="30" band="head"/>
- <Row size="22"/>
- <Row size="24" band="summ"/>
- </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="Prcpno"/>
- <Cell col="6" text="마감일자" wordwrap="char"/>
- <Cell col="7" text="처방량" wordwrap="char"/>
- <Cell col="8" wordwrap="char"/>
- <Cell col="9" text="보고량" wordwrap="char"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" text="expr:currow + 1"/>
- <Cell col="1" style="background:EXPR(fnshfg == '1' ? 'yellow' : bogocnt != deliveqty ? 'gainsboro' : '');background2:EXPR(fnshfg == '1' ? 'yellow' : bogocnt != deliveqty ? 'gainsboro' : '');color2:EXPR(bogocnt != deliveqty ? 'red' : '');font:EXPR(bogocnt != deliveqty ? 'Dotum, 9, bold' : 'Dotum, 9');" text="bind:drugcd"/>
- <Cell col="2" style="background:EXPR(fnshfg == '1' ? 'yellow' : bogocnt != deliveqty ? 'gainsboro' : '');background2:EXPR(fnshfg == '1' ? 'yellow' : bogocnt != deliveqty ? 'gainsboro' : '');color2:EXPR(bogocnt != deliveqty ? 'red' : '');font:EXPR(bogocnt != deliveqty ? 'Dotum, 9, bold' : 'Dotum, 9');" text="bind:pid"/>
- <Cell col="3" style="background:EXPR(fnshfg == '1' ? 'yellow' : bogocnt != deliveqty ? 'gainsboro' : '');background2:EXPR(fnshfg == '1' ? 'yellow' : bogocnt != deliveqty ? 'gainsboro' : '');color2:EXPR(bogocnt != deliveqty ? 'red' : '');font:EXPR(bogocnt != deliveqty ? 'Dotum, 9, bold' : 'Dotum, 9');" text="bind:hngnm"/>
- <Cell col="4" displaytype="text" edittype="text" style="background:EXPR(fnshfg == '1' ? 'yellow' : bogocnt != deliveqty ? 'gainsboro' : '');background2:EXPR(fnshfg == '1' ? 'yellow' : bogocnt != deliveqty ? 'gainsboro' : '');color2:EXPR(bogocnt != deliveqty ? 'red' : '');font:EXPR(bogocnt != deliveqty ? 'Dotum, 9, bold' : 'Dotum, 9');" text="bind:drugno"/>
- <Cell col="5" displaytype="text" edittype="text" style="background:EXPR(fnshfg == '1' ? 'yellow' : bogocnt != deliveqty ? 'gainsboro' : '');background2:EXPR(fnshfg == '1' ? 'yellow' : bogocnt != deliveqty ? 'gainsboro' : '');color2:EXPR(bogocnt != deliveqty ? 'red' : '');font:EXPR(bogocnt != deliveqty ? 'Dotum, 9, bold' : 'Dotum, 9');" text="bind:prcpno"/>
- <Cell col="6" style="align:center;padding:4 2 3 2;background:EXPR(fnshfg == '1' ? 'yellow' : bogocnt != deliveqty ? 'gainsboro' : '');background2:EXPR(fnshfg == '1' ? 'yellow' : bogocnt != deliveqty ? 'gainsboro' : '');color2:EXPR(bogocnt != deliveqty ? 'red' : '');font:EXPR(bogocnt != deliveqty ? 'Dotum, 9, bold' : 'Dotum, 9');" text="bind:enddt" wordwrap="char" autosizerow="limitmin"/>
- <Cell col="7" style="align:center;padding:4 2 3 2;background:EXPR(fnshfg == '1' ? 'yellow' : bogocnt != deliveqty ? 'gainsboro' : '');background2:EXPR(fnshfg == '1' ? 'yellow' : bogocnt != deliveqty ? 'gainsboro' : '');color2:EXPR(bogocnt != deliveqty ? 'red' : '');font:EXPR(bogocnt != deliveqty ? 'Dotum, 9, bold' : 'Dotum, 9');" text="bind:deliveqty" wordwrap="char" autosizerow="limitmin"/>
- <Cell col="8" displaytype="text" style="align:center;padding:4 2 3 2;background:EXPR(fnshfg == '1' ? 'yellow' : bogocnt != deliveqty ? 'gainsboro' : '');background2:EXPR(fnshfg == '1' ? 'yellow' : bogocnt != deliveqty ? 'gainsboro' : '');color2:EXPR(bogocnt != deliveqty ? 'red' : '');font:EXPR(bogocnt != deliveqty ? 'Dotum, 9, bold' : 'Dotum, 9');" text="/" subsumtext="/" wordwrap="char" autosizerow="limitmin"/>
- <Cell col="9" displaytype="text" style="align:center;padding:4 2 1 2;background:EXPR(fnshfg == '1' ? 'yellow' : bogocnt != deliveqty ? 'gainsboro' : '');background2:EXPR(fnshfg == '1' ? 'yellow' : bogocnt != deliveqty ? 'gainsboro' : '');color:EXPR(bogocnt != deliveqty ? 'red' : '');color2:EXPR(bogocnt != deliveqty ? 'red' : '');font:EXPR(bogocnt != deliveqty ? 'Dotum, 9, bold' : 'Dotum, 9');" text="bind:bogocnt" wordwrap="char" autosizerow="limitmin"/>
- </Band>
- <Band id="summary">
- <Cell/>
- <Cell col="1" text="합 계"/>
- <Cell col="2"/>
- <Cell col="3"/>
- <Cell col="4"/>
- <Cell col="5"/>
- <Cell col="6"/>
- <Cell col="7" expr="expr:getSum("deliveqty")"/>
- <Cell col="8"/>
- <Cell col="9" expr="expr:getSum("bogocnt")"/>
- </Band>
- </Format>
- <Format id="format_copy"/>
- <Format id="format_copy_2"/>
- </Formats>
- </Grid>
- <Shape id="line02" class="line_10" position="absolute 0 89 673 95" anchor="left top right"/>
- <Button id="btn_check" taborder="53" text="마감확인" class="btn4" position="absolute 775 34 855 56" anchor="top right" onclick="btn_check_onclick"/>
- </Layout>
- </Layouts>
- <Bind>
- <BindItem id="item0" compid="grp_srch.Calendar00" propid="value" datasetid="ds_senddata" columnid="magamdd"/>
- <BindItem id="item1" compid="grp_srch.radio2" propid="value" datasetid="ds_senddata" columnid="magamflag"/>
- <BindItem id="item2" compid="grp_srch.Rad_type" propid="value" datasetid="ds_senddata" columnid="typeflag"/>
- </Bind>
- <Objects>
- <Dataset id="ds_senddata" 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="magamdd" type="STRING" size="256"/>
- <Column id="magamflag" type="STRING" size="256"/>
- <Column id="userid" type="STRING" size="256"/>
- <Column id="ioflag" type="STRING" size="256"/>
- <Column id="ref_usr_rpt_id_no" type="STRING" size="256"/>
- <Column id="workflag" type="STRING" size="256"/>
- <Column id="typeflag" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_adnmpmmrlist" 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="bssh_uid" type="STRING" size="256"/>
- <column id="hdr_de" type="STRING" size="256"/>
- <column id="bssh_cd" type="STRING" size="256"/>
- <column id="rpt_se_cd" type="STRING" size="256"/>
- <column id="ref_usr_rpt_id_no" type="STRING" size="256"/>
- <column id="rpt_ty_cd" type="STRING" size="256"/>
- <column id="rmk" type="STRING" size="256"/>
- <column id="rptr_nm" type="STRING" size="256"/>
- <column id="rptr_entrps_nm" type="STRING" size="256"/>
- <column id="chrg_nm" type="STRING" size="256"/>
- <column id="chrg_tel_no" type="STRING" size="256"/>
- <column id="chrg_mp_no" type="STRING" size="256"/>
- <column id="rnd_dtl_rpt_cnt" type="STRING" size="256"/>
- <column id="mdc_pat_se_cd" type="STRING" size="256"/>
- <column id="mdc_pat_id_no_ty_cd" type="STRING" size="256"/>
- <column id="mdc_pat_id_no" type="STRING" size="256"/>
- <column id="mdc_pat_nm" type="STRING" size="256"/>
- <column id="mdc_hptl_no" type="STRING" size="256"/>
- <column id="mdc_instt_nm" type="STRING" size="256"/>
- <column id="mdc_lcns_asort_cd" type="STRING" size="256"/>
- <column id="mdc_lcns_no" type="STRING" size="256"/>
- <column id="mdc_prsc_doc_nm" type="STRING" size="256"/>
- <column id="mdc_prsc_ord_no" type="STRING" size="256"/>
- <column id="mdc_diss_code" type="STRING" size="256"/>
- <column id="mdc_ani_kind_se_cd" type="STRING" size="256"/>
- <column id="mdc_ani_cnt" type="STRING" size="256"/>
- <column id="mdc_ani_kind_nm" type="STRING" size="256"/>
- <column id="mdc_ani_diss_nm" type="STRING" size="256"/>
- <column id="atch_file_co" type="STRING" size="256"/>
- <column id="register_id" type="STRING" size="256"/>
- <column id="usr_rpt_id_no" type="STRING" size="256"/>
- <column id="usr_rpt_ln_id_no" type="STRING" size="256"/>
- <column id="storge_no" type="STRING" size="256"/>
- <column id="mvmn_ty_cd" type="STRING" size="256"/>
- <column id="prduct_cd" type="STRING" size="256"/>
- <column id="mnf_no" type="STRING" size="256"/>
- <column id="mnf_seq" type="STRING" size="256"/>
- <column id="prd_min_distb_unit" type="STRING" size="256"/>
- <column id="pce_qy" type="STRING" size="256"/>
- <column id="prd_pce_unit" type="STRING" size="256"/>
- <column id="prduct_nm" type="STRING" size="256"/>
- <column id="prd_sgtin" type="STRING" size="256"/>
- <column id="prd_min_distb_qy" type="STRING" size="256"/>
- <column id="prd_tot_pce_qy" type="STRING" size="256"/>
- <column id="prd_valid_de" type="STRING" size="256"/>
- <column id="mdc_sum_qy" type="STRING" size="256"/>
- <column id="mdc_once_qy" type="STRING" size="256"/>
- <column id="mdc_ade_cnt" type="STRING" size="256"/>
- <column id="mdc_tot_dcnt" type="STRING" size="256"/>
- <column id="mdc_aft_dsuse_qy" type="STRING" size="256"/>
- <column id="mdc_aft_dsuse_unit" type="STRING" size="256"/>
- <column id="file_creat_dt" type="STRING" size="256"/>
- <column id="file_creat_fg" type="STRING" size="256"/>
- <column id="file_name" 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="pid" type="STRING" size="256"/>
- <column id="drugdd" type="STRING" size="256"/>
- <column id="drugno" type="STRING" size="256"/>
- <Column id="drugcd" 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_outmeg" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="ioflag" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_rptcdtynm" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="CD" type="STRING" size="256"/>
- <Column id="CDNM" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="CD">0</Col>
- <Col id="CDNM">신규</Col>
- </Row>
- <Row>
- <Col id="CD">1</Col>
- <Col id="CDNM">취소</Col>
- </Row>
- <Row>
- <Col id="CD">2</Col>
- <Col id="CDNM">변경</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_rep_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="ref_usr_rpt_id_no" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_ref_adnmpmmrlist" 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="bssh_uid" type="STRING" size="256"/>
- <column id="hdr_de" type="STRING" size="256"/>
- <column id="bssh_cd" type="STRING" size="256"/>
- <column id="rpt_se_cd" type="STRING" size="256"/>
- <column id="ref_usr_rpt_id_no" type="STRING" size="256"/>
- <column id="rpt_ty_cd" type="STRING" size="256"/>
- <column id="rmk" type="STRING" size="256"/>
- <column id="rptr_nm" type="STRING" size="256"/>
- <column id="rptr_entrps_nm" type="STRING" size="256"/>
- <column id="chrg_nm" type="STRING" size="256"/>
- <column id="chrg_tel_no" type="STRING" size="256"/>
- <column id="chrg_mp_no" type="STRING" size="256"/>
- <column id="rnd_dtl_rpt_cnt" type="STRING" size="256"/>
- <column id="mdc_pat_se_cd" type="STRING" size="256"/>
- <column id="mdc_pat_id_no_ty_cd" type="STRING" size="256"/>
- <column id="mdc_pat_id_no" type="STRING" size="256"/>
- <column id="mdc_pat_nm" type="STRING" size="256"/>
- <column id="mdc_hptl_no" type="STRING" size="256"/>
- <column id="mdc_instt_nm" type="STRING" size="256"/>
- <column id="mdc_lcns_asort_cd" type="STRING" size="256"/>
- <column id="mdc_lcns_no" type="STRING" size="256"/>
- <column id="mdc_prsc_doc_nm" type="STRING" size="256"/>
- <column id="mdc_prsc_ord_no" type="STRING" size="256"/>
- <column id="mdc_diss_code" type="STRING" size="256"/>
- <column id="mdc_ani_kind_se_cd" type="STRING" size="256"/>
- <column id="mdc_ani_cnt" type="STRING" size="256"/>
- <column id="mdc_ani_kind_nm" type="STRING" size="256"/>
- <column id="mdc_ani_diss_nm" type="STRING" size="256"/>
- <column id="atch_file_co" type="STRING" size="256"/>
- <column id="register_id" type="STRING" size="256"/>
- <column id="usr_rpt_id_no" type="STRING" size="256"/>
- <column id="usr_rpt_ln_id_no" type="STRING" size="256"/>
- <column id="storge_no" type="STRING" size="256"/>
- <column id="mvmn_ty_cd" type="STRING" size="256"/>
- <column id="prduct_cd" type="STRING" size="256"/>
- <column id="mnf_no" type="STRING" size="256"/>
- <column id="mnf_seq" type="STRING" size="256"/>
- <column id="prd_min_distb_unit" type="STRING" size="256"/>
- <column id="pce_qy" type="STRING" size="256"/>
- <column id="prd_pce_unit" type="STRING" size="256"/>
- <column id="prduct_nm" type="STRING" size="256"/>
- <column id="prd_sgtin" type="STRING" size="256"/>
- <column id="prd_min_distb_qy" type="STRING" size="256"/>
- <column id="prd_tot_pce_qy" type="STRING" size="256"/>
- <column id="prd_valid_de" type="STRING" size="256"/>
- <column id="mdc_sum_qy" type="STRING" size="256"/>
- <column id="mdc_once_qy" type="STRING" size="256"/>
- <column id="mdc_ade_cnt" type="STRING" size="256"/>
- <column id="mdc_tot_dcnt" type="STRING" size="256"/>
- <column id="mdc_aft_dsuse_qy" type="STRING" size="256"/>
- <column id="mdc_aft_dsuse_unit" type="STRING" size="256"/>
- <column id="file_creat_dt" type="STRING" size="256"/>
- <column id="file_creat_fg" type="STRING" size="256"/>
- <column id="file_name" 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="pid" type="STRING" size="256"/>
- <column id="drugdd" type="STRING" size="256"/>
- <column id="drugno" type="STRING" size="256"/>
- <Column id="drugcd" 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_hismagamlist" 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="pid" type="STRING" size="256"/>
- <Column id="hngnm" type="STRING" size="256"/>
- <Column id="sex" type="STRING" size="256"/>
- <Column id="age" type="STRING" size="256"/>
- <Column id="addr" type="STRING" size="256"/>
- <Column id="diagcd" type="STRING" size="256"/>
- <Column id="ordqty" type="STRING" size="256"/>
- <Column id="deliveqty" type="STRING" size="256"/>
- <Column id="enddt" type="STRING" size="256"/>
- <Column id="rtnenddd" type="STRING" size="256"/>
- <Column id="drugno" type="STRING" size="256"/>
- <Column id="bogocnt" type="STRING" size="256"/>
- <Column id="prcpno" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_hismagamsum" 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="narcflag" type="STRING" size="256"/>
- <Column id="ordqty" type="STRING" size="256"/>
- <Column id="drugnm" type="STRING" size="256"/>
- <Column id="outqtyp" type="STRING" size="256"/>
- <Column id="outqtym" type="STRING" size="256"/>
- <Column id="ordqtym" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_hispmmrsum" 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="narcflag" type="STRING" size="256"/>
- <Column id="ordqty" type="STRING" size="256"/>
- <Column id="drugnm" type="STRING" size="256"/>
- <Column id="prduct_nm" type="STRING" size="256"/>
- <Column id="outqty" 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="histno" 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_nm" 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_qty" 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="spreqy" type="STRING" size="256"/>
- <column id="spredd" type="STRING" size="256"/>
- <column id="spredt" type="STRING" size="256"/>
- <column id="rtnfg" type="STRING" size="256"/>
- <column id="rtndd" type="STRING" size="256"/>
- <column id="rtndt" type="STRING" size="256"/>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="labelno" type="STRING" size="256"/>
- <Column id="indt" type="STRING" size="256"/>
- <Column id="outdt" type="STRING" size="256"/>
- <column id="in_prcpno" type="STRING" size="256"/>
- <column id="in_drugdd" type="STRING" size="256"/>
- <column id="in_drugno" type="STRING" size="256"/>
- <column id="in_ioflag" type="STRING" size="256"/>
- <column id="in_pid" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <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"/>
- <Column id="seltype" type="STRING" size="256"/>
- <Column id="drugdd" type="STRING" size="256"/>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="boxflag" 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="workflag" type="STRING" size="256"/>
- <Column id="drugno" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_hismagamminlist" 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="pid" type="STRING" size="256"/>
- <Column id="hngnm" type="STRING" size="256"/>
- <Column id="sex" type="STRING" size="256"/>
- <Column id="age" type="STRING" size="256"/>
- <Column id="addr" type="STRING" size="256"/>
- <Column id="diagcd" type="STRING" size="256"/>
- <Column id="ordqty" type="STRING" size="256"/>
- <Column id="deliveqty" type="STRING" size="256"/>
- <Column id="enddt" type="STRING" size="256"/>
- <Column id="rtnenddd" type="STRING" size="256"/>
- <Column id="drugno" type="STRING" size="256"/>
- <Column id="bogocnt" type="STRING" size="256"/>
- <Column id="prcpno" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_chkdata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="chkcnt" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_sendchk" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="magamdd" type="STRING" size="256"/>
- <Column id="drugcd" type="STRING" size="256"/>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="drugno" type="STRING" size="256"/>
- <Column id="drugdd" type="STRING" size="256"/>
- <Column id="prcpno" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_drugchk" 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="drugcd" type="STRING" size="256"/>
- <Column id="drugno" type="STRING" size="256"/>
- <Column id="prcpno" type="STRING" size="256"/>
- <Column id="hngnm" type="STRING" size="256"/>
- <Column id="deliveqty" type="STRING" size="256"/>
- <Column id="enddt" type="STRING" size="256"/>
- <Column id="bogocnt" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_drugstocchk" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="bogocnt" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_finddrugdd" 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="drugcd" type="STRING" size="256"/>
- <Column id="drugno" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_retdrugdd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="drugdd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_failList" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_successList" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- </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 arErrorCode = new HashArray();
- var Arstorge_no = "";
- function SMADT12005_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj); // 폼 초기화
- // ds_senddata.clearData()
- ds_adnmpmmrlist.clearData()
- // ds_sendpatdata.clearData()
- grdf_setGridSort(grd_daypatlist);
- grdf_setGridSort(grd_hismagamlist);
- grdf_setGridSort(grd_hismagamminlist);
- grdf_setGridSort(grd_selstoclist);
- grdf_setGridSort(grd_daypatlist03);
- grdf_setGridSort(grd_daypatlist02);
- var sCurDate = utlf_getCurrentDate();
- grd_selstoclist.visible = false;
- grd_seldrugchk.visible = false;
- var currentDate = new Date(sCurDate.substr(0,4), sCurDate.substr(4,2) -1, sCurDate.substr(6,2));
- //조회날짜 초기화
- ds_senddata.setColumn( 0, "magamdd", currentDate.getAddDate(-7,"D").getDateFormat("YYYYMMDD"));
- ds_senddata.setColumn(0,"magamflag" , 'T' ); ///"R", "S"
- ds_senddata.setColumn(0,"userid" , sysf_getUserId() ); ///"R", "S"
- ds_senddata.setColumn(0,"instcd" , sysf_getUserInfo("dutplceinstcd") );
- ds_senddata.setColumn(0,"ioflag" , '' );
- ds_senddata.setColumn(0, "ref_usr_rpt_id_no", '');
- ds_senddata.setColumn(0,"typeflag" , '중점' ); ///"R", "S"
-
- }
- // function group2_btn_sea_onclick(obj:Button, e:ClickEventInfo)
- // {
- // var oParam = {};
- // oParam.id = "TXADT12005";
- // oParam.service = "pharmacydrugsumapp.NarcManagent";
- // oParam.method = "reqGetStocMagam";
- // oParam.inds = "req=ds_senddata";
- // oParam.outds = "ds_outmeg=stocdata";
- // oParam.async = false;
- //
- // tranf_submit(oParam);
- // }
- function grd_daypatlist_oncelldblclick(obj:Grid, e:GridClickEventInfo)
- {
- var cRow = e.row;
- if( cRow > -1 ){
- ds_senddata.setColumn(0, "ref_usr_rpt_id_no", ds_adnmpmmrlist.getColumn(cRow, "ref_usr_rpt_id_no"));
- dsf_makeValue(ds_senddata, "magamgubun", "string", "R");
- var oParam = {};
- oParam.id = "TRADT12010";
- oParam.service = "pharmacydrugsumapp.NarcManagent";
- oParam.method = "reqGetAdnmPmmrList";
- oParam.inds = "req=ds_senddata";
- oParam.outds = "ds_ref_adnmpmmrlist=pmmrlist";
- oParam.async = false;
- tranf_submit(oParam);
- }
- }
- function btn_sea01_onclick(obj:Button, e:ClickEventInfo)
- {
- if(sysf_messageBox("해당일자의 "+grp_srch.radio2.text+" 마감데이터를", "Q001") == "6") {
- ds_senddata.setColumn(0, "ref_usr_rpt_id_no", '');
- ds_senddata.setColumn(0,"workflag" , 'TD' );
- var oParam = {};
- oParam.id = "TXADT12005";
- oParam.service = "pharmacydrugsumapp.NarcManagent";
- oParam.method = "reqGetStocMagam";
- oParam.inds = "req=ds_senddata";
- oParam.outds = "ds_outmeg=stocdata";
- oParam.async = false;
- oParam.callback = "cf_TXADT12005_Delete";
- tranf_submit(oParam);
- }
- }
- function cf_TXADT12005_Delete(sSvcId, nErrorCode, sErrorMsg) {
- if(nErrorCode < 0) return;
- sysf_messageBox("삭제 되었습니다.","I");
- }
- function btn_sea00_onclick(obj:Button, e:ClickEventInfo)
- {
- ds_senddata.setColumn(0, "ref_usr_rpt_id_no", '');
- ds_senddata.setColumn(0,"workflag" , 'TI' );
- var oParam = {};
- oParam.id = "TRADT12018";
- oParam.service = "pharmacydrugsumapp.NarcManagent";
- oParam.method = "reqGetMagamDataCheck";
- oParam.inds = "req=ds_senddata";
- oParam.outds = "ds_chkdata=chkdata";
- oParam.async = false;
- tranf_submit(oParam);
- var Achkcnt = ds_chkdata.getColumn(0, "chkcnt");
- if ( Achkcnt > 0 ){
- if(sysf_messageBox("해당일자에 마감데이타 생성되어있습니다.. "+grp_srch.radio2.text+" 마감데이터 삭제 후", "Q003") == "6") {
- //btn_sea01.click();
- ds_senddata.setColumn(0, "ref_usr_rpt_id_no", '');
- ds_senddata.setColumn(0,"workflag" , 'TD' );
- var oParam = {};
- oParam.id = "TXADT12005";
- oParam.service = "pharmacydrugsumapp.NarcManagent";
- oParam.method = "reqGetStocMagam";
- oParam.inds = "req=ds_senddata";
- oParam.outds = "ds_outmeg=stocdata";
- oParam.async = false;
- //oParam.callback = "cf_TXADT12005_Delete";
- tranf_submit(oParam);
- } else {
- return;
- }
- }
-
- ds_senddata.setColumn(0, "workflag", "TI");
- if(ds_senddata.getColumn(0, "magamflag") == "T") {
- ds_senddata.setColumn(0, "magamflag", "O");
- var oParam = {};
- oParam.id = "TXADT12005";
- oParam.service = "pharmacydrugsumapp.NarcManagent";
- oParam.method = "reqGetStocMagam";
- oParam.inds = "req=ds_senddata";
- oParam.outds = "ds_outmeg=magaminfo";
- oParam.async = false;
- //oParam.callback = "cf_TXADT12005";
- tranf_submit(oParam);
-
- ds_senddata.setColumn(0, "magamflag", "R");
- var oParam = {};
- oParam.id = "TXADT12005";
- oParam.service = "pharmacydrugsumapp.NarcManagent";
- oParam.method = "reqGetStocMagam";
- oParam.inds = "req=ds_senddata";
- oParam.outds = "ds_outmeg=magaminfo";
- oParam.async = false;
- //oParam.callback = "cf_TXADT12005";
- tranf_submit(oParam);
-
- ds_senddata.setColumn(0, "magamflag", "T");
-
- call_TRADT12023();
-
- if(arErrorCode.pop("TRADT12023") > -1) {
- if(ds_failList.rowcount > 0) {
- open_SMADT12009();
- }
- }
- } else {
- var oParam = {};
- oParam.id = "TXADT12005";
- oParam.service = "pharmacydrugsumapp.NarcManagent";
- oParam.method = "reqGetStocMagam";
- oParam.inds = "req=ds_senddata";
- oParam.outds = "ds_outmeg=magaminfo";
- oParam.async = false;
- oParam.callback = "cf_TXADT12005";
- tranf_submit(oParam);
- }
-
- sysf_messageBox("마감 되었습니다.","I");
- }
- function btn_sea_onclick(obj:Button, e:ClickEventInfo)
- {
- ds_senddata.setColumn(0,"ref_usr_rpt_id_no", '');
- //ds_senddata.setColumn(0,"magamflag" , 'T' );
- dsf_makeValue(ds_senddata, "magamgubun", "string", "T");
- var oParam = {};
- oParam.id = "TRADT12010";
- oParam.service = "pharmacydrugsumapp.NarcManagent";
- oParam.method = "reqGetAdnmPmmrList";
- oParam.inds = "req=ds_senddata";
- oParam.outds = "ds_adnmpmmrlist=pmmrlist ds_hispmmrsum=pmmrsum"; /// ds_hispmmrsum=pmmrsum
- oParam.async = false;
- tranf_submit(oParam);
- }
- function btn_histri_onclick(obj:Button, e:ClickEventInfo)
- {
- ds_senddata.setColumn(0, "ref_usr_rpt_id_no", '');
- var oParam = {};
- oParam.id = "TRADT12017";
- oParam.service = "pharmacydrugsumapp.NarcManagent";
- oParam.method = "reqGetHisMagamList";
- oParam.inds = "req=ds_senddata";
- oParam.outds = "ds_hismagamlist=hislist ds_hismagamminlist=hisminlist ds_hismagamsum=hissum";
- oParam.async = false;
- tranf_submit(oParam);
- // dsf_makeValue(ds_hismagamlist,"bogocnt","string", 0 );
- // for(var i = 0; i < ds_hismagamlist.rowcount ; i++){
- // ds_send_stoc.setColumn(0, "drugcd", "");
- // ds_send_stoc.setColumn(0, "drugdd", "");
- // ds_send_stoc.setColumn(0, "drugno", "");
- // ds_send_stoc.setColumn(0, "pid", "");
- // ds_send_stoc.setColumn(0, "prcpno", "");
- // ds_send_stoc.setColumn(0, "storge_no", "");
- // ds_send_stoc.setColumn(0, "seltype", "");
- // ds_send_stoc.setColumn(0, "boxflag", "");
- // ds_send_stoc.setColumn(0, "gtin", "");
- // ds_send_stoc.setColumn(0, "prd_valid_de", "");
- // ds_send_stoc.setColumn(0, "mnf_no", "");
- // ds_send_stoc.setColumn(0, "mnf_seq", "");
- // ds_send_stoc.setColumn(0, "workflag", "");
- // ds_adnmstoclist.clearData();
- // ds_send_stoc.setColumn(0, "drugcd", ds_hismagamlist.getColumn(i, "drugcd"));
- // ds_send_stoc.setColumn(0, "drugdd", ds_hismagamlist.getColumn(i, "drugdd"));
- // ds_send_stoc.setColumn(0, "drugno", ds_hismagamlist.getColumn(i, "drugno"));
- // ds_send_stoc.setColumn(0, "pid", ds_hismagamlist.getColumn(i, "pid"));
- // ds_send_stoc.setColumn(0, "prcpno", ds_hismagamlist.getColumn(i, "prcpno"));
- // ds_send_stoc.setColumn(0, "workflag", "S");
- //
- // var oParam = {};
- // oParam.id = "TRADT12007";
- // oParam.service = "pharmacydrugsumapp.NarcManagent";
- // oParam.method = "reqGetNarcStocOkList";
- // oParam.inds = "req=ds_send_stoc";
- // oParam.outds = "ds_adnmstoclist=stocdata";
- // oParam.async = false;
- // oParam.callback = "cf_TRADT12007";
- // tranf_submit(oParam);
- // var bogocnt = ds_adnmstoclist.rowcount ;
- // ds_hismagamlist.setColumn(i, "bogocnt", bogocnt);
- // }
- //
- // dsf_makeValue(ds_hismagamminlist,"bogocnt","string", 0 );
- // for(var i = 0; i < ds_hismagamminlist.rowcount ; i++){
- // ds_send_stoc.setColumn(0, "drugcd", "");
- // ds_send_stoc.setColumn(0, "drugdd", "");
- // ds_send_stoc.setColumn(0, "drugno", "");
- // ds_send_stoc.setColumn(0, "pid", "");
- // ds_send_stoc.setColumn(0, "prcpno", "");
- // ds_send_stoc.setColumn(0, "storge_no", "");
- // ds_send_stoc.setColumn(0, "seltype", "");
- // ds_send_stoc.setColumn(0, "boxflag", "");
- // ds_send_stoc.setColumn(0, "gtin", "");
- // ds_send_stoc.setColumn(0, "prd_valid_de", "");
- // ds_send_stoc.setColumn(0, "mnf_no", "");
- // ds_send_stoc.setColumn(0, "mnf_seq", "");
- // /// ds_send_stoc.setColumn(0, "workflag", "");
- // ds_adnmstoclist.clearData();
- // ds_send_stoc.setColumn(0, "drugcd", ds_hismagamminlist.getColumn(i, "drugcd"));
- // ds_send_stoc.setColumn(0, "drugdd", ds_hismagamminlist.getColumn(i, "drugdd"));
- // ds_send_stoc.setColumn(0, "drugno", ds_hismagamminlist.getColumn(i, "drugno"));
- // ds_send_stoc.setColumn(0, "pid", ds_hismagamminlist.getColumn(i, "pid"));
- // ds_send_stoc.setColumn(0, "prcpno", ds_hismagamminlist.getColumn(i, "prcpno"));
- // ds_send_stoc.setColumn(0, "workflag", "M");
- //
- // var oParam = {};
- // oParam.id = "TRADT12007";
- // oParam.service = "pharmacydrugsumapp.NarcManagent";
- // oParam.method = "reqGetNarcStocOkList";
- // oParam.inds = "req=ds_send_stoc";
- // oParam.outds = "ds_adnmstoclist=stocdata";
- // oParam.async = false;
- // oParam.callback = "cf_TRADT12007";
- // tranf_submit(oParam);
- // var bogocnt = ds_adnmstoclist.rowcount ;
- // bogocnt = bogocnt * -1;
- // ds_hismagamminlist.setColumn(i, "bogocnt", bogocnt);
- // }
- }
- function grd_selstoclist_onheadclick(obj:Grid, e:GridClickEventInfo)
- {
- grd_selstoclist.visible = false;
- }
- function grd_hismagamlist_oncelldblclick(obj:Grid, e:GridClickEventInfo)
- {
- grd_selstoclist.visible = true;
- var cRow = e.row;
- if( cRow > -1 ){
- ds_send_stoc.setColumn(0, "drugcd", "");
- ds_send_stoc.setColumn(0, "drugdd", "");
- ds_send_stoc.setColumn(0, "drugno", "");
- ds_send_stoc.setColumn(0, "pid", "");
- ds_send_stoc.setColumn(0, "prcpno", "");
- ds_send_stoc.setColumn(0, "storge_no", "");
- ds_send_stoc.setColumn(0, "seltype", "");
- ds_send_stoc.setColumn(0, "boxflag", "");
- ds_send_stoc.setColumn(0, "gtin", "");
- ds_send_stoc.setColumn(0, "prd_valid_de", "");
- ds_send_stoc.setColumn(0, "mnf_no", "");
- ds_send_stoc.setColumn(0, "mnf_seq", "");
- ds_send_stoc.setColumn(0, "workflag", "");
-
- ds_send_stoc.setColumn(0, "drugcd", ds_hismagamlist.getColumn(cRow, "drugcd"));
- ds_send_stoc.setColumn(0, "drugdd", ds_hismagamlist.getColumn(cRow, "drugdd"));
- ds_send_stoc.setColumn(0, "drugno", ds_hismagamlist.getColumn(cRow, "drugno"));
- ds_send_stoc.setColumn(0, "pid", ds_hismagamlist.getColumn(cRow, "pid"));
- ds_send_stoc.setColumn(0, "prcpno", ds_hismagamlist.getColumn(cRow, "prcpno"));
- // alert( ds_hismagamlist.getColumn(cRow, "drugno"));
- ds_send_stoc.setColumn(0, "workflag", "S");
-
- var oParam = {};
- oParam.id = "TRADT12007";
- oParam.service = "pharmacydrugsumapp.NarcManagent";
- oParam.method = "reqGetNarcStocOkList";
- oParam.inds = "req=ds_send_stoc";
- oParam.outds = "ds_adnmstoclist=stocdata";
- oParam.async = false;
- oParam.callback = "cf_TRADT12007";
- tranf_submit(oParam);
-
- if(arErrorCode.pop("TRADT12007") > -1) {
- grd_selstoclist.visible = true;
- }
- }
-
- }
- function grd_hismagamminlist_oncelldblclick(obj:Grid, e:GridClickEventInfo)
- {
- grd_selstoclist.visible = true;
- var cRow = e.row;
- if( cRow > -1 ){
- ds_send_stoc.setColumn(0, "drugcd", "");
- ds_send_stoc.setColumn(0, "drugdd", "");
- ds_send_stoc.setColumn(0, "drugno", "");
- ds_send_stoc.setColumn(0, "pid", "");
- ds_send_stoc.setColumn(0, "prcpno", "");
- ds_send_stoc.setColumn(0, "storge_no", "");
- ds_send_stoc.setColumn(0, "seltype", "");
- ds_send_stoc.setColumn(0, "boxflag", "");
- ds_send_stoc.setColumn(0, "gtin", "");
- ds_send_stoc.setColumn(0, "prd_valid_de", "");
- ds_send_stoc.setColumn(0, "mnf_no", "");
- ds_send_stoc.setColumn(0, "mnf_seq", "");
- ds_send_stoc.setColumn(0, "workflag", "");
-
- ds_send_stoc.setColumn(0, "drugcd", ds_hismagamminlist.getColumn(cRow, "drugcd"));
- ds_send_stoc.setColumn(0, "drugdd", ds_hismagamminlist.getColumn(cRow, "drugdd"));
- ds_send_stoc.setColumn(0, "drugno", ds_hismagamminlist.getColumn(cRow, "drugno"));
- ds_send_stoc.setColumn(0, "pid", ds_hismagamminlist.getColumn(cRow, "pid"));
- ds_send_stoc.setColumn(0, "prcpno", ds_hismagamminlist.getColumn(cRow, "prcpno"));
- // alert( ds_hismagamlist.getColumn(cRow, "drugno"));
- ds_send_stoc.setColumn(0, "workflag", "M");
-
- var oParam = {};
- oParam.id = "TRADT12007";
- oParam.service = "pharmacydrugsumapp.NarcManagent";
- oParam.method = "reqGetNarcStocOkList";
- oParam.inds = "req=ds_send_stoc";
- oParam.outds = "ds_adnmstoclist=stocdata";
- oParam.async = false;
- oParam.callback = "cf_TRADT12007";
- tranf_submit(oParam);
-
- if(arErrorCode.pop("TRADT12007") > -1) {
- grd_selstoclist.visible = true;
- }
- }
-
- }
- function btn_trans_onclick(obj:Button, e:ClickEventInfo)
- {
- call_TRADT12023();
-
- if(arErrorCode.pop("TRADT12023") > -1) {
- if(ds_failList.rowcount > 0) {
- open_SMADT12009();
- sysf_messageBox("전송버튼을 다시 클릭해주세요..","I");
- return;
- }
- }
- ds_senddata.setColumn(0, "ref_usr_rpt_id_no", '');
- ds_senddata.setColumn(0,"workflag" , 'RI' );
- var oParam = {};
- oParam.id = "TRADT12018";
- oParam.service = "pharmacydrugsumapp.NarcManagent";
- oParam.method = "reqGetMagamDataCheck";
- oParam.inds = "req=ds_senddata";
- oParam.outds = "ds_chkdata=chkdata";
- oParam.async = false;
- tranf_submit(oParam);
-
- var Achkcnt = ds_chkdata.getColumn(0, "chkcnt");
- if ( Achkcnt > 0 ){
- sysf_messageBox("전송일자에 데이타 생성되어있습니다.!! 전산실 문의후 진행하세요! ", "I");
- return;
- }else{
- var oParam = {};
- oParam.id = "TXADT12005";
- oParam.service = "pharmacydrugsumapp.NarcManagent";
- oParam.method = "reqGetStocMagam";
- oParam.inds = "req=ds_senddata";
- oParam.outds = "ds_outmeg=stocdata";
- oParam.async = false;
- tranf_submit(oParam);
- }
-
- sysf_messageBox("전송 되었습니다.","I");
- }
- function Button00_onclick(obj:Button, e:ClickEventInfo)
- {
- grd_daypatlist.position.width = grd_seldrugchk.position.right;
- }
- function but_hisP_onclick(obj:Button, e:ClickEventInfo)
- {
- if( ds_hismagamlist.rowcount > 0 ){
- grdf_exportExcel(grd_hismagamlist, "HIS마감플러스", "HIS마감플러스", false, "", "user", false);
- } else {
- sysf_messageBox("조회된 데이터가 ", "I004");
- }
- }
- function but_hisM_onclick(obj:Button, e:ClickEventInfo)
- {
- if( ds_hismagamminlist.rowcount > 0 ){
- grdf_exportExcel(grd_hismagamminlist, "HIS마감마이너스", "HIS마감마이너스", false, "", "user", false);
- } else {
- sysf_messageBox("조회된 데이터가 ", "I004");
- }
- }
- function but_hissum_onclick(obj:Button, e:ClickEventInfo)
- {
- if( ds_hismagamsum.rowcount > 0 ){
- grdf_exportExcel(grd_daypatlist02, "HIS마감합계", "HIS마감합계", false, "", "user", false);
- } else {
- sysf_messageBox("조회된 데이터가 ", "I004");
- }
-
- }
- ///
- function but_nimsum_onclick(obj:Button, e:ClickEventInfo)
- {
- if( ds_hispmmrsum.rowcount > 0 ){
- grdf_exportExcel(grd_daypatlist03, "림스마감합계", "림스마감합계", false, "", "user", false);
- } else {
- sysf_messageBox("조회된 데이터가 ", "I004");
- }
-
- }
- function but_nimlist_onclick(obj:Button, e:ClickEventInfo)
- {
- if( ds_adnmpmmrlist.rowcount > 0 ){
- grdf_exportExcel(grd_daypatlist, "림스마감현황", "림스마감현황", false, "", "user", false);
- } else {
- sysf_messageBox("조회된 데이터가 ", "I004");
- }
-
- }
- function Button01_onclick(obj:Button, e:ClickEventInfo)
- {
- grd_daypatlist.position.width = line02.position.right;
- }
- function btn_seaall_onclick(obj:Button, e:ClickEventInfo)
- {
- ds_senddata.setColumn(0, "ref_usr_rpt_id_no", '');
- ds_senddata.setColumn(0,"workflag" , 'AI' );
- var oParam = {};
- oParam.id = "TRADT12018";
- oParam.service = "pharmacydrugsumapp.NarcManagent";
- oParam.method = "reqGetMagamDataCheck";
- oParam.inds = "req=ds_senddata";
- oParam.outds = "ds_chkdata=chkdata";
- oParam.async = false;
- tranf_submit(oParam);
- var Achkcnt = ds_chkdata.getColumn(0, "chkcnt");
- // if ( Achkcnt > 0 ){
- // alert("마감일자에 데이타 생성되어있습니다.!! 삭제는 전산실 문의후 진행하세요! ")
- // }else{
-
- var oParam = {};
- oParam.id = "TXADT12005";
- oParam.service = "pharmacydrugsumapp.NarcManagent";
- oParam.method = "reqGetStocMagam";
- oParam.inds = "req=ds_senddata";
- oParam.outds = "ds_outmeg=stocdata";
- oParam.callback = "cf_TXADT12005";
- oParam.async = false;
- tranf_submit(oParam);
- //}
-
-
- }
- function grd_daypatlist02_oncelldblclick(obj:Grid, e:GridClickEventInfo)
- {
- grd_seldrugchk.visible = true;
- var cRow = e.row;
- if( cRow > -1 ){
- ds_sendchk.setColumn(0,"magamdd", ds_senddata.getColumn(0, "magamdd"));
- ds_sendchk.setColumn(0,"drugcd" , ds_hismagamsum.getColumn(cRow, "drugcd") );
- //alert(ds_senddata.getColumn(0, "magamdd"));
- //alert(ds_hismagamsum.getColumn(cRow, "drugcd"));
- var oParam = {};
- oParam.id = "TRADT12020";
- oParam.service = "pharmacydrugsumapp.NarcManagent";
- oParam.method = "reqGetMagamDrugChk";
- oParam.inds = "req=ds_sendchk";
- oParam.outds = "ds_drugchk=chkdata";
- oParam.async = false;
- tranf_submit(oParam);
- // for(var i = 0; i < ds_drugchk.rowcount ; i++){
- // ds_sendchk.setColumn(0,"magamdd", ds_senddata.getColumn(0, "magamdd"));
- // ds_sendchk.setColumn(0,"drugcd" , ds_drugchk.getColumn(i, "drugcd") );
- // ds_sendchk.setColumn(0,"pid" , ds_drugchk.getColumn(i, "pid") );
- // ds_sendchk.setColumn(0,"drugno" , ds_drugchk.getColumn(i, "drugno") );
- // ds_sendchk.setColumn(0,"drugdd" , ds_drugchk.getColumn(i, "drugdd") );
- // ds_sendchk.setColumn(0,"prcpno" , ds_drugchk.getColumn(i, "prcpno") );
- // var oParam = {};
- // oParam.id = "TRADT12021";
- // oParam.service = "pharmacydrugsumapp.NarcManagent";
- // oParam.method = "reqGetMagamDrugStocChk";
- // oParam.inds = "req=ds_sendchk";
- // oParam.outds = "ds_drugstocchk=chkdata";
- // tranf_submit(oParam);
- // var bogocnt = ds_drugstocchk.getColumn(0, "bogocnt");
- // ds_drugchk.setColumn(i, "bogocnt", bogocnt);
- // }
- }
-
- }
- function grd_seldrugchk_onheadclick(obj:Grid, e:GridClickEventInfo)
- {
- grd_seldrugchk.visible = false;
- }
- function grd_seldrugchk_oncelldblclick(obj:Grid, e:GridClickEventInfo)
- {
- var cRow = e.row;
- if( cRow > -1 ){
- // var fprcpno = ds_drugchk.getColumn(cRow, "prcpno") ;
- // if ( fprcpno = 0 ){
- ds_finddrugdd.setColumn(0,"pid", ds_drugchk.getColumn(cRow, "pid"));
- ds_finddrugdd.setColumn(0,"drugcd" , ds_drugchk.getColumn(cRow, "drugcd") );
- ds_finddrugdd.setColumn(0,"drugno" , ds_drugchk.getColumn(cRow, "drugno") );
- var oParam = {};
- oParam.id = "TRADT12022";
- oParam.service = "pharmacydrugsumapp.NarcManagent";
- oParam.method = "reqGetDrugddFind";
- oParam.inds = "req=ds_finddrugdd";
- oParam.outds = "ds_retdrugdd=drugdd";
- oParam.async = false;
- tranf_submit(oParam);
-
-
- var fdrugdd = ds_retdrugdd.getColumn(0, "drugdd");
-
- }
- // }
- }
- function cf_TRADT12007(sSvcId, nErrorCode, sErrorMsg) {
- arErrorCode.push(sSvcId, nErrorCode);
- ds_adnmstoclist.addColumn("prd_pce_unit","string");
- for(var i = 0; i < ds_adnmstoclist.rowcount; i++) {
- ds_adnmstoclist.setColumn(i, "prd_pce_unit", ds_adnmstoclist.getColumn(i, "infg"));
- }
- }
- function cf_TXADT12005(sSvcId, nErrorCode, sErrorMsg) {
- if(nErrorCode < 0) return;
- call_TRADT12023();
-
- if(arErrorCode.pop("TRADT12023") > -1) {
- if(ds_failList.rowcount > 0) {
- open_SMADT12009();
- }
- }
- }
- function btn_check_onclick(obj:Button, e:ClickEventInfo)
- {
- call_TRADT12023();
-
- if(arErrorCode.pop("TRADT12023") > -1) {
- if(ds_failList.rowcount > 0) {
- open_SMADT12009();
- } else if(ds_successList.rowcount > 0){
- sysf_messageBox("마감데이터 확인 되었습니다..","I");
- } else {
- sysf_messageBox("해당 조건의 마감데이터가 없습니다..","I");
- }
- }
- }
- function call_TRADT12023() {
- ds_successList.clearData();
- ds_failList.clearData();
- var oParam = {};
- oParam.id = "TRADT12023";
- oParam.service = "pharmacydrugsumapp.NarcManagent";
- oParam.method = "reqGetMagamDrugStocDataChk";
- oParam.inds = "req=ds_senddata";
- oParam.outds = "ds_successList=successlist ds_failList=faillist";
- oParam.callback = "cf_TRADT12023";
- oParam.async = false;
- tranf_submit(oParam);
- }
- function cf_TRADT12023(sSvcId, nErrorCode, sErrorMsg) {
- arErrorCode.push(sSvcId, nErrorCode);
- }
- function open_SMADT12009() {
- var objArg = new Object();
- objArg.arg_ds_senddata = ds_senddata;
- objArg.arg_ds_successList = ds_successList;
- objArg.arg_ds_failList = ds_failList;
- frmf_modal("SMADT12009", "SMADT12009", objArg, null, null, null, null, null, null, null, null, null, "M");
- }
- function grd_daypatlist_onkeydown(obj:Grid, e:KeyEventInfo)
- {
-
- fGridCopyClipboard(obj, e);
- }
- function grd_selstoclist_onkeydown(obj:Grid, e:KeyEventInfo)
- {
- fGridCopyClipboard(obj, e);
- }
- function fGridCopyClipboard(obj:Grid, e:KeyEventInfo)
- {
- var bPushed = e.ctrlKey;
- var clipStr = "";
-
- if (e.keycode == 67 && bPushed == true ) // ctrl + c
- {
- clipStr = obj.getCellText(obj.currentrow, obj.currentcol);
- system.clearClipboard();
- system.setClipboard("CF_TEXT",clipStr);
- }
- }
- ]]></Script>
- </Form>
- </FDL>
|