123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SPRSC08300" position="absolute 0 0 969 481" titletext="통합내용갱신" oninit="SPRSC08300_oninit" onload="SPRSC08300_onload">
- <Layouts>
- <Layout>
- <Div id="group1" taborder="5" class="div_SA2" position="absolute 0 0 965 40">
- <Layouts>
- <Layout>
- <Static id="caption2" text="적용일자 검색구간 :" class="search_name" position="absolute 5 11 148 28" anchor="default"/>
- <Calendar id="ipt_fromdd" taborder="6" autoselect="true" autoskip="true" class="input_search" position="absolute 148 10 248 29" anchor="default"/>
- <Calendar id="ipt_todd" taborder="7" autoselect="true" autoskip="true" class="input_search" position="absolute 265 10 365 29" anchor="default"/>
- <Static id="caption3" text="약품코드 :" class="search_name" position="absolute 386 12 476 29" anchor="default"/>
- <Edit id="ipt_goodcd" taborder="8" autoselect="true" autoskip="true" class="input_search" position="absolute 470 10 570 29" anchor="default" onkeydown="group1_ipt_goodcd_onkeydown"/>
- <Static id="caption4" text="구 분 1 :" class="search_name" visible="false" position="absolute 590 12 685 29" anchor="default"/>
- <Radio id="rdo_chggubn" taborder="9" columncount="3" rowcount="1" codecolumn="codecolumn" datacolumn="datacolumn" visible="false" position="absolute 680 12 820 28" anchor="default">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">A</Col>
- <Col id="datacolumn">전체</Col>
- </Row>
- <Row>
- <Col id="codecolumn">I</Col>
- <Col id="datacolumn">신규</Col>
- </Row>
- <Row>
- <Col id="codecolumn">U</Col>
- <Col id="datacolumn">변경</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- <Button id="btn_sea" taborder="10" text="조회" class="btn1" position="absolute 895 10 951 32" anchor="default" onclick="group1_btn_sea_onclick"/>
- <Static id="caption7" text="~" position="absolute 250 10 265 30" anchor="default"/>
- </Layout>
- </Layouts>
- </Div>
- <Shape id="line1" class="line_10" position="absolute 0 69 965 75" anchor="left top right"/>
- <Static id="caption1" text="통합내용갱신" class="tit_2" position="absolute 0 53 100 75"/>
- <Button id="btn_excsave" taborder="1" text="엑셀저장" class="btn7" position="absolute 885 50 965 69"/>
- <Grid id="grd_data" class="datagrid2" taborder="2" binddataset="ds_main_updategood_goodlist" useinputpanel="false" position="absolute 0 74 965 434" autoenter="select" cellsizingtype="col">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="22" band="left"/>
- <Column size="0" band="left"/>
- <Column size="24" band="left"/>
- <Column size="0" band="left"/>
- <Column size="40" band="left"/>
- <Column size="100" band="left"/>
- <Column size="0" band="left"/>
- <Column size="83" band="left"/>
- <Column size="88" band="left"/>
- <Column size="80" band="left"/>
- <Column size="76"/>
- <Column size="0"/>
- <Column size="100"/>
- <Column size="0"/>
- <Column size="80"/>
- <Column size="150"/>
- <Column size="0"/>
- <Column size="100"/>
- <Column size="0"/>
- <Column size="67"/>
- <Column size="150"/>
- <Column size="0"/>
- <Column size="60"/>
- <Column size="0"/>
- <Column size="130"/>
- <Column size="0"/>
- <Column size="150"/>
- <Column size="0"/>
- <Column size="200"/>
- <Column size="0"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="80"/>
- <Column size="100"/>
- <Column size="80"/>
- <Column size="35"/>
- <Column size="35"/>
- <Column size="35"/>
- <Column size="35"/>
- <Column size="30"/>
- <Column size="30"/>
- <Column size="30"/>
- <Column size="30"/>
- <Column size="0"/>
- <Column size="57"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="100"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="70"/>
- <Column size="0"/>
- <Column size="70"/>
- <Column size="200"/>
- <Column size="0"/>
- <Column size="200"/>
- <Column size="200"/>
- <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="34" band="head"/>
- <Row size="42"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" text="인터페이스 id"/>
- <Cell col="2"/>
- <Cell col="3" text="구분 코드"/>
- <Cell col="4" text="구분"/>
- <Cell col="5" text="적용일자"/>
- <Cell col="6" text="물류적용일자"/>
- <Cell col="7" text="현재기관 적용일자"/>
- <Cell col="8" text="약품코드"/>
- <Cell col="9" text="약품대표코드"/>
- <Cell col="10" text="연번"/>
- <Cell col="11" text="중복제외 대표코드"/>
- <Cell col="12" text="구코드"/>
- <Cell col="13" text="도매상코드"/>
- <Cell col="14" text="EDI코드"/>
- <Cell col="15" text="물품명"/>
- <Cell col="16" text="한글명"/>
- <Cell col="17" text="영문명"/>
- <Cell col="18" text="goodspec"/>
- <Cell col="19" text="성분코드"/>
- <Cell col="20" text="성분명"/>
- <Cell col="21" text="대분류코드"/>
- <Cell col="22" text="대분류"/>
- <Cell col="23" text="중분류코드"/>
- <Cell col="24" text="중분류"/>
- <Cell col="25" text="소분류코드"/>
- <Cell col="26" text="소분류"/>
- <Cell col="27" text="welfprt"/>
- <Cell col="28" text="복지부분류"/>
- <Cell col="29" text="제조회사코드"/>
- <Cell col="30" text="제조회사"/>
- <Cell col="31" text="판매회사코드"/>
- <Cell col="32" text="판매회사"/>
- <Cell col="33" text="주거래처코드"/>
- <Cell col="34" text="주거래처"/>
- <Cell col="35" text="자산구분"/>
- <Cell col="36" text="입고계정코드"/>
- <Cell col="37" text="입고계정"/>
- <Cell col="38" text="비용계정코드"/>
- <Cell col="39" text="비용계정"/>
- <Cell col="40" text="함량용량" wordwrap="word"/>
- <Cell col="41" text="함량단위" wordwrap="word"/>
- <Cell col="42" text="규격수량" wordwrap="word"/>
- <Cell col="43" text="규격단위" wordwrap="word"/>
- <Cell col="44" text="병원용량" wordwrap="word"/>
- <Cell col="45" text="병원단위" wordwrap="word"/>
- <Cell col="46" text="처방수량" wordwrap="word"/>
- <Cell col="47" text="처방단위" wordwrap="word"/>
- <Cell col="48" text="gnrlspcl"/>
- <Cell col="49" text="처방환산"/>
- <Cell col="50" text="수가계산방법"/>
- <Cell col="51" text="그룹여부"/>
- <Cell col="52" text="낱개수량"/>
- <Cell col="53" text="낱개단위"/>
- <Cell col="54" text="포장단위"/>
- <Cell col="55" text="보험단가"/>
- <Cell col="56" text="처방단가"/>
- <Cell col="57" text="상한가"/>
- <Cell col="58" text="구입단가"/>
- <Cell col="59" text="구입가"/>
- <Cell col="60" text="일반/전문"/>
- <Cell col="61" text="keepmthd"/>
- <Cell col="62" text="실제보관법"/>
- <Cell col="63" text="허가보관방법"/>
- <Cell col="64" text="불용일"/>
- <Cell col="65" text="변경사유"/>
- <Cell col="66" text="비고"/>
- <Cell col="67" text="포장수량"/>
- <Cell col="68" text="특별약품"/>
- <Cell col="69" text="약품종류"/>
- <Cell col="70" text="all size 유무"/>
- <Cell col="71" text="drugtoddhis"/>
- <Cell col="72" text="ifstatus"/>
- <Cell col="73" text="prefromdd"/>
- <Cell col="74" text="conflag"/>
- <Cell col="75" text="mngtcls"/>
- <Cell col="76" text="purccls"/>
- <Cell col="77" text="통계구분(약품)"/>
- <Cell col="78" text="EDI단위(약품)"/>
- <Cell col="79" text="EDI환산수량(약품)"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" expr="currow+1"/>
- <Cell col="1" text="bind:ifid"/>
- <Cell col="2" displaytype="checkbox" edittype="checkbox" text="bind:sel" expr="expr:sel == 'Y' ? 1 : 0"/>
- <Cell col="3" text="bind:chggubn"/>
- <Cell col="4" text="bind:chggubnnm"/>
- <Cell col="5" displaytype="date" edittype="date" text="bind:instfromdd" calendardisplaynulltype="nulltext"/>
- <Cell col="6" displaytype="date" edittype="date" text="bind:condd" calendardisplaynulltype="nulltext"/>
- <Cell col="7" displaytype="date" text="bind:instfromdd" calendardisplaynulltype="nulltext"/>
- <Cell col="8" text="bind:goodcd"/>
- <Cell col="9" text="bind:reprgoodcd"/>
- <Cell col="10" text="bind:asisgoodcd"/>
- <Cell col="11" text="bind:dupexpgoodcd"/>
- <Cell col="12" style="align:left middle;padding:0 0 0 3;" text="bind:oldcd"/>
- <Cell col="13" text="bind:bnscd"/>
- <Cell col="14" text="bind:edicd"/>
- <Cell col="15" style="align:left middle;padding:0 0 0 3;" text="bind:goodnm"/>
- <Cell col="16" text="bind:goodhngnm"/>
- <Cell col="17" style="align:left middle;padding:0 0 0 3;" text="bind:goodengnm"/>
- <Cell col="18" text="bind:goodspec"/>
- <Cell col="19" style="align:left middle;padding:0 0 0 3;" text="bind:com"/>
- <Cell col="20" style="align:left middle;padding:0 0 0 3;" text="bind:comnm"/>
- <Cell col="21" text="bind:lrgcd"/>
- <Cell col="22" text="bind:lrgnm"/>
- <Cell col="23" text="bind:mdlcd"/>
- <Cell col="24" style="align:left middle;padding:0 0 0 3;" text="bind:mdlnm"/>
- <Cell col="25" text="bind:smlcd"/>
- <Cell col="26" style="align:left middle;padding:0 0 0 3;" text="bind:smlnm"/>
- <Cell col="27" text="bind:welfprt"/>
- <Cell col="28" style="align:left middle;padding:0 0 0 3;" text="bind:welfprtnm"/>
- <Cell col="29" text="bind:prodcmpycd"/>
- <Cell col="30" style="align:left middle;padding:0 0 0 3;" text="bind:prodcmpynm"/>
- <Cell col="31" style="align:left middle;padding:0 0 0 3;" text="bind:suppcustcd"/>
- <Cell col="32" style="align:left middle;padding:0 0 0 3;" text="bind:suppcustnm"/>
- <Cell col="33" style="align:left middle;padding:0 0 0 3;" text="bind:maincustlastsuplplce"/>
- <Cell col="34" style="align:left middle;padding:0 0 0 3;" text="bind:maincustlastsuplplcenm"/>
- <Cell col="35" displaytype="combo" edittype="combo" style="align:left middle;padding:0 0 0 3;" text="bind:asetflag"/>
- <Cell col="36" style="align:left middle;padding:0 0 0 3;" text="bind:winacnt"/>
- <Cell col="37" style="align:left middle;padding:0 0 0 3;" text="bind:winacntnm"/>
- <Cell col="38" style="align:left middle;padding:0 0 0 3;" text="bind:amtacnt"/>
- <Cell col="39" style="align:left middle;padding:0 0 0 3;" text="bind:amtacntnm"/>
- <Cell col="40" style="align:left middle;padding:0 0 0 3;" text="bind:cntsqty"/>
- <Cell col="41" style="align:left middle;padding:0 0 0 3;" text="bind:cntsunit"/>
- <Cell col="42" style="align:left middle;padding:0 0 0 3;" text="bind:specvol"/>
- <Cell col="43" style="align:left middle;padding:0 0 0 3;" text="bind:specunit"/>
- <Cell col="44" style="align:left middle;padding:0 0 0 3;" text="bind:hospdrguvol"/>
- <Cell col="45" style="align:left middle;padding:0 0 0 3;" text="bind:hospdrguunit"/>
- <Cell col="46" style="align:left middle;padding:0 0 0 3;" text="bind:prcpqty"/>
- <Cell col="47" style="align:left middle;padding:0 0 0 3;" text="bind:prcpunit"/>
- <Cell col="48" text="bind:gnrlspcl"/>
- <Cell col="49" text="bind:prcpexchqty"/>
- <Cell col="50" displaytype="combo" style="align:left middle;padding:0 0 0 3;" text="bind:calcmthdcd" combodataset="ds_init_P0133list_P0133" combocodecol="cdid" combodatacol="cdnm" enable="false"/>
- <Cell col="51" displaytype="combo" style="align:left middle;padding:0 0 0 3;" text="bind:grupsnglflag" combodataset="ds_init_P0133list_P0133" combocodecol="cdid" combodatacol="cdnm" enable="false"/>
- <Cell col="52" style="align:left middle;padding:0 0 0 3;" text="bind:exchqty"/>
- <Cell col="53" style="align:left middle;padding:0 0 0 3;" text="bind:deliveunit"/>
- <Cell col="54" style="align:left middle;padding:0 0 0 3;" text="bind:purcunit"/>
- <Cell col="55" displaytype="number" text="bind:insucost"/>
- <Cell col="56" displaytype="number" text="bind:estmamt"/>
- <Cell col="57" displaytype="number" text="bind:upperlimit"/>
- <Cell col="58" displaytype="number" text="bind:goodunitcost"/>
- <Cell col="59" displaytype="number" text="bind:goodpurccost"/>
- <Cell col="60" text="bind:gnrlspclnm"/>
- <Cell col="61" text="bind:keepmthd"/>
- <Cell col="62" text="bind:keepmthdnm"/>
- <Cell col="63" style="align:left middle;padding:0 0 0 3;" text="bind:pemtkeepmthd" wordwrap="word"/>
- <Cell col="64" text="bind:todd"/>
- <Cell col="65" displaytype="combo" style="align:left middle;padding:0 0 0 3;" text="bind:nonusetretresn" wordwrap="word" combodataset="ds_init_R0356list_R0356" combocodecol="cdid" combodatacol="cdnm" enable="false"/>
- <Cell col="66" style="align:left middle;padding:0 0 0 3;" text="bind:cmt" wordwrap="word"/>
- <Cell col="67" text="bind:purcqty"/>
- <Cell col="68" text="bind:specldrug"/>
- <Cell col="69" text="bind:drugkind"/>
- <Cell col="70" text="bind:allsizeyn"/>
- <Cell col="71" text="bind:drugtoddhis"/>
- <Cell col="72" text="bind:ifstatus"/>
- <Cell col="73" text="bind:prefromdd"/>
- <Cell col="74" text="bind:conflag"/>
- <Cell col="75" text="bind:mngtcls"/>
- <Cell col="76" text="bind:purccls"/>
- <Cell col="77" text="bind:statsflag"/>
- <Cell col="78" text="bind:ediunit"/>
- <Cell col="79" text="bind:ediexchqty"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Combo id="cmb_asetflag" taborder="3" visible="false" position="absolute 835 50 865 69"/>
- <Static id="caption6" text="* 주의사항 : 신규코드를 이 화면에서 등록한 경우 반드시 개별 코드 조회하여 재고관리기준을 입력 저장해야 합니다." position="absolute 115 54 823 67" style="color:#ff0000ff;font:Dotum,9,bold;"/>
- <Edit id="output1" taborder="6" readonly="true" position="absolute 2 448 48 467"/>
- <Static id="caption5" text="건 조회 되었습니다." visible="false" position="absolute 54 449 273 468"/>
- <Shape id="line32" linetype="horizontal" class="line_6" position="absolute 0 442 965 448"/>
- <Button id="btn_insert" taborder="7" text="등록" class="btn4" position="absolute 848 448 904 470" onclick="btn_insert_onclick"/>
- <Button id="btn_close" taborder="8" text="닫기" class="btn4" position="absolute 909 448 965 470" onclick="btn_close_onclick"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_send_srchinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="fromdd" type="STRING" size="256"/>
- <Column id="todd" type="STRING" size="256"/>
- <Column id="goodcd" type="STRING" size="256"/>
- <Column id="chggubn" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="fromdd"/>
- <Col id="todd"/>
- <Col id="goodcd"/>
- <Col id="chggubn"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_updategood_goodlist" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_main_updategood_goodlist_oncolumnchanged">
- <ColumnInfo>
- <Column id="ifid" type="STRING" size="256" sumtext="인터페이스id "/>
- <Column id="sel" type="STRING" size="256" sumtext="약품코드 "/>
- <Column id="chggubn" type="STRING" size="256" sumtext="구분코드 "/>
- <Column id="chggubnnm" type="STRING" size="256" sumtext="구분명 "/>
- <Column id="condd" type="STRING" size="256" sumtext="약품적용일자 "/>
- <Column id="condd" type="STRING" size="256" sumtext="약품적용일자 "/>
- <Column id="instfromdd" type="STRING" size="256" sumtext="기관적용일자 "/>
- <Column id="goodcd" type="STRING" size="256" sumtext="약품코드 "/>
- <Column id="oldcd" type="STRING" size="256" sumtext="구약품코드 "/>
- <Column id="edicd" type="STRING" size="256" sumtext="EDI코드 "/>
- <Column id="goodhngnm" type="STRING" size="256" sumtext="한글명 "/>
- <Column id="goodnm" type="STRING" size="256" sumtext="물품명 "/>
- <Column id="goodspec" type="STRING" size="256" sumtext="물품규격 "/>
- <Column id="com" type="STRING" size="256" sumtext="성분명 "/>
- <Column id="comnm" type="STRING" size="256" sumtext="성분명 "/>
- <Column id="lrgcd" type="STRING" size="256" sumtext="대분류코드 "/>
- <Column id="lrgnm" type="STRING" size="256" sumtext="대분류명 "/>
- <Column id="mdlcd" type="STRING" size="256" sumtext="중분류코드 "/>
- <Column id="mdlnm" type="STRING" size="256" sumtext="중분류명 "/>
- <Column id="smlcd" type="STRING" size="256" sumtext="소분류코드 "/>
- <Column id="smlnm" type="STRING" size="256" sumtext="소분류명 "/>
- <Column id="welfprt" type="STRING" size="256" sumtext="복지부분류 "/>
- <Column id="welfprtnm" type="STRING" size="256" sumtext="복지부분류명 "/>
- <Column id="prcpqty" type="STRING" size="256" sumtext="처방수량 "/>
- <Column id="prcpunit" type="STRING" size="256" sumtext="처방단위 "/>
- <Column id="cntsqty" type="STRING" size="256" sumtext="함량용량 "/>
- <Column id="cntsunit" type="STRING" size="256" sumtext="함량단위 "/>
- <Column id="gnrlspcl" type="STRING" size="256" sumtext="일반/전문 "/>
- <Column id="gnrlspclnm" type="STRING" size="256" sumtext="일반/전문 명 "/>
- <Column id="keepmthd" type="STRING" size="256" sumtext="실제보관법 "/>
- <Column id="keepmthdnm" type="STRING" size="256" sumtext="실제보관법명 "/>
- <Column id="pemtkeepmthd" type="STRING" size="256" sumtext="허가보관방법 "/>
- <Column id="todd" type="STRING" size="256" sumtext="불용일 "/>
- <Column id="drugtoddhis" type="STRING" size="256" sumtext="약품적용일자 "/>
- <Column id="ifstatus" type="STRING" size="256" sumtext="인터페이스종류 "/>
- <Column id="bnscd" type="STRING" size="256" sumtext="보나에스코드 "/>
- <Column id="goodengnm" type="STRING" size="256" sumtext="영문상품명 "/>
- <Column id="goodspec" type="STRING" size="256" sumtext="물품규격 "/>
- <Column id="prodcmpycd" type="STRING" size="256" sumtext="제조회사코드 "/>
- <Column id="prodcmpynm" type="STRING" size="256" sumtext="제조회사명 "/>
- <Column id="suppcustcd" type="STRING" size="256" sumtext="판매회사코드 "/>
- <Column id="suppcustnm" type="STRING" size="256" sumtext="판매회사명 "/>
- <Column id="maincustlastsuplplce" type="STRING" size="256" sumtext="주거래처코드 "/>
- <Column id="maincustlastsuplplcenm" type="STRING" size="256" sumtext="주거래처명 "/>
- <Column id="asetflag" type="STRING" size="256" sumtext="자산구분 "/>
- <Column id="winacnt" type="STRING" size="256" sumtext="입고계정코드 "/>
- <Column id="winacntnm" type="STRING" size="256" sumtext="입고계정 "/>
- <Column id="amtacnt" type="STRING" size="256" sumtext="비용계정코드 "/>
- <Column id="amtacntnm" type="STRING" size="256" sumtext="비용계정 "/>
- <Column id="specvol" type="STRING" size="256" sumtext="규격용량 "/>
- <Column id="specunit" type="STRING" size="256" sumtext="규격단위 "/>
- <Column id="hospdrguvol" type="STRING" size="256" sumtext="병원용량 "/>
- <Column id="hospdrguunit" type="STRING" size="256" sumtext="병원단위 "/>
- <Column id="prcpexchqty" type="STRING" size="256" sumtext="처방환산 "/>
- <Column id="calcmthdcd" type="STRING" size="256" sumtext="수가계산방법 "/>
- <Column id="grupsnglflag" type="STRING" size="256" sumtext="그룹여부 "/>
- <Column id="exchqty" type="STRING" size="256" sumtext="낱개수량 "/>
- <Column id="deliveunit" type="STRING" size="256" sumtext="낱개단위 "/>
- <Column id="purcunit" type="STRING" size="256" sumtext="포장단위 "/>
- <Column id="insucost" type="STRING" size="256" sumtext="보험단가 "/>
- <Column id="estmamt" type="STRING" size="256" sumtext="처방단가 "/>
- <Column id="goodunitcost" type="STRING" size="256" sumtext="구입단가 "/>
- <Column id="goodpurccost" type="STRING" size="256" sumtext="구입가 "/>
- <Column id="nonusetretresn" type="STRING" size="256" sumtext="변경사유 "/>
- <Column id="cmt" type="STRING" size="256" sumtext="비고 "/>
- <Column id="purcqty" type="STRING" size="256" sumtext="포장수량 "/>
- <Column id="specldrug" type="STRING" size="256" sumtext="특별약품 "/>
- <Column id="drugkind" type="STRING" size="256" sumtext="약품종류 "/>
- <Column id="allsizeyn" type="STRING" size="256" sumtext="all size 유무 "/>
- <Column id="condd" type="STRING" size="256" sumtext="원약품적용일자 "/>
- <Column id="dupexpgoodcd" type="STRING" size="256" sumtext="중복제외대표코드 "/>
- <Column id="dupexpgoodcdold" type="STRING" size="256" sumtext="중복제외대표코드 "/>
- <Column id="dupexpgoodcdnm" type="STRING" size="256" sumtext="중복제외대표코드명칭"/>
- <Column id="shadelight" type="STRING" size="256" sumtext="차광구분 "/>
- <Column id="upperlimit" type="STRING" size="256" sumtext="상한가 "/>
- <Column id="conflag" type="STRING" size="256" sumtext="계약구분 "/>
- <Column id="reprgoodcd" type="STRING" size="256" sumtext="대표약품코드 "/>
- <Column id="asisgoodcd" type="STRING" size="256" sumtext="연번 "/>
- <Column id="mngtcls" type="STRING" size="256" sumtext="관리분류 "/>
- <Column id="purccls" type="STRING" size="256" sumtext="구입분류 "/>
- <Column id="statsflag" type="STRING" size="256" sumtext="통계구분(약품) "/>
- <Column id="ediunit" type="STRING" size="256" sumtext="EDI단위(약품) "/>
- <Column id="ediexchqty" type="STRING" size="256" sumtext="EDI환산수량(약품) "/>
- <Column id="prefromdd" type="STRING" size="256"/>
- <Column id="fromdd" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_P0133list_P0133" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_init_P0142list_P0142" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_init_R0356list_R0356" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cnt" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_send_drugdata_druginfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_send_save_gooddetlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="group1.ipt_fromdd" propid="value" datasetid="ds_send_srchinfo" columnid="fromdd"/>
- <BindItem id="item1" compid="group1.ipt_todd" propid="value" datasetid="ds_send_srchinfo" columnid="todd"/>
- <BindItem id="item2" compid="group1.ipt_goodcd" propid="value" datasetid="ds_send_srchinfo" columnid="goodcd"/>
- <BindItem id="item3" compid="group1.rdo_chggubn" propid="value" datasetid="ds_send_srchinfo" columnid="chggubn"/>
- <BindItem id="item4" compid="output1" propid="value" datasetid="ds" columnid="cnt"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name :
- * Job Name :
- * Creator :
- * Make Date : 2017-06-19
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2017-06-19 Live Converter TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- include "com_commonxp::comm_main.xjs";
- include "mis_miscommonxp::MIS.xjs";
- function SPRSC08300_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj);
- }
- function SPRSC08300_onload(obj:Form, e:LoadEventInfo)
- {
- grdf_initGrid(grd_data);
- grdf_setRowTypeIcon(grd_data, 0);
- setDate();
-
- misfComboComCdListMulti("R0043","cmb_asetflag");
-
- var arrParam = [{dsNm: "ds_init_P0133list_P0133", cdGrpId: "P0133"}
- ,{dsNm: "ds_init_P0142list_P0142", cdGrpId: "P0142"}
- ,{dsNm: "ds_init_R0356list_R0356", cdGrpId: "R0356"}]
-
- appf_getCodeList(arrParam);
-
- ds_send_srchinfo.setColumn(0, "chggubn", "A");
- fGetGoodList();
- }
- function setDate()
- {
- var curdate = utlf_getCurrentDate();
-
- var curyear = parseInt(String(curdate).substr(0,4));
- var curmonth = String(curdate).substr(4,2);
- var curday = String(curdate).substr(6,2);
-
- var preyear = curyear;
- var nextyear = curyear;
-
- var premonth = null;
- var nextmonth = null;
-
- if (String(curmonth).substr(0,1) == "0" )
- {
- curmonth = parseInt(String(curmonth).substr(1,2));
- }
- else
- {
- curmonth = parseInt(String(curmonth).substr(0,2));
- }
-
- if (String(curday).substr(0,1) == "0")
- {
- curday = parseInt(String(curday).substr(1,2));
- }
- else
- {
- curday = parseInt(String(curday).substr(0,2));
- }
-
- var preday = curday;
- var nextday = curday;
-
- if ( curmonth == 1 )
- {
- preyear = preyear - 1;
- premonth = 12;
- nextmonth = curmonth + 1;
- }
- else if ( curmonth == 12 )
- {
- nextyear = nextyear + 1;
- nextmonth = 1;
- premonth = curmonth - 1;
- }
- else
- {
- premonth = curmonth - 1;
- nextmonth = curmonth + 1;
- }
-
- if ( premonth == 2 && curday > 28 )
- preday = 28;
-
- if ( nextmonth == 2 && curday > 28 )
- nextday = 28;
-
- if ( preday != 28 && curday < 10 )
- preday = "0" + curday;
-
- if ( nextday != 28 && curday < 10 )
- nextday = "0" + curday;
-
- if ( premonth < 10 )
- premonth = "0" + premonth;
-
- if ( nextmonth < 10 )
- nextmonth = "0" + nextmonth;
-
- predate = preyear+""+premonth+""+preday;
- nextdate = nextyear+""+nextmonth+""+nextday;
-
- ds_send_srchinfo.setColumn(0, "fromdd", predate);
- ds_send_srchinfo.setColumn(0, "todd", nextdate);
- }
- function fGetGoodList()
- {
- var oParam = {};
- oParam.id = "TRRSC08301";
- oParam.service = "purcbaseapp.MisDrugMngt";
- oParam.method = "reqGetMisGoodList";
- oParam.inds = "req=ds_send_srchinfo";
- oParam.outds = "ds_main_updategood_goodlist=goodlist";
- oParam.async = false;
- //oParam.callback = "cf_TRRSC08301";
- tranf_submit(oParam);
- ds_main_updategood_goodlist.updatecontrol = false
- for(var i = 0; i < ds_main_updategood_goodlist.rowcount; i++)
- {
- dsf_makeValue(ds_main_updategood_goodlist, "fromdd", "string", ds_main_updategood_goodlist.getColumn(i, "condd"), i);
- dsf_makeValue(ds_main_updategood_goodlist, "prefromdd", "string", ds_main_updategood_goodlist.getColumn(i, "condd"), i);
- }
- dsf_setDefaultVal(ds_main_updategood_goodlist, "condd:'',condd:'',drugtoddhis:'',ifstatus:'',bnscd:'',goodspec:'',prodcmpycd:'',maincustlastsuplplce:'',maincustlastsuplplcenm:'',asetflag:'',winacnt:'',winacntnm:'',amtacnt:'',amtacntnm:'',specvol:'',specunit:'',hospdrguvol:'',hospdrguunit:'',prcpexchqty:'',calcmthdcd:'',grupsnglflag:'',insucost:'',estmamt:'',goodunitcost:'',goodpurccost:'',nonusetretresn:'',cmt:'',purcqty:'',specldrug:'',drugkind:'',allsizeyn:'',condd:'',dupexpgoodcd:'',dupexpgoodcdold:'',dupexpgoodcdnm:'',shadelight:'',upperlimit:'',conflag:'',reprgoodcd:'',asisgoodcd:'',mngtcls:'',purccls:'',statsflag:'',ediunit:'',ediexchqty:''");
- dsf_setFixVal(ds_main_updategood_goodlist, "sel:N");
- ds_main_updategood_goodlist.updatecontrol = true;
-
- ds_main_updategood_goodlist.rowposition = -1;
-
- ds.setColumn(0, "cnt", ds_main_updategood_goodlist.rowcount);
-
- caption5.visible = true;
- }
- function ds_main_updategood_goodlist_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
- {
- if(e.columnid == "sel")
- {
- obj.setColumn(e.row, "sel", (e.newvalue == "Y" || e.newvalue == 1) ? "Y" : "N");
-
- if(e.newvalue == 0)
- {
- obj.updatecontrol = false;
- obj.setRowType(e.row, "");
- obj.updatecontrol = true;
- }
- else
- {
- obj.updatecontrol = false;
- obj.setRowType(e.row, "u");
- obj.updatecontrol = true;
- }
- }
-
- if(e.columnid == "fromdd")
- {
- var CompFromdd = obj.getColumn(e.row, "prefromdd");
- var sInstFromdd = obj.getColumn(e.row, "instfromdd");
- var sFromdd = e.newvalue;
-
- if(sFromdd < sInstFromdd)
- {
- sysf_messageBox("현재기관 적용일자보다 이전일자로 변경할수", "I004");
- obj.setColumn(e.row, "fromdd",CompFromdd);
- return;
- }
- }
- if(e.columnid == "drugfromdd")
- {
- var drugfromdd = e.newvalue;
- drugfromdd = drugfromdd.toDate("YYYYMMDD");
- obj.setColumn(e.row, "drugtoddhis", drugfromdd.getAddDate(-1).getDateFormat());
- }
- }
- function btn_insert_onclick(obj:Button, e:ClickEventInfo)
- {
- var chk = sysf_messageBox("물류정보를 갱신", "S001");
- var cnt = 0;
- if(chk == 6)
- {
- for(var i = 0; i < ds_main_updategood_goodlist.rowcount; i++)
- {
- if(ds_main_updategood_goodlist.getColumn(i, "sel") == "Y")
- {
- var CompFromdd = ds_main_updategood_goodlist.getColumn(i, "prefromdd");
- var sInstFromdd = ds_main_updategood_goodlist.getColumn(i, "instfromdd");
- var sFromdd = ds_main_updategood_goodlist.getColumn(i, "fromdd");
-
- if(sFromdd < sInstFromdd)
- {
- sysf_messageBox("기관 적용일자보다 이전일자로 변경할수", "I004");
- ds_main_updategood_goodlist.rowposition = i;
-
- grd_data.setCellPos(grd_data.getBindCellIndex("body", "fromdd"));
- grd_data.showEditor(true);
- return;
- }
- ds_main_updategood_goodlist.setColumn(i, "ifstatus", "S");
-
- ds_main_updategood_goodlist.updatecontrol = false;
- ds_main_updategood_goodlist.setRowType(i, "u");
- ds_main_updategood_goodlist.updatecontrol = true;
- cnt ++;
- }
- }
-
- if(cnt != 0)
- {
- for(var i = 0; i < ds_main_updategood_goodlist.rowcount; i++)
- {
- ds_main_updategood_goodlist.updatecontrol = false;
- dsf_makeValue(ds_main_updategood_goodlist, "hngnm", "string", ds_main_updategood_goodlist.getColumn(i, "goodnm"), i);
- ds_main_updategood_goodlist.updatecontrol = true;
- }
-
- var updateData = grdf_getGridUpdateData(grd_data);
- ds_send_drugdata_druginfo.copyData(updateData)
- ds_send_save_gooddetlist.copyData(updateData)
-
- ds_send_drugdata_druginfo.updatecontrol = false;
- dsf_setDefaultVal(ds_send_drugdata_druginfo, "drugfromdd:'',drugtoddhis:'',ifstatus:'',bnscd:'',goodengnm:'',prodcmpynm:'',suppcustnm:'',maincustlastsuplplcenm:'',asetflag:'',winacnt:'',winacntnm:'',amtacnt:'',amtacntnm:'',specvol:'',specunit:'',hospdrguvol:'',hospdrguunit:'',prcpexchqty:'',calcmthdcd:'',grupsnglflag:'',insucost:'',estmamt:'',goodunitcost:'',goodpurccost:'',nonusetretresn:'',cmt:''");
- ds_send_drugdata_druginfo.updatecontrol = true;
- var oParam = {};
- oParam.id = "TXRSC08301";
- oParam.service = "purcbaseapp.MisDrugMngt";
- oParam.method = "reqExeMisGoodList";
- oParam.inds = "druginfo=ds_send_drugdata_druginfo";
- oParam.outds = "ds_=item";
- oParam.async = false;
- //oParam.callback = "cf_TXRSC08301";
- tranf_submit(oParam);
-
- ds_send_drugdata_druginfo.updatecontrol = false;
- dsf_setDefaultVal(ds_send_drugdata_druginfo, "goodflag:PH,goodmodel:'',exchqty:0,preexchqty:0,estmamt:0,forgncurncyunitcost:0,goodunitcost:0,pregoodunitcost:0,safestocqty:0,ddavguseqty:0,mmavgusescheqty:0,mmavguseqty:0,prprtystocpossndayno:0,prcpexchqty:0,insucost:0,goodpurccost:0,grupsnglflag:S,calcmthdcd:-");
- ds_send_drugdata_druginfo.updatecontrol = true;
- var oParam = {};
- oParam.id = "TXRSC08302";
- oParam.service = "purcbaseapp.PurcBaseMngt";
- oParam.method = "reqExeSaveDetailGood";
- oParam.inds = "detgood=ds_send_drugdata_druginfo";
- oParam.outds = "";
- oParam.async = false;
- //oParam.callback = "cf_TXRSC08302";
- tranf_submit(oParam);
-
- fGetGoodList();
- }
- else
- {
- sysf_messageBox("선택된 사항이","I004");
- }
- }
- }
- function btn_close_onclick(obj:Button, e:ClickEventInfo)
- {
- this.close();
- }
- function group1_btn_sea_onclick(obj:Button, e:ClickEventInfo)
- {
- var fromdd = ds_send_srchinfo.getColumn(0, "fromdd");
- var todd = ds_send_srchinfo.getColumn(0, "todd");
-
- if(!utlf_isNull(fromdd) || !utlf_isNull(todd))
- {
- if(utlf_isNull(fromdd))
- {
- sysf_messageBox("검색구간을 입력하지","E007");
- group1.ipt_fromdd.setFocus();
- return;
- }
- else if(utlf_isNull(todd))
- {
- sysf_messageBox("검색구간을 입력하지","E007");
- group1.ipt_todd.setFocus();
- return;
- }
- }
- fGetGoodList();
- }
- function group1_ipt_goodcd_onkeydown(obj:Edit, e:KeyEventInfo)
- {
- if(e.keycode == 13)
- {
- obj.updateToDataset();
- group1.btn_sea.click();
- }
- }
- ]]></Script>
- </Form>
- </FDL>
|