123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SPMNP01601" position="absolute 0 0 1096 719" titletext="처방(물품)찾기" oninit="SPMNP01601_oninit" onload="SPMNP01601_onload" ontimer="SPMNP01601_ontimer">
- <Layouts>
- <Layout>
- <Div position="absolute 0 0 1094 714" id="grp_main" scrollbars="autoboth">
- <Layouts>
- <Layout>
- <Grid position="absolute 565 105 980 543" id="grd_prcplist" class="grd_agtplcelist" binddataset="ds_main_prcplist" oncellclick="grp_main_grd_prcplist_oncellclick" onheadclick="grp_main_grd_prcplist_onheadclick" anchor="default">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="25"/>
- <Column size="68"/>
- <Column size="35"/>
- <Column size="187"/>
- <Column size="150"/>
- <Column size="98"/>
- <Column size="116"/>
- <Column size="127"/>
- <Column size="55"/>
- <Column size="267"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell displaytype="checkbox" edittype="checkbox" expr="0"/>
- <Cell col="1" text="처방코드"/>
- <Cell col="2" text="SIZE"/>
- <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"/>
- <Cell col="11"/>
- <Cell col="12"/>
- <Cell col="13"/>
- <Cell col="14"/>
- <Cell col="15"/>
- </Band>
- <Band id="body">
- <Cell displaytype="checkbox" edittype="checkbox" text="bind:chkflag"/>
- <Cell col="1" text="bind:prcpcd"/>
- <Cell col="2" text="bind:allsizespecid"/>
- <Cell col="3" text="bind:prcpnm"/>
- <Cell col="4" text="bind:goodspec"/>
- <Cell col="5" text="bind:goodmodel"/>
- <Cell col="6" text="bind:prodcmpynm"/>
- <Cell col="7" text="bind:custnm"/>
- <Cell col="8" displaytype="combo" text="bind:useflag" combodataset="ds_useflag" combocodecol="value" combodatacol="label" enable="false"/>
- <Cell col="9" text="bind:calhngnm"/>
- <Cell col="10" text="bind:goodflag"/>
- <Cell col="11" text="bind:opgoodcls"/>
- <Cell col="12" text="bind:prcpclscd"/>
- <Cell col="13" text="bind:cureflag"/>
- <Cell col="14" text="bind:prcpunit"/>
- <Cell col="15" text="bind:drugmthdspccd"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Grid position="absolute 330 80 1093 714" id="grd_goodlist" class="grd_agtplcelist" binddataset="ds_main_goodlist" onvscrolllastover="grp_main_grd_goodlist_onvscrolllastover" oncelldblclick="grp_main_grd_goodlist_oncelldblclick" anchor="default" cellsizingtype="col" selecttype="multirow" cellclickbound="cell" autosizingtype="none" extendsizetype="none">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="25" band="left"/>
- <Column size="90" band="left"/>
- <Column size="35" band="left"/>
- <Column size="35"/>
- <Column size="320"/>
- <Column size="115"/>
- <Column size="90"/>
- <Column size="50"/>
- <Column size="90"/>
- <Column size="90"/>
- <Column size="55"/>
- <Column size="300"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="26"/>
- </Rows>
- <Band id="head">
- <Cell displaytype="checkbox" edittype="checkbox"/>
- <Cell col="1" text="물품코드"/>
- <Cell col="2" text="SUB"/>
- <Cell col="3" text="산정"/>
- <Cell col="4" text="물품명"/>
- <Cell col="5" text="규격"/>
- <Cell col="6" text="모델"/>
- <Cell col="7" text="단위"/>
- <Cell col="8" text="제조원"/>
- <Cell col="9" text="거래처"/>
- <Cell col="10" text="사용구분"/>
- <Cell col="11" text="수가명"/>
- <Cell col="12" text="물품구분"/>
- <Cell col="13" text="처방구분명"/>
- <Cell col="14" text="처방구분"/>
- <Cell col="15" text="용법"/>
- <Cell col="16" text="처방단위"/>
- <Cell col="17" text="재고수량"/>
- <Cell col="18" text="기준수량"/>
- <Cell col="19" text="청구방법"/>
- <Cell col="20" text="구매구분"/>
- <Cell col="21" text="산정여부"/>
- <Cell col="22" text="수가코드"/>
- </Band>
- <Band id="body">
- <Cell displaytype="checkbox" edittype="checkbox" text="bind:chkflag"/>
- <Cell col="1" style="align:left;" text="bind:goodcd"/>
- <Cell col="2" text="bind:allsizespecid"/>
- <Cell col="3" text="bind:calculyn"/>
- <Cell col="4" style="align:left top;padding:6 2 0 2;" text="bind:goodnm" wordwrap="word" tooltiptext="bind:goodnm" autosizerow="default"/>
- <Cell col="5" style="align:left top;padding:6 2 0 2;" text="bind:goodspec" wordwrap="word" tooltiptext="bind:goodspec" autosizerow="default"/>
- <Cell col="6" style="align:left top;padding:6 2 0 2;" text="bind:goodmodel" wordwrap="word" tooltiptext="bind:goodmodel"/>
- <Cell col="7" style="align:left;" text="bind:prcpunit"/>
- <Cell col="8" style="align:left top;padding:6 2 0 2;" text="bind:prodcmpynm" wordwrap="word" tooltiptext="bind:prodcmpynm"/>
- <Cell col="9" style="align:left top;padding:6 2 0 2;" text="bind:custnm" wordwrap="word" tooltiptext="bind:custnm" autosizerow="default"/>
- <Cell col="10" displaytype="combo" style="align:center;" text="bind:useflag" combodataset="ds_useflag" combocodecol="value" combodatacol="label" enable="false"/>
- <Cell col="11" style="align:left top;padding:6 2 0 2;" text="bind:calhngnm" wordwrap="word" tooltiptext="bind:calhngnm"/>
- <Cell col="12" text="bind:goodflag"/>
- <Cell col="13" text="bind:opgoodcls"/>
- <Cell col="14" text="bind:prcpclscd"/>
- <Cell col="15" text="bind:cureflag"/>
- <Cell col="16" text="bind:prcpunit"/>
- <Cell col="17" text="bind:drugmthdspccd"/>
- <Cell col="18" text="bind:stocqty"/>
- <Cell col="19" text="bind:acmlbaseqty"/>
- <Cell col="20" text="bind:reqmthd"/>
- <Cell col="21" text="bind:calcscorcd"/>
- <Cell col="22" text="bind:insuyn"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Div position="absolute 0 0 1094 55" id="group2" class="div_SA" anchor="default">
- <Layouts>
- <Layout>
- <Button position="absolute 913 16 969 38" id="btn_search" class="btn1" text="조회" onclick="grp_main_group2_btn_search_onclick" anchor="default"/>
- <Static text="조회구분 :" position="absolute 5 31 81 48" id="caption28" class="search_name" anchor="default"/>
- <Radio position="absolute 84 29 284 47" id="rdo_refcond" class="radio_search" columncount="3" codecolumn="codecolumn" datacolumn="datacolumn" onitemchanged="grp_main_group2_rdo_refcond_onitemchanged" anchor="default">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">2</Col>
- <Col id="datacolumn">물품코드</Col>
- </Row>
- <Row>
- <Col id="codecolumn">1</Col>
- <Col id="datacolumn">물품명</Col>
- </Row>
- <Row>
- <Col id="codecolumn">3</Col>
- <Col id="datacolumn">EDI코드</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- <Static text="조회대상 :" position="absolute 5 7 81 24" id="caption32" class="search_name" anchor="default"/>
- <Radio position="absolute 85 6 165 24" id="rdo_reftrgt" enable="false" columncount="2" rowcount="2" codecolumn="codecolumn" datacolumn="datacolumn" onitemchanged="grp_main_group2_rdo_reftrgt_onitemchanged" anchor="default">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">CCR</Col>
- <Col id="datacolumn">수술물품</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- <Button position="absolute 972 16 1028 38" id="bbt_choice" class="btn4" enable="true" text="선택" onclick="grp_main_group2_bbt_choice_onclick" anchor="default"/>
- <Edit position="absolute 295 28 495 47" id="ipt_refcond" class="input_search" onkeyup="grp_main_group2_ipt_refcond_onkeyup" anchor="default" autoselect="true"/>
- <Static text="입고구분 :" position="absolute 240 7 316 24" id="caption1" class="search_name" anchor="default"/>
- <Radio position="absolute 315 5 495 25" id="radio1" columncount="4" codecolumn="codecolumn" datacolumn="datacolumn" index="-1" anchor="default">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">
- </Col>
- <Col id="datacolumn">전체</Col>
- </Row>
- <Row>
- <Col id="codecolumn">1</Col>
- <Col id="datacolumn">구매</Col>
- </Row>
- <Row>
- <Col id="codecolumn">2</Col>
- <Col id="datacolumn">수탁</Col>
- </Row>
- <Row>
- <Col id="codecolumn">3</Col>
- <Col id="datacolumn">가납</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- <Radio position="absolute 605 5 745 25" id="radio2" enable="false" columncount="3" codecolumn="codecolumn" datacolumn="datacolumn" anchor="default">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">O</Col>
- <Col id="datacolumn">수술</Col>
- </Row>
- <Row>
- <Col id="codecolumn">A</Col>
- <Col id="datacolumn">마취</Col>
- </Row>
- <Row>
- <Col id="codecolumn">R</Col>
- <Col id="datacolumn">회복</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- <Shape position="absolute 900 10 906 44" linetype="vertical" id="line2" class="line_4" anchor="default"/>
- <Static text="부서구분 :" position="absolute 525 7 601 24" id="caption2" class="search_name" anchor="default"/>
- <Button position="absolute 1031 16 1087 38" id="button1" class="btn1" enable="true" text="닫기" onclick="grp_main_group2_button1_onclick" anchor="default"/>
- <Edit position="absolute 605 28 780 47" id="input1" class="input_search" onkeyup="grp_main_group2_input1_onkeyup" anchor="default" autoselect="true"/>
- <Static text="물품규격 :" position="absolute 525 31 601 48" id="caption3" class="search_name" anchor="default"/>
- </Layout>
- </Layouts>
- </Div>
- <Static text="물품코드리스트" position="absolute 0 63 145 79" id="caption16" class="tit_2" anchor="default"/>
- <Grid position="absolute 0 80 100 714" id="grd_lrglist" binddataset="ds_init_GoodData_lrglist" oncellclick="grp_main_grd_lrglist_oncellclick" anchor="default" cellsizingtype="both" extendsizetype="row" autosizingtype="row" scrollbars="autovert" selecttype="multirow">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="100"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="23"/>
- </Rows>
- <Band id="head">
- <Cell text="대분류"/>
- <Cell col="1" text="대분류코드"/>
- </Band>
- <Band id="body">
- <Cell style="align:left;padding:2 4 2 2;" text="bind:lrgnm" wordwrap="word" autosizerow="limitmin"/>
- <Cell col="1" text="bind:lrgcd"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Grid position="absolute 103 80 213 714" id="grd_mdllist" binddataset="ds_init_GoodData_mdllist" oncellclick="grp_main_grd_mdllist_oncellclick" anchor="default" autosizingtype="row" cellsizingtype="both" extendsizetype="row" scrollbars="autovert" selecttype="multirow">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="110"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="23"/>
- </Rows>
- <Band id="head">
- <Cell text="중분류"/>
- <Cell col="1" text="중분류코드"/>
- </Band>
- <Band id="body">
- <Cell style="align:left;padding:2 2 2 2;" text="bind:mdlnm" wordwrap="word" autosizerow="limitmin"/>
- <Cell col="1" text="bind:mdlcd"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Grid position="absolute 216 80 326 714" id="grd_smllist" binddataset="ds_init_GoodData_smllist" oncellclick="grp_main_grd_smllist_oncellclick" anchor="default" autosizingtype="row" cellsizingtype="both" extendsizetype="row" scrollbars="autovert" selecttype="multirow">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="108"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="23"/>
- </Rows>
- <Band id="head">
- <Cell text="소분류"/>
- <Cell col="1" text="소분류코드"/>
- </Band>
- <Band id="body">
- <Cell style="align:left;padding:2 2 2 2;" text="bind:smlnm" wordwrap="word" autosizerow="limitmin"/>
- <Cell col="1" text="bind:smlcd"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <CheckBox position="absolute 980 60 1090 75" id="chk_diffroomyn" text="다른방으로 처방" anchor="default"/>
- </Layout>
- </Layouts>
- </Div>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_send_reqdata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="refflag" type="STRING" size="256" sumtext="조건구분"/>
- <Column id="refnm" type="STRING" size="256" sumtext="조건명"/>
- <Column id="goodflag" type="STRING" size="256" sumtext="물품구분"/>
- <Column id="lrgcd" type="STRING" size="256" sumtext="대분류"/>
- <Column id="mdlcd" type="STRING" size="256" sumtext="중분류"/>
- <Column id="smlcd" type="STRING" size="256" sumtext="소분류"/>
- <Column id="goodcond" type="STRING" size="256" sumtext="물품조회조건"/>
- <Column id="offset" type="INT" size="256" sumtext="offset"/>
- <Column id="pagesize" type="INT" size="256" sumtext="pagesize"/>
- <Column id="tabflag" type="STRING" size="256" sumtext="조회마스터구분"/>
- <Column id="refcmpy" type="STRING" size="256" sumtext="제조회사"/>
- <Column id="refcust" type="STRING" size="256" sumtext="거래처"/>
- <Column id="prcpflag" type="STRING" size="256" sumtext="처방MASTER여부"/>
- <Column id="winflag" type="STRING" size="256" sumtext="입고구분"/>
- <Column id="menuparam" type="STRING" size="256" sumtext="오픈페이지구분"/>
- <Column id="oproomcd" type="STRING" size="256" sumtext="수술방코드"/>
- <Column id="cartgubn" type="STRING" size="256" sumtext="Cart 구분"/>
- <Column id="insukind" type="STRING" size="256" sumtext="보험유형"/>
- <Column id="payflagcd" type="STRING" size="256" sumtext="급여구분"/>
- <Column id="goodspec" type="STRING" size="256" sumtext="물품규격"/>
- <Column id="drugyn" type="STRING" size="256" sumtext="가납약포함여부"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_goodlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_main_goodlist_oncolumnchanged">
- <ColumnInfo>
- <Column id="chkflag" type="STRING" size="256" sumtext="체크구분"/>
- <Column id="goodcd" type="STRING" size="256" sumtext="물품코드"/>
- <Column id="allsizespecid" type="STRING" size="256" sumtext="SIZE"/>
- <Column id="goodnm" type="STRING" size="256" sumtext="물품명"/>
- <Column id="goodspec" type="STRING" size="256" sumtext="규격"/>
- <Column id="goodmodel" type="STRING" size="256" sumtext="물품모델"/>
- <Column id="prodcmpynm" type="STRING" size="256" sumtext="제조회사"/>
- <Column id="custnm" type="STRING" size="256" sumtext="거래처"/>
- <Column id="useflag" type="STRING" size="256" sumtext="사용구분"/>
- <Column id="calhngnm" type="STRING" size="256" sumtext="수가명"/>
- <Column id="goodflag" type="STRING" size="256" sumtext="물품구분"/>
- <Column id="opgoodcls" type="STRING" size="256" sumtext="수술물품분류"/>
- <Column id="prcpclscd" type="STRING" size="256" sumtext="처방분류"/>
- <Column id="cureflag" type="STRING" size="256" sumtext="처치구분"/>
- <Column id="prcpunit" type="STRING" size="256" sumtext="처방단위"/>
- <Column id="drugmthdspccd" type="STRING" size="256" sumtext="투여방법 및 검체코드"/>
- <Column id="stocqty" type="STRING" size="256" sumtext="실재고량"/>
- <Column id="acmlbaseqty" type="STRING" size="256" sumtext="기준수량OR"/>
- <Column id="reqmthd" type="STRING" size="256" sumtext="청구방법"/>
- <Column id="purcflag" type="STRING" size="256" sumtext="구매구분"/>
- <Column id="payflagcd" type="STRING" size="256" sumtext="급여구분"/>
- <Column id="calculyn" type="STRING" size="256" sumtext="산정여부"/>
- <Column id="calcscorcd" type="STRING" size="256" sumtext="수가코드"/>
- <Column id="insuyn" type="STRING" size="256" sumtext="수가대상여부"/>
- <Column id="deliveunit" type="STRING" size="256" sumtext="불출단위"/>
- <Column id="safestocqty" type="STRING" size="256" sumtext="안전재고"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_GoodData_mdllist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="mdlnm" type="STRING" size="256" sumtext="중분류명"/>
- <Column id="mdlcd" type="STRING" size="256" sumtext="중분류"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_GoodData_smllist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="smlnm" type="STRING" size="256" sumtext="소분류명"/>
- <Column id="smlcd" type="STRING" size="256" sumtext="소분류"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_prcplist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_main_prcplist_oncolumnchanged">
- <ColumnInfo>
- <Column id="chkflag" type="STRING" size="256" sumtext="체크구분"/>
- <Column id="prcpcd" type="STRING" size="256" sumtext="처방코드"/>
- <Column id="allsizespecid" type="STRING" size="256" sumtext="사이즈"/>
- <Column id="prcpnm" type="STRING" size="256" sumtext="처방명"/>
- <Column id="goodspec" type="STRING" size="256" sumtext="물품규격"/>
- <Column id="goodmodel" type="STRING" size="256" sumtext="물품모델"/>
- <Column id="prodcmpynm" type="STRING" size="256" sumtext="제조회사명"/>
- <Column id="custnm" type="STRING" size="256" sumtext="거래처명"/>
- <Column id="useflag" type="STRING" size="256" sumtext="사용구분"/>
- <Column id="calhngnm" type="STRING" size="256" sumtext="수가명"/>
- <Column id="goodflag" type="STRING" size="256" sumtext="물품구분"/>
- <Column id="cureflag" type="STRING" size="256" sumtext="처치구분"/>
- <Column id="prcpclscd" type="STRING" size="256" sumtext="분류코드"/>
- <Column id="prcpunit" type="STRING" size="256" sumtext="처방단위"/>
- <Column id="drugmthdspccd" type="STRING" size="256" sumtext="투여방법 및 검체코드 "/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_GoodData_lrglist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="lrgnm" type="STRING" size="256" sumtext="대분류명"/>
- <Column id="lrgcd" type="STRING" size="256" sumtext="대분류"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cdid" type="STRING" size="256" sumtext="물품구분 "/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_GoodData_goodflaglist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="goodflagcd" type="STRING" size="256" sumtext="물품구분"/>
- <Column id="goodflagnm" type="STRING" size="256" sumtext="물품구분명"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_GoodData_cond" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="refflag" type="STRING" size="256"/>
- <Column id="tabflag" type="STRING" size="256"/>
- <Column id="refnm" type="STRING" size="256"/>
- <Column id="winflag" type="STRING" size="256"/>
- <Column id="goodspec" type="STRING" size="256"/>
- <Column id="goodflag" type="STRING" size="256"/>
- <Column id="lrgcd" type="STRING" size="256"/>
- <Column id="mdlcd" type="STRING" size="256"/>
- <Column id="smlcd" type="STRING" size="256"/>
- <Column id="offset" type="STRING" size="256"/>
- <Column id="cartgubn" type="STRING" size="256"/>
- <Column id="oproomcd" type="STRING" size="256"/>
- <Column id="drugyn" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_HideData_condition" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="deptflag" type="STRING" size="256"/>
- <Column id="diffroomyn" type="STRING" size="256"/>
- <Column id="cartgubn" type="STRING" size="256"/>
- <Column id="oproomcd" type="STRING" size="256"/>
- <Column id="insukind" type="STRING" size="256"/>
- <Column id="openflag" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_useflag" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="label" type="STRING" size="256"/>
- <Column id="value" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="label">재사용</Col>
- <Col id="value">Y</Col>
- </Row>
- <Row>
- <Col id="label">분할사용</Col>
- <Col id="value">Z</Col>
- </Row>
- <Row>
- <Col id="label">1회사용</Col>
- <Col id="value">N</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_goodlist_temp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_main_goodlist_oncolumnchanged">
- <ColumnInfo>
- <Column id="chkflag" type="STRING" size="256" sumtext="체크구분"/>
- <Column id="goodcd" type="STRING" size="256" sumtext="물품코드"/>
- <Column id="allsizespecid" type="STRING" size="256" sumtext="SIZE"/>
- <Column id="goodnm" type="STRING" size="256" sumtext="물품명"/>
- <Column id="goodspec" type="STRING" size="256" sumtext="규격"/>
- <Column id="goodmodel" type="STRING" size="256" sumtext="물품모델"/>
- <Column id="prodcmpynm" type="STRING" size="256" sumtext="제조회사"/>
- <Column id="custnm" type="STRING" size="256" sumtext="거래처"/>
- <Column id="useflag" type="STRING" size="256" sumtext="사용구분"/>
- <Column id="calhngnm" type="STRING" size="256" sumtext="수가명"/>
- <Column id="goodflag" type="STRING" size="256" sumtext="물품구분"/>
- <Column id="opgoodcls" type="STRING" size="256" sumtext="수술물품분류"/>
- <Column id="prcpclscd" type="STRING" size="256" sumtext="처방분류"/>
- <Column id="cureflag" type="STRING" size="256" sumtext="처치구분"/>
- <Column id="prcpunit" type="STRING" size="256" sumtext="처방단위"/>
- <Column id="drugmthdspccd" type="STRING" size="256" sumtext="투여방법 및 검체코드"/>
- <Column id="stocqty" type="STRING" size="256" sumtext="실재고량"/>
- <Column id="acmlbaseqty" type="STRING" size="256" sumtext="기준수량OR"/>
- <Column id="reqmthd" type="STRING" size="256" sumtext="청구방법"/>
- <Column id="purcflag" type="STRING" size="256" sumtext="구매구분"/>
- <Column id="payflagcd" type="STRING" size="256" sumtext="급여구분"/>
- <Column id="calculyn" type="STRING" size="256" sumtext="산정여부"/>
- <Column id="calcscorcd" type="STRING" size="256" sumtext="수가코드"/>
- <Column id="insuyn" type="STRING" size="256" sumtext="수가대상여부"/>
- <Column id="deliveunit" type="STRING" size="256" sumtext="불출단위"/>
- <Column id="safestocqty" type="STRING" size="256" sumtext="안전재고"/>
- </ColumnInfo>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="grp_main.group2.rdo_refcond" propid="value" datasetid="ds_init_GoodData_cond" columnid="refflag"/>
- <BindItem id="item1" compid="grp_main.group2.rdo_reftrgt" propid="value" datasetid="ds_init_GoodData_cond" columnid="tabflag"/>
- <BindItem id="item2" compid="grp_main.group2.ipt_refcond" propid="value" datasetid="ds_init_GoodData_cond" columnid="refnm"/>
- <BindItem id="item3" compid="grp_main.group2.radio1" propid="value" datasetid="ds_init_GoodData_cond" columnid="winflag"/>
- <BindItem id="item4" compid="grp_main.group2.input1" propid="value" datasetid="ds_init_GoodData_cond" columnid="goodspec"/>
- <BindItem id="item5" compid="grp_main.group2.radio2" propid="value" datasetid="ds_HideData_condition" columnid="deptflag"/>
- <BindItem id="item6" compid="grp_main.chk_diffroomyn" propid="value" datasetid="ds_HideData_condition" columnid="diffroomyn"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name : 경대 의료정보시스템
- * Job Name : emr_opanstxp -> SPMNP01601
- * Creator : yjh
- * Make Date : 2016-02-16
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2016-02-16 yjh TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- //=======================================================================================
- // Lib Include
- //---------------------------------------------------------------------------------------
- include "com_commonxp::comm_main.xjs";
- include "emr_opanstxp::SPMNP01601.xjs"; //yjh : 커밋
- //=======================================================================================
- // Global Form Variable
- //---------------------------------------------------------------------------------------
- //=======================================================================================
- // Function
- //---------------------------------------------------------------------------------------
- /****************************************************************************************
- * Argument : N/A
- * Description :
- ****************************************************************************************/
- //=======================================================================================
- // Event
- //---------------------------------------------------------------------------------------
- /****************************************************************************************
- * Components : Form
- * Components ID : SPMNP01601
- * Event : oninit
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 화면 처음 초기화시
- ****************************************************************************************/
- function SPMNP01601_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj); //폼 초기화
- grdf_initGrid(grp_main.grd_goodlist);
- //grdf_sortNodeList(grp_main.grd_goodlist)
- }
- /****************************************************************************************
- * Components : Form
- * Components ID : SPMNP01601
- * Event : onload
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 화면 로딩 완료시
- ****************************************************************************************/
- function SPMNP01601_onload(obj:Form, e:LoadEventInfo)
- {
- ds_init_GoodData_cond.setColumn(0, "winflag", "");
- fGoodInit();
- }
- /****************************************************************************************
- * Components : Grid
- * Components ID : grd_lrglist
- * Event : oncellclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 그리드 셀 클릭시
- ****************************************************************************************/
- function grp_main_grd_lrglist_oncellclick(obj:Grid, e:GridClickEventInfo)
- {
- ds_init_GoodData_mdllist.clearData();
- ds_init_GoodData_smllist.clearData();
- ds_init_GoodData_cond.setColumn(0, "lrgcd", ds_init_GoodData_lrglist.getColumn(ds_init_GoodData_lrglist.rowposition, "lrgcd"));
- ds_init_GoodData_cond.setColumn(0, "mdlcd", "");
- ds_init_GoodData_cond.setColumn(0, "smlcd", "");
- ds_init_GoodData_cond.setColumn(0, "offset", "");
- ds_send_reqdata.copyData(ds_init_GoodData_cond);
-
- var oParam = {};
- oParam.id = "TRMNP04464";
- oParam.service = "opanstapp.OpAnstStocMngt";
- oParam.method = "reqGetGubnMdl";
- oParam.inds = "reqdata=ds_send_reqdata";
- oParam.outds = "ds_init_GoodData_mdllist=mdllist";
- oParam.async = false;
- //oParam.callback = "cf_TRMNP04464";
- tranf_submit(oParam);
-
- ds_init_GoodData_mdllist.rowposition = -1;
- }
- /****************************************************************************************
- * Components : Grid
- * Components ID : grd_mdllist
- * Event : oncellclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 그리드 셀 클릭시
- ****************************************************************************************/
- function grp_main_grd_mdllist_oncellclick(obj:Grid, e:GridClickEventInfo)
- {
- ds_main_goodlist.clearData();
- ds_init_GoodData_smllist.clearData();
-
- ds_init_GoodData_cond.setColumn(0, "mdlcd", ds_init_GoodData_mdllist.getColumn(ds_init_GoodData_mdllist.rowposition, "mdlcd"));
- ds_init_GoodData_cond.setColumn(0, "smlcd", "");
- ds_init_GoodData_cond.setColumn(0, "cartgubn", ds_HideData_condition.getColumn(0, "cartgubn"));
- ds_init_GoodData_cond.setColumn(0, "oproomcd", ds_HideData_condition.getColumn(0, "oproomcd"));
- ds_init_GoodData_cond.setColumn(0, "offset", "");
- ds_init_GoodData_cond.setColumn(0, "drugyn", drugyn);
-
- ds_send_reqdata.copyData(ds_init_GoodData_cond);
- var oParam = {};
- oParam.id = "TRMNP04465";
- oParam.service = "opanstapp.OpAnstStocMngt";
- oParam.method = "reqGetGubnSml";
- oParam.inds = "reqdata=ds_send_reqdata";
- oParam.outds = "ds_init_GoodData_smllist=smllist";
- oParam.async = true;
- //oParam.callback = "cf_TRMNP04465";
- tranf_submit(oParam);
-
- ds_init_GoodData_smllist.rowposition = -1;
-
- var oParam = {};
- oParam.id = "TRMNP04461";
- oParam.service = "opanstapp.OpAnstStocMngt";
- oParam.method = "reqGetGoodInfoHelp";
- oParam.inds = "reqdata=ds_send_reqdata";
- oParam.outds = "ds_main_goodlist=goodlist";
- oParam.async = true;
- //oParam.callback = "cf_TRMNP04461";
- tranf_submit(oParam);
- ds_main_goodlist.rowposition = -1;
- }
- /****************************************************************************************
- * Components : Grid
- * Components ID : grd_smllist
- * Event : oncellclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 그리드 셀 클릭시
- ****************************************************************************************/
- function grp_main_grd_smllist_oncellclick(obj:Grid, e:GridClickEventInfo)
- {
- ds_main_goodlist.clearData();
-
- ds_init_GoodData_cond.setColumn(0, "smlcd", ds_init_GoodData_smllist.getColumn(ds_init_GoodData_smllist.rowposition, "smlcd"));
- ds_init_GoodData_cond.setColumn(0, "cartgubn", ds_HideData_condition.getColumn(0, "cartgubn"));
- ds_init_GoodData_cond.setColumn(0, "oproomcd", ds_HideData_condition.getColumn(0, "oproomcd"));
- ds_init_GoodData_cond.setColumn(0, "offset", "");
- ds_init_GoodData_cond.setColumn(0, "drugyn", drugyn);
-
- ds_send_reqdata.copyData(ds_init_GoodData_cond);
- if( grp_main.group2.rdo_reftrgt.value == "PRC" ) {
- var oParam = {};
- oParam.id = "TRMNP04467";
- oParam.service = "opanstapp.OpAnstStocMngt";
- oParam.method = "reqGetGoodInfoHelp";
- oParam.inds = "reqdata=ds_send_reqdata";
- oParam.outds = "ds_main_prcplist=prcplist";
- oParam.async = false;
- //oParam.callback = "cf_TRMNP04467";
- tranf_submit(oParam);
- }else {
- var oParam = {};
- oParam.id = "TRMNP04461";
- oParam.service = "opanstapp.OpAnstStocMngt";
- oParam.method = "reqGetGoodInfoHelp";
- oParam.inds = "reqdata=ds_send_reqdata";
- oParam.outds = "ds_main_goodlist=goodlist";
- oParam.async = false;
- //oParam.callback = "cf_TRMNP04461";
- tranf_submit(oParam);
-
- ds_main_goodlist.rowposition = -1;
- }
- }
- /****************************************************************************************
- * Components : Grid
- * Components ID : grd_goodlist
- * Event : onheadclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 그리드 헤더 클릭시
- ****************************************************************************************/
- function grp_main_grd_goodlist_onheadclick(obj:Grid, e:GridClickEventInfo)
- {
- switch( e.col ){
- case 0 :
- sysf_trace("11")
- if( obj.getCellProperty("Head", e.col, "expr") == "0" ){
- obj.setCellProperty("Head", e.col, "expr", "1");
- }else{
- obj.setCellProperty("Head", e.col, "expr", "0");
- }
- ds_main_goodlist.enableevent = false;
- ds_main_goodlist.updatecontrol = false;
- //grdf_setGridCheckAll(obj, e);
- for(var i = 0; i < ds_main_goodlist.rowcount ;i++){
- ds_main_goodlist.setColumn(i, "chkflag", "1");
- }
- ds_main_goodlist.updatecontrol = false;
- ds_main_goodlist.enableevent = false;
-
- break;
-
- default :
- break;
- }
- }
- /****************************************************************************************
- * Components : Dataset
- * Components ID : ds_main_goodlist
- * Event : oncolumnchanged
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 데이터셋 값 변경시
- ****************************************************************************************/
- function ds_main_goodlist_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
- {
- // switch( e.columnid ){
- // case "chkflag" :
- // sysf_trace("22")
- // if( e.newvalue == "0" ){
- // //grp_main.grd_goodlist.setCellProperty("Head", 0, "expr", "0");
- // }
- // break;
- //
- // default :
- // break;
- // }
- }
- /****************************************************************************************
- * Components : Grid
- * Components ID : grd_prcplist
- * Event : onheadclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 그리드 헤더 클릭시
- ****************************************************************************************/
- function grp_main_grd_prcplist_onheadclick(obj:Grid, e:GridClickEventInfo)
- {
- switch( e.col ){
- case 0 :
- if( obj.getCellProperty("Head", e.col, "expr") == "0" ){
- obj.setCellProperty("Head", e.col, "expr", "1");
- }else{
- obj.setCellProperty("Head", e.col, "expr", "0");
- }
-
- grdf_setGridCheckAll(obj, e);
-
- break;
-
- default :
- break;
- }
- }
- /****************************************************************************************
- * Components : Dataset
- * Components ID : ds_main_prcplist
- * Event : oncolumnchanged
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 데이터셋 값 변경시
- ****************************************************************************************/
- function ds_main_prcplist_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
- {
- switch( e.columnid ){
- case "chkflag" :
- if( e.newvalue == "0" ){
- grp_main.grd_prcplist.setCellProperty("Head", 0, "expr", "0");
- }
- break;
-
- default :
- break;
- }
- }
- /****************************************************************************************
- * Components : Grid
- * Components ID : grd_goodlist
- * Event : onvscrolllastover
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 그리드 스크롤max일때
- ****************************************************************************************/
- function grp_main_grd_goodlist_onvscrolllastover(obj:Grid, e:ScrollEventInfo)
- {
- if( grp_main.grd_goodlist.rowcount >= 500 ){//500라인 이상일때만 실행
- ds_init_GoodData_cond.setColumn(0, "offset", grp_main.grd_goodlist.rowcount);
- ds_send_reqdata.copyData(ds_init_GoodData_cond);
-
- var oParam = {};
- oParam.id = "TRMNP04461";
- oParam.service = "opanstapp.OpAnstStocMngt";
- oParam.method = "reqGetGoodInfoHelp";
- oParam.inds = "reqdata=ds_send_reqdata";
- oParam.outds = "ds_main_goodlist_temp=goodlist";
- oParam.async = false;
- oParam.callback = "cf_TRMNP04461";
- tranf_submit(oParam);
- }
- }
- function cf_TRMNP04461(sSvcId, nErrorCode, sErrorMsg) {
- if(nErrorCode < 0) return;
-
- ds_main_goodlist.appendData(ds_main_goodlist_temp);
- }
- /****************************************************************************************
- * Components : Grid
- * Components ID : grd_goodlist
- * Event : oncelldblclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 그리드 셀 더블클릭시
- ****************************************************************************************/
- function grp_main_grd_goodlist_oncelldblclick(obj:Grid, e:GridClickEventInfo)
- {
- var srchflag = sysf_getModelProperty("goodsearch");
-
- if(srchflag == "Y") {
- fChoiceData();
- }
- }
- /****************************************************************************************
- * Components : Grid
- * Components ID : grd_prcplist
- * Event : oncellclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 그리드 셀 클릭시
- ****************************************************************************************/
- function grp_main_grd_prcplist_oncellclick(obj:Grid, e:GridClickEventInfo)
- {
- fGridDataClick(grp_main.grd_prcplist, "prcplist");
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : btn_search
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 조회버튼 클릭시
- ****************************************************************************************/
- function grp_main_group2_btn_search_onclick(obj:Button, e:ClickEventInfo)
- {
- fDataQuery(); // 조회
- }
- /****************************************************************************************
- * Components : Radio
- * Components ID : rdo_refcond
- * Event : onitemchanged
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 라디오 변경시
- ****************************************************************************************/
- function grp_main_group2_rdo_refcond_onitemchanged(obj:Radio, e:ItemChangeEventInfo)
- {
- if( grp_main.group2.rdo_refcond.value == "1" ) {
- grp_main.group2.ipt_refcond.imemode = "hangul";
- }else{
- grp_main.group2.ipt_refcond.imemode = "alpha";
- }
- grp_main.group2.ipt_refcond.setFocus();
- }
- /****************************************************************************************
- * Components : Radio
- * Components ID : rdo_reftrgt
- * Event : onitemchanged
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 라디오 변경시
- ****************************************************************************************/
- function grp_main_group2_rdo_reftrgt_onitemchanged(obj:Radio, e:ItemChangeEventInfo)
- {
- fQueryCondSelect(); // 조회 조건 선택
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : bbt_choice
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 선택버튼 클릭시
- ****************************************************************************************/
- function grp_main_group2_bbt_choice_onclick(obj:Button, e:ClickEventInfo)
- {
- fChoiceData();
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : bbt_choice
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 선택버튼 클릭시
- ****************************************************************************************/
- function grp_main_group2_ipt_refcond_onkeyup(obj:Edit, e:KeyEventInfo)
- {
- if( e.keycode == 13 ){
- obj.updateToDataset();
- grp_main.group2.btn_search.click();
- }
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : button1
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 닫기버튼 클릭시
- ****************************************************************************************/
- function grp_main_group2_button1_onclick(obj:Button, e:ClickEventInfo)
- {
- close();
- }
- /****************************************************************************************
- * Components : Edit
- * Components ID : input1
- * Event : onkeyup
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 키 입력시
- ****************************************************************************************/
- function grp_main_group2_input1_onkeyup(obj:Edit, e:KeyEventInfo)
- {
- if( e.keycode == 13 ){
- obj.updateToDataset();
- grp_main.group2.btn_search.click();
- }
- }
- function SPMNP01601_ontimer(obj:Form, e:TimerEventInfo)
- {
- }
- ]]></Script>
- </Form>
- </FDL>
|