123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMMNP04900" position="absolute 0 0 1202 758" titletext="물품입고관리" oninit="SMMNP04900_oninit" onload="SMMNP04900_onload">
- <Layouts>
- <Layout>
- <Div position="absolute 0 25 1194 85" align="align:center top;" id="group2" class="div_SA">
- <Layouts>
- <Layout>
- <Static text="청구일자 :" position="absolute 2 9 88 28" id="caption3" class="search_name"/>
- <Button position="absolute 1110 7 1166 29" id="btn_search" class="btn1" text="조회" onclick="group2_btn_search_onclick"/>
- <Shape position="absolute 1102 10 1108 52" linetype="vertical" id="line3" class="line_4"/>
- <Static text="~" position="absolute 186 9 198 28" id="caption8" class="search_n_b"/>
- <Calendar position="absolute 90 9 180 28" id="ipt_reqfromdd" class="input_s_essential" autoselect="true"/>
- <Calendar position="absolute 203 9 293 28" id="ipt_reqtodd" class="input_s_essential" autoselect="true"/>
- <Static text="물품조회 :" position="absolute 630 35 716 54" id="caption9" class="search_name"/>
- <Button position="absolute 1110 32 1190 54" id="btn_excelsave" class="btn7" text="엑셀저장" onclick="group2_btn_excelsave_onclick"/>
- <Edit position="absolute 720 35 800 54" id="ipt_goodcd" class="input_search" autoselect="true" onkeydown="group2_ipt_goodcd_onkeydown"/>
- <Button position="absolute 804 36 820 52" id="btn_goodsearch" class="icon_search" text="" onclick="group2_btn_goodsearch_onclick"/>
- <Edit position="absolute 825 35 990 54" id="ipt_goodnm" class="input_search" autoselect="true" onkeydown="group2_ipt_goodnm_onkeydown"/>
- <Static text="집계구분 :" position="absolute 315 35 404 54" id="caption12" class="search_name"/>
- <Radio position="absolute 405 35 620 54" id="rdo_reqprid" class="radio_search" columncount="4" codecolumn="codecolumn" datacolumn="datacolumn">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">0</Col>
- <Col id="datacolumn">전체</Col>
- </Row>
- <Row>
- <Col id="codecolumn">1</Col>
- <Col id="datacolumn">일집계</Col>
- </Row>
- <Row>
- <Col id="codecolumn">4</Col>
- <Col id="datacolumn">월집계</Col>
- </Row>
- <Row>
- <Col id="codecolumn">2</Col>
- <Col id="datacolumn">주집계</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- <Static text="입고구분 :" position="absolute 2 35 91 54" id="caption1" class="search_name"/>
- <Radio position="absolute 90 35 305 54" id="rdo_endflag" class="radio_search" columncount="4" codecolumn="codecolumn" datacolumn="datacolumn">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">
- </Col>
- <Col id="datacolumn">전체</Col>
- </Row>
- <Row>
- <Col id="codecolumn">Y</Col>
- <Col id="datacolumn">입고</Col>
- </Row>
- <Row>
- <Col id="codecolumn">N</Col>
- <Col id="datacolumn">미입고</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- <Static text="조회구분 :" position="absolute 315 9 404 28" id="caption2" class="search_name"/>
- <Radio position="absolute 405 9 545 28" id="radio1" class="radio_search" columncount="3" codecolumn="codecolumn" datacolumn="datacolumn">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">
- </Col>
- <Col id="datacolumn">전체</Col>
- </Row>
- <Row>
- <Col id="codecolumn">1</Col>
- <Col id="datacolumn">청구</Col>
- </Row>
- <Row>
- <Col id="codecolumn">2</Col>
- <Col id="datacolumn">처방</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- <Static text="부서구분 :" position="absolute 855 9 944 28" id="caption4" class="search_name"/>
- <Radio position="absolute 945 9 1080 28" id="radio2" class="radio_search" columncount="3" codecolumn="codecolumn" datacolumn="datacolumn" onitemchanged="group2_radio2_onitemchanged">
- <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>
- <Button position="absolute 995 35 1048 54" id="button1" class="btn2" text="초기화" onclick="group2_button1_onclick"/>
- <Static text="청구방법 :" position="absolute 570 9 659 28" id="caption5" class="search_name"/>
- <Radio position="absolute 660 9 840 28" id="radio3" columncount="-1" codecolumn="codecolumn" datacolumn="datacolumn" rowcount="-1">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">
- </Col>
- <Col id="datacolumn">전체</Col>
- </Row>
- <Row>
- <Col id="codecolumn">1</Col>
- <Col id="datacolumn">처방집계</Col>
- </Row>
- <Row>
- <Col id="codecolumn">3</Col>
- <Col id="datacolumn">일반청구</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- </Layout>
- </Layouts>
- </Div>
- <Tab position="absolute 0 92 1195 754" id="switch1" onchanged="switch1_onchanged">
- <Tabpages>
- <Tabpage text="구 매" position="absolute 0 0 1194 629" id="case1">
- <Layouts>
- <Layout>
- <Grid position="absolute 0 7 1194 629" id="grd_purclist" class="datagrid2" binddataset="ds_main_rsdhdemdinfo_rsdhdemdlist" autoenter="key" cellclickbound="cell" cellsizebandtype="allband" cellsizingtype="col">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="24"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="37"/>
- <Column size="260"/>
- <Column size="110"/>
- <Column size="100"/>
- <Column size="95"/>
- <Column size="55"/>
- <Column size="45"/>
- <Column size="45"/>
- <Column size="35"/>
- <Column size="45"/>
- <Column size="55"/>
- <Column size="100"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="27" 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" displaytype="checkbox" edittype="checkbox"/>
- <Cell col="12" text="입고 수량"/>
- <Cell col="13" text="재고 반영"/>
- <Cell col="14" text="비고"/>
- <Cell col="15"/>
- <Cell col="16"/>
- <Cell col="17"/>
- <Cell col="18"/>
- <Cell col="19"/>
- <Cell col="20"/>
- <Cell col="21"/>
- <Cell col="22"/>
- <Cell col="23"/>
- <Cell col="24"/>
- <Cell col="25"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" expr="currow + 1"/>
- <Cell col="1" displaytype="date" text="bind:reqdd" mask="yyyy-mm-dd" calendardisplaynulltype="none"/>
- <Cell col="2" text="bind:goodcd"/>
- <Cell col="3" text="bind:allsizespecid"/>
- <Cell col="4" style="align:left top;padding:5 2 1 2;" text="bind:goodnm" wordwrap="word"/>
- <Cell col="5" style="align:left top;padding:5 2 1 2;" text="bind:goodspec" wordwrap="word"/>
- <Cell col="6" style="align:left top;padding:5 2 1 2;" text="bind:goodmodel" wordwrap="word"/>
- <Cell col="7" style="align:left top;padding:5 2 1 2;" text="bind:prodcmpynm" wordwrap="word"/>
- <Cell col="8" text="bind:prcpunit"/>
- <Cell col="9" displaytype="number" text="bind:reqqty"/>
- <Cell col="10" displaytype="number" text="bind:deliveqty"/>
- <Cell col="11" displaytype="checkbox" edittype="checkbox" text="bind:chkflag" expr="expr:chkflag == 'true' || chkflag == '1' ? '1' : '0'"/>
- <Cell col="12" displaytype="number" edittype="text" text="bind:winqty" editautoselect="true"/>
- <Cell col="13" displaytype="combo" edittype="none" style="padding:1 2 1 2;" text="bind:opinflag" combodataset="ds_cbo_opinflag" combocodecol="value" combodatacol="label" enable="false"/>
- <Cell col="14" displaytype="text" edittype="text" text="bind:cmt"/>
- <Cell col="15" text="bind:goodflag"/>
- <Cell col="16" text="bind:reqmthd"/>
- <Cell col="17" text="bind:reqdeptcd"/>
- <Cell col="18" text="bind:deliveno"/>
- <Cell col="19" text="bind:deliveseqno"/>
- <Cell col="20" text="bind:reqno"/>
- <Cell col="21" text="bind:reqseqno"/>
- <Cell col="22" text="bind:reqflag"/>
- <Cell col="23" text="bind:bfwinqty"/>
- <Cell col="24" text="bind:opprocflag"/>
- <Cell col="25" text="bind:prcpexchqty"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Shape position="absolute 0 2 1194 8" linetype="horizontal" id="line4" class="line_10"/>
- </Layout>
- </Layouts>
- </Tabpage>
- <Tabpage text="수 탁" position="absolute 0 0 1194 629" id="case2">
- <Layouts>
- <Layout>
- <Grid position="absolute 0 7 1194 629" id="grd_trustlist" class="datagrid2" binddataset="ds_main_rsdhdemdinfo_rsdhdemdlist" cellclickbound="cell" cellsizebandtype="allband" cellsizingtype="col">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="24"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="37"/>
- <Column size="260"/>
- <Column size="110"/>
- <Column size="100"/>
- <Column size="95"/>
- <Column size="55"/>
- <Column size="45"/>
- <Column size="45"/>
- <Column size="35"/>
- <Column size="45"/>
- <Column size="55"/>
- <Column size="100"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="27" 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" displaytype="checkbox" edittype="checkbox"/>
- <Cell col="12" text="입고 수량"/>
- <Cell col="13" text="재고 반영"/>
- <Cell col="14" text="비고"/>
- <Cell col="15"/>
- <Cell col="16"/>
- <Cell col="17"/>
- <Cell col="18"/>
- <Cell col="19"/>
- <Cell col="20"/>
- <Cell col="21"/>
- <Cell col="22"/>
- <Cell col="23"/>
- <Cell col="24"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" expr="currow + 1"/>
- <Cell col="1" displaytype="date" text="bind:reqdd" calendardisplaynulltype="none"/>
- <Cell col="2" text="bind:goodcd"/>
- <Cell col="3" text="bind:allsizespecid"/>
- <Cell col="4" style="align:left top;padding:5 2 1 2;" text="bind:goodnm" wordwrap="word"/>
- <Cell col="5" style="align:left top;padding:5 2 1 2;" text="bind:goodspec" wordwrap="word"/>
- <Cell col="6" style="align:left top;padding:5 2 1 2;" text="bind:goodmodel" wordwrap="word"/>
- <Cell col="7" style="align:left top;padding:5 2 1 2;" text="bind:prodcmpynm" wordwrap="word"/>
- <Cell col="8" text="bind:prcpunit"/>
- <Cell col="9" displaytype="number" text="bind:reqqty"/>
- <Cell col="10" displaytype="number" text="bind:deliveqty"/>
- <Cell col="11" displaytype="checkbox" edittype="checkbox" text="bind:chkflag" expr="expr:chkflag == 'true' || chkflag == '1' ? '1' : '0'"/>
- <Cell col="12" displaytype="number" edittype="text" text="bind:winqty" editautoselect="true"/>
- <Cell col="13" displaytype="combo" edittype="none" text="bind:opinflag" combodataset="ds_cbo_opinflag" combocodecol="value" combodatacol="label" enable="false"/>
- <Cell col="14" displaytype="text" edittype="text" style="align:left top;padding:5 2 1 2;" text="bind:cmt" wordwrap="word"/>
- <Cell col="15" text="bind:goodflag"/>
- <Cell col="16" text="bind:reqmthd"/>
- <Cell col="17" text="bind:reqdeptcd"/>
- <Cell col="18" text="bind:deliveno"/>
- <Cell col="19" text="bind:deliveseqno"/>
- <Cell col="20" text="bind:reqno"/>
- <Cell col="21" text="bind:reqseqno"/>
- <Cell col="22" text="bind:reqflag"/>
- <Cell col="23" text="bind:bfwinqty"/>
- <Cell col="24" text="bind:opprocflag"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Shape position="absolute 0 2 1194 8" linetype="horizontal" id="line1" class="line_10"/>
- </Layout>
- </Layouts>
- </Tabpage>
- <Tabpage text="가 납" position="absolute 0 0 1194 629" id="case3">
- <Layouts>
- <Layout>
- <Grid position="absolute 0 7 1194 629" id="grd_depositlist" class="datagrid2" binddataset="ds_main_rsdhdemdinfo_rsdhdemdlist" cellclickbound="cell" cellsizebandtype="allband" cellsizingtype="col">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="24"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="37"/>
- <Column size="260"/>
- <Column size="110"/>
- <Column size="100"/>
- <Column size="95"/>
- <Column size="55"/>
- <Column size="45"/>
- <Column size="45"/>
- <Column size="35"/>
- <Column size="45"/>
- <Column size="55"/>
- <Column size="100"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="27" 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" displaytype="checkbox" edittype="checkbox"/>
- <Cell col="12" text="입고 수량"/>
- <Cell col="13" text="재고 반영"/>
- <Cell col="14" text="비고"/>
- <Cell col="15"/>
- <Cell col="16"/>
- <Cell col="17"/>
- <Cell col="18"/>
- <Cell col="19"/>
- <Cell col="20"/>
- <Cell col="21"/>
- <Cell col="22"/>
- <Cell col="23"/>
- <Cell col="24"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" expr="currow + 1"/>
- <Cell col="1" displaytype="date" text="bind:reqdd" calendardisplaynulltype="none"/>
- <Cell col="2" text="bind:goodcd"/>
- <Cell col="3" text="bind:allsizespecid"/>
- <Cell col="4" style="align:left top;padding:5 2 1 2;" text="bind:goodnm" wordwrap="word"/>
- <Cell col="5" style="align:left top;padding:5 2 1 2;" text="bind:goodspec" wordwrap="word"/>
- <Cell col="6" style="align:left top;padding:5 2 1 2;" text="bind:goodmodel" wordwrap="word"/>
- <Cell col="7" style="align:left top;padding:5 2 1 2;" text="bind:prodcmpynm" wordwrap="word"/>
- <Cell col="8" text="bind:prcpunit"/>
- <Cell col="9" displaytype="number" text="bind:reqqty"/>
- <Cell col="10" displaytype="number" text="bind:deliveqty"/>
- <Cell col="11" displaytype="checkbox" edittype="checkbox" text="bind:chkflag" expr="expr:chkflag == 'true' || chkflag == '1' ? '1' : '0'"/>
- <Cell col="12" displaytype="number" edittype="text" text="bind:winqty" editautoselect="true"/>
- <Cell col="13" displaytype="combo" edittype="none" text="bind:opinflag" combodataset="ds_cbo_opinflag" combocodecol="value" combodatacol="label" enable="false"/>
- <Cell col="14" displaytype="text" edittype="text" style="align:left top;padding:5 2 1 2;" text="bind:cmt" wordwrap="word"/>
- <Cell col="15" text="bind:goodflag"/>
- <Cell col="16" text="bind:reqmthd"/>
- <Cell col="17" text="bind:reqdeptcd"/>
- <Cell col="18" text="bind:deliveno"/>
- <Cell col="19" text="bind:deliveseqno"/>
- <Cell col="20" text="bind:reqno"/>
- <Cell col="21" text="bind:reqseqno"/>
- <Cell col="22" text="bind:reqflag"/>
- <Cell col="23" text="bind:bfwinqty"/>
- <Cell col="24" text="bind:opprocflag"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Shape position="absolute 0 2 1194 8" linetype="horizontal" id="line2" class="line_10"/>
- </Layout>
- </Layouts>
- </Tabpage>
- <Tabpage text="신 규" position="absolute 0 0 1194 629" id="case4">
- <Layouts>
- <Layout>
- <Grid position="absolute 0 7 1194 629" id="grd_newlist" class="datagrid2" binddataset="ds_main_rsdhdemdinfo_rsdhdemdlist" cellclickbound="cell" cellsizebandtype="allband" cellsizingtype="col">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="24"/>
- <Column size="90"/>
- <Column size="90"/>
- <Column size="40"/>
- <Column size="357"/>
- <Column size="135"/>
- <Column size="125"/>
- <Column size="120"/>
- <Column size="70"/>
- <Column size="40"/>
- <Column size="60"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="27" 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" displaytype="checkbox" edittype="checkbox"/>
- <Cell col="10" text="입고 수량"/>
- <Cell col="11"/>
- <Cell col="12"/>
- <Cell col="13"/>
- <Cell col="14"/>
- <Cell col="15"/>
- <Cell col="16"/>
- <Cell col="17"/>
- <Cell col="18"/>
- <Cell col="19"/>
- <Cell col="20"/>
- <Cell col="21"/>
- <Cell col="22"/>
- <Cell col="23"/>
- <Cell col="24"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" expr="currow + 1"/>
- <Cell col="1" displaytype="date" text="bind:reqdd" calendardisplaynulltype="none"/>
- <Cell col="2" text="bind:goodcd"/>
- <Cell col="3" text="bind:allsizespecid"/>
- <Cell col="4" style="align:left top;padding:5 2 1 2;" text="bind:goodnm" wordwrap="word"/>
- <Cell col="5" style="align:left top;padding:5 2 1 2;" text="bind:goodspec" wordwrap="word"/>
- <Cell col="6" style="align:left top;padding:5 2 1 2;" text="bind:goodmodel" wordwrap="word"/>
- <Cell col="7" style="align:left top;padding:5 2 1 2;" text="bind:prodcmpynm" wordwrap="word"/>
- <Cell col="8" text="bind:prcpunit"/>
- <Cell col="9" displaytype="checkbox" edittype="checkbox" text="bind:chkflag" expr="expr:chkflag == 'true' || chkflag == '1' ? '1' : '0'"/>
- <Cell col="10" displaytype="number" edittype="text" style="background:#ccffccff;background2:#ccffccff;" text="bind:winqty" editautoselect="true"/>
- <Cell col="11" displaytype="combo" edittype="combo" text="bind:opinflag" enable="false"/>
- <Cell col="12" text="bind:cmt"/>
- <Cell col="13" text="bind:reqqty"/>
- <Cell col="14" text="bind:deliveqty"/>
- <Cell col="15" text="bind:goodflag"/>
- <Cell col="16" text="bind:reqmthd"/>
- <Cell col="17" text="bind:reqdeptcd"/>
- <Cell col="18" text="bind:deliveno"/>
- <Cell col="19" text="bind:deliveseqno"/>
- <Cell col="20" text="bind:reqno"/>
- <Cell col="21" text="bind:reqseqno"/>
- <Cell col="22" text="bind:reqflag"/>
- <Cell col="23" text="bind:bfwinqty"/>
- <Cell col="24" text="bind:opprocflag"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Shape position="absolute 0 2 1194 8" linetype="horizontal" id="line5" class="line_10"/>
- </Layout>
- </Layouts>
- </Tabpage>
- </Tabpages>
- </Tab>
- <Static id="caption6" text="물품입고관리" class="tit_1" position="absolute 0 0 248 25"/>
- <Button position="absolute 1059 95 1123 114" id="btn_cncl" class="btn2" text="입고취소" onclick="btn_cncl_onclick"/>
- <Button position="absolute 780 95 822 114" id="btn_cnfm" class="btn2" visible="false" text="확정" onclick="btn_cnfm_onclick"/>
- <Button position="absolute 1126 95 1190 114" id="btn_save" class="btn2" text="입고저장" onclick="btn_save_onclick"/>
- </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="reqfromdd" type="STRING" size="256"/>
- <Column id="reqtodd" type="STRING" size="256"/>
- <Column id="purcflag" type="STRING" size="256"/>
- <Column id="goodcd" type="STRING" size="256"/>
- <Column id="goodnm" type="STRING" size="256"/>
- <Column id="reqprid" type="STRING" size="256"/>
- <Column id="endflag" type="STRING" size="256"/>
- <Column id="allsizespecid" type="STRING" size="256"/>
- <Column id="deptflag" type="STRING" size="256"/>
- <Column id="reqmthd" type="STRING" size="256"/>
- <Column id="reqdeptcd" type="STRING" size="256"/>
- <Column id="refflag" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="reqfromdd"/>
- <Col id="reqtodd"/>
- <Col id="purcflag">1</Col>
- <Col id="goodcd"/>
- <Col id="goodnm"/>
- <Col id="reqprid">0</Col>
- <Col id="endflag">N</Col>
- <Col id="allsizespecid"/>
- <Col id="deptflag">O</Col>
- <Col id="reqmthd"/>
- <Col id="reqdeptcd"/>
- <Col id="refflag"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_rsdhdemdinfo_rsdhdemdlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_main_rsdhdemdinfo_rsdhdemdlist_oncolumnchanged">
- <ColumnInfo>
- <Column id="reqdd" type="STRING" size="256"/>
- <Column id="goodcd" type="STRING" size="256"/>
- <Column id="allsizespecid" type="STRING" size="256"/>
- <Column id="goodspec" type="STRING" size="256"/>
- <Column id="goodnm" type="STRING" size="256"/>
- <Column id="goodmodel" type="STRING" size="256"/>
- <Column id="prodcmpynm" type="STRING" size="256"/>
- <Column id="prcpunit" type="STRING" size="256"/>
- <Column id="reqqty" type="STRING" size="256"/>
- <Column id="deliveqty" type="STRING" size="256"/>
- <Column id="chkflag" type="STRING" size="256"/>
- <Column id="winqty" type="STRING" size="256"/>
- <Column id="opinflag" type="STRING" size="256"/>
- <Column id="cmt" type="STRING" size="256"/>
- <Column id="goodflag" type="STRING" size="256"/>
- <Column id="reqmthd" type="STRING" size="256"/>
- <Column id="reqdeptcd" type="STRING" size="256"/>
- <Column id="deliveno" type="STRING" size="256"/>
- <Column id="deliveseqno" type="STRING" size="256"/>
- <Column id="reqno" type="STRING" size="256"/>
- <Column id="reqseqno" type="STRING" size="256"/>
- <Column id="reqflag" type="STRING" size="256"/>
- <Column id="bfwinqty" type="STRING" size="256"/>
- <Column id="opprocflag" type="STRING" size="256"/>
- <Column id="prcpexchqty" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="reqdd"/>
- <Col id="goodcd"/>
- <Col id="allsizespecid"/>
- <Col id="goodspec"/>
- <Col id="goodnm"/>
- <Col id="goodmodel"/>
- <Col id="prodcmpynm"/>
- <Col id="prcpunit"/>
- <Col id="reqqty"/>
- <Col id="deliveqty"/>
- <Col id="chkflag"/>
- <Col id="winqty"/>
- <Col id="opinflag"/>
- <Col id="cmt"/>
- <Col id="goodflag"/>
- <Col id="reqmthd"/>
- <Col id="reqdeptcd"/>
- <Col id="deliveno"/>
- <Col id="deliveseqno"/>
- <Col id="reqno"/>
- <Col id="reqseqno"/>
- <Col id="reqflag"/>
- <Col id="bfwinqty"/>
- <Col id="opprocflag"/>
- <Col id="prcpexchqty"/>
- </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_send_savedata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_hidden" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_temp_refflag" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_cbo_opinflag" 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">Y</Col>
- </Row>
- <Row>
- <Col id="label">일부반영</Col>
- <Col id="value">S</Col>
- </Row>
- <Row>
- <Col id="label">미반영</Col>
- <Col id="value">N</Col>
- </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="refflag" type="STRING" size="256"/>
- <Column id="chkcncl" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="refflag"/>
- <Col id="chkcncl"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_hardcodeinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="group2.ipt_reqfromdd" propid="value" datasetid="ds_main_cond" columnid="reqfromdd"/>
- <BindItem id="item1" compid="group2.ipt_reqtodd" propid="value" datasetid="ds_main_cond" columnid="reqtodd"/>
- <BindItem id="item2" compid="group2.radio1" propid="value" datasetid="ds_main_cond" columnid="refflag"/>
- <BindItem id="item3" compid="group2.radio3" propid="value" datasetid="ds_main_cond" columnid="reqmthd"/>
- <BindItem id="item4" compid="group2.radio2" propid="value" datasetid="ds_main_cond" columnid="deptflag"/>
- <BindItem id="item5" compid="group2.rdo_endflag" propid="value" datasetid="ds_main_cond" columnid="endflag"/>
- <BindItem id="item6" compid="group2.rdo_reqprid" propid="value" datasetid="ds_main_cond" columnid="reqprid"/>
- <BindItem id="item7" compid="group2.ipt_goodcd" propid="value" datasetid="ds_main_cond" columnid="goodcd"/>
- <BindItem id="item8" compid="group2.ipt_goodnm" 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::SMMNP04900.xjs";
- var arErrorCode = new HashArray();
- function SMMNP04900_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj); //폼 초기화
- grdf_initGrid(switch1.case1.grd_purclist);
- grdf_initGrid(switch1.case2.grd_trustlist);
- grdf_initGrid(switch1.case3.grd_depositlist);
- grdf_initGrid(switch1.case4.grd_newlist);
- }
- function SMMNP04900_onload(obj:Form, e:LoadEventInfo)
- {
- fInit();
- }
- function group2_btn_search_onclick(obj:Button, e:ClickEventInfo)
- {
- fSearch();
- }
- function ds_main_rsdhdemdinfo_rsdhdemdlist_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
- {
- // ds_main_rsdhdemdinfo_rsdhdemdlist.updatecontrol = false;
- // if( ds_main_rsdhdemdinfo_rsdhdemdlist.getColumn(ds_main_rsdhdemdinfo_rsdhdemdlist.rowposition, "chkflag" == "true") ||
- // ds_main_rsdhdemdinfo_rsdhdemdlist.getColumn(ds_main_rsdhdemdinfo_rsdhdemdlist.rowposition, "chkflag" == "1")){
- // ds_main_rsdhdemdinfo_rsdhdemdlist.setColumn(ds_main_rsdhdemdinfo_rsdhdemdlist.rowposition, "chkflag", "true");
- // }else{
- // ds_main_rsdhdemdinfo_rsdhdemdlist.setColumn(ds_main_rsdhdemdinfo_rsdhdemdlist.rowposition, "chkflag", "");
- // }
- // ds_main_rsdhdemdinfo_rsdhdemdlist.updatecontrol = true;
- if( switch1.case1.grd_purclist.currentcol == switch1.case1.grd_purclist.getBindCellIndex("body", "winqty") ||
- switch1.case2.grd_trustlist.currentcol == switch1.case1.grd_purclist.getBindCellIndex("body", "winqty") ||
- switch1.case3.grd_depositlist.currentcol == switch1.case1.grd_purclist.getBindCellIndex("body", "winqty") ||
- switch1.case4.grd_newlist.currentcol == switch1.case1.grd_purclist.getBindCellIndex("body", "winqty")){
-
- ds_main_rsdhdemdinfo_rsdhdemdlist.updatecontrol = false;
-
- if( ds_main_rsdhdemdinfo_rsdhdemdlist.getColumn(ds_main_rsdhdemdinfo_rsdhdemdlist.rowposition, "winqty") > "0" ) {
- ds_main_rsdhdemdinfo_rsdhdemdlist.setColumn(ds_main_rsdhdemdinfo_rsdhdemdlist.rowposition, "chkflag", "1");
- }
- if( ds_main_rsdhdemdinfo_rsdhdemdlist.getColumn(ds_main_rsdhdemdinfo_rsdhdemdlist.rowposition, "winqty") != ds_main_rsdhdemdinfo_rsdhdemdlist.getColumn(ds_main_rsdhdemdinfo_rsdhdemdlist.rowposition, "bfwinqty") ) {
- ds_main_rsdhdemdinfo_rsdhdemdlist.setColumn(ds_main_rsdhdemdinfo_rsdhdemdlist.rowposition, "chkflag", "1");//이전수량과 틀릴때 체크
- }
- if( ds_main_rsdhdemdinfo_rsdhdemdlist.getColumn(ds_main_rsdhdemdinfo_rsdhdemdlist.rowposition, "winqty") == "0" ) {//입고수량이 0일때 미체크
- ds_main_rsdhdemdinfo_rsdhdemdlist.setColumn(ds_main_rsdhdemdinfo_rsdhdemdlist.rowposition, "chkflag", "0");
- }
- ds_main_rsdhdemdinfo_rsdhdemdlist.updatecontrol = true;
- }
- }
- function switch1_onchanged(obj:Tab, e:TabIndexChangeEventInfo)
- {
- if(switch1.tabindex == 0){
- ds_main_rsdhdemdinfo_rsdhdemdlist.clearData();
- ds_main_cond.setColumn(0, "purcflag", "1");
- btn_cncl.visible = true;
- btn_save.visible = true;
- }else if(switch1.tabindex == 1){
- ds_main_rsdhdemdinfo_rsdhdemdlist.clearData();
- ds_main_cond.setColumn(0, "purcflag", "2");
- btn_cncl.visible = true;
- btn_save.visible = true;
- }else if(switch1.tabindex == 2){
- ds_main_rsdhdemdinfo_rsdhdemdlist.clearData();
- ds_main_cond.setColumn(0, "purcflag", "3");
- btn_cncl.visible = true;
- btn_save.visible = true;
- }else if(switch1.tabindex == 3){
- ds_main_rsdhdemdinfo_rsdhdemdlist.clearData();
- ds_main_cond.setColumn(0, "purcflag", "N");
- btn_cncl.visible = false;
- btn_save.visible = true;
- }
- }
- function group2_radio2_onitemchanged(obj:Radio, e:ItemChangeEventInfo)
- {
- ds_send_reqdata.clearData();
-
- dsf_makeValue(ds_send_reqdata, "cdgrupid", "string", "093");//퇴실장소
- dsf_makeValue(ds_send_reqdata, "supcdid", "string", "");//서브구분
- dsf_makeValue(ds_send_reqdata, "cdid", "string", ds_main_cond.getColumn(0, "deptflag"));//서브구분
- var oParam = {};
- oParam.id = "TRMNP04903";
- oParam.service = "opanstapp.OpAnstRef";
- oParam.method = "reqGetOpCommonCd";
- oParam.inds = "reqdata=ds_send_reqdata";
- oParam.outds = "ds_init_hardcodeinfo=hardcodeinfo";
- oParam.async = false;
- tranf_submit(oParam);
-
- ds_main_cond.setColumn(0, "reqdeptcd", ds_init_hardcodeinfo.getColumn(0, "cdnm"));
- }
- function group2_ipt_goodcd_onkeydown(obj:Edit, e:KeyEventInfo)
- {
- if(e.keycode == 13){
- group2_btn_search_onclick();
- }
- }
- function group2_btn_goodsearch_onclick(obj:Button, e:ClickEventInfo)
- {
- fPopup();
- }
- function group2_ipt_goodnm_onkeydown(obj:Edit, e:KeyEventInfo)
- {
- if(e.keycode == 13){
- group2_btn_search_onclick();
- }
- }
- function group2_button1_onclick(obj:Button, e:ClickEventInfo)
- {
- ds_main_cond.setColumn(0, "goodcd", "");
- ds_main_cond.setColumn(0, "goodnm", "");
- ds_main_cond.setColumn(0, "allsizespecid", "");
- }
- function group2_btn_excelsave_onclick(obj:Button, e:ClickEventInfo)
- {
- if( ds_main_cond.getColumn(0, "purcflag") == "1" ) {//구매
- grdf_exportExcel(switch1.case1.grd_purclist, "구매" + utlf_getCurrentDate(), "sheetname1" , true, "" , "" , true);
- }else if( ds_main_cond.getColumn(0, "purcflag") == "2" ) {//수탁
- grdf_exportExcel(switch1.case2.grd_trustlist, "수탁" + utlf_getCurrentDate(), "sheetname1" , true, "" , "" , true);
- }else if( ds_main_cond.getColumn(0, "purcflag") == "3" ) {//가납
- grdf_exportExcel(switch1.case3.grd_depositlist, "가납" + utlf_getCurrentDate(), "sheetname1" , true, "" , "" , true);
- }else if( ds_main_cond.getColumn(0, "purcflag") == "N" ) {//신규
- grdf_exportExcel(switch1.case4.grd_newlist, "신규" + utlf_getCurrentDate(), "sheetname1" , true, "" , "" , true);
- }
- }
- function btn_cnfm_onclick(obj:Button, e:ClickEventInfo)
- {
- fSaveCnfm();
- }
- function btn_cncl_onclick(obj:Button, e:ClickEventInfo)
- {
- fSaveCncl();
- }
- function btn_save_onclick(obj:Button, e:ClickEventInfo)
- {
- fSaveCnfm();
- }
- ]]></Script>
- </Form>
- </FDL>
|