123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMMNG02200" position="absolute 0 0 1185 730" titletext="세탁물보유현황" oninit="SMMNG02200_oninit" onload="SMMNG02200_onload">
- <Layouts>
- <Layout>
- <Div position="absolute 0 0 580 25" id="grp_tle">
- <Layouts>
- <Layout>
- <Static text="세탁물보유현황" position="absolute 0 0 133 25" id="caption6" class="tit_1"/>
- </Layout>
- </Layouts>
- </Div>
- <Div position="absolute 0 64 1175 729" id="grp_biz" scrollbars="autoboth">
- <Layouts>
- <Layout>
- <Static text="세탁물보유현황" position="absolute 0 10 121 26" id="caption12" class="tit_2"/>
- <Shape position="absolute 0 27 1175 33" linetype="horizontal" id="line1" class="line_10"/>
- <Grid position="absolute 0 31 1175 655" id="grd_possstatelist" binddataset="ds_main_possinfo_possstatelist" cellsizebandtype="allband" cellsizingtype="col">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="100"/>
- <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="100"/>
- <Column size="100"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell rowspan="2" style="padding:2 2 2 2;" text="병동명" wordwrap="word" autosizerow="limitmin"/>
- <Cell col="1" rowspan="2" style="padding:2 2 2 2;" text="caption1" wordwrap="word" autosizerow="limitmin"/>
- <Cell col="2" rowspan="2" style="padding:2 2 2 2;" text="caption2" wordwrap="word" autosizerow="limitmin"/>
- <Cell col="3" rowspan="2" style="padding:2 2 2 2;" text="caption3" wordwrap="word" autosizerow="limitmin"/>
- <Cell col="4" rowspan="2" style="padding:2 2 2 2;" text="caption4" wordwrap="word" autosizerow="limitmin"/>
- <Cell col="5" rowspan="2" style="padding:2 2 2 2;" text="caption5" wordwrap="word" autosizerow="limitmin"/>
- <Cell col="6" rowspan="2" style="padding:2 2 2 2;" text="caption6" wordwrap="word" autosizerow="limitmin"/>
- <Cell col="7" rowspan="2" style="padding:2 2 2 2;" text="caption7" wordwrap="word" autosizerow="limitmin"/>
- <Cell col="8" rowspan="2" style="padding:2 2 2 2;" text="caption8" wordwrap="word" autosizerow="limitmin"/>
- <Cell col="9" rowspan="2" style="padding:2 2 2 2;" text="caption9" wordwrap="word" autosizerow="limitmin"/>
- <Cell col="10" rowspan="2" style="padding:2 2 2 2;" text="caption10" wordwrap="word" autosizerow="limitmin"/>
- <Cell col="11" rowspan="2" style="padding:2 2 2 2;" text="caption11" wordwrap="word" autosizerow="limitmin"/>
- <Cell col="12" rowspan="2" style="padding:2 2 2 2;" text="caption12" wordwrap="word" autosizerow="limitmin"/>
- <Cell col="13" rowspan="2" style="padding:2 2 2 2;" text="caption13" wordwrap="word" autosizerow="limitmin"/>
- <Cell col="14" rowspan="2" style="padding:2 2 2 2;" text="caption14" wordwrap="word" autosizerow="limitmin"/>
- <Cell col="15" rowspan="2" style="padding:2 2 2 2;" text="caption15" wordwrap="word" autosizerow="limitmin"/>
- <Cell col="16" rowspan="2" style="padding:2 2 2 2;" text="caption16" wordwrap="word" autosizerow="limitmin"/>
- <Cell col="17" rowspan="2" style="padding:2 2 2 2;" text="caption17" wordwrap="word" autosizerow="limitmin"/>
- <Cell col="18" rowspan="2" style="padding:2 2 2 2;" text="caption18" wordwrap="word" autosizerow="limitmin"/>
- <Cell col="19" rowspan="2" style="padding:2 2 2 2;" text="caption19" wordwrap="word" autosizerow="limitmin"/>
- <Cell col="20" rowspan="2" style="padding:2 2 2 2;" text="caption20" wordwrap="word" autosizerow="limitmin"/>
- <Cell col="21" rowspan="2" style="padding:2 2 2 2;" text="caption21" wordwrap="word" autosizerow="limitmin"/>
- <Cell col="22" rowspan="2" style="padding:2 2 2 2;" text="caption22" wordwrap="word" autosizerow="limitmin"/>
- <Cell col="23" rowspan="2" style="padding:2 2 2 2;" text="caption23" wordwrap="word" autosizerow="limitmin"/>
- <Cell col="24" rowspan="2" style="padding:2 2 2 2;" text="caption24" wordwrap="word" autosizerow="limitmin"/>
- <Cell col="25" rowspan="2" style="padding:2 2 2 2;" text="caption25" wordwrap="word" autosizerow="limitmin"/>
- <Cell col="26" rowspan="2" style="padding:2 2 2 2;" text="caption26" wordwrap="word" autosizerow="limitmin"/>
- <Cell col="27" rowspan="2" style="padding:2 2 2 2;" text="caption27" wordwrap="word" autosizerow="limitmin"/>
- <Cell col="28" rowspan="2" style="padding:2 2 2 2;" text="caption28" wordwrap="word" autosizerow="limitmin"/>
- <Cell col="29" rowspan="2" style="padding:2 2 2 2;" text="caption29" wordwrap="word" autosizerow="limitmin"/>
- <Cell col="30" rowspan="2" style="padding:2 2 2 2;" text="caption30" wordwrap="word" autosizerow="limitmin"/>
- <Cell col="31" rowspan="2" style="padding:2 2 2 2;" text="caption31" wordwrap="word" autosizerow="limitmin"/>
- <Cell col="32" rowspan="2" style="padding:2 2 2 2;" text="caption32" wordwrap="word" autosizerow="limitmin"/>
- <Cell col="33" rowspan="2" style="padding:2 2 2 2;" text="caption33" wordwrap="word" autosizerow="limitmin"/>
- <Cell col="34" rowspan="2" style="padding:2 2 2 2;" text="caption34" wordwrap="word" autosizerow="limitmin"/>
- <Cell col="35" rowspan="2" style="padding:2 2 2 2;" text="caption35" wordwrap="word" autosizerow="limitmin"/>
- <Cell col="36" rowspan="2" style="padding:2 2 2 2;" text="caption36" wordwrap="word" autosizerow="limitmin"/>
- <Cell col="37" rowspan="2" style="padding:2 2 2 2;" text="caption37" wordwrap="word" autosizerow="limitmin"/>
- <Cell col="38" rowspan="2" style="padding:2 2 2 2;" text="caption38" wordwrap="word" autosizerow="limitmin"/>
- <Cell col="39" rowspan="2" style="padding:2 2 2 2;" text="caption39" wordwrap="word" autosizerow="limitmin"/>
- <Cell col="40" rowspan="2" style="padding:2 2 2 2;" text="caption40" wordwrap="word" autosizerow="limitmin"/>
- <Cell col="41" rowspan="2" style="padding:2 2 2 2;" text="비고" wordwrap="word" autosizerow="limitmin"/>
- <Cell col="42" rowspan="2" style="padding:2 2 2 2;" text="관리자" wordwrap="word" autosizerow="limitmin"/>
- <Cell col="43" rowspan="2" text="관리자ID"/>
- </Band>
- <Band id="body">
- <Cell style="align:left middle;" text="bind:depthngnm"/>
- <Cell col="1" style="align:left;" text="bind:a001"/>
- <Cell col="2" style="align:left;" text="bind:a002"/>
- <Cell col="3" style="align:left;" text="bind:a003"/>
- <Cell col="4" style="align:left;" text="bind:a004"/>
- <Cell col="5" style="align:left;" text="bind:a005"/>
- <Cell col="6" style="align:left;" text="bind:a006"/>
- <Cell col="7" style="align:left;" text="bind:a007"/>
- <Cell col="8" style="align:left;" text="bind:a008"/>
- <Cell col="9" style="align:left;" text="bind:a009"/>
- <Cell col="10" style="align:left;" text="bind:a010"/>
- <Cell col="11" style="align:left;" text="bind:a011"/>
- <Cell col="12" style="align:left;" text="bind:a012"/>
- <Cell col="13" style="align:left;" text="bind:a013"/>
- <Cell col="14" style="align:left;" text="bind:a014"/>
- <Cell col="15" style="align:left;" text="bind:a015"/>
- <Cell col="16" style="align:left;" text="bind:a016"/>
- <Cell col="17" style="align:left;" text="bind:a017"/>
- <Cell col="18" style="align:left;" text="bind:a018"/>
- <Cell col="19" style="align:left;" text="bind:a019"/>
- <Cell col="20" style="align:left;" text="bind:a020"/>
- <Cell col="21" style="align:left;" text="bind:a021"/>
- <Cell col="22" style="align:left;" text="bind:a022"/>
- <Cell col="23" style="align:left;" text="bind:a023"/>
- <Cell col="24" style="align:left;" text="bind:a024"/>
- <Cell col="25" style="align:left;" text="bind:a025"/>
- <Cell col="26" style="align:left;" text="bind:a026"/>
- <Cell col="27" style="align:left;" text="bind:a027"/>
- <Cell col="28" style="align:left;" text="bind:a028"/>
- <Cell col="29" style="align:left;" text="bind:a029"/>
- <Cell col="30" style="align:left;" text="bind:a030"/>
- <Cell col="31" style="align:left;" text="bind:a031"/>
- <Cell col="32" style="align:left;" text="bind:a032"/>
- <Cell col="33" style="align:left;" text="bind:a033"/>
- <Cell col="34" style="align:left;" text="bind:a034"/>
- <Cell col="35" style="align:left;" text="bind:a035"/>
- <Cell col="36" style="align:left;" text="bind:a036"/>
- <Cell col="37" style="align:left;" text="bind:a037"/>
- <Cell col="38" style="align:left;" text="bind:a038"/>
- <Cell col="39" style="align:left;" text="bind:a039"/>
- <Cell col="40" style="align:left;" text="bind:a040"/>
- <Cell col="41" style="align:left top;padding:4 2 2 2;" text="bind:remark1" wordwrap="word"/>
- <Cell col="42" style="align:left;" text="bind:fstrgstrnm"/>
- <Cell col="43" text="bind:fstrgstrid"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Radio position="absolute 220 5 610 20" id="rdo_gubuncd" enable="false" visible="false" columncount="2" codecolumn="codecolumn" datacolumn="datacolumn">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">01</Col>
- <Col id="datacolumn">물품마스터</Col>
- </Row>
- <Row>
- <Col id="codecolumn">02</Col>
- <Col id="datacolumn">창고마스터</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- </Layout>
- </Layouts>
- </Div>
- <Shape position="absolute 0 24 1175 59" id="roundrect1" class="roundrect_search" type="roundrectangle"/>
- <Static text="년월:" position="absolute 300 34 367 51" id="cap_csrreqdeptcd" class="search_name"/>
- <Button position="absolute 999 31 1055 53" id="btn_search" class="btn1" taborder="2" text="조회" onclick="btn_search_onclick"/>
- <Calendar position="absolute 355 34 423 53" id="ipt_possyymm" class="input_default" mask="yyyy-mm" editformat="yyyy-MM" dateformat="yyyy-MM" value="null" autoselect="true"/>
- <Edit readonly="true" position="absolute 100 34 275 53" align="align:center middle;" id="opt_instcdnm" class="output" style="align:center middle;"/>
- <Static text="기관코드 :" position="absolute 10 34 96 51" id="cap_instcd" class="search_name"/>
- <Shape position="absolute 990 29 996 54" linetype="vertical" id="line2" class="line_4"/>
- <Static text="부서구분:" position="absolute 440 34 525 51" id="caption1" class="search_name"/>
- <Button position="absolute 1114 31 1170 53" id="btn_prt" class="btn6" text="출력" onclick="btn_prt_onclick"/>
- <Button position="absolute 1057 31 1113 53" id="button3" class="btn7" text="엑셀" onclick="button3_onclick"/>
- <Combo position="absolute 525 34 620 53" id="cmb_csrreqdeptcd" class="combo_essential" innerdataset="@ds_init_csrreqdeptlist" datacolumn="csrreqdeptnm" codecolumn="csrreqdeptcd" onitemchanged="cmb_csrreqdeptcd_onitemchanged"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_main_possinfo_possstatelist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="depthngnm" type="STRING" size="256"/>
- <Column id="remark1" type="STRING" size="256"/>
- <Column id="fstrgstrid" type="STRING" size="256"/>
- <Column id="a001" type="STRING" size="256"/>
- <Column id="a002" type="STRING" size="256"/>
- <Column id="a003" type="STRING" size="256"/>
- <Column id="a004" type="STRING" size="256"/>
- <Column id="a005" type="STRING" size="256"/>
- <Column id="a006" type="STRING" size="256"/>
- <Column id="a007" type="STRING" size="256"/>
- <Column id="a008" type="STRING" size="256"/>
- <Column id="a009" type="STRING" size="256"/>
- <Column id="a010" type="STRING" size="256"/>
- <Column id="a011" type="STRING" size="256"/>
- <Column id="a012" type="STRING" size="256"/>
- <Column id="a013" type="STRING" size="256"/>
- <Column id="a014" type="STRING" size="256"/>
- <Column id="a015" type="STRING" size="256"/>
- <Column id="a016" type="STRING" size="256"/>
- <Column id="a017" type="STRING" size="256"/>
- <Column id="a018" type="STRING" size="256"/>
- <Column id="a019" type="STRING" size="256"/>
- <Column id="a020" type="STRING" size="256"/>
- <Column id="a021" type="STRING" size="256"/>
- <Column id="a022" type="STRING" size="256"/>
- <Column id="a023" type="STRING" size="256"/>
- <Column id="a024" type="STRING" size="256"/>
- <Column id="a025" type="STRING" size="256"/>
- <Column id="a026" type="STRING" size="256"/>
- <Column id="a027" type="STRING" size="256"/>
- <Column id="a028" type="STRING" size="256"/>
- <Column id="a029" type="STRING" size="256"/>
- <Column id="a030" type="STRING" size="256"/>
- <Column id="a031" type="STRING" size="256"/>
- <Column id="a032" type="STRING" size="256"/>
- <Column id="a033" type="STRING" size="256"/>
- <Column id="a034" type="STRING" size="256"/>
- <Column id="a035" type="STRING" size="256"/>
- <Column id="a036" type="STRING" size="256"/>
- <Column id="a037" type="STRING" size="256"/>
- <Column id="a038" type="STRING" size="256"/>
- <Column id="a039" type="STRING" size="256"/>
- <Column id="a040" type="STRING" size="256"/>
- <Column id="possyymm" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="depthngnm"/>
- <Col id="remark1"/>
- <Col id="fstrgstrid"/>
- <Col id="a001"/>
- <Col id="a002"/>
- <Col id="a003"/>
- <Col id="a004"/>
- <Col id="a005"/>
- <Col id="a006"/>
- <Col id="a007"/>
- <Col id="a008"/>
- <Col id="a009"/>
- <Col id="a010"/>
- <Col id="a011"/>
- <Col id="a012"/>
- <Col id="a013"/>
- <Col id="a014"/>
- <Col id="a015"/>
- <Col id="a016"/>
- <Col id="a017"/>
- <Col id="a018"/>
- <Col id="a019"/>
- <Col id="a020"/>
- <Col id="a021"/>
- <Col id="a022"/>
- <Col id="a023"/>
- <Col id="a024"/>
- <Col id="a025"/>
- <Col id="a026"/>
- <Col id="a027"/>
- <Col id="a028"/>
- <Col id="a029"/>
- <Col id="a030"/>
- <Col id="a031"/>
- <Col id="a032"/>
- <Col id="a033"/>
- <Col id="a034"/>
- <Col id="a035"/>
- <Col id="a036"/>
- <Col id="a037"/>
- <Col id="a038"/>
- <Col id="a039"/>
- <Col id="a040"/>
- <Col id="possyymm"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_possinfo_csrdeptlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_main_possrexlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="depthngnm" type="STRING" size="256"/>
- <Column id="depthngcd" type="STRING" size="256"/>
- <Column id="possyymm" type="STRING" size="256"/>
- <Column id="goodscd" type="STRING" size="256"/>
- <Column id="cdnm" type="STRING" size="256"/>
- <Column id="posscnt" type="STRING" size="256"/>
- <Column id="remark1" type="STRING" size="256"/>
- <Column id="fstrgstrid" type="STRING" size="256"/>
- <Column id="fstrgstrnm" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="depthngnm"/>
- <Col id="depthngcd"/>
- <Col id="possyymm"/>
- <Col id="goodscd"/>
- <Col id="cdnm"/>
- <Col id="posscnt"/>
- <Col id="remark1"/>
- <Col id="fstrgstrid"/>
- <Col id="fstrgstrnm"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_cond" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="possyymm" type="STRING" size="256"/>
- <Column id="deptcd" type="STRING" size="256"/>
- <Column id="csreqdeptcd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="possyymm"/>
- <Col id="deptcd"/>
- <Col id="csreqdeptcd"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_csrdeptlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_main_possmenucnt" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cnt" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_possmenulist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cdnm" type="STRING" size="256"/>
- <Column id="goodscd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_main" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="csrreqdeptcd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="possyymm" type="STRING" size="256"/>
- <Column id="csreqdeptcd" type="STRING" size="256"/>
- <Column id="instcdnm" type="STRING" size="256"/>
- <Column id="gubuncd" type="STRING" size="256"/>
- <Column id="instcd" type="STRING" size="256"/>
- <Column id="possyn" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="gubuncd">01</Col>
- <Col id="possyn">Y</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_send_report_possrexlist" 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"/>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="grp_biz.rdo_gubuncd" propid="value" datasetid="ds_send" columnid="gubuncd"/>
- <BindItem id="item1" compid="ipt_possyymm" propid="value" datasetid="ds_main_cond" columnid="possyymm"/>
- <BindItem id="item2" compid="opt_instcdnm" propid="value" datasetid="ds_send" columnid="instcdnm"/>
- <BindItem id="item3" compid="cmb_csrreqdeptcd" propid="value" datasetid="ds_main" columnid="csrreqdeptcd"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name :
- * Job Name :
- * Creator :
- * Make Date : 2017-07-11
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2017-07-11 Live Converter TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- include "com_commonxp::comm_main.xjs";
- function SMMNG02200_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj);
- }
- function SMMNG02200_onload(obj:Form, e:LoadEventInfo)
- {
- fInitialize();
- }
- // 화면 open시와 초기화 버튼 클릭시 화면 초기화 기능을 수행한다.
- function fInitialize()
- {
- ds_send.setColumn(0, "instcdnm" , sysf_getUserInfo("dutplceinstnm")); //기관명
- ds_main_cond.setColumn(0, "possyymm", utlf_getCurrentDate().substr(0,6)); //년월
- ds_main.setColumn(0, "csrreqdeptcd" , 'all'); //기본값 전체부서
- dsf_makeValue(ds_send,"instcd" , "string", sysf_getUserInfo("dutplceinstcd")); //기관코드
- ds_send.setColumn(0, "gubuncd" , ds_send.getColumn(0, "gubuncd")); //마스터코드구분 01:물품마스터02:창고마스터
- ds_send.setColumn(0, "possyn" , ds_send.getColumn(0, "possyn" )); //보유현황사용유무
- // 부서구분 조회
- var oParam = {};
- oParam.id = "TRMNG00401";
- oParam.service = "csrapp.CsrMngt";
- oParam.method = "reqGetDeptFlagList";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_init_csrreqdeptlist=csrreqdeptlist";
- oParam.async = false;
- tranf_submit(oParam);
-
- frmf_addComboItem("cmb_csrreqdeptcd", "전체", "all", "above");
-
- var oParam = {};
- oParam.id = "TRMNG02202";
- oParam.service = "csrapp.CsrDryMngt";
- oParam.method = "reqGetPossCnt";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_main_possmenucnt=posscnt";
- oParam.async = false;
- tranf_submit(oParam);
-
- var oParam = {};
- oParam.id = "TRMNG02203";
- oParam.service = "csrapp.CsrDryMngt";
- oParam.method = "reqGetPossMenuList";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_main_possmenulist=possmenulist";
- oParam.async = false;
- tranf_submit(oParam);
-
- fSearch();
-
- }
- function fSearch() {
- ds_send.setColumn(0, "possyymm", ds_main_cond.getColumn(0, "possyymm").substr(0, 6));
- ds_send.setColumn(0, "csreqdeptcd", ds_main.getColumn(0, "csrreqdeptcd"));
- ds_send.setColumn(0, "gubuncd", ds_send.getColumn(0, "gubuncd")); //마스터코드구분 01:물품마스터02:창고마스터
-
- var oParam = {};
- oParam.id = "TRMNG02201";
- oParam.service = "csrapp.CsrDryMngt";
- oParam.method = "reqGetPossStateList";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_main_possinfo_possstatelist=possstatelist";
- oParam.async = false;
- tranf_submit(oParam);
-
- fColLqidtys();
-
- }
- function fColLqidtys() {
-
- var cnt = ds_main_possmenucnt.getColumn(0, "cnt");
- if(Number(cnt) > 0 ){
- var hngnm;
- var valuechk;
- for(var i = 0 ; i <= eval(cnt - 1) ; i++) {
- hngnm = ds_main_possmenulist.getColumn(i, "cdnm");
- valuechk = ds_main_possmenulist.getColumn(i, "goodscd");
-
- var coltmp = Number(grp_biz.grd_possstatelist.getBindCellIndex("body",valuechk.toLowerCase())); //같은이름의컬럼의 번호를 가져온다
- //grp_biz.grd_possstatelist.setRealColSize(coltmp, 50, false);
- grp_biz.grd_possstatelist.setFormatColProperty(coltmp,"size",50);
- //grd_possstatelist.colhidden(coltmp) = false; //조회된 컬럼 갯수만큼 그리드의 필드를 보여줌
- //grd_possstatelist.colwidth(coltmp) = 50; // 컬럼사이즈 fix
- //그리드의 타이틀필드값에 상세내역의 타이틀을 세팅
- grp_biz.grd_possstatelist.setCellProperty("Head",coltmp,"text",hngnm);
- //grd_possstatelist.valuematrix(0, coltmp) = hngnm;
- //grd_possstatelist.valuematrix(1, coltmp) = hngnm;
- }
- }
- }
- function btn_search_onclick(obj:Button, e:ClickEventInfo)
- {
- fSearch();
- }
- function btn_prt_onclick(obj:Button, e:ClickEventInfo)
- {
- fPrintRex();
- }
- function button3_onclick(obj:Button, e:ClickEventInfo)
- {
- grdf_exportExcel(grp_biz.grd_possstatelist, "보유현황", "SheetName" , true, "" , "" , true);
- }
- function cmb_csrreqdeptcd_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
- {
- fSearch();
- }
- function fPrintRex() {
- var oParam = {};
- oParam.id = "TRMNG02204";
- oParam.service = "csrapp.CsrDryMngt";
- oParam.method = "reqGetPossRexList";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_main_possrexlist=possrexlist";
- oParam.async = false;
- tranf_submit(oParam);
-
- dsf_createDs("ds_send_report_possrexlist");
-
- ds_send_report_possrexlist.copyData(ds_main_possrexlist);
-
- //미리보기출력
- var objDOM = rptf_createDOM();
- rptf_setNodeListToDOM(objDOM, "root/main/possrexlist/possrexlist", ds_send_report_possrexlist); // 데이터셋 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(["RPMNG02200"],[objParam], option);
-
- }
- ]]></Script>
- </Form>
- </FDL>
|