123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMRST03200" position="absolute 0 0 1256 805" titletext="거래처별 입고금액 현황(약품)" oninit="SMRST03200_oninit" onload="SMRST03200_onload">
- <Layouts>
- <Layout>
- <Shape position="absolute 0 48 1195 109" id="roundrect1" type="roundrectangle"/>
- <Shape position="absolute 0 133 1190 139" linetype="horizontal" id="line1" class="line_10"/>
- <Grid position="absolute 0 138 1190 393" id="grd_winsuplplcecdamtlist" binddataset="ds_main_winsuplplcecdamtlist" oncelldblclick="grd_winsuplplcecdamtlist_oncelldblclick">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="24"/>
- <Column size="98"/>
- <Column size="150"/>
- <Column size="30"/>
- <Column size="152"/>
- <Column size="109"/>
- <Column size="173"/>
- <Column size="85"/>
- <Column size="126"/>
- <Column size="70"/>
- <Column size="70"/>
- <Column size="80"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- <Row size="24" band="summ"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" colspan="2" text="입고부서" taborder="undefined"/>
- <Cell col="3" colspan="2" text="대분류" taborder="undefined"/>
- <Cell col="5" text="거래처코드"/>
- <Cell col="6" text="거래처명칭"/>
- <Cell col="7" text="입고수량"/>
- <Cell col="8" text="입고금액"/>
- <Cell col="9" colspan="2" text="입고자" taborder="undefined"/>
- <Cell col="11" text="비고"/>
- <Cell col="12"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" expr="currow + 1"/>
- <Cell col="1" text="bind:windeptcd"/>
- <Cell col="2" text="bind:windeptcdnm"/>
- <Cell col="3" text="bind:lrgcd"/>
- <Cell col="4" text="bind:lrgcdnm"/>
- <Cell col="5" text="bind:suplplcecd" mask="###-##-#####" maskchar=" "/>
- <Cell col="6" style="align:left;" text="bind:suplplcenm"/>
- <Cell col="7" displaytype="number" style="align:right middle;" text="bind:winqty" mask="#,###"/>
- <Cell col="8" displaytype="number" style="align:right middle;" text="bind:winamt" mask="#,###"/>
- <Cell col="9" text="bind:winpsn"/>
- <Cell col="10" text="bind:winpsnnm"/>
- <Cell col="11"/>
- <Cell col="12" text="bind:instcd"/>
- </Band>
- <Band id="summary">
- <Cell/>
- <Cell col="1"/>
- <Cell col="2"/>
- <Cell col="3"/>
- <Cell col="4"/>
- <Cell col="5" text="- 총계"/>
- <Cell col="6"/>
- <Cell col="7" displaytype="number" style="align:right middle;" text="expr:getSum("winqty")"/>
- <Cell col="8" displaytype="number" style="align:right middle;" text="expr:getSum("winamt")"/>
- <Cell col="9"/>
- <Cell col="10"/>
- <Cell col="11"/>
- <Cell col="12"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Static text="거래처별 입고금액 리스트" position="absolute 1 117 184 134" id="caption3" class="tit_2"/>
- <Button position="absolute 1125 67 1181 89" id="btn_search" class="btn1" text="조회" onclick="btn_search_onclick"/>
- <Shape position="absolute 1107 54 1113 99" linetype="vertical" id="line13" class="line_4"/>
- <Static text="기관코드 :" position="absolute 15 57 101 74" id="cap_instcd" class="search_name"/>
- <Static text="입고일자 :" position="absolute 15 83 116 100" id="cap_winfrdd" class="search_name"/>
- <Static text="부 서 :" position="absolute 416 84 515 101" id="cap_stocdeptcd" class="search_name"/>
- <Combo position="absolute 502 84 655 103" id="cmb_stocdeptcd" class="combo_essential"/>
- <Edit readonly="true" position="absolute 100 56 250 75" id="opt_instcdnm" class="output"/>
- <Edit readonly="true" position="absolute 254 57 274 76" id="opt_instcd" visible="false" class="output"/>
- <Calendar position="absolute 238 84 352 103" id="ipt_wintodd" class="input_essential" autoselect="true"/>
- <Calendar position="absolute 100 84 214 103" id="ipt_winfrdd" class="input_essential" autoselect="true"/>
- <Static text="~" position="absolute 220 85 235 105" align="align:center middle;" id="caption22"/>
- <Edit readonly="true" position="absolute 1085 53 1105 72" id="opt_goodflag" visible="false"/>
- <Combo position="absolute 502 57 655 76" id="cmb_lrgcd" class="combo_essential"/>
- <Static text="대 분 류 :" position="absolute 416 58 505 75" id="caption40" class="search_name"/>
- <Button position="absolute 1139 113 1189 132" id="btn_excel" class="btn7" text="엑셀" onclick="btn_excel_onclick"/>
- <Radio position="absolute 805 83 1085 103" id="rdo_prtflag" 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">2158155746</Col>
- <Col id="datacolumn">보나에스거래</Col>
- </Row>
- <Row>
- <Col id="codecolumn">O</Col>
- <Col id="datacolumn">기타거래</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- <Static text="조회구분 :" position="absolute 692 82 785 99" id="cap_prtflag" class="search_name"/>
- <CheckBox position="absolute 581 113 666 133" id="ckb_winpsnyn" text="입고자" truevalue="Y" onclick="ckb_winpsnyn_onclick"/>
- <Static text="LIST 포함조건 :" position="absolute 295 113 416 130" id="caption10" class="search_name"/>
- <CheckBox position="absolute 505 113 575 133" id="ckb_lrgcdyn" text="대분류" truevalue="Y" onclick="ckb_lrgcdyn_onclick"/>
- <CheckBox position="absolute 420 113 495 133" id="ckb_windeptcdyn" text="입고부서" truevalue="Y" onclick="ckb_windeptcdyn_onclick"/>
- <Div position="absolute 0 403 1190 779" id="group2">
- <Layouts>
- <Layout>
- <Grid position="absolute 0 40 1187 369" id="grd_goodwin" binddataset="ds_main_list_goodwin_goodwinlist">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="24"/>
- <Column size="82"/>
- <Column size="81"/>
- <Column size="49"/>
- <Column size="83"/>
- <Column size="74"/>
- <Column size="84"/>
- <Column size="280"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="64"/>
- <Column size="64"/>
- <Column size="65"/>
- <Column size="85"/>
- <Column size="100"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="93"/>
- <Column size="130"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell rowspan="2" taborder="undefined"/>
- <Cell col="1" rowspan="2" text="입고일자" taborder="undefined"/>
- <Cell col="2" rowspan="2" text="입고부서" taborder="undefined"/>
- <Cell col="3" rowspan="2" text="순번" taborder="undefined"/>
- <Cell col="4" rowspan="2" text="주거래처" taborder="undefined"/>
- <Cell col="5" rowspan="2" text="입고유형" taborder="undefined"/>
- <Cell col="6" rowspan="2" text="약품코드" taborder="undefined"/>
- <Cell col="7" rowspan="2" text="약품명" taborder="undefined"/>
- <Cell col="8" text="함량"/>
- <Cell col="9" text="제조회사"/>
- <Cell col="10" colspan="2" text="낱개" taborder="undefined"/>
- <Cell col="12" colspan="2" text="포장" taborder="undefined"/>
- <Cell col="14" rowspan="2" text="입고금액" taborder="undefined"/>
- <Cell col="15" text="입고번호"/>
- <Cell col="16" text="발주번호"/>
- <Cell col="17" rowspan="2" text="입고자" taborder="undefined"/>
- <Cell col="18" rowspan="2" text="입고정보" taborder="undefined"/>
- <Cell col="19"/>
- <Cell col="20"/>
- <Cell col="21"/>
- <Cell col="22"/>
- <Cell col="23"/>
- <Cell col="24"/>
- <Cell col="25"/>
- <Cell col="26"/>
- <Cell col="27"/>
- <Cell col="28"/>
- <Cell col="29"/>
- <Cell col="30"/>
- <Cell col="31"/>
- <Cell col="32"/>
- <Cell col="33"/>
- <Cell col="34"/>
- <Cell col="35"/>
- <Cell col="36"/>
- <Cell col="37"/>
- <Cell col="38"/>
- <Cell col="39"/>
- <Cell col="40"/>
- <Cell col="41"/>
- <Cell col="42"/>
- <Cell col="43"/>
- <Cell col="44"/>
- <Cell col="45"/>
- <Cell col="46"/>
- <Cell col="47"/>
- <Cell col="48"/>
- <Cell col="49"/>
- <Cell col="50"/>
- <Cell col="51"/>
- <Cell col="52"/>
- <Cell col="53"/>
- <Cell col="54"/>
- <Cell col="55"/>
- <Cell col="56"/>
- <Cell col="57"/>
- <Cell col="58"/>
- <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="15" text="입고번호"/>
- <Cell row="1" col="16" text="발주번호"/>
- <Cell row="1" col="19"/>
- <Cell row="1" col="20"/>
- <Cell row="1" col="21"/>
- <Cell row="1" col="22"/>
- <Cell row="1" col="23"/>
- <Cell row="1" col="24"/>
- <Cell row="1" col="25"/>
- <Cell row="1" col="26"/>
- <Cell row="1" col="27"/>
- <Cell row="1" col="28"/>
- <Cell row="1" col="29"/>
- <Cell row="1" col="30"/>
- <Cell row="1" col="31"/>
- <Cell row="1" col="32"/>
- <Cell row="1" col="33"/>
- <Cell row="1" col="34"/>
- <Cell row="1" col="35"/>
- <Cell row="1" col="36"/>
- <Cell row="1" col="37"/>
- <Cell row="1" col="38"/>
- <Cell row="1" col="39"/>
- <Cell row="1" col="40"/>
- <Cell row="1" col="41"/>
- <Cell row="1" col="42"/>
- <Cell row="1" col="43"/>
- <Cell row="1" col="44"/>
- <Cell row="1" col="45"/>
- <Cell row="1" col="46"/>
- <Cell row="1" col="47"/>
- <Cell row="1" col="48"/>
- <Cell row="1" col="49"/>
- <Cell row="1" col="50"/>
- <Cell row="1" col="51"/>
- <Cell row="1" col="52"/>
- <Cell row="1" col="53"/>
- <Cell row="1" col="54"/>
- <Cell row="1" col="55"/>
- <Cell row="1" col="56"/>
- <Cell row="1" col="57"/>
- <Cell row="1" col="58"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" expr="currow + 1"/>
- <Cell col="1" displaytype="date" text="bind:windd" calendardisplaynulltype="none"/>
- <Cell col="2" text="bind:windeptnm"/>
- <Cell col="3" text="bind:winseqno"/>
- <Cell col="4" text="bind:suplplcenm"/>
- <Cell col="5" text="bind:iokindnm"/>
- <Cell col="6" text="bind:goodcd"/>
- <Cell col="7" style="align:left top;padding:5 2 1 2;" text="bind:goodnm" wordwrap="word"/>
- <Cell col="8" text="bind:goodspec"/>
- <Cell col="9" text="bind:prodcmpynm"/>
- <Cell col="10" displaytype="number" style="align:right middle;" text="bind:winqty" mask="#,###"/>
- <Cell col="11" displaytype="number" style="align:right middle;" text="bind:winunitcost" mask="#,###"/>
- <Cell col="12" displaytype="number" style="align:right middle;" text="bind:winpackqty" mask="#,###"/>
- <Cell col="13" displaytype="number" style="align:right middle;" text="bind:goodpurccost" mask="#,###"/>
- <Cell col="14" displaytype="number" style="align:right middle;" text="bind:winamt" mask="#,###"/>
- <Cell col="15" text="bind:winno"/>
- <Cell col="16" text="bind:deliveno"/>
- <Cell col="17" text="bind:winpsnnm"/>
- <Cell col="18" text="bind:winputno"/>
- <Cell col="19" text="bind:goodmodel"/>
- <Cell col="20" text="bind:winpackunit"/>
- <Cell col="21" text="bind:winpackcntperunit" mask="#,###"/>
- <Cell col="22" text="bind:winunit"/>
- <Cell col="23" text="bind:delivedeptqty" mask="#,###"/>
- <Cell col="24" text="bind:stocqty" mask="#,###"/>
- <Cell col="25" text="bind:instcd"/>
- <Cell col="26" text="bind:goodflag"/>
- <Cell col="27" text="bind:winpsn"/>
- <Cell col="28" text="bind:windeptcd"/>
- <Cell col="29" text="bind:installplcecd"/>
- <Cell col="30" text="bind:paycond"/>
- <Cell col="31" text="bind:temppay"/>
- <Cell col="32" text="bind:calcdocukind"/>
- <Cell col="33" text="bind:elctstmntyn"/>
- <Cell col="34" text="bind:iokind"/>
- <Cell col="35" text="bind:suplplcecd"/>
- <Cell col="36" text="bind:purcdmnddd"/>
- <Cell col="37" text="bind:purcdmndno"/>
- <Cell col="38" text="bind:purcdmndseq"/>
- <Cell col="39" text="bind:deliveseqno"/>
- <Cell col="40" text="bind:bnscd"/>
- <Cell col="41" text="bind:calcdocudd"/>
- <Cell col="42" text="bind:profno"/>
- <Cell col="43" text="bind:acntcd"/>
- <Cell col="44" text="bind:reqdd"/>
- <Cell col="45" text="bind:reqno"/>
- <Cell col="46" text="bind:reqseqno"/>
- <Cell col="47" text="bind:valiterm"/>
- <Cell col="48" text="bind:stocynindx"/>
- <Cell col="49" text="bind:chkdd"/>
- <Cell col="50" text="bind:chkpsn"/>
- <Cell col="51" text="bind:chkyn"/>
- <Cell col="52" text="bind:slipdd"/>
- <Cell col="53" text="bind:slipno"/>
- <Cell col="54" text="bind:suppcustcd"/>
- <Cell col="55" text="bind:cmt"/>
- <Cell col="56" text="bind:prewinqty"/>
- <Cell col="57" text="bind:minexch"/>
- <Cell col="58" text="bind:suppcustnm"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Shape position="absolute 0 35 1187 41" linetype="horizontal" id="line15" class="line_10"/>
- <Static text="입고내역" position="absolute 0 19 95 36" id="caption35" class="tit_2"/>
- <Button position="absolute 1136 14 1186 33" id="button1" class="btn7" text="엑셀" onclick="group2_button1_onclick"/>
- </Layout>
- </Layouts>
- </Div>
- <Static id="caption6" text="거래처별 입고금액 현황(약품)" class="tit_1" position="absolute 0 0 243 25"/>
- <Button id="btn_print" taborder="1" text="리스트출력" class="btn6" visible="false" position="absolute 0 26 92 48"/>
- <Button id="btn_init" taborder="2" text="초기화" class="btn4" position="absolute 1127 26 1195 48" onclick="btn_init_onclick"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_main_winsuplplcecdamtlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_main_list_goodwin_goodwinlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_send" 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="goodflag" type="STRING" size="256"/>
- <Column id="winfrdd" type="STRING" size="256"/>
- <Column id="stocdeptcd" type="STRING" size="256"/>
- <Column id="lrgcd" type="STRING" size="256"/>
- <Column id="instcdnm" type="STRING" size="256"/>
- <Column id="wintodd" type="STRING" size="256"/>
- <Column id="bnscd" type="STRING" size="256"/>
- <Column id="windeptcdyn" type="STRING" size="256"/>
- <Column id="lrgcdyn" type="STRING" size="256"/>
- <Column id="winpsnyn" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="instcd"/>
- <Col id="goodflag"/>
- <Col id="winfrdd"/>
- <Col id="stocdeptcd"/>
- <Col id="lrgcd"/>
- <Col id="instcdnm"/>
- <Col id="wintodd"/>
- <Col id="bnscd"/>
- <Col id="windeptcdyn">Y</Col>
- <Col id="lrgcdyn">Y</Col>
- <Col id="winpsnyn">Y</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_list_goodwin_goodmaxwinno" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_send_goodwin" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="instcd" type="STRING" size="256" sumtext="기관코드 "/>
- <Column id="goodflag" type="STRING" size="256" sumtext="물품구분 "/>
- <Column id="goodcd" type="STRING" size="256" sumtext="물품코드 "/>
- <Column id="windeptcd" type="STRING" size="256" sumtext="입고부서 "/>
- <Column id="winfrdd" type="STRING" size="256" sumtext="입고시작일자 "/>
- <Column id="wintodd" type="STRING" size="256" sumtext="입고종료일자 "/>
- <Column id="purcflag" type="STRING" size="256" sumtext="구매구분 "/>
- <Column id="suplplcecd" type="STRING" size="256" sumtext="주거래처 "/>
- <Column id="windd" type="STRING" size="256" sumtext="입고일자 "/>
- <Column id="winno" type="STRING" size="256" sumtext="입고번호 "/>
- <Column id="iokind" type="STRING" size="256" sumtext="입출유형 "/>
- <Column id="winpsn" type="STRING" size="256" sumtext="입고자 "/>
- <Column id="chkyn" type="STRING" size="256" sumtext="검수유무 "/>
- <Column id="retrmaxwinnoyn" type="STRING" size="256" sumtext="최대입고번호조회여부"/>
- <Column id="suplplcecd" type="STRING" size="256" sumtext="주거래처코드 "/>
- <Column id="suppcustcd" type="STRING" size="256" sumtext="보조거래처코드 "/>
- <Column id="gawinviewyn" type="STRING" size="256" sumtext="수탁가입고조회여부 "/>
- <Column id="paycond" type="STRING" size="256" sumtext="지불필여부 "/>
- <Column id="mngtcls" type="STRING" size="256" sumtext="관리분류(약품) "/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="instcd"/>
- <Col id="goodflag"/>
- <Col id="goodcd"/>
- <Col id="windeptcd"/>
- <Col id="winfrdd"/>
- <Col id="wintodd"/>
- <Col id="purcflag"/>
- <Col id="suplplcecd"></Col>
- <Col id="windd"/>
- <Col id="winno"/>
- <Col id="iokind"/>
- <Col id="winpsn"/>
- <Col id="chkyn"/>
- <Col id="retrmaxwinnoyn"/>
- <Col id="suppcustcd"/>
- <Col id="gawinviewyn"/>
- <Col id="paycond"/>
- <Col id="mngtcls"/>
- </Row>
- </Rows>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="opt_instcdnm" propid="value" datasetid="ds_send" columnid="instcdnm"/>
- <BindItem id="item1" compid="opt_instcd" propid="value" datasetid="ds_send" columnid="instcd"/>
- <BindItem id="item2" compid="cmb_lrgcd" propid="value" datasetid="ds_send" columnid="lrgcd"/>
- <BindItem id="item3" compid="opt_goodflag" propid="value" datasetid="ds_send" columnid="goodflag"/>
- <BindItem id="item4" compid="ipt_winfrdd" propid="value" datasetid="ds_send" columnid="winfrdd"/>
- <BindItem id="item5" compid="ipt_wintodd" propid="value" datasetid="ds_send" columnid="wintodd"/>
- <BindItem id="item6" compid="cmb_stocdeptcd" propid="value" datasetid="ds_send" columnid="stocdeptcd"/>
- <BindItem id="item7" compid="rdo_prtflag" propid="value" datasetid="ds_send" columnid="bnscd"/>
- <BindItem id="item8" compid="ckb_windeptcdyn" propid="value" datasetid="ds_send" columnid="windeptcdyn"/>
- <BindItem id="item9" compid="ckb_lrgcdyn" propid="value" datasetid="ds_send" columnid="lrgcdyn"/>
- <BindItem id="item10" compid="ckb_winpsnyn" propid="value" datasetid="ds_send" columnid="winpsnyn"/>
- </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";
- include "mis_miscommonxp::PIC002.xjs";
- include "mis_miscommonxp::RAC001.xjs";
- include "mis_miscommonxp::RBC001.xjs";
- include "mis_miscommonxp::RSZ001.xjs";
- var arErrorCode = new HashArray();
- function SMRST03200_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj); //폼 초기화
- grdf_initGrid(group2.grd_goodwin);
- grdf_initGrid(grd_winsuplplcecdamtlist);
- }
- function SMRST03200_onload(obj:Form, e:LoadEventInfo)
- {
- //화면 Control을 초기화한다
- fInitialize();
- }
- // 화면 open시와 초기화 버튼 클릭시 화면 초기화 기능을 수행한다.
- function fInitialize()
- {
- ds_send.clearData();
- ds_send.addRow();
- misfGridInit(group2.grd_goodwin);
- misfGridInit(grd_winsuplplcecdamtlist);
- // [2010.08.26]AS-IS 코드 TO_BE 코드 전환을 위한 물품구분 변경 (goodflag= P) => (goodflag= PH)
- rszfComboStockArthDeptcdList("cmb_stocdeptcd", sysf_getUserInfo("dutplceinstcd"),"PH","Y" );
- //misfMsterDetailSet(grd_winsuplplcecdamtlist, null, "TRRST03201", "N");
-
- opt_instcd.value = sysf_getUserInfo("dutplceinstcd");
- opt_instcdnm.value = sysf_getUserInfo("dutplceinstnm");
- // [2010.08.26]AS-IS 코드 TO_BE 코드 전환을 위한 물품구분 변경 (goodflag= P) => (goodflag= PH)
- opt_goodflag.value = "PH";
-
- var curdd = utlf_getCurrentDate();
-
- ipt_winfrdd.value = utlf_getCurrentDate();
- ipt_wintodd.value = utlf_getCurrentDate();
- ckb_windeptcdyn.value = "Y"; // 입고부서여부
- ckb_lrgcdyn.value = "Y"; // 대분류여부
- ckb_winpsnyn.value = "Y"; // 입고자여부
- // [2010.08.26]AS-IS 코드 TO_BE 코드 전환을 위한 물품구분 변경 (goodflag= P) => (goodflag= PH)
- rszfGridComboLrgcdList("PH", "cmb_lrgcd", "lrgcd","Y");
- cmb_lrgcd.value = "";
- cmb_stocdeptcd.value = "";
- rdo_prtflag.value = "";
- }
- function grd_winsuplplcecdamtlist_oncelldblclick(obj:Grid, e:GridClickEventInfo)
- {
- var sPath:Dataset;
- sPath = ds_send;
- var tPath:Dataset;
- tPath = ds_send_goodwin;
-
- vSuplplcecd = ds_main_winsuplplcecdamtlist.getColumn(ds_main_winsuplplcecdamtlist.rowposition, "suplplcecd");
-
- if (utlf_isNull(vSuplplcecd)) return;
- tPath.setColumn(0, "instcd", sPath.getColumn(0, "instcd" ));
- tPath.setColumn(0, "goodflag", sPath.getColumn(0, "goodflag" ));
- tPath.setColumn(0, "winfrdd", sPath.getColumn(0, "winfrdd" ));
- tPath.setColumn(0, "wintodd", sPath.getColumn(0, "wintodd" ));
- tPath.setColumn(0, "windeptcd", sPath.getColumn(0, "stocdeptcd"));
- tPath.setColumn(0, "lrgcd", sPath.getColumn(0, "lrgcd" ));
- tPath.setColumn(0, "suplplcecd", vSuplplcecd);
-
- misfGridInit(group2.grd_goodwin);
- var oParam = {};
- oParam.id = "TRRSI00401";
- oParam.service = "winapp.WinMngt";
- oParam.method = "reqGetGoodWinByCond";
- oParam.inds = "req=ds_send_goodwin";
- oParam.outds = "ds_main_list_goodwin_goodwinlist=goodwinlist ds_main_list_goodwin_goodmaxwinno=goodmaxwinno";
- oParam.async = false;
- tranf_submit(oParam);
- }
- function btn_search_onclick(obj:Button, e:ClickEventInfo)
- {
- misfGridInit(grd_winsuplplcecdamtlist);
-
- if(fCheckRetrieveData(false) == false)return;
-
- var oParam = {};
- oParam.id = "TRRST01701";
- oParam.service = "stocsumapp.StocSumMngt";
- oParam.method = "reqGetWinSuplplcecdAmtList";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_main_winsuplplcecdamtlist=winsuplplcecdamtlist";
- oParam.async = false;
- tranf_submit(oParam);
- }
- function fCheckRetrieveData()
- {
- if(!frmf_isRequiredControls("opt_instcd") )return false; // 물품구분
- if(!frmf_isRequiredControls("opt_goodflag") )return false; // 물품구분
- if(!frmf_isRequiredControls("ipt_winfrdd") )return false; // 작업년월
- if(!frmf_isRequiredControls("ipt_wintodd") )return false; // 작업년월
- //if(!isRequiredControls("cmb_stocdeptcd") )return false; // 부서코드
- }
- function btn_excel_onclick(obj:Button, e:ClickEventInfo)
- {
- misfSaveExcel(grd_winsuplplcecdamtlist);
- }
- function ckb_winpsnyn_onclick(obj:CheckBox, e:ClickEventInfo)
- {
- if(ckb_winpsnyn.value =="Y"){
- grd_winsuplplcecdamtlist.setFormatColProperty(grd_winsuplplcecdamtlist.getBindCellIndex("body", "winpsn"),"size", 70);
- grd_winsuplplcecdamtlist.setFormatColProperty(grd_winsuplplcecdamtlist.getBindCellIndex("body", "winpsnnm"),"size", 70);
- }else{
- grd_winsuplplcecdamtlist.setFormatColProperty(grd_winsuplplcecdamtlist.getBindCellIndex("body", "winpsn"),"size", 0);
- grd_winsuplplcecdamtlist.setFormatColProperty(grd_winsuplplcecdamtlist.getBindCellIndex("body", "winpsnnm"),"size", 0);
- }
- }
- function ckb_lrgcdyn_onclick(obj:CheckBox, e:ClickEventInfo)
- {
- if(ckb_lrgcdyn.value =="Y"){
- grd_winsuplplcecdamtlist.setFormatColProperty(grd_winsuplplcecdamtlist.getBindCellIndex("body", "lrgcd"),"size", 30);
- grd_winsuplplcecdamtlist.setFormatColProperty(grd_winsuplplcecdamtlist.getBindCellIndex("body", "lrgcdnm"),"size", 152);
- }else{
- grd_winsuplplcecdamtlist.setFormatColProperty(grd_winsuplplcecdamtlist.getBindCellIndex("body", "lrgcd"),"size", 0);
- grd_winsuplplcecdamtlist.setFormatColProperty(grd_winsuplplcecdamtlist.getBindCellIndex("body", "lrgcdnm"),"size", 0);
- }
- }
- function ckb_windeptcdyn_onclick(obj:CheckBox, e:ClickEventInfo)
- {
- if(ckb_windeptcdyn.value =="Y"){
- grd_winsuplplcecdamtlist.setFormatColProperty(grd_winsuplplcecdamtlist.getBindCellIndex("body", "windeptcd"),"size", 98);
- grd_winsuplplcecdamtlist.setFormatColProperty(grd_winsuplplcecdamtlist.getBindCellIndex("body", "windeptcdnm"),"size", 150);
- }else{
- grd_winsuplplcecdamtlist.setFormatColProperty(grd_winsuplplcecdamtlist.getBindCellIndex("body", "windeptcd"),"size", 0);
- grd_winsuplplcecdamtlist.setFormatColProperty(grd_winsuplplcecdamtlist.getBindCellIndex("body", "windeptcdnm"),"size", 0);
- }
- }
- function group2_button1_onclick(obj:Button, e:ClickEventInfo)
- {
- misfSaveExcel(group2.grd_goodwin);
- }
- function btn_init_onclick(obj:Button, e:ClickEventInfo)
- {
- fInitialize();
- }
- ]]></Script>
- </Form>
- </FDL>
|