123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SPMNG00200" position="absolute 0 0 730 710" titletext="공급실물품조회" oninit="SPMNG00200_oninit" onload="SPMNG00200_onload">
- <Layouts>
- <Layout>
- <Div position="absolute 0 0 720 23" id="grp_tle">
- <Layouts>
- <Layout>
- <Static text="공급실 물품조회" position="absolute 0 0 131 24" id="caption6" class="tit_1" anchor="default"/>
- </Layout>
- </Layouts>
- </Div>
- <Div position="absolute 0 12 720 702" id="grp_biz" scrollbars="autoboth">
- <Layouts>
- <Layout>
- <Div position="absolute 0 10 720 75" align="align:center top;" id="grp_sea" class="div_SA">
- <Layouts>
- <Layout>
- <Static text="기관코드 :" position="absolute 550 5 639 22" id="caption2" class="search_name" visible="false"/>
- <Button position="absolute 661 20 717 42" id="btn_search" class="btn1" text="조회" onclick="grp_biz_grp_sea_btn_search_onclick"/>
- <Combo position="absolute 545 0 655 19" id="cmb_instcd" class="combo_s_essential" enable="false" visible="false"/>
- <Shape position="absolute 654 17 660 43" linetype="vertical" id="line3" class="line_4"/>
- <Edit position="absolute 244 35 345 54" id="ipt_goodnm" class="input_search" autoselect="true" onkeyup="grp_biz_grp_sea_ipt_goodnm_onkeyup"/>
- <Edit position="absolute 80 35 160 54" id="ipt_goodcd" class="input_fix" autoselect="true" onkeyup="grp_biz_grp_sea_ipt_goodcd_onkeyup"/>
- <Static text="물품코드 :" position="absolute 5 36 81 53" id="cap_goodcd" class="search_name"/>
- <Static text="물품구분 :" position="absolute 545 10 634 27" id="caption3" class="search_name" visible="false"/>
- <Combo position="absolute 522 9 632 28" id="cmb_goodflag" class="combo_s_essential" enable="false" visible="false" onitemchanged="grp_biz_grp_sea_cmb_goodflag_onitemchanged"/>
- <Combo position="absolute 69 10 160 29" id="cmb_lrgcd" taborder="1" innerdataset="@ds_init_lrglist" datacolumn="lrgnm" codecolumn="lrgcd" onitemchanged="grp_biz_grp_sea_cmb_lrgcd_onitemchanged"/>
- <Static text="대분류 :" position="absolute 5 10 69 27" id="caption4" class="search_name"/>
- <Combo position="absolute 244 10 335 29" id="cmb_mdlcd" enable="false" innerdataset="@ds_init_mdllist" datacolumn="mdlnm" codecolumn="mdlcd" onitemchanged="grp_biz_grp_sea_cmb_mdlcd_onitemchanged"/>
- <Static text="중분류 :" position="absolute 179 10 243 27" id="caption5" class="search_name"/>
- <Static text="비품구분 :" position="absolute 410 0 494 17" id="caption7" class="search_name" visible="false"/>
- <Radio position="absolute 495 0 685 15" id="rdo_reqflag" enable="false" visible="false" columncount="3" codecolumn="codecolumn" datacolumn="datacolumn">
- <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>
- </Rows>
- </Dataset>
- </Radio>
- <Combo position="absolute 427 10 518 29" id="cmb_smlcd" enable="false" innerdataset="@ds_init_smllist" datacolumn="smlnm" codecolumn="smlcd" onitemchanged="grp_biz_grp_sea_cmb_smlcd_onitemchanged"/>
- <Static text="소분류 :" position="absolute 362 10 426 27" id="caption8" class="search_name"/>
- <Static text="구분 :" position="absolute 362 36 413 53" id="cap_proddrugsetflag" class="search_name"/>
- <Radio position="absolute 449 35 629 51" id="rdo_proddrugsetflag" columncount="3" codecolumn="codecolumn" datacolumn="datacolumn">
- <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">Set</Col>
- </Row>
- <Row>
- <Col id="codecolumn">2</Col>
- <Col id="datacolumn">Single</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- <Static text="물품명 :" position="absolute 179 36 243 53" id="caption9" class="search_name"/>
- <Radio position="absolute 415 35 628 51" id="rdo_proddrugsetflag1" columncount="4" codecolumn="codecolumn" datacolumn="datacolumn">
- <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">Set</Col>
- </Row>
- <Row>
- <Col id="codecolumn">2</Col>
- <Col id="datacolumn">Single</Col>
- </Row>
- <Row>
- <Col id="codecolumn">4</Col>
- <Col id="datacolumn">없음</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- </Layout>
- </Layouts>
- </Div>
- <Static text="공급실물품조회 List" position="absolute 0 104 157 120" id="caption1" class="tit_2"/>
- <Shape position="absolute 0 120 720 126" linetype="horizontal" id="line1" class="line_10"/>
- <Grid position="absolute 0 125 720 690" id="grd_goodslist" binddataset="ds_main_goodslist" cellsizingtype="col" autosizingtype="row" extendsizetype="row">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="26"/>
- <Column size="0"/>
- <Column size="90"/>
- <Column size="245"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="50"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="85"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" text="물품구분"/>
- <Cell col="2" text="물품코드"/>
- <Cell col="3" text="물품명"/>
- <Cell col="4" text="규격"/>
- <Cell col="5" text="모델"/>
- <Cell col="6" text="단위"/>
- <Cell col="7" text="reqflag"/>
- <Cell col="8" text="caption1"/>
- <Cell col="9" text="caption2"/>
- <Cell col="10" text="caption3"/>
- <Cell col="11" text="caption4"/>
- <Cell col="12" text="caption5"/>
- <Cell col="13" text="caption6"/>
- <Cell col="14" text="caption7"/>
- <Cell col="15" text="caption8"/>
- <Cell col="16" text="caption9"/>
- <Cell col="17" text="caption10"/>
- <Cell col="18" text="caption11"/>
- <Cell col="19" text="caption12"/>
- <Cell col="20" text="caption13"/>
- <Cell col="21" text="caption14"/>
- <Cell col="22" text="caption15"/>
- <Cell col="23" text="caption16"/>
- <Cell col="24" text="caption17"/>
- <Cell col="25" text="caption18"/>
- <Cell col="26" text="caption19"/>
- <Cell col="27" text="caption20"/>
- <Cell col="28" text="caption21"/>
- <Cell col="29" text="caption22"/>
- <Cell col="30" text="caption23"/>
- <Cell col="31" text="caption24"/>
- <Cell col="32" text="caption25"/>
- <Cell col="33" text="caption26"/>
- <Cell col="34" text="caption27"/>
- <Cell col="35" text="caption28"/>
- <Cell col="36" text="caption29"/>
- <Cell col="37" text="caption30"/>
- <Cell col="38" text="caption31"/>
- <Cell col="39" text="caption32"/>
- <Cell col="40" text="caption33"/>
- <Cell col="41" text="caption34"/>
- <Cell col="42" text="caption35"/>
- <Cell col="43" text="caption36"/>
- <Cell col="44" text="caption37"/>
- <Cell col="45" text="caption38"/>
- <Cell col="46" text="caption39"/>
- <Cell col="47" text="caption40"/>
- <Cell col="48" text="특이사항"/>
- </Band>
- <Band id="body">
- <Cell displaytype="checkbox" edittype="checkbox" text="bind:flag" expr="expr:flag == 'Y' || flag == '1' ? '1' : '0'"/>
- <Cell col="1" displaytype="combo" edittype="combo" text="bind:goodflag" enable="false"/>
- <Cell col="2" text="bind:goodcd"/>
- <Cell col="3" style="align:left;padding:2 2 2 2;" text="bind:csrgoodnm" wordwrap="word" autosizerow="limitmin"/>
- <Cell col="4" style="align:left;padding:2 2 2 2;" text="bind:csrgoodspec" wordwrap="word"/>
- <Cell col="5" style="align:left;padding:2 2 2 2;" text="bind:csrgoodmodel" wordwrap="word"/>
- <Cell col="6" displaytype="number" text="bind:csrrequnit" mask="#,###"/>
- <Cell col="7" text="bind:reqflag"/>
- <Cell col="8" text="bind:flag"/>
- <Cell col="9" text="bind:instcd"/>
- <Cell col="10" text="bind:fromdd"/>
- <Cell col="11" text="bind:purclnkgoodcd"/>
- <Cell col="12" text="bind:goodunitcost"/>
- <Cell col="13" text="bind:tmpreqflag"/>
- <Cell col="14" text="bind:proddrugsetflag"/>
- <Cell col="15" text="bind:lrgcd"/>
- <Cell col="16" text="bind:mdlcd"/>
- <Cell col="17" text="bind:smlcd"/>
- <Cell col="18" text="bind:goodnm"/>
- <Cell col="19" text="bind:goodspec"/>
- <Cell col="20" text="bind:goodmodel"/>
- <Cell col="21" text="bind:prodcmpycd"/>
- <Cell col="22" text="bind:todd"/>
- <Cell col="23" text="bind:allsizeyn"/>
- <Cell col="24" text="bind:allsizespecid"/>
- <Cell col="25" text="bind:purcallsizeid"/>
- <Cell col="26" text="bind:useyn"/>
- <Cell col="27" text="bind:purcflag"/>
- <Cell col="28" text="bind:reqmthd"/>
- <Cell col="29" text="bind:reqprid"/>
- <Cell col="30" text="bind:prcpflag"/>
- <Cell col="31" text="bind:prcpunit"/>
- <Cell col="32" text="bind:prcpexchqty"/>
- <Cell col="33" text="bind:suppcustcd"/>
- <Cell col="34" text="bind:deliveflag"/>
- <Cell col="35" text="bind:deliveunit"/>
- <Cell col="36" text="bind:exchqty"/>
- <Cell col="37" text="bind:goodpos"/>
- <Cell col="38" text="bind:goodpos1"/>
- <Cell col="39" text="bind:goodpos2"/>
- <Cell col="40" text="bind:csrusecmt"/>
- <Cell col="41" text="bind:fstrgstrid"/>
- <Cell col="42" text="bind:fstrgstdt"/>
- <Cell col="43" text="bind:lastupdtrid"/>
- <Cell col="44" text="bind:mstflag"/>
- <Cell col="45" text="bind:dinfdivs"/>
- <Cell col="46" text="bind:dinfflag"/>
- <Cell col="47" text="bind:csrreqqty"/>
- <Cell col="48" text="bind:remark"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Button position="absolute 656 100 720 119" id="button1" class="btn2" text="선택적용" onclick="grp_biz_button1_onclick"/>
- <Edit position="absolute 360 100 460 120" id="ipt_deptcd" visible="false" autoselect="true"/>
- <Edit position="absolute 510 85 610 105" id="ipt_existyn" visible="false" autoselect="true"/>
- <Edit position="absolute 195 90 295 110" id="ipt_reqdetlflag" visible="false" autoselect="true"/>
- </Layout>
- </Layouts>
- </Div>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_send_retvcond" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="useyn" type="STRING" size="256" sumtext="기관코드"/>
- <Column id="instcd" type="STRING" size="256" sumtext="기관코드"/>
- <Column id="goodcd" type="STRING" size="256" sumtext="물품코드"/>
- <Column id="goodnm" 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="중분류코드"/>
- <!-- (20110222) 경북대 -->
- <Column id="smlcd" type="STRING" size="256" sumtext="중분류코드"/>
- <!-- (20110222) 경북대 -->
- <Column id="reqflag" type="STRING" size="256" sumtext="중분류코드"/>
- <Column id="deptcd" type="STRING" size="256" sumtext="중분류코드"/>
- <Column id="proddrugsetflag" type="STRING" size="256" sumtext="set구분"/>
- <!-- 화면에 따른 set구분 변경 -->
- <Column id="proddrugsetflag1" type="STRING" size="256" sumtext="set구분"/>
- <Column id="refflag" type="STRING" size="256" sumtext="조회구분"/>
- <Column id="existyn" type="STRING" size="256" sumtext="존재여부"/>
- <Column id="reqdetlflag" type="STRING" size="256" sumtext="청구상세구분"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_lrglist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="lrgcd" type="STRING" size="256" sumtext="대분류코드"/>
- <Column id="lrgnm" type="STRING" size="256" sumtext="대분류명"/>
- <Column id="mainmngtdeptcd" type="STRING" size="256" sumtext="주관부서코드"/>
- <Column id="mainmngtdeptnm" 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="goodflag" type="STRING" size="256" sumtext="물품구분"/>
- <Column id="fstrgstrid" type="STRING" size="256" sumtext="최초등록자ID"/>
- <Column id="fstrgstdt" type="STRING" size="256" sumtext="최초등록일시"/>
- <Column id="lastupdtrid" type="STRING" size="256" sumtext="최종등록자ID"/>
- <Column id="lastupdtdt" type="STRING" size="256" sumtext="최종등록일시"/>
- <Column id="updtspec" type="STRING" size="256" sumtext="수정사항"/>
- <Column id="useyn" type="STRING" size="256" sumtext="사용여부"/>
- <Column id="cmt" type="STRING" size="256" sumtext="비고"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_goodslist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_main_goodslist_oncolumnchanged">
- <ColumnInfo>
- <Column id="flag" type="STRING" size="256" sumtext="구분"/>
- <Column id="instcd" type="STRING" size="256" sumtext="기관코드"/>
- <Column id="goodcd" type="STRING" size="256" sumtext="물품코드"/>
- <Column id="fromdd" type="STRING" size="256" sumtext="시작일자"/>
- <Column id="purclnkgoodcd" type="STRING" size="256" sumtext="구매코드"/>
- <Column id="goodunitcost" type="STRING" size="256" sumtext="구매단가"/>
- <Column id="tmpreqflag" type="STRING" size="256" sumtext="임시청구구분"/>
- <Column id="reqflag" type="STRING" size="256" sumtext="청구방법"/>
- <Column id="proddrugsetflag" type="STRING" size="256" sumtext="set구분"/>
- <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="goodnm" type="STRING" size="256" sumtext="물품명"/>
- <Column id="goodspec" type="STRING" size="256" sumtext="물품규격"/>
- <Column id="goodmodel" type="STRING" size="256" sumtext="물품모델"/>
- <Column id="csrgoodnm" type="STRING" size="256" sumtext="CSR물품명"/>
- <Column id="csrgoodspec" type="STRING" size="256" sumtext="CSR물품규격"/>
- <Column id="csrgoodmodel" type="STRING" size="256" sumtext="CSR물품모델"/>
- <Column id="prodcmpycd" type="STRING" size="256" sumtext="제조회사코드"/>
- <Column id="todd" type="STRING" size="256" sumtext="종료일자"/>
- <Column id="allsizeyn" type="STRING" size="256" sumtext="allsize유무"/>
- <Column id="allsizespecid" type="STRING" size="256" sumtext="allsize규격"/>
- <Column id="purcallsizeid" type="STRING" size="256" sumtext="sizeID"/>
- <Column id="useyn" type="STRING" size="256" sumtext="사용유무"/>
- <Column id="purcflag" type="STRING" size="256" sumtext="구매구분"/>
- <Column id="reqmthd" type="STRING" size="256" sumtext="청구방법"/>
- <Column id="reqprid" type="STRING" size="256" sumtext="청구기간"/>
- <Column id="prcpflag" type="STRING" size="256" sumtext="처방구분"/>
- <Column id="prcpunit" type="STRING" size="256" sumtext="처방단위"/>
- <Column id="prcpexchqty" type="STRING" size="256" sumtext="처방불출량"/>
- <Column id="suppcustcd" type="STRING" size="256" sumtext="거래처코드"/>
- <Column id="deliveflag" type="STRING" size="256" sumtext="불출구분"/>
- <Column id="deliveunit" type="STRING" size="256" sumtext="불출단위"/>
- <Column id="exchqty" type="STRING" size="256" sumtext="불출수량"/>
- <Column id="goodpos" type="STRING" size="256" sumtext="물품위치"/>
- <Column id="goodpos1" type="STRING" size="256" sumtext="물품위치"/>
- <Column id="goodpos2" type="STRING" size="256" sumtext="물품위치"/>
- <Column id="csrusecmt" type="STRING" size="256" sumtext="CSR비고"/>
- <Column id="fstrgstrid" type="STRING" size="256" sumtext="최초등록자"/>
- <Column id="fstrgstdt" type="STRING" size="256" sumtext="최초등록일"/>
- <Column id="lastupdtrid" type="STRING" size="256" sumtext="수정자ID"/>
- <Column id="mstflag" type="STRING" size="256" sumtext="마스터구분"/>
- <Column id="dinfdivs" type="STRING" size="256" sumtext="멸균상세"/>
- <Column id="dinfflag" type="STRING" size="256" sumtext="멸균구분"/>
- <Column id="csrreqqty" type="STRING" size="256" sumtext="멸균구분"/>
- <Column id="csrrequnit" type="STRING" size="256" sumtext="멸균구분"/>
- <Column id="remark" type="STRING" size="256" sumtext="멸균구분"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_mdllist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="mdlcd" type="STRING" size="256" sumtext="중분류코드"/>
- <Column id="mdlnm" 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="goodflag" type="STRING" size="256" sumtext="물품구분"/>
- <Column id="lrgcd" type="STRING" size="256" sumtext="대분류코드"/>
- <Column id="fstrgstrid" type="STRING" size="256" sumtext="최초등록자ID"/>
- <Column id="fstrgstdt" type="STRING" size="256" sumtext="최초등록일시"/>
- <Column id="lastupdtrid" type="STRING" size="256" sumtext="최종수정자ID"/>
- <Column id="lastupdtdt" type="STRING" size="256" sumtext="최종수정일시"/>
- <Column id="updtspec" type="STRING" size="256" sumtext="수정사항"/>
- <Column id="useyn" type="STRING" size="256" sumtext="사용여부"/>
- <Column id="cmt" type="STRING" size="256" sumtext="비고"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_smllist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="smlcd" type="STRING" size="256" sumtext="중분류코드"/>
- <Column id="smlnm" type="STRING" size="256" sumtext="중분류명"/>
- <Column id="winacnt" type="STRING" size="256" sumtext="계정코드(입고)"/>
- <Column id="winacntnm" 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="fstrgstrid" type="STRING" size="256" sumtext="최초등록자ID"/>
- <Column id="fstrgstdt" type="STRING" size="256" sumtext="최초등록일시"/>
- <Column id="lastupdtrid" type="STRING" size="256" sumtext="최종수정자ID"/>
- <Column id="lastupdtdt" type="STRING" size="256" sumtext="최종수정일시"/>
- <Column id="updtspec" type="STRING" size="256" sumtext="수정사항"/>
- <Column id="useyn" type="STRING" size="256" sumtext="사용여부"/>
- <Column id="cmt" type="STRING" size="256" sumtext="비고"/>
- </ColumnInfo>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="grp_biz.grp_sea.cmb_lrgcd" propid="value" datasetid="ds_send_retvcond" columnid="lrgcd"/>
- <BindItem id="item1" compid="grp_biz.grp_sea.cmb_mdlcd" propid="value" datasetid="ds_send_retvcond" columnid="mdlcd"/>
- <BindItem id="item2" compid="grp_biz.grp_sea.cmb_smlcd" propid="value" datasetid="ds_send_retvcond" columnid="smlcd"/>
- <BindItem id="item3" compid="grp_biz.grp_sea.cmb_goodflag" propid="value" datasetid="ds_send_retvcond" columnid="goodflag"/>
- <BindItem id="item4" compid="grp_biz.grp_sea.rdo_reqflag" propid="value" datasetid="ds_send_retvcond" columnid="reqflag"/>
- <BindItem id="item5" compid="grp_biz.grp_sea.cmb_instcd" propid="value" datasetid="ds_send_retvcond" columnid="instcd"/>
- <BindItem id="item6" compid="grp_biz.grp_sea.ipt_goodcd" propid="value" datasetid="ds_send_retvcond" columnid="goodcd"/>
- <BindItem id="item7" compid="grp_biz.grp_sea.ipt_goodnm" propid="value" datasetid="ds_send_retvcond" columnid="goodnm"/>
- <BindItem id="item8" compid="grp_biz.grp_sea.rdo_proddrugsetflag1" propid="value" datasetid="ds_send_retvcond" columnid="proddrugsetflag1"/>
- <BindItem id="item9" compid="grp_biz.grp_sea.rdo_proddrugsetflag" propid="value" datasetid="ds_send_retvcond" columnid="proddrugsetflag"/>
- <BindItem id="item10" compid="grp_biz.ipt_reqdetlflag" propid="value" datasetid="ds_send_retvcond" columnid="reqdetlflag"/>
- <BindItem id="item11" compid="grp_biz.ipt_deptcd" propid="value" datasetid="ds_send_retvcond" columnid="deptcd"/>
- <BindItem id="item12" compid="grp_biz.ipt_existyn" propid="value" datasetid="ds_send_retvcond" columnid="existyn"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name : 경대 의료정보시스템
- * Job Name : emr_csrxp -> SPMNG00200
- * Creator : yjh
- * Make Date : 2017-06-30
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2017-06-30 yjh TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- //=======================================================================================
- // Lib Include
- //---------------------------------------------------------------------------------------
- include "com_commonxp::comm_main.xjs";
- //=======================================================================================
- // Global Form Variable
- //---------------------------------------------------------------------------------------
- //=======================================================================================
- // Function
- //---------------------------------------------------------------------------------------
- // 화면 open시와 초기화 버튼 클릭시 화면 초기화 기능을 수행한다.
- function fInitialize()
- {
- var oprnerId = opener.frmf_getScreenID();
-
- if(oprnerId =="SMMNG00900"){
- grp_biz.grp_sea.rdo_proddrugsetflag.visible = true;
- grp_biz.grp_sea.rdo_proddrugsetflag1.visible = false;
- grp_biz.grp_sea.rdo_proddrugsetflag.value = "";
- }else if(oprnerId ="SMMNG00300"){
- grp_biz.grp_sea.rdo_proddrugsetflag.visible = false;
- grp_biz.grp_sea.rdo_proddrugsetflag1.visible = true;
- grp_biz.grp_sea.rdo_proddrugsetflag1.value = "";
- }
-
- ds_main_goodslist.clearData();
- //model.resetInstanceNode("/root/send");
- //misfGridInit(grd_goodslist);
- // misfComboComCdListMulti("Z0007,R0025", "cmb_instcd,cmb_goodflag");
- // zbcfGetCodeList (new Array("R0025")
- // ,new Array("/root/tmp/common/instcdinfo","/root/tmp/common/dinfdivsinfo","/root/tmp/common/dinfflaginfo"
- // ,"/root/tmp/common/reqflaginfo","/root/tmp/common/reqdivsinfo")
- // ,true);
-
- //misfGridComboComCdList("R0025", grd_goodslist, "goodflag");
- /*
- if(model.property("copynode") == "Y") {
- //서울성모병원 일때만 Single set 셋팅,그외는 Single
- if(getUserInfo("dutplceinstcd") == "012") {
- model.makeValue("/root/send/retvcond/proddrugsetflag1", "3");
- } else {
- model.makeValue("/root/send/retvcond/proddrugsetflag1", "2");
- }
-
- } else {
- model.makeValue("/root/send/retvcond/proddrugsetflag", "");
- }*/
-
-
-
- ds_send_retvcond.setColumn(0, "instcd", sysf_getUserInfo("dutplceinstcd"));
-
- //--(20110222) 경북대
- //model.setValue(cmb_goodflag.attribute("ref"), "T");
- ds_send_retvcond.setColumn(0, "goodflag", "TM");
- //--(20110222) 경북대
-
- grp_biz.grp_sea.rdo_reqflag.value = sysf_getModelProperty("reqflag");
-
- grp_biz.ipt_deptcd.value = sysf_getModelProperty("deptcd");
-
- grp_biz.ipt_reqdetlflag.value = sysf_getModelProperty("reqdetlflag");
-
- // submit("TRRSS00121");
- // submit("TRRSS00122");
-
- var oParam = {};
- oParam.id = "TRMNG00101";
- oParam.service = "csrapp.CsrMngt";
- oParam.method = "reqGetLrgcdList";
- oParam.inds = "req=ds_send_retvcond";
- oParam.outds = "ds_init_lrglist=lrglist";
- oParam.async = false;
- //oParam.callback = "cf_TRMNG00101";
- tranf_submit(oParam);
-
- frmf_addComboItem("grp_biz.grp_sea.cmb_lrgcd", "--전체--", "", "above");
- grp_biz.grp_sea.cmb_lrgcd.index = 0;
-
- grp_biz.ipt_existyn.value = sysf_getModelProperty("existyn");
-
- fSerachData();
- //
- // //화면 권한 설정
- //// btn_save.disabled = !(checkAuth("X"));
- //// btn_prt.disabled= !(checkAuth("P"));
- // cmb_goodflag.dispatch("xforms-value-changed");
- // model.refresh();
- }
-
- function fSerachData()
- {
-
- var oParam = {};
- oParam.id = "TRMNG00204";
- oParam.service = "csrapp.CsrMngt";
- oParam.method = "reqGetGoodsList";
- oParam.inds = "req=ds_send_retvcond";
- oParam.outds = "ds_main_goodslist=goodslist";
- oParam.async = false;
- //oParam.callback = "cf_TRMNG00204";
- tranf_submit(oParam);
-
- if( utlf_isNull(ds_main_goodslist.getColumnInfo("flag")) ){
- ds_main_goodslist.addColumn("flag", "string");
- }
-
- dsf_setDefaultVal(ds_main_goodslist, "flag:N");
- }
- //=======================================================================================
- // Event
- //---------------------------------------------------------------------------------------
- /****************************************************************************************
- * Components : Form
- * Components ID : SPMNG00200
- * Event : oninit
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 화면 처음 초기화시
- ****************************************************************************************/
- function SPMNG00200_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj); //폼 초기화
- }
- /****************************************************************************************
- * Components : Form
- * Components ID : SPMNG00200
- * Event : onload
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 화면 로딩 완료시
- ****************************************************************************************/
- function SPMNG00200_onload(obj:Form, e:LoadEventInfo)
- {
- grdf_setGridSort(grp_biz.grd_goodslist);
-
- fInitialize();
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : btn_search
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 조회버튼 클릭시
- ****************************************************************************************/
- function grp_biz_grp_sea_btn_search_onclick(obj:Button, e:ClickEventInfo)
- {
- fSerachData();
- }
- /****************************************************************************************
- * Components : Edit
- * Components ID : ipt_goodnm
- * Event : onkeyup
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 에디터 키 입력시
- ****************************************************************************************/
- function grp_biz_grp_sea_ipt_goodnm_onkeyup(obj:Edit, e:KeyEventInfo)
- {
- if( e.keycode == 13 ){
- obj.updateToDataset();
-
- fSerachData();
- }
- }
- /****************************************************************************************
- * Components : Edit
- * Components ID : ipt_goodcd
- * Event : onkeyup
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 에디터 키 입력시
- ****************************************************************************************/
- function grp_biz_grp_sea_ipt_goodcd_onkeyup(obj:Edit, e:KeyEventInfo)
- {
- if( e.keycode == 13 ){
- obj.updateToDataset();
-
- fSerachData();
- }
- }
- /****************************************************************************************
- * Components : Combo
- * Components ID : cmb_goodflag
- * Event : onitemchanged
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 콤보 값 변경시
- ****************************************************************************************/
- function grp_biz_grp_sea_cmb_goodflag_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
- {
- if(cmb_goodflag.value != "") {
-
- model.resetInstanceNode("/root/hidden/lrgcd");
- model.resetInstanceNode("/root/hidden/mdlcd");
- copyNodesetType("/root/hidden/lrgcd", "/root/init/lrglist[goodflag='" + cmb_goodflag.value + "']");
-
-
- cmb_lrgcd.disabled = false;
- cmb_mdlcd.disabled = true;
-
- addComboItem("cmb_lrgcd", "--전체--", "", "above");
- model.refresh();
- }
- }
- /****************************************************************************************
- * Components : Combo
- * Components ID : cmb_lrgcd
- * Event : onitemchanged
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 콤보 값 변경시
- ****************************************************************************************/
- function grp_biz_grp_sea_cmb_lrgcd_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
- {
- if( !utlf_isNull(grp_biz.grp_sea.cmb_lrgcd.value) ){
- // alert(instance1.selectNodesXml("/root/init/mdlcd[goodflag='" + cmb_goodflag.value + "' and lrgcd='" + cmb_lrgcd.value +"']"));
- ds_init_mdllist.clearData();
-
- var oParam = {};
- oParam.id = "TRMNG00102";
- oParam.service = "csrapp.CsrMngt";
- oParam.method = "reqGetMdlcdList";
- oParam.inds = "req=ds_send_retvcond";
- oParam.outds = "ds_init_mdllist=mdllist";
- oParam.async = false;
- //oParam.callback = "cf_TRMNG00102";
- tranf_submit(oParam);
-
- grp_biz.grp_sea.cmb_mdlcd.enable = true;
-
- frmf_addComboItem("grp_biz.grp_sea.cmb_mdlcd", "--전체--", "", "above");
- grp_biz.grp_sea.cmb_mdlcd.index = 0;
-
- fSerachData();
- }
- }
- /****************************************************************************************
- * Components : Combo
- * Components ID : cmb_mdlcd
- * Event : onitemchanged
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 콤보 값 변경시
- ****************************************************************************************/
- function grp_biz_grp_sea_cmb_mdlcd_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
- {
- if( !utlf_isNull(grp_biz.grp_sea.cmb_mdlcd.value) ){
- // alert(instance1.selectNodesXml("/root/init/mdlcd[goodflag='" + cmb_goodflag.value + "' and lrgcd='" + cmb_lrgcd.value +"']"));
- ds_init_smllist.clearData();
-
- var oParam = {};
- oParam.id = "TRMNG00103";
- oParam.service = "csrapp.CsrMngt";
- oParam.method = "reqGetSmlcdList";
- oParam.inds = "req=ds_send_retvcond";
- oParam.outds = "ds_init_smllist=smllist";
- oParam.async = false;
- //oParam.callback = "cf_TRMNG00103";
- tranf_submit(oParam);
-
- grp_biz.grp_sea.cmb_smlcd.enable = true;
-
- frmf_addComboItem("grp_biz.grp_sea.cmb_smlcd", "--전체--", "", "above");
- grp_biz.grp_sea.cmb_smlcd.index = 0;
-
- fSerachData();
- }
- }
- /****************************************************************************************
- * Components : Combo
- * Components ID : cmb_smlcd
- * Event : onitemchanged
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 콤보 값 변경시
- ****************************************************************************************/
- function grp_biz_grp_sea_cmb_smlcd_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
- {
- fSerachData();
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : button1
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 선택적용버튼 클릭시
- ****************************************************************************************/
- function grp_biz_button1_onclick(obj:Button, e:ClickEventInfo)
- {
- if( ds_main_goodslist.rowcount == 0 )
- {
- sysf_messageBox("적용할 내역이","I004");
- this.close();
- return;
- }
- //var iParam = model.getValue(grd_goodslist.nodeset);
- var nodelist = ds_main_goodslist.filter("flag=='Y'");
-
- var rCVS = dsf_getDsCSV(ds_main_goodslist);
- if ( frmf_checkOpener() ) {
- opener.frmf_setParameter("SMRSD00400_", rCVS);
-
- } else {
- var rtn = sysf_messageBox("상위화면을 찾을 수", "E001");
- }
- this.close();
- }
- function ds_main_goodslist_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
- {
- switch( e.columnid ){
- case "flag" :
- if( e.newvalue == "Y" || e.newvalue == "1" ){
- obj.setColumn(e.row, e.columnid, "Y");
- }else{
- obj.setColumn(e.row, e.columnid, "N");
- }
-
- break;
-
- default :
- breeak;
- }
- }
- ]]></Script>
- </Form>
- </FDL>
|