123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMMNG01500" position="absolute 0 0 1247 746" titletext="(미)반납조회" oninit="SMMNG01500_oninit" onload="SMMNG01500_onload">
- <Layouts>
- <Layout>
- <Div position="absolute 0 0 1125 27" id="group1">
- <Layouts>
- <Layout>
- <Static text="(미)반납내역조회" position="absolute 0 -1 189 24" id="caption6" class="tit_1" anchor="default"/>
- </Layout>
- </Layouts>
- </Div>
- <Tab position="absolute 0 26 1238 738" id="switch1">
- <Tabpages>
- <Tabpage text="반 납" id="case1">
- <Layouts>
- <Layout>
- <Shape position="absolute 1 5 1231 67" id="roundrect2" type="roundrectangle"/>
- <Button position="absolute 1050 25 1106 47" id="btn_search" class="btn1" text="조회" onclick="switch1_case1_btn_search_onclick"/>
- <Shape position="absolute 1037 20 1043 52" linetype="vertical" id="line4" class="line_4"/>
- <Static text="CSR 반납 물품정보" position="absolute 3 79 149 97" id="caption1" class="tit_2"/>
- <Shape position="absolute 2 95 1234 101" linetype="horizontal" id="line1" class="line_10"/>
- <Combo position="absolute 110 19 235 38" align="align:center middle;" id="cmb_instcd" class="combo_s_essential" enable="false" innerdataset="ds_Z0007" datacolumn="cdnm" codecolumn="cdid"/>
- <Static text="부서구분 :" position="absolute 270 20 364 37" id="caption20" class="search_name"/>
- <Static text="청구차수 :" position="absolute 20 45 106 62" id="caption2" class="search_name"/>
- <Static text="반납일자 :" position="absolute 695 22 781 39" id="caption24" class="search_name"/>
- <Static text="기관코드 :" position="absolute 20 19 106 36" id="caption14" class="search_name"/>
- <Combo position="absolute 360 20 470 39" id="cmb_csrreqdeptcd" class="combo_s_essential" innerdataset="@ds_init_csrreqdeptlist" datacolumn="csrreqdeptnm" codecolumn="csrreqdeptcd" onitemchanged="switch1_case1_cmb_csrreqdeptcd_onitemchanged"/>
- <Button position="absolute 1108 25 1164 47" id="button1" class="btn7" text="엑셀" onclick="switch1_case1_button1_onclick"/>
- <Button position="absolute 1166 25 1222 47" id="button5" class="btn6" text="출력" onclick="switch1_case1_button5_onclick"/>
- <Radio position="absolute 423 44 573 64" id="rdo_reqdelrflag" columncount="-1" rowcount="-1" codecolumn="codecolumn" datacolumn="datacolumn" style="textpadding:0 10 0 3;" onitemchanged="switch1_case1_rdo_reqdelrflag_onitemchanged">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">R</Col>
- <Col id="datacolumn">미반납</Col>
- </Row>
- <Row>
- <Col id="codecolumn">RC</Col>
- <Col id="datacolumn">반납</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- <Static text="상태구분 :" position="absolute 335 45 421 62" id="cap_indschflag" class="search_name"/>
- <Combo position="absolute 576 20 685 39" id="cmb_deptcd" class="combo_s_essential" innerdataset="@ds_init_csrdeptlist" datacolumn="deptnm" codecolumn="deptcd" onitemchanged="switch1_case1_cmb_deptcd_onitemchanged"/>
- <Static text="청구부서 :" position="absolute 485 20 575 37" id="caption10" class="search_name"/>
- <Static text="~" position="absolute 895 22 907 39" id="caption11" class="search_no_b"/>
- <Grid position="absolute 2 100 1238 685" id="grd_goodrtnlist" class="datagrid2" binddataset="ds_main_goodrtninfo_rtninfo_goodrtnlist" cellsizingtype="col">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="24"/>
- <Column size="72"/>
- <Column size="0"/>
- <Column size="95"/>
- <Column size="88"/>
- <Column size="37"/>
- <Column size="100"/>
- <Column size="199"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="40"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="40"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="27" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" text="부서구분"/>
- <Cell col="2" text="caption1"/>
- <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="불출자"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" expr="currow + 1"/>
- <Cell col="1" displaytype="combo" edittype="combo" style="align:center;" text="bind:csrreqdeptcd" combodataset="ds_csrreqdeptinfo_csrreqdeptlist" combocodecol="csrreqdeptcd" combodatacol="csrreqdeptnm" enable="false"/>
- <Cell col="2" displaytype="combo" edittype="combo" text="bind:csrreqdeptnm" enable="false"/>
- <Cell col="3" displaytype="text" edittype="none" text="bind:reqdeptnm" combodataset="ds_init_csrdeptlist" combocodecol="deptcd" combodatacol="deptnm" enable="false"/>
- <Cell col="4" displaytype="date" edittype="date" text="bind:reqdd" calendardisplaynulltype="none" enable="false"/>
- <Cell col="5" displaytype="combo" edittype="combo" style="align:center;" text="bind:reqpridflag" combodataset="ds_cbo_reqpridflag" combocodecol="value" combodatacol="label" enable="false"/>
- <Cell col="6" text="bind:goodcd"/>
- <Cell col="7" style="align:left top;padding:5 2 0 2;" text="bind:goodnm" wordwrap="char"/>
- <Cell col="8" style="align:left top;padding:5 2 0 2;" text="bind:goodspec" wordwrap="char"/>
- <Cell col="9" style="align:left top;padding:5 2 0 2;" text="bind:goodmodel" wordwrap="char"/>
- <Cell col="10" style="align:right middle;padding:0 2 0 0;" text="bind:rtnlendqty"/>
- <Cell col="11" displaytype="text" text="bind:rtndt" mask="####-##-## ##:##" maskchar=" " calendardisplaynulltype="none"/>
- <Cell col="12" text="bind:rtnnm"/>
- <Cell col="13" text="bind:rtnqty2"/>
- <Cell col="14" displaytype="text" text="bind:certdt" mask="####-##-## ##:##" maskchar=" "/>
- <Cell col="15" text="bind:certnm"/>
- <Cell col="16" displaytype="text" text="bind:reqtm" mask="####-##-## ##:##" maskchar=" "/>
- <Cell col="17" text="bind:reqpsnnm"/>
- <Cell col="18" displaytype="text" text="bind:dlvdt" mask="####-##-## ##:##" maskchar=" "/>
- <Cell col="19" text="bind:dlvnm"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <cp_checkboxList id="chk_eryn" titletext="CheckBox List" taborder="1" text="cp_checkboxList00" scrollbars="none" position="absolute 112 43 265 61" style="background:transparent; " col="1" row="1" cellspacing="2" vcellspacing="0" itemWidth="100" itemHeight="20" overflow="visible"/>
- <Combo position="absolute 158 44 223 63" id="cmb_reqpridflag" codecolumn="codecolumn" datacolumn="datacolumn">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn"/>
- <Col id="datacolumn">전체</Col>
- </Row>
- <Row>
- <Col id="codecolumn">1</Col>
- <Col id="datacolumn">1차</Col>
- </Row>
- <Row>
- <Col id="codecolumn">2</Col>
- <Col id="datacolumn">2차</Col>
- </Row>
- <Row>
- <Col id="codecolumn">3</Col>
- <Col id="datacolumn">3차</Col>
- </Row>
- </Rows>
- </Dataset>
- </Combo>
- <Calendar id="ipt_reqfrdd" taborder="2" autoselect="true" class="input_s_essential" position="absolute 785 20 885 39" autoskip="true"/>
- <Calendar id="input3" taborder="3" autoselect="true" class="input_s_essential" position="absolute 920 20 1020 39"/>
- </Layout>
- </Layouts>
- </Tabpage>
- <Tabpage text="미 반 납" id="case3">
- <Layouts>
- <Layout>
- <Shape position="absolute 2 3 1232 65" id="roundrect1" type="roundrectangle"/>
- <Static text="CSR 미반납 물품정보" position="absolute 3 84 168 102" id="caption3" class="tit_2"/>
- <Button position="absolute 1108 25 1164 47" id="button3" class="btn7" text="엑셀" onclick="switch1_case3_button3_onclick"/>
- <Button position="absolute 1050 25 1106 47" id="button6" class="btn1" text="조회" onclick="switch1_case3_button6_onclick"/>
- <Button position="absolute 1166 25 1222 47" id="btn_goodirrtnlistprt" class="btn6" text="출력" onclick="switch1_case3_btn_goodirrtnlistprt_onclick"/>
- <Combo position="absolute 115 26 240 45" align="align:center middle;" id="cmb_disinstcd" class="combo_s_essential" enable="false" innerdataset="@ds_Z0007" datacolumn="cdnm" codecolumn="cdid"/>
- <Static text="부서구분 :" position="absolute 275 26 369 43" id="caption4" class="search_name"/>
- <Static text="기관코드 :" position="absolute 15 26 101 43" id="caption8" class="search_name"/>
- <Shape position="absolute 1037 20 1043 52" linetype="vertical" id="line2" class="line_4"/>
- <Combo position="absolute 365 26 506 45" align="align:left middle;" id="cmb_discsrreqdeptcd" class="combo_s_essential" innerdataset="@ds_hidden_csrreqdeptlist" datacolumn="csrreqdeptnm" codecolumn="csrreqdeptcd" onitemchanged="switch1_case3_cmb_discsrreqdeptcd_onitemchanged"/>
- <Static text="청구부서 :" position="absolute 547 26 633 43" id="caption9" class="search_name"/>
- <Combo position="absolute 639 26 780 45" id="cmb_disdeptcd" class="combo_s_essential" innerdataset="@ds_hidden_csrdeptlist" datacolumn="deptnm" codecolumn="deptcd" onitemchanged="switch1_case3_cmb_disdeptcd_onitemchanged"/>
- <Shape position="absolute 2 100 1232 106" linetype="horizontal" id="line3" class="line_10"/>
- <Grid position="absolute 2 105 1232 685" id="grd_goodirrtnlist" class="datagrid2" binddataset="ds_main_goodrtninfo_rtninfo_goodirrtnlist" cellsizingtype="col">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="24"/>
- <Column size="72"/>
- <Column size="0"/>
- <Column size="118"/>
- <Column size="89"/>
- <Column size="230"/>
- <Column size="85"/>
- <Column size="79"/>
- <Column size="45"/>
- <Column size="82"/>
- <Column size="42"/>
- <Column size="100"/>
- <Column size="59"/>
- <Column size="101"/>
- <Column size="80"/>
- </Columns>
- <Rows>
- <Row size="28" 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="모델"/>
- <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="불출자명"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" expr="currow + 1"/>
- <Cell col="1" displaytype="combo" edittype="combo" style="align:center middle;" text="bind:csrreqdeptcd" combodataset="ds_tmp_csrreqdeptlist" combocodecol="csrreqdeptcd" combodatacol="csrreqdeptnm" enable="false"/>
- <Cell col="2" displaytype="combo" edittype="combo" style="align:center middle;" text="bind:csrreqdeptnm" enable="false"/>
- <Cell col="3" displaytype="text" edittype="none" style="align:center middle;" text="bind:reqdeptnm"/>
- <Cell col="4" style="align:left middle;" text="bind:goodcd"/>
- <Cell col="5" style="align:left top;padding:5 2 0 2;" text="bind:goodnm" wordwrap="char"/>
- <Cell col="6" displaytype="text" edittype="none" style="align:left top;padding:5 2 0 2;" text="bind:goodspec" wordwrap="char"/>
- <Cell col="7" displaytype="text" edittype="none" style="align:left top;padding:5 2 0 2;" text="bind:goodmodel" wordwrap="char"/>
- <Cell col="8" style="align:right middle;" text="bind:dlvlendqty"/>
- <Cell col="9" displaytype="date" text="bind:reqdd" calendardisplaynulltype="none"/>
- <Cell col="10" displaytype="combo" edittype="combo" style="align:center;" text="bind:reqpridflag" combodataset="ds_cbo_reqpridflag" combocodecol="value" combodatacol="label" enable="false"/>
- <Cell col="11" displaytype="text" text="bind:reqdt" mask="####-##-## ##:##" maskchar=" "/>
- <Cell col="12" text="bind:reqnm"/>
- <Cell col="13" text="bind:dlvdt" mask="####-##-## ##:##" maskchar=" "/>
- <Cell col="14" text="bind:dlvnm"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- </Tabpage>
- </Tabpages>
- </Tab>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_cond_rtninfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="instcd" type="STRING" size="256"/>
- <Column id="csrreqdeptcd" type="STRING" size="256"/>
- <Column id="deptcd" type="STRING" size="256"/>
- <Column id="reqfromdd" type="STRING" size="256"/>
- <Column id="reqtodd" type="STRING" size="256"/>
- <Column id="deliveflag" type="STRING" size="256"/>
- <Column id="reqpridflag" type="STRING" size="256"/>
- <Column id="rtnflag" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="deliveflag">1</Col>
- <Col id="rtnflag">R</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_goodrtninfo_rtninfo_goodrtnlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_send_reqdata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_chk_eryn" 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">1</Col>
- </Row>
- <Row>
- <Col id="label">응급</Col>
- <Col id="value">2</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_Z0007" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_cond_disrtninfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="instcd" type="STRING" size="256"/>
- <Column id="csrreqdeptcd" type="STRING" size="256"/>
- <Column id="deptcd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_send_goodreq" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_temp_csrreqdeptlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_init_csrreqdeptlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_hidden_csrreqdeptlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_tmp_csrreqdeptlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_csrreqdeptinfo_csrreqdeptlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_temp_deptcodelist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_init_deptcodelist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_hidden_deptcodelist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_init_csrdeptlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_hidden_csrdeptlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_main_goodrtninfo_rtninfo_goodirrtnlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_temp_csrdeptlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_init_tmlist_reqseqlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_cbo_reqpridflag" 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">1차</Col>
- <Col id="value">1</Col>
- </Row>
- <Row>
- <Col id="label">2차</Col>
- <Col id="value">2</Col>
- </Row>
- <Row>
- <Col id="label">3차</Col>
- <Col id="value">3</Col>
- </Row>
- <Row>
- <Col id="label">4차</Col>
- <Col id="value">4</Col>
- </Row>
- <Row>
- <Col id="label">5차</Col>
- <Col id="value">5</Col>
- </Row>
- <Row>
- <Col id="label">응급</Col>
- <Col id="value">-</Col>
- </Row>
- </Rows>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item4" compid="switch1.case1.input3" propid="value" datasetid="ds_cond_rtninfo" columnid="reqtodd"/>
- <BindItem id="item3" compid="switch1.case1.ipt_reqfrdd" propid="value" datasetid="ds_cond_rtninfo" columnid="reqfromdd"/>
- <BindItem id="item0" compid="switch1.case1.cmb_deptcd" propid="value" datasetid="ds_cond_rtninfo" columnid="deptcd"/>
- <BindItem id="item1" compid="switch1.case1.cmb_csrreqdeptcd" propid="value" datasetid="ds_cond_rtninfo" columnid="csrreqdeptcd"/>
- <BindItem id="item2" compid="switch1.case1.cmb_instcd" propid="value" datasetid="ds_cond_rtninfo" columnid="instcd"/>
- <BindItem id="item5" compid="switch1.case1.rdo_reqdelrflag" propid="value" datasetid="ds_cond_rtninfo" columnid="rtnflag"/>
- <BindItem id="item6" compid="switch1.case1.cmb_reqpridflag" propid="value" datasetid="ds_cond_rtninfo" columnid="reqpridflag"/>
- <BindItem id="item7" compid="switch1.case3.cmb_disinstcd" propid="value" datasetid="ds_cond_disrtninfo" columnid="instcd"/>
- <BindItem id="item8" compid="switch1.case3.cmb_discsrreqdeptcd" propid="value" datasetid="ds_cond_disrtninfo" columnid="csrreqdeptcd"/>
- <BindItem id="item9" compid="switch1.case3.cmb_disdeptcd" propid="value" datasetid="ds_cond_disrtninfo" columnid="deptcd"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name :
- * Job Name :
- * Creator :
- * Make Date : 2015-11-13
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2015-11-13 Live Converter TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- include "com_commonxp::comm_main.xjs";
- var arErrorCode = new HashArray();
- function SMMNG01500_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj); //폼 초기화.
- grdf_initGrid(switch1.case1.grd_goodrtnlist);
- grdf_initGrid(switch1.case3.grd_goodirrtnlist);
- }
- function fn_eryn(){
- fDeliveflagChg();
- }
- function SMMNG01500_onload(obj:Form, e:LoadEventInfo)
- {
- //출력물 말고 테스트까지 완료함 cms
-
- var sProp = "col=2,row=1,cellspacing=2,vcellspacing=0,itemWidth=112,itemHeight=20,overflow='visible'";
- switch1.case1.chk_eryn.setInitComp(sProp, ds_chk_eryn,"value","label", "fn_eryn");
-
- var getData = utlf_transNullToEmpty(ds_cond_rtninfo.getColumn(0, "deliveflag")).split(" ");
- switch1.case1.chk_eryn.setData(getData,null,false);
-
- var getDeptcd = opener.frmf_getParameter("deptcd");
-
- dsf_makeValue(ds_send_reqdata, "reqdeptcd", "string", sysf_getUserInfo("dutplcecd"));
- dsf_makeValue(ds_send_reqdata, "instcd" , "string", sysf_getUserInfo("dutplceinstcd"));
- fDeliveflagChg();//청구차수 선택시 상태값 변경
- ds_send_reqdata.clearData();
-
- //zbcfGetCodeList (new Array("Z0007"),new Array("/root/hidden/common/instcdinfo"),true);
- var arrParam = [{dsNm: "ds_Z0007", cdGrpId: "Z0007"}
- ]
- appf_getCodeList(arrParam);
- ds_cond_rtninfo.setColumn(0, "instcd" , sysf_getUserInfo("dutplceinstcd"));
- ds_cond_disrtninfo.setColumn(0, "instcd" , sysf_getUserInfo("dutplceinstcd"));
- dsf_makeValue(ds_send_goodreq, "instcd" ,"string", sysf_getUserInfo("dutplceinstcd"));
- dsf_makeValue(ds_send_goodreq, "useyn", "string", "Y");
-
- var oParam = {};
- oParam.id = "TRMNG00401";
- oParam.service = "csrapp.CsrMngt";
- oParam.method = "reqGetDeptFlagList";
- oParam.inds = "req=ds_send_goodreq";
- oParam.outds = "ds_temp_csrreqdeptlist=csrreqdeptlist";
- oParam.async = false;
- tranf_submit(oParam);
-
- //copyNodesetType("/root/init/csrreqdeptlist" ,"/root/temp/csrreqdeptlist","replace", model, model);
- ds_init_csrreqdeptlist.copyData(ds_temp_csrreqdeptlist);
- ds_hidden_csrreqdeptlist.copyData(ds_temp_csrreqdeptlist);
- ds_tmp_csrreqdeptlist.copyData(ds_temp_csrreqdeptlist);
- ds_csrreqdeptinfo_csrreqdeptlist.copyData(ds_temp_csrreqdeptlist);
-
- ds_send_goodreq.clearData();
- frmf_addComboItem( "switch1.case1.cmb_csrreqdeptcd", "전체", "", "above");
- switch1.case1.cmb_csrreqdeptcd.value = "";
-
- frmf_addComboItem( "switch1.case3.cmb_discsrreqdeptcd", "전체", "", "above");
- switch1.case3.cmb_discsrreqdeptcd.value = "";
-
- dsf_makeValue(ds_send_reqdata, "instcd", "string", sysf_getUserInfo("dutplceinstcd"));
- if(!((sysf_getUserInfo("dutplceinstcd") == '031' && sysf_getUserInfo("dutplcecd") == "3080000000")
- || (sysf_getUserInfo("dutplceinstcd") == '032' && sysf_getUserInfo("dutplcecd") == "3360000000"))) {
- if(!utlf_isNull(getDeptcd)){
- dsf_makeValue(ds_send_reqdata, "deptcd", "string", getDeptcd);
- }else{
- dsf_makeValue(ds_send_reqdata, "deptcd", "string", sysf_getUserInfo("dutplcecd"));
- }
- }
- dsf_makeValue(ds_send_reqdata, "refcond", "string", "deptcd");
-
- var oParam = {};
- oParam.id = "TRMNG00303";
- oParam.service = "csrapp.CsrMngt";
- oParam.method = "reqGetCsrDeptList2";
- oParam.inds = "req=ds_send_reqdata";
- oParam.outds = "ds_temp_deptcodelist=deptcodelist";
- oParam.async = false;
- tranf_submit(oParam);
-
- ds_init_deptcodelist.copyData(ds_temp_deptcodelist);
- ds_hidden_deptcodelist.copyData(ds_temp_deptcodelist);
- //20180529 이돈희 : 기본값으로 "전체"로 셋팅(본원 진료재료팀 곽진영, 20180521021)
- //ds_cond_rtninfo.setColumn(0, "csrreqdeptcd", ds_init_deptcodelist.getColumn(0, "csrreqdeptcd2"));
- ds_cond_rtninfo.setColumn(0, "csrreqdeptcd", "");
-
- //20110226_KNUH_Start 중앙공급실경우 전체조회되도록
- //20180712 이돈희 : 칠곡 중앙공급실도 초기값으로 전체 설정
- if(!((sysf_getUserInfo("dutplceinstcd") == '031' && sysf_getUserInfo("dutplcecd") == "3080000000")
- || (sysf_getUserInfo("dutplceinstcd") == '032' && sysf_getUserInfo("dutplcecd") == "3360000000"))) {
- ds_cond_disrtninfo.setColumn(0, "csrreqdeptcd", ds_hidden_deptcodelist.getColumn(0, "csrreqdeptcd2"));
- }
-
- ds_send_reqdata.clearData();
- dsf_makeValue(ds_send_reqdata, "csrreqdeptcd", "string", switch1.case1.cmb_csrreqdeptcd.value);
- dsf_makeValue(ds_send_reqdata, "useyn", "string", "Y");
- var oParam = {};
- oParam.id = "TRMNG00402";
- oParam.service = "csrapp.CsrMngt";
- oParam.method = "getCsrDeptList";
- oParam.inds = "req=ds_send_reqdata";
- oParam.outds = "ds_temp_csrdeptlist=csrdeptlist";
- oParam.async = false;
- tranf_submit(oParam);
-
- ds_init_csrdeptlist.copyData(ds_temp_csrdeptlist);
- ds_hidden_csrdeptlist.copyData(ds_temp_csrdeptlist);
- //20180621 이돈희 : 청구부서에 전체로 조회할 수 있는 전체 추가
- frmf_addComboItem( "switch1.case1.cmb_deptcd", "전체", "", "above");
- switch1.case1.cmb_deptcd.value = "";
-
- //20110226_KNUH_Start 중앙공급실경우 전체조회되도록
- //20180712 이돈희 : 칠곡 중앙공급실도 초기값으로 전체 설정
- if(!((sysf_getUserInfo("dutplceinstcd") == '031' && sysf_getUserInfo("dutplcecd") == "3080000000")
- || (sysf_getUserInfo("dutplceinstcd") == '032' && sysf_getUserInfo("dutplcecd") == "3360000000"))) {
- if(!utlf_isNull(getDeptcd)){
- ds_cond_rtninfo.setColumn(0, "deptcd", getDeptcd);
- ds_cond_disrtninfo.setColumn(0, "deptcd", getDeptcd);
- }else{
- ds_cond_rtninfo.setColumn(0, "deptcd", sysf_getUserInfo("dutplcecd"));
- ds_cond_disrtninfo.setColumn(0, "deptcd", sysf_getUserInfo("dutplcecd"));
- }
- } else {
- frmf_addComboItem( "switch1.case3.cmb_disdeptcd", "전체", "", "above");
- switch1.case3.cmb_disdeptcd.value = "";
- }
- ds_cond_rtninfo.setColumn(0, "reqfromdd" , utlf_getCurrentDate());
- ds_cond_rtninfo.setColumn(0, "reqtodd" , utlf_getCurrentDate());
-
- ds_send_reqdata.clearData();
- ds_main_goodrtninfo_rtninfo_goodrtnlist.clearData();
- ds_main_goodrtninfo_rtninfo_goodirrtnlist.clearData();
-
- fIrRtnSearch("rtn");
-
- if(utlf_isNull(ds_cond_rtninfo.getColumn(0, "reqpridflag"))){
- switch1.case1.cmb_reqpridflag.value = "";
- }
-
-
- }
- //반납 및 미반납 내역 조회
- //(srchflag : rtn->반납,dis->미반납)
- function fIrRtnSearch(srchflag){
- if(srchflag == "rtn"){
- dsf_makeValue(ds_send_reqdata, "srchflag", "string", "rtn");
- if(ds_cond_rtninfo.getColumn(0, "reqpridflag") == "-"){
- dsf_makeValue(ds_send_reqdata, "reqpridflag" ,"string", "");
- }else{
- dsf_makeValue(ds_send_reqdata, "reqpridflag", "string", ds_cond_rtninfo.getColumn(0, "reqpridflag"));
- }
- dsf_makeValue(ds_send_reqdata, "csrreqdeptcd" , "string", ds_cond_rtninfo.getColumn(0, "csrreqdeptcd"));
- dsf_makeValue(ds_send_reqdata, "deptcd" , "string", ds_cond_rtninfo.getColumn(0, "deptcd"));
- dsf_makeValue(ds_send_reqdata, "reqfromdd" , "string", ds_cond_rtninfo.getColumn(0, "reqfromdd"));
- dsf_makeValue(ds_send_reqdata, "reqtodd" , "string", ds_cond_rtninfo.getColumn(0, "reqtodd"));
- dsf_makeValue(ds_send_reqdata, "deliveflag" , "string", ds_cond_rtninfo.getColumn(0, "deliveflag"));
- dsf_makeValue(ds_send_reqdata, "rtnflag" , "string", ds_cond_rtninfo.getColumn(0, "rtnflag"));
- dsf_makeValue(ds_send_reqdata, "eryn" , "string", ds_cond_rtninfo.getColumn(0, "deliveflag"));
-
- var oParam = {};
- oParam.id = "TRMNG01502";
- oParam.service = "csrapp.CsrMngt";
- oParam.method = "reqGetCsrGoodRtnCertInfo";
- oParam.inds = "req=ds_send_reqdata";
- oParam.outds = "ds_main_goodrtninfo_rtninfo_goodrtnlist=goodrtnlist";
- oParam.async = false;
- oParam.callback = "cf_TRMNG01502";
- tranf_submit(oParam);
-
- if(arErrorCode.pop("TRMNG01502") > -1){
- fRtnFlagColCng();
- ds_send_reqdata.clearData();
- }
- }else if(srchflag == "dis"){
- dsf_makeValue(ds_send_reqdata, "srchflag" , "string", "dis");
- dsf_makeValue(ds_send_reqdata, "instcd" , "string", ds_cond_disrtninfo.getColumn(0, "instcd"));
- dsf_makeValue(ds_send_reqdata, "csrreqdeptcd" , "string", ds_cond_disrtninfo.getColumn(0, "csrreqdeptcd"));
- dsf_makeValue(ds_send_reqdata, "deptcd" , "string", ds_cond_disrtninfo.getColumn(0, "deptcd"));
-
- var oParam = {};
- oParam.id = "TRMNG01501";
- oParam.service = "csrapp.CsrMngt";
- oParam.method = "reqGetCsrGoodIrRtnInfo";
- oParam.inds = "req=ds_send_reqdata";
- oParam.outds = "ds_main_goodrtninfo_rtninfo_goodirrtnlist=goodirrtnlist";
- oParam.async = false;
- oParam.callback = "cf_TRMNG01501";
- tranf_submit(oParam);
-
- if(arErrorCode.pop("TRMNG01501") > -1){
- ds_send_reqdata.clearData();
- }
- }
- }
- function cf_TRMNG01502(sSvcId, nErrorCode, sErrorMsg) {
- arErrorCode.push(sSvcId, nErrorCode);
- }
- function cf_TRMNG01501(sSvcId, nErrorCode, sErrorMsg) {
- arErrorCode.push(sSvcId, nErrorCode);
- }
- //청구차수 선택시 상태값 변경
- function fDeliveflagChg(){
- var eryn = String(switch1.case1.chk_eryn.getData()).replace(","," ");
- ds_cond_rtninfo.setColumn(0, "deliveflag", eryn);
- //var eryn = String(switch1.case1.chk_eryn.getData()).split(",");
- var std = utlf_isSearchString(eryn, "1");
- var er = utlf_isSearchString(eryn, "2");
- trace("eryn : " + eryn)
- if(std) {
- switch1.case1.cmb_reqpridflag.enable = true;
- if(utlf_isNull(ds_init_tmlist_reqseqlist.getColumn(0, "reqseq"))){
- switch1.case1.cmb_reqpridflag.value = "";
- }else{
- ds_cond_rtninfo.setColumn(0, "reqpridflag", ds_init_tmlist_reqseqlist.getColumn(0, "reqseq"));
- }
- } else {
- switch1.case1.cmb_reqpridflag.enable = false;
- switch1.case1.cmb_reqpridflag.value = "-";
- }
- }
- // 상태구분에 따른 colHidden 상태 변경
- function fRtnFlagColCng(){
- var rtnflag = ds_cond_rtninfo.getColumn(0, "rtnflag");
- if(rtnflag=="RC"){
- switch1.case1.grd_goodrtnlist.setFormatColProperty(12, "size", 100);//certdt
- switch1.case1.grd_goodrtnlist.setFormatColProperty(14, "size", 100);//certdt
- switch1.case1.grd_goodrtnlist.setFormatColProperty(15, "size", 100);//certnm
- switch1.case1.grd_goodrtnlist.setFormatColProperty(18, "size", 100);//dlvdt
- switch1.case1.grd_goodrtnlist.setFormatColProperty(19, "size", 100);//dlvnm
- switch1.case1.grd_goodrtnlist.setFormatColProperty(13, "size", 40);//rtnqty2
-
- }else {
- switch1.case1.grd_goodrtnlist.setFormatColProperty(12, "size", 250);//certdt
- switch1.case1.grd_goodrtnlist.setFormatColProperty(14, "size", 0);//certdt
- switch1.case1.grd_goodrtnlist.setFormatColProperty(15, "size", 0);//certnm
- switch1.case1.grd_goodrtnlist.setFormatColProperty(18, "size", 0);//dlvdt
- switch1.case1.grd_goodrtnlist.setFormatColProperty(19, "size", 0);//dlvnm
- switch1.case1.grd_goodrtnlist.setFormatColProperty(13, "size", 0);//rtnqty2
- }
- }
- function switch1_case1_cmb_csrreqdeptcd_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
- {
- dsf_makeValue(ds_send_reqdata, "csrreqdeptcd", "string", switch1.case1.cmb_csrreqdeptcd.value);
- dsf_makeValue(ds_send_reqdata, "useyn", "string", "Y");
- var oParam = {};
- oParam.id = "TRMNG00402";
- oParam.service = "csrapp.CsrMngt";
- oParam.method = "getCsrDeptList";
- oParam.inds = "req=ds_send_reqdata";
- oParam.outds = "ds_temp_csrdeptlist=csrdeptlist";
- oParam.async = false;
- tranf_submit(oParam);
-
- ds_init_csrdeptlist.copyData(ds_temp_csrdeptlist);
- if(ds_init_csrdeptlist.rowcount == 1 ){
- ds_cond_rtninfo.setColumn(0, "deptcd", ds_init_csrdeptlist.getColumn(0, "deptcd"));
- }else{
- frmf_addComboItem( "switch1.case1.cmb_deptcd", "전체", "", "above");
- switch1.case1.cmb_deptcd.value = "";
- ds_cond_rtninfo.setColumn(0, "deptcd", ds_init_csrdeptlist.getColumn(0, "deptcd"));
- }
- ds_send_reqdata.clearData();
- fIrRtnSearch("rtn");
- }
- function switch1_case1_btn_search_onclick(obj:Button, e:ClickEventInfo)
- {
- fIrRtnSearch("rtn");
- }
- function switch1_case1_button1_onclick(obj:Button, e:ClickEventInfo)
- {
- grdf_exportExcel(switch1.case1.grd_goodrtnlist, "반납리스트" + utlf_getCurrentDate(), "sheetname1" , true, "" , "" , true);
- }
- function switch1_case1_button5_onclick(obj:Button, e:ClickEventInfo)
- {
- var objDOM = rptf_createDOM(); // DOM 객체 설정
- rptf_setNodeListToDOM(objDOM, "root/printinfo/goodrtninfo/rtninfo/goodrtnlist", ds_main_goodrtninfo_rtninfo_goodrtnlist); // 데이터셋 1
-
- var objParam = new Object();
- objParam.xml_data_XML1 = objDOM.documentElement.source; // 최상의노드 XML 스트링 추출
-
- var option = "open=1;save=1;directprint=0;print=1;zoom=0;";
-
- rptf_exeReportPreview30(["RPMNG01500"],[objParam], option);
- }
- function switch1_case1_rdo_reqdelrflag_onitemchanged(obj:Radio, e:ItemChangeEventInfo)
- {
- var rtnflag = ds_cond_rtninfo.getColumn(0, "rtnflag");
- if(rtnflag=="RC"){
- switch1.case1.grd_goodrtnlist.setFormatColProperty(12, "size", 100);//certdt
- switch1.case1.grd_goodrtnlist.setFormatColProperty(14, "size", 100);//certdt
- switch1.case1.grd_goodrtnlist.setFormatColProperty(15, "size", 100);//certnm
- switch1.case1.grd_goodrtnlist.setFormatColProperty(18, "size", 100);//dlvdt
- switch1.case1.grd_goodrtnlist.setFormatColProperty(19, "size", 100);//dlvnm
- switch1.case1.grd_goodrtnlist.setFormatColProperty(13, "size", 40);//rtnqty2
-
- }else {
- switch1.case1.grd_goodrtnlist.setFormatColProperty(12, "size", 250);//certdt
- switch1.case1.grd_goodrtnlist.setFormatColProperty(14, "size", 0);//certdt
- switch1.case1.grd_goodrtnlist.setFormatColProperty(15, "size", 0);//certnm
- switch1.case1.grd_goodrtnlist.setFormatColProperty(18, "size", 0);//dlvdt
- switch1.case1.grd_goodrtnlist.setFormatColProperty(19, "size", 0);//dlvnm
- switch1.case1.grd_goodrtnlist.setFormatColProperty(13, "size", 0);//rtnqty2
- }
- }
- function switch1_case1_cmb_deptcd_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
- {
- fIrRtnSearch("rtn");
- }
- function switch1_case3_button6_onclick(obj:Button, e:ClickEventInfo)
- {
- fIrRtnSearch("dis");
- }
- function switch1_case3_button3_onclick(obj:Button, e:ClickEventInfo)
- {
- grdf_exportExcel(switch1.case3.grd_goodirrtnlist, "미반납내역" + utlf_getCurrentDate(), "sheetname1" , true, "" , "" , true);
- }
- function switch1_case3_btn_goodirrtnlistprt_onclick(obj:Button, e:ClickEventInfo)
- {
- ds_main_goodrtninfo_rtninfo_goodirrtnlist.addColumn("csrreqdeptnm", "string");
- ds_main_goodrtninfo_rtninfo_goodirrtnlist.enableevent = false;
- ds_main_goodrtninfo_rtninfo_goodirrtnlist.updatecontrol = false;
- for(var i = 0; i < ds_main_goodrtninfo_rtninfo_goodirrtnlist.rowcount;i++){
- ds_main_goodrtninfo_rtninfo_goodirrtnlist.setColumn(i, "csrreqdeptnm", switch1.case3.grd_goodirrtnlist.getCellText(i, switch1.case3.grd_goodirrtnlist.getBindCellIndex("body", "csrreqdeptcd")));
- }
- ds_main_goodrtninfo_rtninfo_goodirrtnlist.updatecontrol = true;
- ds_main_goodrtninfo_rtninfo_goodirrtnlist.enableevent = true;
-
- var objDOM = rptf_createDOM(); // DOM 객체 설정
- rptf_setNodeListToDOM(objDOM, "root/printinfo/goodirrtninfo/irrtninfo/goodirrtnlist", ds_main_goodrtninfo_rtninfo_goodirrtnlist); // 데이터셋 1
-
- var objParam = new Object();
- objParam.xml_data_XML1 = objDOM.documentElement.source; // 최상의노드 XML 스트링 추출
-
- var option = "open=1;save=1;directprint=0;print=1;zoom=0;";
-
- rptf_exeReportPreview30(["RPMNG01501"],[objParam], option);
- }
- function switch1_case3_cmb_discsrreqdeptcd_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
- {
- dsf_makeValue(ds_send_reqdata, "csrreqdeptcd", "string", switch1.case3.cmb_discsrreqdeptcd.value);
- dsf_makeValue(ds_send_reqdata, "useyn", "string", "Y");
- var oParam = {};
- oParam.id = "TRMNG00402";
- oParam.service = "csrapp.CsrMngt";
- oParam.method = "getCsrDeptList";
- oParam.inds = "req=ds_send_reqdata";
- oParam.outds = "ds_temp_csrdeptlist=csrdeptlist";
- oParam.async = false;
- tranf_submit(oParam);
-
- ds_hidden_csrdeptlist.copyData(ds_temp_csrdeptlist);
- frmf_addComboItem( "switch1.case3.cmb_disdeptcd", "전체", "", "above");
- switch1.case3.cmb_disdeptcd.value = "";
-
- ds_send_reqdata.clearData();
- fIrRtnSearch("dis");
- }
- function switch1_case3_cmb_disdeptcd_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
- {
- fIrRtnSearch("dis");
- }
- ]]></Script>
- </Form>
- </FDL>
|