123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMRSO22600" position="absolute 0 0 1201 780" titletext="재고조회(부서)" oninit="SMRSO22600_oninit" onload="SMRSO22600_onload">
- <Layouts>
- <Layout>
- <Static id="caption6" text="재고조회(부서)" class="tit_1" position="absolute 0 0 243 25"/>
- <Shape id="line17" class="line_6" position="absolute 0 45 1193 51" anchor="left top right"/>
- <Button id="button3" taborder="1" text="무산정물품" class="btn4" position="absolute 781 24 873 46" anchor="top right" onclick="button3_onclick"/>
- <Button id="btn_specialmngt" taborder="2" text="특별관리품목" class="btn4" position="absolute 873 24 977 46" anchor="top right" onclick="btn_specialmngt_onclick"/>
- <Button id="btn_help" taborder="3" text="도움말" class="btn4" position="absolute 977 24 1045 46" anchor="top right" onclick="btn_help_onclick"/>
- <Button id="button2" taborder="4" text="출력" class="btn4" position="absolute 1045 24 1101 46" anchor="top right" onclick="button2_onclick"/>
- <Button id="btn_save" taborder="5" text="입출고현황" class="btn4" position="absolute 1101 24 1193 46" anchor="top right" onclick="btn_save_onclick"/>
- <Div id="grp_search" taborder="6" class="div_SA2" position="absolute 0 49 1193 109" anchor="left top right">
- <Layouts>
- <Layout>
- <Button id="btn_search" taborder="6" text="조회" class="btn1" position="absolute 1124 23 1180 45" onclick="grp_search_btn_search_onclick" anchor="default"/>
- <Combo id="cmb_instcd" taborder="7" innerdataset="@ds_main_init" codecolumn="cnstcd" datacolumn="cnstnm" class="combo_default" enable="false" position="absolute 92 10 237 29" anchor="default"/>
- <Static id="cap_instcd" text="기관코드" class="search_name" position="absolute 13 10 90 27" anchor="default"/>
- <Shape id="line30" linetype="vertical" class="line_4" position="absolute 1107 6 1113 54" anchor="default"/>
- <Static id="caption9" text="현재고일자" class="search_name" position="absolute 246 10 335 27" anchor="default"/>
- <Static id="caption13" text="물품코드" class="search_name" position="absolute 13 34 93 51" anchor="default"/>
- <Edit id="ipt_goodcd" taborder="8" class="input_default" position="absolute 92 33 180 52" autoskip="true" autoselect="true" anchor="default"/>
- <Button id="btn_goodcd" taborder="9" class="icon_search" position="absolute 182 34 198 50" onclick="grp_search_btn_goodcd_onclick" anchor="default"/>
- <Edit id="opt_goodnm" taborder="10" readonly="true" position="absolute 203 33 440 52" class="output" anchor="default"/>
- <Calendar id="ipt_dd" taborder="11" position="absolute 341 10 440 29" mask="yyyy-mm-dd" autoskip="true" autoselect="true" onchanged="grp_search_ipt_dd_onchanged" anchor="default"/>
- <Button id="button1" taborder="12" class="icon_search" position="absolute 602 33 618 49" onclick="grp_search_button1_onclick" anchor="default"/>
- <Edit id="ipt_goodcd1" taborder="13" class="input_default" position="absolute 512 33 600 52" autoskip="true" autoselect="true" anchor="default"/>
- <Edit id="opt_goodnm1" taborder="14" readonly="true" position="absolute 621 33 858 52" class="output" anchor="default"/>
- <Static id="caption8" text="∼" position="absolute 465 32 490 52" anchor="default"/>
- <Button id="btn_dutdept" taborder="15" class="icon_search" position="absolute 603 12 619 28" onclick="grp_search_btn_dutdept_onclick" anchor="default"/>
- <Edit id="ipt_dutdeptnm" taborder="16" class="input_search" enable="false" position="absolute 625 10 759 29" anchor="default"/>
- <Edit id="ipt_dutdeptcd" taborder="17" class="input_s_essential" position="absolute 516 10 601 29" autoskip="true" autoselect="true" onkeydown="grp_search_ipt_dutdeptcd_onkeydown" anchor="default"/>
- <Static id="caption10" text="부서" class="search_name" position="absolute 457 10 522 27" anchor="default"/>
- <Static id="caption7" text="물품유형" class="search_name" position="absolute 890 34 970 51" anchor="default"/>
- <Combo id="cmb_gubun" taborder="18" position="absolute 970 33 1070 52" anchor="default"/>
- </Layout>
- </Layouts>
- </Div>
- <Shape id="line1" class="line_10" position="absolute 0 138 1193 144" anchor="left top right"/>
- <Static id="caption1" text="총재고 현황" class="tit_2" position="absolute 0 122 180 143"/>
- <Static id="caption3" text="당월 입고 현황" class="tit_2" position="absolute 0 529 180 550" anchor="left bottom"/>
- <Shape id="line2" class="line_10" position="absolute 0 545 400 551" anchor="left bottom"/>
- <Static id="caption4" text="당월 출고 현황" class="tit_2" position="absolute 405 529 585 550" anchor="left bottom"/>
- <Shape id="line3" class="line_10" position="absolute 405 545 805 551" anchor="left bottom"/>
- <Static id="caption5" text="당월 처방 현황" class="tit_2" position="absolute 810 529 971 550"/>
- <Shape id="line4" class="line_10" position="absolute 810 545 1192 551" anchor="left right bottom"/>
- <Grid id="grd_stock" taborder="7" binddataset="ds_main_stocklist" autoenter="select" useinputpanel="false" cellsizingtype="col" autofittype="col" position="absolute 0 143 1193 525" anchor="all" onselectchanged="grd_stock_onselectchanged">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="24"/>
- <Column size="120"/>
- <Column size="75"/>
- <Column size="79"/>
- <Column size="140"/>
- <Column size="116"/>
- <Column size="60"/>
- <Column size="48"/>
- <Column size="48"/>
- <Column size="48"/>
- <Column size="48"/>
- <Column size="0"/>
- <Column size="48"/>
- <Column size="55"/>
- <Column size="65"/>
- <Column size="50"/>
- <Column size="0"/>
- <Column size="50"/>
- <Column size="45"/>
- <Column size="45"/>
- <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" colspan="4" text="물 품" taborder="undefined"/>
- <Cell col="7" rowspan="2" text="전월 재고" taborder="undefined"/>
- <Cell col="8" colspan="3" text="선납" taborder="undefined"/>
- <Cell col="11" text="전월재고"/>
- <Cell col="12" colspan="3" text="당월입고" taborder="undefined"/>
- <Cell col="15" rowspan="2" text="당월 출고량" taborder="undefined"/>
- <Cell col="16" text="당월 실입고량"/>
- <Cell col="17" rowspan="2" text="현재고 수량" taborder="undefined"/>
- <Cell col="18" rowspan="2" text="당월 처방량" taborder="undefined"/>
- <Cell col="19" rowspan="2" text="정량 설정치" taborder="undefined"/>
- <Cell col="20" text="caption1"/>
- <Cell col="21"/>
- <Cell col="22"/>
- <Cell row="1" col="3" text="코드"/>
- <Cell row="1" col="4" text="명칭"/>
- <Cell row="1" col="5" text="규격"/>
- <Cell row="1" col="6" text="단위"/>
- <Cell row="1" col="8" text="입고"/>
- <Cell row="1" col="9" text="출고"/>
- <Cell row="1" col="10" text="재고"/>
- <Cell row="1" col="11" text="금액"/>
- <Cell row="1" col="12" text="수량"/>
- <Cell row="1" col="13" text="단가"/>
- <Cell row="1" col="14" text="금액"/>
- <Cell row="1" col="16" text="당월 실입고량"/>
- <Cell row="1" col="20" text="caption1"/>
- <Cell row="1" col="21"/>
- <Cell row="1" col="22"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" expr="currow+1"/>
- <Cell col="1" style="color:EXPR(!utlf_isNull(specialgoodcd) ? '#ff0000' : '');color2:EXPR(!utlf_isNull(specialgoodcd) ? '#ff0000' : '');" text="bind:dutunitnm"/>
- <Cell col="2" style="color:EXPR(!utlf_isNull(specialgoodcd) ? '#ff0000' : '');color2:EXPR(!utlf_isNull(specialgoodcd) ? '#ff0000' : '');" text="bind:winkind"/>
- <Cell col="3" style="color:EXPR(!utlf_isNull(specialgoodcd) ? '#ff0000' : '');color2:EXPR(!utlf_isNull(specialgoodcd) ? '#ff0000' : '');" text="bind:goodcd"/>
- <Cell col="4" style="color:EXPR(!utlf_isNull(specialgoodcd) ? '#ff0000' : '');color2:EXPR(!utlf_isNull(specialgoodcd) ? '#ff0000' : '');" text="bind:goodnm"/>
- <Cell col="5" style="color:EXPR(!utlf_isNull(specialgoodcd) ? '#ff0000' : '');color2:EXPR(!utlf_isNull(specialgoodcd) ? '#ff0000' : '');" text="bind:goodspec"/>
- <Cell col="6" style="color:EXPR(!utlf_isNull(specialgoodcd) ? '#ff0000' : '');color2:EXPR(!utlf_isNull(specialgoodcd) ? '#ff0000' : '');" text="bind:purcunit"/>
- <Cell col="7" displaytype="number" style="color:EXPR(!utlf_isNull(specialgoodcd) ? '#ff0000' : '');color2:EXPR(!utlf_isNull(specialgoodcd) ? '#ff0000' : '');" text="bind:jun_jaego_qty"/>
- <Cell col="8" style="color:EXPR(!utlf_isNull(specialgoodcd) ? '#ff0000' : '');color2:EXPR(!utlf_isNull(specialgoodcd) ? '#ff0000' : '');" text="bind:preqty"/>
- <Cell col="9" style="color:EXPR(!utlf_isNull(specialgoodcd) ? '#ff0000' : '');color2:EXPR(!utlf_isNull(specialgoodcd) ? '#ff0000' : '');" text="bind:predeliveqty"/>
- <Cell col="10" displaytype="number" style="color:EXPR(!utlf_isNull(specialgoodcd) ? '#ff0000' : '');color2:EXPR(!utlf_isNull(specialgoodcd) ? '#ff0000' : '');" text="bind:jaego"/>
- <Cell col="11" style="color:EXPR(!utlf_isNull(specialgoodcd) ? '#ff0000' : '');color2:EXPR(!utlf_isNull(specialgoodcd) ? '#ff0000' : '');" text="bind:jun_jaego_amt" mask="(-)#,##0"/>
- <Cell col="12" style="color:EXPR(!utlf_isNull(specialgoodcd) ? '#ff0000' : '');color2:EXPR(!utlf_isNull(specialgoodcd) ? '#ff0000' : '');" text="bind:winqty"/>
- <Cell col="13" displaytype="number" style="color:EXPR(!utlf_isNull(specialgoodcd) ? '#ff0000' : '');color2:EXPR(!utlf_isNull(specialgoodcd) ? '#ff0000' : '');" text="bind:winunitcost"/>
- <Cell col="14" displaytype="number" style="color:EXPR(!utlf_isNull(specialgoodcd) ? '#ff0000' : '');color2:EXPR(!utlf_isNull(specialgoodcd) ? '#ff0000' : '');" text="bind:winamt"/>
- <Cell col="15" displaytype="number" style="color:EXPR(!utlf_isNull(specialgoodcd) ? '#ff0000' : '');color2:EXPR(!utlf_isNull(specialgoodcd) ? '#ff0000' : '');" text="bind:deliveqty"/>
- <Cell col="16" displaytype="number" style="color:EXPR(!utlf_isNull(specialgoodcd) ? '#ff0000' : '');color2:EXPR(!utlf_isNull(specialgoodcd) ? '#ff0000' : '');" text="bind:sun_ibgo"/>
- <Cell col="17" displaytype="number" style="color:EXPR(!utlf_isNull(specialgoodcd) ? '#ff0000' : '');color2:EXPR(!utlf_isNull(specialgoodcd) ? '#ff0000' : '');" text="bind:hun_jaego"/>
- <Cell col="18" displaytype="number" style="color:EXPR(totqty != deliveqty || !utlf_isNull(specialgoodcd) ? '#ff0000' : '');color2:EXPR(totqty != deliveqty || !utlf_isNull(specialgoodcd) ? '#ff0000' : '');" text="bind:totqty"/>
- <Cell col="19" displaytype="number" style="color:EXPR(!utlf_isNull(specialgoodcd) ? '#ff0000' : '');color2:EXPR(!utlf_isNull(specialgoodcd) ? '#ff0000' : '');" text="bind:pptstocqty"/>
- <Cell col="20" text="bind:dutunitcd"/>
- <Cell col="21" text="bind:specialgoodcd"/>
- <Cell col="22" text="bind:freegoodcd"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Grid id="grd_win" taborder="8" binddataset="ds_detail_winlist" autoenter="select" useinputpanel="false" cellsizingtype="col" autofittype="col" position="absolute 0 550 400 773" anchor="left bottom" oncelldblclick="grd_win_oncelldblclick">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="132"/>
- <Column size="115"/>
- <Column size="132"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="입고일자"/>
- <Cell col="1" text="입고수량"/>
- <Cell col="2" text="입고금액"/>
- <Cell col="3" text="caption1"/>
- </Band>
- <Band id="body">
- <Cell displaytype="date" text="bind:windd" calendardisplaynulltype="nulltext"/>
- <Cell col="1" displaytype="number" text="bind:winqty"/>
- <Cell col="2" displaytype="number" text="bind:winamt"/>
- <Cell col="3" text="bind:dutunitcd"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Grid id="grd_delive" taborder="9" binddataset="ds_detail_delivelist" autoenter="select" useinputpanel="false" cellsizingtype="col" autofittype="col" position="absolute 405 550 805 773" anchor="left bottom" oncelldblclick="grd_delive_oncelldblclick">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="147"/>
- <Column size="131"/>
- <Column size="0"/>
- <Column size="101"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="출고일자"/>
- <Cell col="1" text="출고유형"/>
- <Cell col="2" text="출고창고"/>
- <Cell col="3" text="출고수량"/>
- <Cell col="4" text="caption1"/>
- <Cell col="5" text="출고구분"/>
- <Cell col="6" text="요구부서"/>
- </Band>
- <Band id="body">
- <Cell displaytype="date" text="bind:delivedd" calendardisplaynulltype="nulltext"/>
- <Cell col="1" text="bind:deliveflagnm"/>
- <Cell col="2" text="bind:wareflagnm"/>
- <Cell col="3" displaytype="number" text="bind:deliveqty"/>
- <Cell col="4" text="bind:dutunitcd"/>
- <Cell col="5" text="bind:outkind"/>
- <Cell col="6" text="bind:reqdeptcd"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Grid id="grd_deptstock" taborder="10" binddataset="ds_detail_deptstocklist" autoenter="select" useinputpanel="false" cellsizingtype="col" autofittype="col" position="absolute 810 550 1192 773" anchor="left right bottom" oncelldblclick="grd_deptstock_oncelldblclick">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="85"/>
- <Column size="65"/>
- <Column size="135"/>
- <Column size="75"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="일자"/>
- <Cell col="1" text="구분"/>
- <Cell col="2" text="처방부서"/>
- <Cell col="3" text="수량"/>
- <Cell col="4"/>
- <Cell col="5"/>
- <Cell col="6"/>
- <Cell col="7"/>
- <Cell col="8"/>
- <Cell col="9"/>
- </Band>
- <Band id="body">
- <Cell displaytype="date" text="bind:rgstdd" calendardisplaynulltype="nulltext"/>
- <Cell col="1" displaytype="combo" text="bind:ioflag" mask="(-)#,##0" combodataset="ds_cmb_ioflag" combocodecol="value" combodatacol="label" enable="false"/>
- <Cell col="2" text="bind:prcpdeptcdnm"/>
- <Cell col="3" displaytype="number" text="bind:totqty"/>
- <Cell col="4" text="bind:instcd"/>
- <Cell col="5" text="bind:wareflag"/>
- <Cell col="6" text="bind:goodcd"/>
- <Cell col="7" text="bind:dd"/>
- <Cell col="8" text="bind:prcpdeptcd"/>
- <Cell col="9" text="bind:allsearchchk"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <CheckBox id="chk_allsearch" taborder="11" text="전체" truevalue="A" position="absolute 920 527 970 547" onclick="chk_allsearch_onclick"/>
- <Button id="btn_saveexcel" taborder="12" text="엑셀저장" class="btn7" position="absolute 1114 119 1194 138" anchor="top right" onclick="btn_saveexcel_onclick"/>
- <Static id="cap_magam" text="※ 아직 전월마감이 안 되어있습니다. 정확한 재고현황을 위해 전월마감 후 조회하십시오." visible="false" position="absolute 115 117 720 137" style="color:#ff0000ff;font:Dotum,9,bold;"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_send_search" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_send_search_oncolumnchanged">
- <ColumnInfo>
- <Column id="instcd" type="STRING" size="256"/>
- <Column id="dd" type="STRING" size="256"/>
- <Column id="goodcd" type="STRING" size="256"/>
- <Column id="goodcd1" type="STRING" size="256"/>
- <Column id="goodnm" type="STRING" size="256"/>
- <Column id="goodnm1" type="STRING" size="256"/>
- <Column id="esang" type="STRING" size="256"/>
- <Column id="pagesize" type="STRING" size="256"/>
- <Column id="offset" type="STRING" size="256"/>
- <Column id="dutunitcd" type="STRING" size="256"/>
- <Column id="dutunitnm" type="STRING" size="256"/>
- <Column id="gubun" type="STRING" size="256"/>
- <Column id="scrnid" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="instcd"/>
- <Col id="dd"/>
- <Col id="goodcd"/>
- <Col id="goodcd1"/>
- <Col id="goodnm"/>
- <Col id="goodnm1"/>
- <Col id="esang"/>
- <Col id="pagesize">200</Col>
- <Col id="offset"/>
- <Col id="dutunitcd"/>
- <Col id="dutunitnm"/>
- <Col id="gubun"/>
- <Col id="scrnid">SMRSO22600</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_stocklist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="goodcd" type="STRING" size="256" sumtext="물품코드"/>
- <Column id="wareflag" type="STRING" size="256" sumtext="창고코드"/>
- <Column id="winqty" type="STRING" size="256" sumtext="입고량"/>
- <Column id="winunitcost" type="STRING" size="256" sumtext="단가"/>
- <Column id="winamt" type="STRING" size="256" sumtext="입고금액"/>
- <Column id="deliveqty" type="STRING" size="256" sumtext="출고량"/>
- <Column id="jun_jaego_qty" type="STRING" size="256" sumtext="전월재고량"/>
- <Column id="jun_jaego_amt" type="STRING" size="256" sumtext="전월재고금액"/>
- <Column id="goodnm" type="STRING" size="256" sumtext="물품명"/>
- <Column id="goodspec" type="STRING" size="256" sumtext="규격"/>
- <Column id="purcunit" type="STRING" size="256" sumtext="구매단위"/>
- <Column id="wareflagnm" type="STRING" size="256" sumtext="창고명"/>
- <Column id="sun_ibgo" type="STRING" size="256" sumtext="선입고량"/>
- <Column id="hun_jaego" type="STRING" size="256" sumtext="현재고"/>
- <Column id="totqty" type="STRING" size="256" sumtext="당월처방수량"/>
- <Column id="winacnt" type="STRING" size="256" sumtext="계정코드"/>
- <Column id="maincustlastsuplplce" type="STRING" size="256" sumtext="거래처"/>
- <Column id="acntnm" type="STRING" size="256" sumtext="계정코드명"/>
- <Column id="custnm" type="STRING" size="256" sumtext="거래처명"/>
- <Column id="reqmthd" type="STRING" size="256" sumtext="계정과목"/>
- <Column id="edicd" type="STRING" size="256" sumtext="DEI코드"/>
- <Column id="goodunitcost" type="STRING" size="256" sumtext="계약단가"/>
- <Column id="exchqty" type="STRING" size="256" sumtext="박스당수량"/>
- <Column id="preqty" type="STRING" size="256" sumtext="선납입고"/>
- <Column id="predeliveqty" type="STRING" size="256" sumtext="선납출고"/>
- <Column id="jaego" type="STRING" size="256" sumtext="선납재고"/>
- <Column id="dutunitcd" type="STRING" size="256" sumtext="부서코드"/>
- <Column id="dutunitnm" type="STRING" size="256" sumtext="부서명"/>
- <Column id="selchk" type="STRING" size="256" sumtext="선택"/>
- <Column id="allstock" type="STRING" size="256" sumtext="업체보관량"/>
- <Column id="winkind" type="STRING" size="256" sumtext="입고유형"/>
- <Column id="winkindcd" type="STRING" size="256" sumtext="입고유형"/>
- <Column id="specialgoodcd" type="STRING" size="256" sumtext="특별관리"/>
- <Column id="freegoodcd" type="STRING" size="256" sumtext="무산정"/>
- <Column id="weekqty" type="STRING" size="256" sumtext="주당사용량"/>
- <Column id="pptstocqty" type="STRING" size="256" sumtext="적정설정치"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_detail_winlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="windd" type="STRING" size="256" sumtext="입고일자"/>
- <Column id="winqty" type="STRING" size="256" sumtext="입고량"/>
- <Column id="winamt" type="STRING" size="256" sumtext="입고금액"/>
- <Column id="dutunitcd" type="STRING" size="256" sumtext="부서코드"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_detail_delivelist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="delivedd" type="STRING" size="256" sumtext="출고일자"/>
- <Column id="deliveqty" type="STRING" size="256" sumtext="출고량"/>
- <Column id="wareflagnm" type="STRING" size="256" sumtext="창고명"/>
- <Column id="deliveflagnm" type="STRING" size="256" sumtext="출고유형"/>
- <Column id="dutunitcd" type="STRING" size="256" sumtext="부서코드"/>
- <Column id="outkind" type="STRING" size="256" sumtext="출고구분"/>
- <Column id="reqdeptcd" type="STRING" size="256" sumtext="요구부서"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_detail_deptstocklist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="rgstdd" type="STRING" size="256" sumtext="등록일자"/>
- <Column id="ioflag" type="STRING" size="256" sumtext="외래/입원"/>
- <Column id="prcpdeptcd" type="STRING" size="256" sumtext="처방부서"/>
- <Column id="prcpdeptcdnm" type="STRING" size="256" sumtext="처방부서"/>
- <Column id="totqty" type="STRING" size="256" sumtext="수량"/>
- <Column id="instcd" type="STRING" size="256" sumtext="기관코드"/>
- <Column id="wareflag" type="STRING" size="256" sumtext="창고"/>
- <Column id="goodcd" type="STRING" size="256" sumtext="물품코드"/>
- <Column id="dd" type="STRING" size="256" sumtext="재고일자"/>
- <Column id="allsearchchk" type="STRING" size="256" sumtext="전체조회"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_cmb_ioflag" 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">I</Col>
- </Row>
- <Row>
- <Col id="label">외래</Col>
- <Col id="value">O</Col>
- </Row>
- <Row>
- <Col id="label">건진</Col>
- <Col id="value">S</Col>
- </Row>
- <Row>
- <Col id="label">응급</Col>
- <Col id="value">E</Col>
- </Row>
- <Row>
- <Col id="label">DSC</Col>
- <Col id="value">D</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_popdata" 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="goodcd" type="STRING" size="256"/>
- <Column id="dd" type="STRING" size="256"/>
- <Column id="goodnm" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_init" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cnstnm" type="STRING" size="256"/>
- <Column id="cnstcd" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_goodlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="mingoodcd" type="STRING" size="256" sumtext="물품코드"/>
- <Column id="mingoodnm" type="STRING" size="256" sumtext="물품코드명"/>
- <Column id="maxgoodcd" type="STRING" size="256" sumtext="물품코드"/>
- <Column id="maxgoodnm" type="STRING" size="256" sumtext="물품코드명"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_popgood" 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="wareflag" type="STRING" size="256"/>
- <Column id="goodcd" type="STRING" size="256"/>
- <Column id="goodnm" type="STRING" size="256"/>
- <Column id="returntype" type="STRING" size="256"/>
- <Column id="selectyn" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="instcd"/>
- <Col id="wareflag"/>
- <Col id="goodcd"/>
- <Col id="goodnm"/>
- <Col id="returntype"/>
- <Col id="selectyn"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_popgood1" 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="wareflag" type="STRING" size="256"/>
- <Column id="goodcd" type="STRING" size="256"/>
- <Column id="goodnm" type="STRING" size="256"/>
- <Column id="returntype" type="STRING" size="256"/>
- <Column id="selectyn" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="instcd"/>
- <Col id="wareflag"/>
- <Col id="goodcd"/>
- <Col id="goodnm"/>
- <Col id="returntype"/>
- <Col id="selectyn"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_magamresult" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="magamyn" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_send_etcsearch" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="all" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_send_search2" 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="dd" type="STRING" size="256"/>
- <Column id="goodcd" type="STRING" size="256"/>
- <Column id="dutunitcd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="instcd"/>
- <Col id="dd"/>
- <Col id="goodcd"/>
- <Col id="dutunitcd"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_popdetail" 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="wareflag" type="STRING" size="256"/>
- <Column id="goodcd" type="STRING" size="256"/>
- <Column id="dd" type="STRING" size="256"/>
- <Column id="dutunitcd" type="STRING" size="256"/>
- <Column id="outkind" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="instcd"/>
- <Col id="wareflag"/>
- <Col id="goodcd"/>
- <Col id="dd"/>
- <Col id="dutunitcd"/>
- <Col id="outkind"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_temp_deptstocklist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="rgstdd" type="STRING" size="256" sumtext="등록일자"/>
- <Column id="ioflag" type="STRING" size="256" sumtext="외래/입원"/>
- <Column id="prcpdeptcd" type="STRING" size="256" sumtext="처방부서"/>
- <Column id="prcpdeptcdnm" type="STRING" size="256" sumtext="처방부서"/>
- <Column id="totqty" type="STRING" size="256" sumtext="수량"/>
- <Column id="instcd" type="STRING" size="256" sumtext="기관코드"/>
- <Column id="wareflag" type="STRING" size="256" sumtext="창고"/>
- <Column id="goodcd" type="STRING" size="256" sumtext="물품코드"/>
- <Column id="dd" type="STRING" size="256" sumtext="재고일자"/>
- <Column id="allsearchchk" type="STRING" size="256" sumtext="전체조회"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_popdelive" 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="delivedd" type="STRING" size="256"/>
- <Column id="delivedeptcd" type="STRING" size="256"/>
- <Column id="delivedeptnm" type="STRING" size="256"/>
- <Column id="opener" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="instcd"/>
- <Col id="delivedd"/>
- <Col id="delivedeptcd"/>
- <Col id="delivedeptnm"/>
- <Col id="opener"/>
- </Row>
- </Rows>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="grp_search.cmb_instcd" propid="value" datasetid="ds_send_search" columnid="instcd"/>
- <BindItem id="item1" compid="grp_search.ipt_dd" propid="value" datasetid="ds_send_search" columnid="dd"/>
- <BindItem id="item2" compid="grp_search.ipt_dutdeptcd" propid="value" datasetid="ds_send_search" columnid="dutunitcd"/>
- <BindItem id="item3" compid="grp_search.ipt_dutdeptnm" propid="value" datasetid="ds_send_search" columnid="dutunitnm"/>
- <BindItem id="item4" compid="grp_search.cmb_gubun" propid="value" datasetid="ds_send_search" columnid="gubun"/>
- <BindItem id="item5" compid="grp_search.opt_goodnm1" propid="value" datasetid="ds_send_search" columnid="goodnm1"/>
- <BindItem id="item6" compid="grp_search.ipt_goodcd1" propid="value" datasetid="ds_send_search" columnid="goodcd1"/>
- <BindItem id="item7" compid="grp_search.opt_goodnm" propid="value" datasetid="ds_send_search" columnid="goodnm"/>
- <BindItem id="item8" compid="grp_search.ipt_goodcd" propid="value" datasetid="ds_send_search" columnid="goodcd"/>
- <BindItem id="item9" compid="chk_allsearch" propid="value" datasetid="ds_send_etcsearch" columnid="all"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name :
- * Job Name :
- * Creator :
- * Make Date : 2017-06-19
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2017-06-19 Live Converter TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- include "com_commonxp::comm_main.xjs";
- include "mis_miscommonxp::MIS.xjs";
- function SMRSO22600_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj);
- }
- function SMRSO22600_onload(obj:Form, e:LoadEventInfo)
- {
- grdf_initGrid(grd_delive);
- grdf_initGrid(grd_deptstock);
- grdf_initGrid(grd_stock);
- grdf_initGrid(grd_win);
-
- //misfMsterDetailSet(grd_stock, null, "TRRSO22601" ,"N");
-
- misfComboInstCdListMulti("grp_search.cmb_instcd",utlf_getCurrentDate(),"","N");
- misfComboComCdListMulti("030R0035","grp_search.cmb_gubun");
- grp_search.cmb_gubun.value = "08";
-
- try
- {
- ds_popdata.copyData(arg_ds_popdata);
- }
- catch(e)
- {
- }
-
- if(!utlf_isNull(ds_popdata.getColumn(0, "instcd")))
- {
- ds_send_search.setColumn(0, "instcd", ds_popdata.getColumn(0, "instcd"));
- ds_send_search.setColumn(0, "dd", ds_popdata.getColumn(0, "dd"));
- ds_send_search.setColumn(0, "goodcd", ds_popdata.getColumn(0, "goodcd"));
- ds_send_search.setColumn(0, "goodcd1", ds_popdata.getColumn(0, "goodcd"));
- ds_send_search.setColumn(0, "goodnm", ds_popdata.getColumn(0, "goodnm"));
- ds_send_search.setColumn(0, "goodnm1", ds_popdata.getColumn(0, "goodnm"));
-
- grp_search_btn_search_onclick();
- }
- else
- {
- ds_send_search.setColumn(0, "dd", utlf_getCurrentDate());
- ds_send_search.setColumn(0, "dutunitcd", sysf_getUserInfo("dutunitcd"));
- ds_send_search.setColumn(0, "dutunitnm", sysf_getUserInfo("dutunitnm"));
- ds_send_search.setColumn(0, "instcd", sysf_getUserInfo("dutplceinstcd"));
- }
- }
- function grp_search_btn_search_onclick(obj:Button, e:ClickEventInfo)
- {
- if(String(grp_search.ipt_dd.value).length < 8)
- {
- sysf_messageBox("현재고일자가 올바로 선택되지 않았습니다. \n\n먼저 현재고일자을 선택하십시요.", "E999", "");
- grp_search.ipt_dd.setFocus();
- return;
- }
-
- misfGridInit(grd_stock);
-
- var oParam = {};
- oParam.id = "TRRSO22601";
- oParam.service = "deliveapp.DeliveMngt";
- oParam.method = "reqGetDeptStockAllList";
- oParam.inds = "req=ds_send_search";
- oParam.outds = "ds_main_stocklist=stocklist";
- oParam.async = false;
- //oParam.callback = "cf_TRRSO22601";
- tranf_submit(oParam);
-
- var oParam = {};
- oParam.id = "TRRSO22602";
- oParam.service = "deliveapp.DeliveMngt";
- oParam.method = "reqGetDeptStockAllListMonthMagamYn";
- oParam.inds = "req=ds_send_search";
- oParam.outds = "ds_magamresult=magamresult";
- oParam.async = false;
- //oParam.callback = "cf_TRRSO22602";
- tranf_submit(oParam);
-
- var magamyn = ds_magamresult.getColumn(0, "magamyn");
-
- if(magamyn == "N")
- {
- cap_magam.visible = true;
- }
- else
- {
- cap_magam.visible = false;
- }
-
- for(var i = 0; i < ds_main_stocklist.rowcount; i++)
- {
- var deliveqty = ds_main_stocklist.getColumn(i, "deliveqty");
- var totqty = ds_main_stocklist.getColumn(i, "totqty");
- var specialgoodcd = ds_main_stocklist.getColumn(i, "specialgoodcd");
- var freegoodcd = ds_main_stocklist.getColumn(i, "freegoodcd");
- var pptstocqty = ds_main_stocklist.getColumn(i, "pptstocqty");
- if(utlf_isNull(pptstocqty))
- {
- ds_main_stocklist.setColumn(i, "pptstocqty", "0");
- }
- }
- }
- function grp_search_ipt_dd_onchanged(obj:Calendar, e:ChangeEventInfo)
- {
- fSearchCondChanged();
- }
- function fSearchCondChanged()
- {
- ds_main_stocklist.clearData();
- ds_detail_delivelist.clearData();
- ds_detail_deptstocklist.clearData();
- ds_detail_winlist.clearData();
- }
- function ds_send_search_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
- {
- if(e.columnid == "dutunitcd")
- {
- grp_search.ipt_dutdeptcd.value = e.newvalue;
- grp_search.ipt_dutdeptcd.setFocus();
-
- misfValidationCheck("02", "", "dutunitcd,dutunitnm", ds_send_search.getColumn(0, "instcd"), "instcd" );
-
- grp_search_btn_search_onclick();
- }
-
- if(e.columnid == "goodcd")
- {
- if(utlf_isNull(e.newvalue))
- {
- ds_send_search.setColumn(0, "goodnm1", "");
- }
- }
-
- if(e.columnid == "goodcd1")
- {
- if(utlf_isNull(e.newvalue))
- {
- ds_send_search.setColumn(0, "goodnm", "");
- }
- }
- }
- function grp_search_ipt_dutdeptcd_onkeydown(obj:Edit, e:KeyEventInfo)
- {
- if(e.keycode == 13)
- {
- obj.updateToDataset();
-
- if(!utlf_isNull(grp_search.ipt_dutdeptnm.value))
- {
- var oParam = {};
- oParam.id = "TRRSO21301";
- oParam.service = "deliveapp.DeliveMngt";
- oParam.method = "reqGetDutunitGoodCD";
- oParam.inds = "req=ds_send_search";
- oParam.outds = "ds_main_goodlist=goodlist";
- oParam.async = false;
- //oParam.callback = "cf_TRRSO21301";
- tranf_submit(oParam);
- ds_send_search.setColumn(0, "goodcd", ds_main_goodlist.getColumn(0, "mingoodcd"));
- ds_send_search.setColumn(0, "goodnm", ds_main_goodlist.getColumn(0, "mingoodnm"));
- ds_send_search.setColumn(0, "goodcd1", ds_main_goodlist.getColumn(0, "maxgoodcd"));
- ds_send_search.setColumn(0, "goodnm1", ds_main_goodlist.getColumn(0, "maxgoodnm"));
- }
- }
- }
- function grp_search_btn_dutdept_onclick(obj:Button, e:ClickEventInfo)
- {
- misfOpenPopUpList("02", ds_send_search,"","dutunitcd,dutunitnm", ds_send_search.getColumn(0, "instcd") + "," + grp_search.ipt_dd.value, "instcd,basedd");
- }
- function grp_search_btn_goodcd_onclick(obj:Button, e:ClickEventInfo)
- {
- ds_popgood.setColumn(0, "instcd", grp_search.cmb_instcd.value);
- ds_popgood.setColumn(0, "returntype", "2");
- ds_popgood.setColumn(0, "selectyn", "");
-
- var objArg = new Object();
- objArg.arg_ds_popdata = ds_popgood;
-
- frmf_modal("SPRSO20300", "SPRSO20300", objArg, "", "", "", "", "", "", "", "", "", "M");
-
- if(ds_popgood.getColumn(0, "selectyn") == "Y")
- {
- ds_send_search.setColumn(0, "goodcd", ds_popgood.getColumn(0, "goodcd"));
- ds_send_search.setColumn(0, "goodnm", ds_popgood.getColumn(0, "goodnm"))
- }
- }
- function grp_search_button1_onclick(obj:Button, e:ClickEventInfo)
- {
- ds_popgood1.setColumn(0, "instcd", grp_search.cmb_instcd.value);
- ds_popgood1.setColumn(0, "returntype", "2");
- ds_popgood1.setColumn(0, "selectyn", "");
-
- var objArg = new Object();
- objArg.arg_ds_popdata = ds_popgood1;
-
- frmf_modal("SPRSO20300", "SPRSO20300", objArg, "", "", "", "", "", "", "", "", "", "M");
-
- if(ds_popgood.getColumn(0, "selectyn") == "Y")
- {
- ds_send_search.setColumn(0, "goodcd1", ds_popgood.getColumn(0, "goodcd"));
- ds_send_search.setColumn(0, "goodnm1", ds_popgood.getColumn(0, "goodnm"))
- }
- }
- function grd_stock_onselectchanged(obj:Grid, e:GridSelectEventInfo)
- {
- if( ds_main_stocklist.rowcount < 3 )
- {
- ds_detail_delivelist.clearData();
- ds_detail_deptstocklist.clearData();
- ds_detail_winlist.clearData();
- return;
- }
-
- ds_send_search2.setColumn(0, "instcd", grp_search.cmb_instcd.value);
- ds_send_search2.setColumn(0, "dd", grp_search.ipt_dd.value);
- ds_send_search2.setColumn(0, "goodcd", ds_main_stocklist.getColumn(e.row, "goodcd"));
- ds_send_search2.setColumn(0, "dutunitcd", ds_main_stocklist.getColumn(e.row, "dutunitcd"));
-
- var oParam = {};
- oParam.id = "TRRSO21302";
- oParam.service = "deliveapp.DeliveMngt";
- oParam.method = "reqGetWinDeliveMonList";
- oParam.inds = "req=ds_send_search2";
- oParam.outds = "ds_detail_winlist=winlist ds_detail_delivelist=delivelist ds_detail_deptstocklist=deptstocklist";
- oParam.async = false;
- //oParam.callback = "cf_TRRSO21302";
- tranf_submit(oParam);
- }
- function grd_win_oncelldblclick(obj:Grid, e:GridClickEventInfo)
- {
- if(e.row < 0)
- {
- return;
- }
-
- ds_popdetail.setColumn(0, "instcd", grp_search.cmb_instcd.value);
- ds_popdetail.setColumn(0, "wareflag", ds_main_stocklist.getColumn(ds_main_stocklist.rowposition, "wareflag"));
- ds_popdetail.setColumn(0, "goodcd", ds_main_stocklist.getColumn(ds_main_stocklist.rowposition, "goodcd"));
- ds_popdetail.setColumn(0, "dd", ds_detail_winlist.getColumn(ds_detail_winlist.rowposition, "windd"));
- ds_popdetail.setColumn(0, "dutunitcd", ds_detail_winlist.getColumn(ds_detail_winlist.rowposition, "dutunitcd"));
-
- var objArg = new Object();
- objArg.arg_ds_popdata = ds_popdetail;
-
- frmf_modal("SPRSO20500", "SPRSO20500", objArg, "", "", "", "", "", "", "", "", "", "M");
- }
- function grd_delive_oncelldblclick(obj:Grid, e:GridClickEventInfo)
- {
- if(e.row < 0)
- {
- return;
- }
-
- ds_popdetail.setColumn(0, "instcd", grp_search.cmb_instcd.value);
- ds_popdetail.setColumn(0, "wareflag", ds_main_stocklist.getColumn(ds_main_stocklist.rowposition, "wareflag"));
- ds_popdetail.setColumn(0, "goodcd", ds_main_stocklist.getColumn(ds_main_stocklist.rowposition, "goodcd"));
-
- ds_popdetail.setColumn(0, "dd", ds_detail_delivelist.getColumn(ds_detail_delivelist.rowposition, "delivedd"));
- ds_popdetail.setColumn(0, "outkind", ds_detail_delivelist.getColumn(ds_detail_delivelist.rowposition, "outkind"));
- ds_popdetail.setColumn(0, "dutunitcd", ds_detail_delivelist.getColumn(ds_detail_delivelist.rowposition, "dutunitcd"));
-
- var objArg = new Object();
- objArg.arg_ds_popdata = ds_popdetail;
-
- frmf_modal("SPRSO20400", "SPRSO20400", objArg, "", "", "", "", "", "", "", "", "", "M");
- }
- function grd_deptstock_oncelldblclick(obj:Grid, e:GridClickEventInfo)
- {
- if(e.row < 0)
- {
- return;
- }
-
- if(ds_send_etcsearch.getColumn(0, "all") == "A")
- {
- ds_detail_deptstocklist.setColumn(e.row, "allsearchchk", "A");
- }
- else
- {
- ds_detail_deptstocklist.setColumn(e.row, "allsearchchk", "");
- }
-
- ds_temp_deptstocklist.copyRow(0, ds_detail_deptstocklist, e.row);
-
- var objArg = new Object();
- objArg.arg_ds_send = ds_temp_deptstocklist;
-
- frmf_modal("SPRSO20800", "SPRSO20800", objArg, "", "", "", "", "", "", "", "", "", "M");
- }
- function chk_allsearch_onclick(obj:CheckBox, e:ClickEventInfo)
- {
- if(obj.value == "A")
- {
- }
- else
- {
- ds_send_etcsearch.setColumn(0, "all", "");
- }
- }
- function btn_saveexcel_onclick(obj:Button, e:ClickEventInfo)
- {
- grdf_exportExcel(grd_stock, "excel", false, false, "", "user", false);
- }
- function button3_onclick(obj:Button, e:ClickEventInfo)
- {
- frmf_modal("SMRSO23500", "SMRSO23500", "", "", "", "", "", "", "", "", "", "", "M");
- }
- function btn_specialmngt_onclick(obj:Button, e:ClickEventInfo)
- {
- frmf_modal("SMRSO23400", "SMRSO23400", "", "", "", "", "", "", "", "", "", "", "M");
- }
- function btn_help_onclick(obj:Button, e:ClickEventInfo)
- {
- frmf_modal("SMRSO22601", "SMRSO22601", "", "", "", "", "", "", "", "", "", "", "M");
- }
- function button2_onclick(obj:Button, e:ClickEventInfo)
- {
- var objDOM = rptf_createDOM();
- rptf_setNodeListToDOM(objDOM, "/root/main/stocklist", ds_main_stocklist);
- var objParam = new Object();
- objParam.xml_data_XML1 = objDOM.documentElement.source;
- var option = "";
- rptf_exeReportPreview30(["RPRSO22601"],[objParam], option);
- }
- function btn_save_onclick(obj:Button, e:ClickEventInfo)
- {
- ds_popdelive.setColumn(0, "instcd", grp_search.cmb_instcd.value);
- ds_popdelive.setColumn(0, "delivedd", grp_search.ipt_dd.value);
- ds_popdelive.setColumn(0, "delivedeptcd", grp_search.ipt_dutdeptcd.value);
- ds_popdelive.setColumn(0, "delivedeptnm", grp_search.ipt_dutdeptnm.value);
- ds_popdelive.setColumn(0, "opener", "jaegosearch");
-
- var objArg = new Object();
- objArg.arg_ds_popdata = ds_popdelive;
-
- frmf_modal("SMRSO22700", "SMRSO22700", objArg, "", "", "", "", "", "", "", "", "", "M");
- }
- ]]></Script>
- </Form>
- </FDL>
|