123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMMNP05400" position="absolute 0 0 1197 753" titletext="가납물품입고" oninit="SMMNP05400_oninit" onload="SMMNP05400_onload">
- <Layouts>
- <Layout>
- <Static id="caption6" text="가납물품입고" class="tit_1" position="absolute 0 0 248 25"/>
- <Div id="group2" anchor="left top right" taborder="1" class="div_SA" position="absolute 0 25 1195 85">
- <Layouts>
- <Layout>
- <Static id="caption3" text="입고일자 :" class="search_name" position="absolute 15 9 101 26"/>
- <Button id="btn_search" taborder="1" text="조회" class="btn1" position="absolute 1036 19 1092 41" anchor="top right" onclick="group2_btn_search_onclick"/>
- <Shape id="line3" linetype="vertical" class="line_4" position="absolute 1022 18 1028 42" anchor="top right"/>
- <Static id="caption8" text="~" class="search_n_b" position="absolute 226 11 238 28"/>
- <Calendar id="ipt_winfromdd" taborder="2" autoselect="true" autoskip="true" class="input_s_essential" position="absolute 105 8 215 27"/>
- <Calendar id="ipt_wintodd" taborder="3" autoselect="true" autoskip="true" class="input_s_essential" position="absolute 248 8 353 27"/>
- <Static id="caption9" text="가납물품 :" class="search_name" position="absolute 15 33 101 50"/>
- <Button id="btn_excelsave" taborder="4" text="엑셀저장" class="btn1" position="absolute 1096 19 1176 41" anchor="top right" onclick="group2_btn_excelsave_onclick"/>
- <Edit id="ipt_goodcd" taborder="5" autoselect="true" autoskip="true" class="input_search" position="absolute 105 32 215 51" onkeyup="group2_ipt_goodcd_onkeyup"/>
- <Button id="btn_goodsearch" taborder="6" class="icon_search" position="absolute 224 33 240 49" onclick="group2_btn_goodsearch_onclick"/>
- <Edit id="ipt_goodnm" taborder="7" autoselect="true" autoskip="true" class="input_search" position="absolute 248 32 505 51" onkeydown="group2_ipt_goodnm_onkeydown"/>
- <Static id="caption7" text="부서구분 :" class="search_name" position="absolute 570 9 656 26"/>
- <Radio id="radio1" taborder="8" columncount="3" rowcount="0" codecolumn="codecolumn" datacolumn="datacolumn" position="absolute 665 7 810 27">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">O</Col>
- <Col id="datacolumn">수술</Col>
- </Row>
- <Row>
- <Col id="codecolumn">A</Col>
- <Col id="datacolumn">마취</Col>
- </Row>
- <Row>
- <Col id="codecolumn">R</Col>
- <Col id="datacolumn">회복</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- </Layout>
- </Layouts>
- </Div>
- <Tab id="switch1" taborder="2" tabindex="0" position="absolute 0 103 1195 743" anchor="all" onchanged="switch1_onchanged">
- <Tabpages>
- <Tabpage id="wingood" text="가납물품입고">
- <Layouts>
- <Layout>
- <Grid id="grd_mnphtrinlist" taborder="1" binddataset="ds_main_mnphtrininfo_mnphtrinlist" useinputpanel="false" position="absolute 0 6 1190 596" anchor="all" autoenter="select" autofittype="col" cellsizingtype="col">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="30"/>
- <Column size="75"/>
- <Column size="80"/>
- <Column size="40"/>
- <Column size="230"/>
- <Column size="90"/>
- <Column size="90"/>
- <Column size="85"/>
- <Column size="85"/>
- <Column size="45"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="65"/>
- <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/>
- <Cell col="1" text="입고일자"/>
- <Cell col="2" text="물품코드"/>
- <Cell col="3" text="SIZE"/>
- <Cell col="4" text="물품명"/>
- <Cell col="5" text="규격"/>
- <Cell col="6" text="모델"/>
- <Cell col="7" text="제조원"/>
- <Cell col="8" text="거래처"/>
- <Cell col="9" text="단위"/>
- <Cell col="10" text="집계량"/>
- <Cell col="11" text="입고량"/>
- <Cell col="12" text="미입고량"/>
- <Cell col="13" text="반납량"/>
- <Cell col="14" text="입고구분"/>
- <Cell col="15"/>
- <Cell col="16"/>
- <Cell col="17"/>
- <Cell col="18"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" expr="currow+1"/>
- <Cell col="1" displaytype="date" text="bind:windd" calendardisplaynulltype="nulltext" enable="false"/>
- <Cell col="2" text="bind:goodcd" enable="false"/>
- <Cell col="3" text="bind:allsizespecid" enable="false"/>
- <Cell col="4" text="bind:goodnm" enable="false"/>
- <Cell col="5" text="bind:goodspec" enable="false"/>
- <Cell col="6" text="bind:goodmodel" enable="false"/>
- <Cell col="7" text="bind:prodcmpynm" enable="false"/>
- <Cell col="8" text="bind:custnm" enable="false"/>
- <Cell col="9" text="bind:prcpunit" enable="false"/>
- <Cell col="10" text="bind:sumqty" enable="false"/>
- <Cell col="11" text="bind:winqty1" enable="false"/>
- <Cell col="12" text="bind:unwinqty" enable="false"/>
- <Cell col="13" text="bind:rtnqty" enable="false"/>
- <Cell col="14" displaytype="combo" style="align:center middle;" text="bind:wingubn" combodataset="ds_cmb_wingubn" combocodecol="value" combodatacol="label" enable="false"/>
- <Cell col="15" text="bind:oprsrvno"/>
- <Cell col="16" text="bind:exchqty"/>
- <Cell col="17" text="bind:ccrmngtyn"/>
- <Cell col="18" text="bind:winqty"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Shape id="line4" class="line_10" position="absolute 0 1 1190 7" anchor="left top right"/>
- </Layout>
- </Layouts>
- </Tabpage>
- <Tabpage id="goodprcplist" text="물품처방내역">
- <Layouts>
- <Layout>
- <Grid id="grd_goodprcplist" taborder="1" binddataset="ds_main_goodprcplist" useinputpanel="false" position="absolute 0 6 1190 596" anchor="all" autoenter="select" autofittype="col" cellsizingtype="col">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="30"/>
- <Column size="60"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="0"/>
- <Column size="80"/>
- <Column size="40"/>
- <Column size="325"/>
- <Column size="90"/>
- <Column size="90"/>
- <Column size="90"/>
- <Column size="55"/>
- <Column size="65"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" text="입고유무"/>
- <Cell col="2" text="등록번호"/>
- <Cell col="3" text="환자명"/>
- <Cell col="4" text="처방일자"/>
- <Cell col="5" text="집도과"/>
- <Cell col="6" text="물품코드"/>
- <Cell col="7" text="SIZE"/>
- <Cell col="8" text="물품명"/>
- <Cell col="9" text="규격"/>
- <Cell col="10" text="모델"/>
- <Cell col="11" text="제조원"/>
- <Cell col="12" text="단위"/>
- <Cell col="13" text="처방수량"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" expr="currow+1"/>
- <Cell col="1" displaytype="combo" edittype="combo" style="align:center middle;" text="bind:winyn" combodataset="ds_cmb_winyn" combocodecol="value" combodatacol="label"/>
- <Cell col="2" text="bind:pid"/>
- <Cell col="3" text="bind:patnm"/>
- <Cell col="4" text="bind:prcpdd"/>
- <Cell col="5" text="bind:perfdept"/>
- <Cell col="6" text="bind:goodcd"/>
- <Cell col="7" text="bind:allsizespecid"/>
- <Cell col="8" text="bind:goodnm"/>
- <Cell col="9" text="bind:goodspec"/>
- <Cell col="10" text="bind:goodmodel"/>
- <Cell col="11" text="bind:prodcmpynm"/>
- <Cell col="12" text="bind:prcpunit"/>
- <Cell col="13" text="bind:goodqty"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Shape id="line1" linetype="horizontal" class="line_10" position="absolute 0 1 1190 7" anchor="left top right"/>
- </Layout>
- </Layouts>
- </Tabpage>
- <Tabpage id="winqtylist" text="물품입고량내역">
- <Layouts>
- <Layout>
- <Grid id="grd_winqtylist" class="datagrid2" taborder="1" binddataset="ds_main_winqtylist" useinputpanel="false" position="absolute 0 5 1190 595" autoenter="select" autofittype="col" cellsizingtype="col" anchor="all">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="30"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="45"/>
- <Column size="310"/>
- <Column size="105"/>
- <Column size="105"/>
- <Column size="105"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="65"/>
- <Column size="65"/>
- </Columns>
- <Rows>
- <Row size="31" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" text="입고일자"/>
- <Cell col="2" text="물품코드"/>
- <Cell col="3" text="SIZE"/>
- <Cell col="4" text="물품명"/>
- <Cell col="5" text="규격"/>
- <Cell col="6" text="모델"/>
- <Cell col="7" text="제조원"/>
- <Cell col="8" text="단위"/>
- <Cell col="9" text="총재고량"/>
- <Cell col="10" text="환산수량"/>
- <Cell col="11" text="입고/반납 수량"/>
- <Cell col="12" text="입고구분"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" expr="currow+1"/>
- <Cell col="1" displaytype="date" text="bind:windd" calendardisplaynulltype="nulltext" enable="false"/>
- <Cell col="2" text="bind:goodcd" enable="false"/>
- <Cell col="3" text="bind:allsizespecid" enable="false"/>
- <Cell col="4" text="bind:goodnm" enable="false"/>
- <Cell col="5" text="bind:goodspec" enable="false"/>
- <Cell col="6" text="bind:goodmodel" enable="false"/>
- <Cell col="7" text="bind:prodcmpynm" enable="false"/>
- <Cell col="8" text="bind:prcpunit"/>
- <Cell col="9" text="bind:totqty"/>
- <Cell col="10" text="bind:exchqty"/>
- <Cell col="11" text="bind:winqty"/>
- <Cell col="12" displaytype="combo" style="align:center middle;" text="bind:wingubn" combodataset="ds_cmb_wingubn" combocodecol="value" combodatacol="label" enable="false"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Shape id="line2" linetype="horizontal" class="line_10" position="absolute 0 0 1190 6" anchor="left top right"/>
- </Layout>
- </Layouts>
- </Tabpage>
- <Tabpage id="batchgoodwin" text="물품일괄입고">
- <Layouts>
- <Layout>
- <Div id="group4" taborder="10" position="absolute 0 0 1190 40" class="div_SA2" anchor="left top right">
- <Layouts>
- <Layout>
- <Static id="caption4" text="입고일자 :" class="search_name" position="absolute 4 12 90 29" anchor="default"/>
- <Calendar id="input3" taborder="1" class="input_s_essential" position="absolute 81 11 181 30" anchor="default" autoselect="true" autoskip="true"/>
- <Static id="caption1" text="거 래 처 :" class="search_name" position="absolute 201 13 287 30" anchor="default"/>
- <Edit id="input1" taborder="2" class="input_search" position="absolute 277 11 387 30" anchor="default" autoselect="true" autoskip="true" onkeyup="switch1_batchgoodwin_group4_input1_onkeyup"/>
- <Static id="caption2" text="제조회사 :" class="search_name" position="absolute 401 13 487 30" anchor="default"/>
- <Edit id="input2" taborder="3" class="input_search" position="absolute 482 11 592 30" anchor="default" autoselect="true" autoskip="true" onkeyup="switch1_batchgoodwin_group4_input2_onkeyup"/>
- <Static id="caption5" text="가납물품 :" class="search_name" position="absolute 614 12 700 29" anchor="default"/>
- <Edit id="input4" taborder="4" class="input_search" position="absolute 695 11 785 30" anchor="default" autoselect="true" autoskip="true" onkeyup="switch1_batchgoodwin_group4_input4_onkeyup"/>
- <Button id="button5" taborder="5" class="icon_search" position="absolute 790 13 806 29" anchor="default" onclick="switch1_batchgoodwin_group4_button5_onclick"/>
- <Edit id="input5" taborder="6" class="input_search" position="absolute 810 11 960 30" anchor="default" autoselect="true" autoskip="true" onkeyup="switch1_batchgoodwin_group4_input5_onkeyup"/>
- <Button id="btn_batchwin" taborder="7" text="일괄입고" class="btn1" position="absolute 1015 10 1095 32" anchor="top right" onclick="switch1_batchgoodwin_group4_btn_batchwin_onclick"/>
- <Button id="btn_batchcncl" taborder="8" text="일괄반납" class="btn1" position="absolute 1099 10 1179 32" anchor="top right" onclick="switch1_batchgoodwin_group4_btn_batchcncl_onclick"/>
- <Shape id="line6" linetype="vertical" class="line_4" position="absolute 1001 9 1007 33" anchor="top right"/>
- </Layout>
- </Layouts>
- </Div>
- <Grid id="grd_goodwinlist" taborder="1" binddataset="ds_main_goodwinlist" useinputpanel="false" position="absolute 0 46 1190 612" autoenter="select" autofittype="col" cellsizingtype="col">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="30"/>
- <Column size="85"/>
- <Column size="40"/>
- <Column size="400"/>
- <Column size="115"/>
- <Column size="115"/>
- <Column size="110"/>
- <Column size="110"/>
- <Column size="45"/>
- <Column size="75"/>
- <Column size="35"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" text="물품코드"/>
- <Cell col="2" text="SIZE"/>
- <Cell col="3" text="물품명"/>
- <Cell col="4" text="규격"/>
- <Cell col="5" text="모델"/>
- <Cell col="6" text="제조원"/>
- <Cell col="7" text="거래처"/>
- <Cell col="8" text="단위"/>
- <Cell col="9" text="입고수량"/>
- <Cell col="10"/>
- <Cell col="11" text="누적기준수량"/>
- <Cell col="12" text="상태"/>
- <Cell col="13" text="이전수량"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" expr="currow+1"/>
- <Cell col="1" text="bind:goodcd" enable="false"/>
- <Cell col="2" text="bind:allsizespecid" enable="false"/>
- <Cell col="3" text="bind:goodnm" enable="false"/>
- <Cell col="4" text="bind:goodspec" enable="false"/>
- <Cell col="5" text="bind:goodmodel" enable="false"/>
- <Cell col="6" text="bind:prodcmpynm" enable="false"/>
- <Cell col="7" text="bind:custnm" enable="false"/>
- <Cell col="8" text="bind:prcpunit" enable="false"/>
- <Cell col="9" displaytype="number" edittype="text" text="bind:winqty"/>
- <Cell col="10" displaytype="checkbox" edittype="checkbox" text="bind:chkflag" expr="expr:chkflag == 'true' ? 1 : 0"/>
- <Cell col="11" text="bind:acmlbaseqty"/>
- <Cell col="12" text="bind:status"/>
- <Cell col="13" text="bind:oldqty"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Shape id="line5" linetype="horizontal" class="line_10" position="absolute 0 41 1190 47" anchor="left top right"/>
- </Layout>
- </Layouts>
- </Tabpage>
- </Tabpages>
- </Tab>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_main_cond" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="reffromdd" type="STRING" size="256"/>
- <Column id="reftodd" type="STRING" size="256"/>
- <Column id="goodcd" type="STRING" size="256"/>
- <Column id="goodnm" type="STRING" size="256"/>
- <Column id="windd" type="STRING" size="256"/>
- <Column id="allsizespecid" type="STRING" size="256"/>
- <Column id="tabflag" type="STRING" size="256"/>
- <Column id="custnm" type="STRING" size="256"/>
- <Column id="prodcmpynm" type="STRING" size="256"/>
- <Column id="batchwindd" type="STRING" size="256"/>
- <Column id="deptflag" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="reffromdd"/>
- <Col id="reftodd"/>
- <Col id="goodcd"/>
- <Col id="goodnm"/>
- <Col id="windd"/>
- <Col id="allsizespecid"/>
- <Col id="tabflag">A</Col>
- <Col id="custnm"/>
- <Col id="prodcmpynm"/>
- <Col id="batchwindd"/>
- <Col id="deptflag">O</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_mnphtrininfo_mnphtrinlist" 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="goodcd" type="STRING" size="256" sumtext="물품코드"/>
- <Column id="allsizespecid" type="STRING" size="256" sumtext="size"/>
- <Column id="goodspec" type="STRING" size="256" sumtext="규격"/>
- <Column id="goodnm" type="STRING" size="256" sumtext="물품명"/>
- <Column id="goodmodel" type="STRING" size="256" sumtext="모델"/>
- <Column id="prodcmpynm" type="STRING" size="256" sumtext="제조회사명"/>
- <Column id="custnm" type="STRING" size="256" sumtext="거래처"/>
- <Column id="prcpunit" type="STRING" size="256" sumtext="단위"/>
- <Column id="exchqty" type="BIGDECIMAL" size="256" sumtext="기준수량(환산량)"/>
- <Column id="winqty" type="INT" size="256" sumtext="입고수량"/>
- <Column id="ccrmngtyn" type="STRING" size="256" sumtext="CCR관리여부"/>
- <Column id="sumqty" type="INT" size="256" sumtext="총합계"/>
- <Column id="winqty1" type="INT" size="256" sumtext="총입고량"/>
- <Column id="unwinqty" type="INT" size="256" sumtext="미입고량"/>
- <Column id="rtnqty" type="INT" size="256" sumtext="반납량"/>
- <Column id="wingubn" type="STRING" size="256" sumtext="입고구분(1:일반입고, 2:일괄입고, 3:일괄반납)"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_goodprcplist" 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="allsizespecid" type="STRING" size="256" sumtext="size"/>
- <Column id="goodspec" type="STRING" size="256" sumtext="규격"/>
- <Column id="goodnm" type="STRING" size="256" sumtext="물품명"/>
- <Column id="goodmodel" type="STRING" size="256" sumtext="모델"/>
- <Column id="prodcmpynm" type="STRING" size="256" sumtext="제조회사명"/>
- <Column id="prcpunit" type="STRING" size="256" sumtext="단위"/>
- <Column id="goodqty" type="INT" size="256" sumtext="처방수량"/>
- <Column id="prcpdd" type="STRING" size="256" sumtext="처방일자"/>
- <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
- <Column id="patnm" type="STRING" size="256" sumtext="환자명"/>
- <Column id="winyn" type="STRING" size="256" sumtext="입고유무"/>
- <Column id="perfdept" type="STRING" size="256" sumtext="집도과"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_winqtylist" 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="allsizespecid" type="STRING" size="256" sumtext="size"/>
- <Column id="goodspec" type="STRING" size="256" sumtext="규격"/>
- <Column id="goodnm" type="STRING" size="256" sumtext="물품명"/>
- <Column id="goodmodel" type="STRING" size="256" sumtext="모델"/>
- <Column id="prodcmpynm" type="STRING" size="256" sumtext="제조회사명"/>
- <Column id="prcpunit" type="STRING" size="256" sumtext="단위"/>
- <Column id="totqty" type="INT" size="256" sumtext="총재고량"/>
- <Column id="winqty" type="INT" size="256" sumtext="입고수량"/>
- <Column id="exchqty" type="INT" size="256" sumtext="환산수량"/>
- <Column id="windd" type="STRING" size="256" sumtext="입고일자"/>
- <Column id="wingubn" type="STRING" size="256" sumtext="입고구분(1:일반입고, 2:일괄입고, 3:일괄반납)"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_goodwinlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_main_goodwinlist_oncolumnchanged">
- <ColumnInfo>
- <Column id="chkflag" type="STRING" size="256" sumtext="체크구분"/>
- <Column id="goodcd" type="STRING" size="256" sumtext="물품코드"/>
- <Column id="allsizespecid" type="STRING" size="256" sumtext="size"/>
- <Column id="goodspec" type="STRING" size="256" sumtext="규격"/>
- <Column id="goodnm" type="STRING" size="256" sumtext="물품명"/>
- <Column id="goodmodel" type="STRING" size="256" sumtext="모델"/>
- <Column id="prodcmpynm" type="STRING" size="256" sumtext="제조회사명"/>
- <Column id="custnm" type="STRING" size="256" sumtext="거래처"/>
- <Column id="prcpunit" type="STRING" size="256" sumtext="단위"/>
- <Column id="winqty" type="INT" size="256" sumtext="입고수량"/>
- <Column id="status" type="STRING" size="256" sumtext="상태값"/>
- <Column id="oldqty" type="INT" size="256" sumtext="이전입고수량"/>
- <Column id="acmlbaseqty" type="INT" size="256" sumtext="기준수량"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_temp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="winflag" type="STRING" size="256"/>
- <Column id="refflag" type="STRING" size="256"/>
- <Column id="chkcncl" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_send_reqdata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_cmb_wingubn" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="label" type="STRING" size="256"/>
- <Column id="value" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="label">일반입고</Col>
- <Col id="value">1</Col>
- </Row>
- <Row>
- <Col id="label">일괄입고</Col>
- <Col id="value">2</Col>
- </Row>
- <Row>
- <Col id="label">일괄반납</Col>
- <Col id="value">3</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_cmb_winyn" 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">9</Col>
- </Row>
- <Row>
- <Col id="label">무</Col>
- <Col id="value">0</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_send_savedata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="group2.ipt_winfromdd" propid="value" datasetid="ds_main_cond" columnid="reffromdd"/>
- <BindItem id="item1" compid="group2.ipt_wintodd" propid="value" datasetid="ds_main_cond" columnid="reftodd"/>
- <BindItem id="item2" compid="group2.radio1" propid="value" datasetid="ds_main_cond" columnid="deptflag"/>
- <BindItem id="item3" compid="group2.ipt_goodcd" propid="value" datasetid="ds_main_cond" columnid="goodcd"/>
- <BindItem id="item4" compid="group2.ipt_goodnm" propid="value" datasetid="ds_main_cond" columnid="goodnm"/>
- <BindItem id="item5" compid="switch1.batchgoodwin.group4.input3" propid="value" datasetid="ds_main_cond" columnid="batchwindd"/>
- <BindItem id="item6" compid="switch1.batchgoodwin.group4.input1" propid="value" datasetid="ds_main_cond" columnid="custnm"/>
- <BindItem id="item7" compid="switch1.batchgoodwin.group4.input2" propid="value" datasetid="ds_main_cond" columnid="prodcmpynm"/>
- <BindItem id="item8" compid="switch1.batchgoodwin.group4.input4" propid="value" datasetid="ds_main_cond" columnid="goodcd"/>
- <BindItem id="item9" compid="switch1.batchgoodwin.group4.input5" propid="value" datasetid="ds_main_cond" columnid="goodnm"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name :
- * Job Name :
- * Creator :
- * Make Date : 2016-10-12
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2016-10-12 Live Converter TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- include "com_commonxp::comm_main.xjs";
- include "emr_opanstxp::SMMNP05400.xjs";
- var xPathDataA = ds_main_mnphtrininfo_mnphtrinlist;
- var xPathDataB = ds_main_goodprcplist;
- var xPathDataC = ds_main_winqtylist;
- var xPathDataD = ds_main_goodwinlist;
- var xSendReqData = ds_send_reqdata;
- var xSendSaveData = ds_send_savedata;
- var xCondData = ds_main_cond;
- //var xErrMsg = "/root/properties/error/msg";
- var xTempData = ds_temp;
- function SMMNP05400_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj);
- }
- function SMMNP05400_onload(obj:Form, e:LoadEventInfo)
- {
- grdf_initGrid(switch1.wingood.grd_mnphtrinlist);
- grdf_initGrid(switch1.goodprcplist.grd_goodprcplist);
- grdf_initGrid(switch1.winqtylist.grd_winqtylist);
- grdf_initGrid(switch1.batchgoodwin.grd_goodwinlist);
-
- fInit();
- }
- function group2_ipt_goodcd_onkeyup(obj:Edit, e:KeyEventInfo)
- {
- if(e.keycode == 13)
- {
- obj.updateToDataset();
- fGoodcd_onkeyup();
- }
- }
- function group2_btn_goodsearch_onclick(obj:Button, e:ClickEventInfo)
- {
- fPopup();
- }
- function group2_ipt_goodnm_onkeydown(obj:Edit, e:KeyEventInfo)
- {
- if(e.keycode == 13)
- {
- obj.updateToDataset();
- fGoodnm_onkeyup();
- }
- }
- function group2_btn_search_onclick(obj:Button, e:ClickEventInfo)
- {
- fList_Read();
- }
- function group2_btn_excelsave_onclick(obj:Button, e:ClickEventInfo)
- {
- fExcel_Save();
- }
- function switch1_onchanged(obj:Tab, e:TabIndexChangeEventInfo)
- {
- if(obj.tabindex == 0)
- {
- ds_main_cond.setColumn(0, "tabflag", "A");
- }
- else if(obj.tabindex == 1)
- {
- ds_main_cond.setColumn(0, "tabflag", "B");
- }
- else if(obj.tabindex == 2)
- {
- ds_main_cond.setColumn(0, "tabflag", "C");
- }
- else if(obj.tabindex == 3)
- {
- ds_main_cond.setColumn(0, "tabflag", "D");
- }
- }
- function switch1_batchgoodwin_group4_input1_onkeyup(obj:Edit, e:KeyEventInfo)
- {
- if(e.keycode == 13)
- {
- obj.updateToDataset();
- group2.btn_search.click();
- }
- }
- function switch1_batchgoodwin_group4_input2_onkeyup(obj:Edit, e:KeyEventInfo)
- {
- if(e.keycode == 13)
- {
- obj.updateToDataset();
- group2.btn_search.click();
- }
- }
- function switch1_batchgoodwin_group4_input4_onkeyup(obj:Edit, e:KeyEventInfo)
- {
- if(e.keycode == 13)
- {
- obj.updateToDataset();
- fGoodcd_onkeyup();
- }
- }
- function switch1_batchgoodwin_group4_button5_onclick(obj:Button, e:ClickEventInfo)
- {
- fPopup();
- }
- function switch1_batchgoodwin_group4_input5_onkeyup(obj:Edit, e:KeyEventInfo)
- {
- if(e.keycode == 13)
- {
- obj.updateToDataset();
- fGoodnm_onkeyup();
- }
- }
- function switch1_batchgoodwin_group4_btn_batchwin_onclick(obj:Button, e:ClickEventInfo)
- {
- fBatchWin();
- }
- function ds_main_goodwinlist_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
- {
- if(e.columnid == "chkflag")
- {
- obj.setColumn(e.row, "chkflag", (e.newvalue == "true" || e.newvalue == 1) ? "true" : "false");
- }
- }
- function switch1_batchgoodwin_group4_btn_batchcncl_onclick(obj:Button, e:ClickEventInfo)
- {
- fBatchRtn();
- }
- ]]></Script>
- </Form>
- </FDL>
|