123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMAEB03402" position="absolute 0 0 1195 775" titletext="조영제/재료 재고관리 조회" oninit="SMAEB03402_oninit" onload="SMAEB03402_onload">
- <Layouts>
- <Layout>
- <Button position="absolute 510 520 590 542" id="btn_rept" class="btn4" text="입고저장"/>
- <Button position="absolute 1105 520 1185 542" id="button1" class="btn4" text="입고저장"/>
- <Div position="absolute 0 15 1195 745" id="group2" scrollbars="autoboth" anchor="all">
- <Layouts>
- <Layout>
- <Static text="입출고 현황" position="absolute 0 58 113 75" id="caption22" class="tit_2" anchor="default"/>
- <Shape position="absolute 0 73 1193 79" linetype="horizontal" id="line7" class="line_1" anchor="left top right"/>
- <Grid position="absolute 0 79 1193 725" id="grd_dyelist" binddataset="ds_main_dyestoclist_item" anchor="all" cellsizingtype="both" selecttype="multirow">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="25" band="left"/>
- <Column size="100"/>
- <Column size="240"/>
- <Column size="90"/>
- <Column size="90"/>
- <Column size="90"/>
- <Column size="90"/>
- <Column size="90"/>
- <Column size="90"/>
- <Column size="270"/>
- <Column size="0"/>
- <Column size="0"/>
- <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" taborder="undefined"/>
- <Cell col="1" rowspan="2" text="조영제/재료코드" taborder="undefined"/>
- <Cell col="2" rowspan="2" text="조영제/재료명" taborder="undefined"/>
- <Cell col="3" rowspan="2" text="전일재고" taborder="undefined"/>
- <Cell col="4" rowspan="2" text="수 령" taborder="undefined"/>
- <Cell col="5" rowspan="2" text="총 수" taborder="undefined"/>
- <Cell col="6" colspan="2" text="소 모" taborder="undefined"/>
- <Cell col="8" rowspan="2" text="현재고" taborder="undefined"/>
- <Cell col="9" rowspan="2" text="비 고" taborder="undefined"/>
- <Cell col="10"/>
- <Cell col="11"/>
- <Cell col="12"/>
- <Cell row="1" col="6" text="불 출"/>
- <Cell row="1" col="7" text="일소모"/>
- <Cell row="1" col="10"/>
- <Cell row="1" col="11"/>
- <Cell row="1" col="12"/>
- </Band>
- <Band id="body">
- <Cell celltype="head"/>
- <Cell col="1" style="align:left middle;padding:0 2 0 2;" text="bind:goodcd"/>
- <Cell col="2" displaytype="combo" style="align:left middle;padding:0 2 0 2;" text="bind:goodcd" combodataset="ds_main_goodinfo" combocodecol="goodcd" combodatacol="goodnm" enable="false"/>
- <Cell col="3" displaytype="number" edittype="none" text="bind:agojego" mask="#,##9.##"/>
- <Cell col="4" displaytype="number" edittype="none" text="bind:receive" mask="#,##9.##"/>
- <Cell col="5" displaytype="number" text="bind:totsu" mask="#,##9.##"/>
- <Cell col="6" displaytype="number" edittype="none" text="bind:outgo" mask="#,##9.##"/>
- <Cell col="7" displaytype="number" edittype="none" text="bind:dayused" mask="#,##9.##" enable="true"/>
- <Cell col="8" displaytype="number" text="bind:presentcnt" mask="#,##9.##"/>
- <Cell col="9" displaytype="text" edittype="none" style="align:left middle;padding:0 2 0 2;" text="bind:rem" enable="true"/>
- <Cell col="10" text="bind:iodd"/>
- <Cell col="11" text="bind:suppdeptcd"/>
- <Cell col="12" text="bind:sectcd"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Button position="absolute 1114 52 1194 74" id="btn_excsave" class="btn7" text="엑셀저장" anchor="top right" onclick="group2_btn_excsave_onclick"/>
- <Shape id="line00" class="line_1" position="absolute 0 74 1193 80" anchor="left top right"/>
- <Shape id="line01" class="line_1" position="absolute 0 75 1193 81" anchor="left top right"/>
- <CheckBox id="chk_notzero" taborder="1" text="일소모가 없으면 제외" position="absolute 912 51 1076 70" value="false" onclick="group2_chk_notzero_onclick"/>
- </Layout>
- </Layouts>
- </Div>
- <Div position="absolute 0 747 1193 772" id="grp_btn" anchor="left right bottom">
- <Layouts>
- <Layout>
- <Button position="absolute 0 0 56 22" id="button2" class="btn6" taborder="6" text="출력" anchor="default" onclick="grp_btn_button2_onclick"/>
- </Layout>
- </Layouts>
- </Div>
- <Static id="caption6" text="조영제/재료 소모재고관리" class="tit_1" position="absolute 0 0 200 25"/>
- <Div id="group4" taborder="1" class="div_SA" position="absolute 0 25 1194 65" anchor="left top right">
- <Layouts>
- <Layout>
- <Static id="caption19" text="입출고 기간 :" class="search_name" position="absolute 10 14 107 31" anchor="default"/>
- <Calendar id="ipt_fromdd" taborder="6" class="input_search" position="absolute 104 12 197 31" mask="yyyy-mm-dd" anchor="default" autoselect="true"/>
- <Shape id="line6" linetype="vertical" class="line_4" position="absolute 1113 10 1119 32" anchor="top right"/>
- <Static id="caption20" text="검사실 :" class="search_name" position="absolute 705 14 764 31" anchor="default"/>
- <Button id="button3" taborder="7" text="조회" class="btn1" position="absolute 1129 10 1185 32" anchor="top right" onclick="group4_button3_onclick"/>
- <Combo id="cmb_sectcd" taborder="8" innerdataset="ds_init_excuroomcdlist_excuroom" codecolumn="basecd" datacolumn="basecdflagdesc" position="absolute 769 12 916 31" anchor="default"/>
- <Static id="lbl_srchdd" text="구 분 :" class="search_name" position="absolute 520 14 574 31" anchor="default"/>
- <Combo id="cmb_excuroomgrp" taborder="9" innerdataset="ds_cmb_info_initexcuroomgrp" codecolumn="excuroomgrpcdid" datacolumn="excuroomgrpcdnm" class="combo_search" position="absolute 576 12 691 31" anchor="default" onitemchanged="group4_cmb_excuroomgrp_onitemchanged"/>
- <Static id="lbl_~" text="~" class="search_no_b" position="absolute 200 13 212 30" anchor="default"/>
- <Calendar id="ipt_todd" taborder="10" class="input_search" position="absolute 212 12 305 31" anchor="default" autoselect="true"/>
- <Static id="caption1" text="지원부서 :" class="search_name" position="absolute 316 14 394 31" anchor="default"/>
- <Combo id="cmb_sudpt" taborder="11" innerdataset="ds_cmb_info_suppdept" codecolumn="suppdeptcd" datacolumn="depthngnm" class="combo_search" position="absolute 391 12 511 31" anchor="default" onitemchanged="group4_cmb_sudpt_onitemchanged"/>
- <Radio id="rdo_itemcd" taborder="12" columncount="3" rowcount="0" position="absolute 932 13 1094 34" codecolumn="codecolumn" datacolumn="datacolumn" value="A" index="0">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn" size="256"/>
- <Column id="datacolumn" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">A</Col>
- <Col id="datacolumn">전체</Col>
- </Row>
- <Row>
- <Col id="codecolumn">C</Col>
- <Col id="datacolumn">조영제</Col>
- </Row>
- <Row>
- <Col id="codecolumn">M</Col>
- <Col id="datacolumn">재료</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- </Layout>
- </Layouts>
- </Div>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_rexprnt_dyestoclist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="srchiodd" type="STRING" size="256"/>
- <Column id="srchsectcd" type="STRING" size="256"/>
- <Column id="srchexcuroomgrp" type="STRING" size="256"/>
- <Column id="srchsudept" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="srchiodd"/>
- <Col id="srchsectcd"/>
- <Col id="srchexcuroomgrp"/>
- <Col id="srchsudept"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_dyestoclist_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="goodcd" type="STRING" size="256"/>
- <Column id="instcd" type="STRING" size="256"/>
- <Column id="agojego" type="STRING" size="256"/>
- <Column id="receive" type="STRING" size="256"/>
- <Column id="totsu" type="STRING" size="256"/>
- <Column id="outgo" type="STRING" size="256"/>
- <Column id="dayused" type="STRING" size="256"/>
- <Column id="presentcnt" type="STRING" size="256"/>
- <Column id="rem" type="STRING" size="256"/>
- <Column id="srchflag" type="STRING" size="256"/>
- <Column id="magamflag" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="goodcd"/>
- <Col id="instcd"/>
- <Col id="agojego"/>
- <Col id="receive"/>
- <Col id="totsu"/>
- <Col id="outgo"/>
- <Col id="dayused"/>
- <Col id="presentcnt"/>
- <Col id="rem"/>
- <Col id="srchflag"/>
- <Col id="magamflag"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_goodinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_main_dyecdpamlist_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="hngnm" type="STRING" size="256"/>
- <Column id="excuexectodd" type="STRING" size="256"/>
- <Column id="basecdflagdesc" type="STRING" size="256"/>
- <Column id="calcscorcd" type="STRING" size="256"/>
- <Column id="excucdnm" type="STRING" size="256"/>
- <Column id="goodcd" type="STRING" size="256"/>
- <Column id="goodnm" type="STRING" size="256"/>
- <Column id="drugqty" type="STRING" size="256"/>
- <Column id="speccd" type="STRING" size="256"/>
- <Column id="prcpdd" type="STRING" size="256"/>
- <Column id="instcd" type="STRING" size="256"/>
- <Column id="excuroomcd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="pid"/>
- <Col id="hngnm"/>
- <Col id="excuexectodd"/>
- <Col id="basecdflagdesc"/>
- <Col id="calcscorcd"/>
- <Col id="excucdnm"/>
- <Col id="goodcd"/>
- <Col id="goodnm"/>
- <Col id="drugqty"/>
- <Col id="speccd"/>
- <Col id="prcpdd"/>
- <Col id="instcd"/>
- <Col id="excuroomcd"/>
- </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="srchiodd" type="STRING" size="256"/>
- <Column id="srchsectcd" type="STRING" size="256"/>
- <Column id="srchgoodcd" type="STRING" size="256"/>
- <Column id="srchgoodnm" type="STRING" size="256"/>
- <Column id="srchexcuroomgrp" type="STRING" size="256"/>
- <Column id="srchtodd" type="STRING" size="256"/>
- <Column id="srchfromdd" type="STRING" size="256"/>
- <Column id="excuroomgrpcdid" type="STRING" size="256"/>
- <Column id="srchsuppdeptcd" type="STRING" size="256"/>
- <Column id="excuroomcd" type="STRING" size="256"/>
- <Column id="itemcd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="srchiodd"/>
- <Col id="srchsectcd"/>
- <Col id="srchgoodcd"/>
- <Col id="srchgoodnm"/>
- <Col id="srchexcuroomgrp"/>
- <Col id="srchtodd"/>
- <Col id="srchfromdd"/>
- <Col id="excuroomgrpcdid"/>
- <Col id="srchsuppdeptcd"/>
- <Col id="excuroomcd"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_temp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="goodcd" type="STRING" size="256"/>
- <Column id="goodnm" type="STRING" size="256"/>
- <Column id="speccd" type="STRING" size="256"/>
- <Column id="safestocqty" type="STRING" size="256"/>
- <Column id="inswlniodd" type="STRING" size="256"/>
- <Column id="inswlngoodcd" type="STRING" size="256"/>
- <Column id="inswlnqty" type="STRING" size="256"/>
- <Column id="setwlniodd" type="STRING" size="256"/>
- <Column id="setwlngoodcd" type="STRING" size="256"/>
- <Column id="setwlnqty" type="STRING" size="256"/>
- <Column id="insuseiodd" type="STRING" size="256"/>
- <Column id="insusegoodcd" type="STRING" size="256"/>
- <Column id="insuseqty" type="STRING" size="256"/>
- <Column id="setuseiodd" type="STRING" size="256"/>
- <Column id="setusegoodcd" type="STRING" size="256"/>
- <Column id="setuseqty" type="STRING" size="256"/>
- <Column id="count" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="goodcd"/>
- <Col id="goodnm"/>
- <Col id="speccd"/>
- <Col id="safestocqty"/>
- <Col id="inswlniodd"/>
- <Col id="inswlngoodcd"/>
- <Col id="inswlnqty"/>
- <Col id="setwlniodd"/>
- <Col id="setwlngoodcd"/>
- <Col id="setwlnqty"/>
- <Col id="insuseiodd"/>
- <Col id="insusegoodcd"/>
- <Col id="insuseqty"/>
- <Col id="setuseiodd"/>
- <Col id="setusegoodcd"/>
- <Col id="setuseqty"/>
- <Col id="count"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_rexprnt_dyestoclist_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_temp_goodlist_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="goodcd" type="STRING" size="256"/>
- <Column id="goodnm" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_goodlist_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="goodcd" type="STRING" size="256"/>
- <Column id="goodnm" type="STRING" size="256"/>
- <Column id="speccd" type="STRING" size="256"/>
- <Column id="safestocqty" type="STRING" size="256"/>
- <Column id="exstocqty" type="STRING" size="256"/>
- <Column id="wlnqty" type="STRING" size="256"/>
- <Column id="sumqty" type="STRING" size="256"/>
- <Column id="useqty" type="STRING" size="256"/>
- <Column id="stocqty" type="STRING" size="256"/>
- <Column id="reqqty" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="goodcd"/>
- <Col id="goodnm"/>
- <Col id="speccd"/>
- <Col id="safestocqty"/>
- <Col id="exstocqty"/>
- <Col id="wlnqty"/>
- <Col id="sumqty"/>
- <Col id="useqty"/>
- <Col id="stocqty"/>
- <Col id="reqqty"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_cmb_info_goodlist_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_main_mainlist_wlnlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="goodcd" type="STRING" size="256"/>
- <Column id="goodnm" type="STRING" size="256"/>
- <Column id="iodd" type="STRING" size="256"/>
- <Column id="qty" type="STRING" size="256"/>
- <Column id="usernm" type="STRING" size="256"/>
- <Column id="ioflag" type="STRING" size="256"/>
- <Column id="sectcd" type="STRING" size="256"/>
- <Column id="suppdeptcd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="goodcd"/>
- <Col id="goodnm"/>
- <Col id="iodd"/>
- <Col id="qty"/>
- <Col id="usernm"/>
- <Col id="ioflag"/>
- <Col id="sectcd"/>
- <Col id="suppdeptcd"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_cmb_info_initexcuroomgrp2" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="excuroomgrpcdid" type="STRING" size="256"/>
- <Column id="excuroomgrpcdnm" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_mainlist_uselist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="goodcd" type="STRING" size="256"/>
- <Column id="goodnm" type="STRING" size="256"/>
- <Column id="iodd" type="STRING" size="256"/>
- <Column id="qty" type="STRING" size="256"/>
- <Column id="usernm" type="STRING" size="256"/>
- <Column id="ioflag" type="STRING" size="256"/>
- <Column id="sectcd" type="STRING" size="256"/>
- <Column id="suppdeptcd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="goodcd"/>
- <Col id="goodnm"/>
- <Col id="iodd"/>
- <Col id="qty"/>
- <Col id="usernm"/>
- <Col id="ioflag"/>
- <Col id="sectcd"/>
- <Col id="suppdeptcd"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_cmb_info2" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_cmb_info_suppdept" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="suppdeptcd" type="STRING" size="256"/>
- <Column id="depthngnm" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_cmb_info_initexcuroomgrp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="excuroomgrpcdid" type="STRING" size="256"/>
- <Column id="excuroomgrpcdnm" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_excuroomcdlist_excuroom" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="basecd" type="STRING" size="256"/>
- <Column id="basecdflagdesc" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_cmb_info2_initexecroom" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="group4.ipt_fromdd" propid="value" datasetid="ds_send" columnid="srchfromdd"/>
- <BindItem id="item1" compid="group4.ipt_todd" propid="value" datasetid="ds_send" columnid="srchtodd"/>
- <BindItem id="item2" compid="group4.cmb_sudpt" propid="value" datasetid="ds_send" columnid="srchsuppdeptcd"/>
- <BindItem id="item3" compid="group4.cmb_excuroomgrp" propid="value" datasetid="ds_send" columnid="srchexcuroomgrp"/>
- <BindItem id="item4" compid="group4.cmb_sectcd" propid="value" datasetid="ds_send" columnid="srchsectcd"/>
- <BindItem id="item5" compid="group4.rdo_itemcd" propid="value" datasetid="ds_send" columnid="itemcd"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name :
- * Job Name :
- * Creator :
- * Make Date : 2016-06-17
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2016-06-17 Live Converter TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- //=======================================================================================
- // Lib Include
- //---------------------------------------------------------------------------------------
- include "com_commonxp::comm_main.xjs"
- include "ast_examcurexp::AEZ0001.xjs"
- //=======================================================================================
- // Global Form Variable
- //---------------------------------------------------------------------------------------
- var arErrorCode = new HashArray();
- var gSuppdeptcd = "";
- //=======================================================================================
- // Function
- //---------------------------------------------------------------------------------------
- /****************************************************************************************
- * Argument : N/A
- * Description :
- ****************************************************************************************/
- function getGridData() {
-
- if(ds_send.getColumn(0,"srchiodd") != "") {
-
- model.setValue("/root/temp/goodnm", cmb_goodcd.label);
- model.setValue("/root/temp/inswlnqty", "0");
- model.setValue("/root/temp/setwlnqty", "0");
- model.setValue("/root/temp/insuseqty", "0");
- model.setValue("/root/temp/setuseqty", "0");
-
- model.removeNodeset("/root/main/mainlist");
- model.removeNodeset("/root/main/goodlist/item");
-
- btn_inSave.disabled = true;
- btn_inUpdt.disabled = true;
- btn_outSave.disabled = true;
- btn_outUpdt.disabled = true;
- ipt_inswlnday.disabled = true;
- ipt_insuseday.disabled = true;
-
- submit("TRAEB03401");
-
- ds_send.setColumn(0,"srchiodd", utlf_getCurrentDate());
-
- var srchgoodcd = ds_send.getColumn(0,"srchgoodcd");
-
- if (srchgoodcd != "") {
- btn_inSave.disabled = false;
- btn_outSave.disabled = false;
- ipt_inswlnday.disabled = false;
- ipt_insuseday.disabled = false;
- }
-
- // if(model.getXPathValue("count(/root/main/mainlist/wlnlist)") > 0)
- // {
- // btn_inSave.disabled = true;
- // ipt_inswlnqty.disabled = true;
- // btn_inUpdt.disabled = false;
- // ipt_setwlnqty.disabled = false;
- // }
- // else
- // {
- // btn_inUpdt.disabled = true;
- // ipt_setwlnqty.disabled = true;
- // btn_inSave.disabled = false;
- // ipt_inswlnqty.disabled = false;
- // }
- //
- // if(model.getXPathValue("count(/root/main/mainlist/uselist)") > 0)
- // {
- // btn_outSave.disabled = true;
- // ipt_insuseqty.disabled = true;
- // btn_outUpdt.disabled = false;
- // ipt_setuseqty.disabled = false;
- // }
- // else
- // {
- // btn_outUpdt.disabled = true;
- // ipt_setuseqty.disabled = true;
- // btn_outSave.disabled = false;
- // ipt_insuseqty.disabled = false;
- // }
-
- model.refresh();
- }
- else
- {
- messageBox("날짜를", "C001");
- }
-
- }
-
- /****************************************************************************************
- * Argument : N/A
- * Description : 조회
- ****************************************************************************************/
- function getDyeList() {
- if( utlf_isNull(ds_send.getColumn(0,"srchfromdd")) || utlf_isNull(ds_send.getColumn(0,"srchtodd")) ){
- sysf_messageBox("입고일자를", "I007");
- return;
- }
-
- // 2011.02.07 c y w 조회시 환자정보리스트 클리어
- ds_main_dyestoclist_item.clearData();
- dsf_createDsRow("ds_req", [
- {col:"srchfromdd", type:"STRING", size:256, val:ds_send.getColumn(0,"srchfromdd")}
- , {col:"srchtodd", type:"STRING", size:256, val:ds_send.getColumn(0,"srchtodd")}
- , {col:"suppdeptcd", type:"STRING", size:256, val:ds_send.getColumn(0,"srchsuppdeptcd")}
- , {col:"srchsectcd", type:"STRING", size:256, val:ds_send.getColumn(0,"srchsectcd")}
- , {col:"srchexcuroomgrp", type:"STRING", size:256, val:ds_send.getColumn(0,"srchexcuroomgrp")}
- , {col:"itemcd", type:"STRING", size:256, val:ds_send.getColumn(0,"itemcd")}
- ]);
- var oParam = {};
- oParam.id = "TRAEB03404";
- oParam.service = "examcurebaseapp.DyeCode";
- oParam.method = "reqGetDyeStockMngtSearchLst";
- oParam.inds = "req=ds_req";
- oParam.outds = "ds_main_dyestoclist_item=item";
- oParam.async = true;
- // oParam.callback = "cf_TRAEB03404";
- tranf_submit(oParam);
-
-
- //sysf_messageBox("0 =" + group2.chk_notzero.value);
- if (group2.chk_notzero.value == true ) {
- ds_main_dyestoclist_item.filter("dayused != '0'");
- } else {
- ds_main_dyestoclist_item.filter("");
- }
-
- }
- function cf_TRAEB03404(sSvcId, nErrorCode, sErrorMsg) {
- if(nErrorCode < 0) return;
- var cnt = ds_main_dyestoclist_item.rowcount;
- for(var i = 0; i < cnt; i++ ){
- ds_main_dyestoclist_item.setColumn(i,"rem","");
- }
- }
-
- //=======================================================================================
- // Event
- //---------------------------------------------------------------------------------------
- /****************************************************************************************
- * Components : Form
- * Components ID : SMAEB03402
- * Event : oninit
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 화면 처음 초기화시 폼초기화
- ****************************************************************************************/
- function SMAEB03402_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj); // 폼 초기화
- }
- /****************************************************************************************
- * Components : Form
- * Components ID : SMAEB03402
- * Event : onload
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 화면 처음 초기화시 폼초기화
- ****************************************************************************************/
- function SMAEB03402_onload(obj:Form, e:LoadEventInfo)
- {
- lf_aezfSetSuppDeptcd(); //AEZ0001.xjs
- gSuppdeptcd = frmf_getParameter("AST_DEPTCD");
-
- //20161207 메뉴에서 파라메터 가져오기
- var gvMenuParam = frmf_getMenuParam();
- //alert(gvMenuParam)
- if ( !utlf_isNull(gvMenuParam) && gvMenuParam != "null" ) {
- gSuppdeptcd = gvMenuParam ;
- }
-
- grdf_setRowTypeIcon(group2.grd_dyelist, 0); // 그리드 상태 표시
-
- ds_send.setColumn(0,"srchfromdd", utlf_getCurrentDate());
- ds_send.setColumn(0,"srchtodd" , utlf_getCurrentDate());
- ds_send.setColumn(0,"itemcd" , 'A');
-
- ds_main_mainlist_uselist.clearData();
- ds_main_mainlist_wlnlist.clearData();
- dsf_createDsRow("ds_reqparam", [
- {col:"basesuppdeptcd", type:"STRING", size:256, val:gSuppdeptcd}
- , {col:"rbasecdflag", type:"STRING", size:256, val:"R"}
- , {col:"ebasecdflag", type:"STRING", size:256, val:"E"}
- , {col:"instcd", type:"STRING", size:256, val:""}
- , {col:"initflag", type:"STRING", size:256, val:"1"}
- , {col:"alladdyn", type:"STRING", size:256, val:""}
- ]);
- var oParam = {};
- oParam.id = "TRAEA01301";
- oParam.service = "examcureacptexecapp.ExamCureAcpt";
- oParam.method = "reqGetInitExamCureRoomGrpCodeList";
- oParam.inds = "reqparam=ds_reqparam";
- oParam.outds = "ds_cmb_info_initexcuroomgrp=initexcuroomgrp ds_cmb_info_initexcuroomgrp2=initexcuroomgrp2 ds_cmb_info_suppdept=suppdept";
- oParam.async = false;
- oParam.callback = "cf_TRAEA01301";
- tranf_submit(oParam);
- ds_init_cmb_info2_initexecroom.clear();
- ds_init_cmb_info2_initexecroom.copyData(ds_cmb_info_initexcuroomgrp2);
-
- ds_cmb_info_initexcuroomgrp.deleteRow(0);
- ds_cmb_info_initexcuroomgrp2.deleteRow(0);
-
- frmf_addComboItem("group4.cmb_excuroomgrp" , "-- 전체 --", "", "above");
- frmf_addComboItem("group4.cmb_sectcd" , "-- 전체 --", "", "above");
- frmf_addComboItem("group4.cmb_sudpt" , "-- 전체 --", "", "above");
- ds_send.setColumn(0,"srchsuppdeptcd", gSuppdeptcd);
- frmf_inputEnterKey("group4.cmb_sudpt", "onitemchanged", new ItemChangeEventInfo);
-
- dsf_createDsRow("ds_req", [
- {col:"basesuppdeptcd", type:"STRING", size:256, val:gSuppdeptcd}
- , {col:"srchgoodcd", type:"STRING", size:256, val:ds_send.getColumn(0,"srchgoodcd")}
- , {col:"srchgoodnm", type:"STRING", size:256, val:ds_send.getColumn(0,"srchgoodnm")}
- ]);
- var oParam = {};
- oParam.id = "TRAEB03501";
- oParam.service = "examcurebaseapp.DyeCode";
- oParam.method = "reqGetDyeCodeList";
- oParam.inds = "req=ds_req";
- oParam.outds = "ds_main_goodinfo=item";
- oParam.async = false;
- //oParam.callback = "cf_TRAEB03501";
- tranf_submit(oParam);
-
- group4.cmb_excuroomgrp.index = 0;
- }
- function cf_TRAEA01301(sSvcId, nErrorCode, sErrorMsg) {
- if(nErrorCode < 0) return;
- ds_cmb_info_initexcuroomgrp.updateColID("basecdcnts","excuroomgrpcdid");
- ds_cmb_info_initexcuroomgrp.updateColID("basecdcnts2","excuroomgrpcdnm");
- ds_cmb_info_initexcuroomgrp2.updateColID("basecdcnts","excuroomgrpcdid");
- ds_cmb_info_initexcuroomgrp2.updateColID("basecdcnts2","excuroomgrpcdnm");
- }
- /****************************************************************************************
- * Components : Combo
- * Components ID : group4.cmb_sudpt
- * Event : onitemchanged
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 지원부서 변경
- ****************************************************************************************/
- function group4_cmb_sudpt_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
- {
- ds_init_excuroomcdlist_excuroom.clearData();
- if(utlf_isNull(ds_send.getColumn(0,"srchsuppdeptcd"))) {
- gSuppdeptcd = "";
-
- group4.cmb_excuroomgrp.index = 0;
- frmf_inputEnterKey("group4.cmb_excuroomgrp", "onitemchanged", new ItemChangeEventInfo);
- }else{
- gSuppdeptcd = ds_send.getColumn(0,"srchsuppdeptcd");
- ds_send.setColumn(0,"excuroomcd", "");
-
- dsf_createDsRow("ds_req", [
- {col:"basecd", type:"STRING", size:256, val:""}
- , {col:"basesuppdeptcd", type:"STRING", size:256, val:gSuppdeptcd}
- , {col:"rbasecdflag", type:"STRING", size:256, val:"R"}
- , {col:"instcd", type:"STRING", size:256, val:""}
- ]);
- var oParam = {};
- oParam.id = "TRAEA00902";
- oParam.service = "examcurebaseapp.ExamCureRoom";
- oParam.method = "reqGetExamCureRoomGrpList";
- oParam.inds = "req=ds_req";
- oParam.outds = "ds_init_excuroomcdlist_excuroom=item";
- oParam.async = false;
- //oParam.callback = "cf_TRAEA00902";
- tranf_submit(oParam);
-
- if(!utlf_isNull(ds_init_excuroomcdlist_excuroom.getColumn(0,"basecd"))){
- frmf_addComboItem("group4.cmb_sectcd", "-- 전체 --", "", "above");
- }
-
- group4.cmb_sectcd.index = 0;
- }
- }
- /****************************************************************************************
- * Components : Combo
- * Components ID : group4.cmb_excuroomgrp
- * Event : onitemchanged
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 구분 변경
- ****************************************************************************************/
- function group4_cmb_excuroomgrp_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
- {
- ds_init_cmb_info2_initexecroom.clearData();
- ds_init_excuroomcdlist_excuroom.clearData();
- ds_send.setColumn(0,"excuroomgrpcdid", ds_send.getColumn(0,"srchexcuroomgrp") );
- dsf_createDsRow("ds_reqparam", [
- {col:"basesuppdeptcd", type:"STRING", size:256, val:gSuppdeptcd}
- , {col:"rbasecdflag", type:"STRING", size:256, val:"R"}
- , {col:"ebasecdflag", type:"STRING", size:256, val:"E"}
- , {col:"basecdcnts", type:"STRING", size:256, val:ds_send.getColumn(0,"excuroomgrpcdid")}
- ]);
- var oParam = {};
- oParam.id = "TRAEA01306";
- oParam.service = "examcureacptexecapp.ExamCureAcpt";
- oParam.method = "reqGetInitPhotoExamCureRoomCodeList";
- oParam.inds = "reqparam=ds_reqparam";
- oParam.outds = "ds_init_cmb_info2_initexecroom=initexcuroom";
- oParam.async = false;
- oParam.callback = "cf_TRAEA01306";
- tranf_submit(oParam);
-
- if(arErrorCode.pop("TRAEA01306") > -1){
- var cnt = ds_init_cmb_info2_initexecroom.rowcount;
- for(var i = 0; i < cnt; i++ ){
- var nRow = ds_init_excuroomcdlist_excuroom.addRow();
- ds_init_excuroomcdlist_excuroom.setColumn(nRow,"basecd" ,ds_init_cmb_info2_initexecroom.getColumn(i,"excuroomcdid"));
- ds_init_excuroomcdlist_excuroom.setColumn(nRow,"basecdflagdesc" ,ds_init_cmb_info2_initexecroom.getColumn(i,"excuroomcdnm"));
- }
-
- if(!utlf_isNull(ds_init_excuroomcdlist_excuroom.getColumn(0,"basecd"))) {
- frmf_addComboItem("group4.cmb_sectcd", "-- 전체 --", "", "above");
- }
-
- group4.cmb_sectcd.index = 0;
- }
- }
- function cf_TRAEA01306(sSvcId, nErrorCode, sErrorMsg) {
- arErrorCode.push(sSvcId, nErrorCode);
- ds_init_cmb_info2_initexecroom.updateColID("basecd","excuroomcdid");
- ds_init_cmb_info2_initexecroom.updateColID("basecdflagdesc","excuroomcdnm");
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : group4.button3
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 조회
- ****************************************************************************************/
- function group4_button3_onclick(obj:Button, e:ClickEventInfo)
- {
- var cTime = utlf_getCurrentTime().substr(0, 4);
- if(cTime > "1700" || cTime < "0830") {
- } else {
- var ddInterval = utlf_getDateInterval(group4.ipt_fromdd.value , group4.ipt_todd.value);
- if(ddInterval > 32){
- sysf_messageBox("업무시간[08:30 ~ 17:00]에는 31일까지만 조회", "I006");
- return;
- }
- }
- getDyeList();
-
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : group2.btn_excsave
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 엑셀저장
- ****************************************************************************************/
- function group2_btn_excsave_onclick(obj:Button, e:ClickEventInfo)
- {
- if( ds_main_dyestoclist_item.rowcount > 0 ){
- grdf_exportExcel(group2.grd_dyelist, "입출고현황리스트", "입출고현황리스트", false, "", "user", false);
- } else {
- sysf_messageBox("조회된 데이터가 ", "I004");
- }
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : group2.button2
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 출력
- ****************************************************************************************/
- function grp_btn_button2_onclick(obj:Button, e:ClickEventInfo)
- {
- dsf_copyColInfo(ds_rexprnt_dyestoclist_item,ds_main_dyestoclist_item);
- var cnt = ds_main_dyestoclist_item.rowcount;
- for( var i = 0; i < cnt; i++ ){
- var nRow = ds_rexprnt_dyestoclist_item.addRow();
- ds_rexprnt_dyestoclist_item.copyRow(nRow,ds_main_dyestoclist_item,i);
- ds_rexprnt_dyestoclist_item.setColumn(nRow,"goodcd",group2.grd_dyelist.getCellText(i,2));
- dsf_makeValue(ds_rexprnt_dyestoclist_item,"goodcdd","string",ds_main_dyestoclist_item.getColumn(i,"goodcd"),nRow);
- }
-
- ds_rexprnt_dyestoclist.setColumn(0,"srchiodd" , group4.ipt_fromdd.text + "-" + group4.ipt_todd.text );
- ds_rexprnt_dyestoclist.setColumn(0,"srchsectcd" , group4.cmb_sectcd.text );
- ds_rexprnt_dyestoclist.setColumn(0,"srchexcuroomgrp" , group4.cmb_excuroomgrp.text );
- ds_rexprnt_dyestoclist.setColumn(0,"srchsudept" , group4.cmb_sudpt.text );
- // exeReportPreview("RPAEB03401", "XMLSTR" , "" , "" , "false" , "", "", "", "", "false");
- var objDOM = rptf_createDOM(); // DOM 객체 설정
- var objParam = new Object();
- rptf_setNodeListToDOM(objDOM, "/root/rexprnt/dyestoclist/item" , ds_rexprnt_dyestoclist_item); // 데이터셋 1
- rptf_setNodeListToDOM(objDOM, "/root/rexprnt/dyestocinfo" , ds_rexprnt_dyestoclist); // 데이터셋 2
- objParam.xml_data_XML1 = objDOM.documentElement.source;
- //var option = "open=1;save=1;directprint=1;printdialog=0;print=1;zoom=0";
- var option = "open=1;save=1;directprint=0;print=1;zoom=0";
- rptf_exeReportPreview30(["RPAEB03401"],[objParam], option);
-
- ds_rexprnt_dyestoclist_item.clear();
- }
- ]]></Script>
- </Form>
- </FDL>
|