123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMMNG02104" position="absolute 0 0 1185 770" titletext="안전재고관리" oninit="SMMNG02104_oninit" onload="SMMNG02104_onload">
- <Layouts>
- <Layout>
- <Div position="absolute 0 0 1180 25" id="grp_tle">
- <Layouts>
- <Layout>
- <Static text="부서별 안전재고 보유현황" position="absolute 0 0 186 25" id="caption6" class="tit_1"/>
- </Layout>
- </Layouts>
- </Div>
- <Div position="absolute 0 64 1180 769" id="grp_biz" scrollbars="autoboth">
- <Layouts>
- <Layout>
- <Static text="부서별 안전재고 보유현황" position="absolute 0 5 200 21" id="caption12" class="tit_2"/>
- <Grid position="absolute 0 25 1178 695" id="grd_lnsflist" binddataset="ds_main_lnsfinfo_lnsflist">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="25"/>
- <Column size="86"/>
- <Column size="65"/>
- <Column size="200"/>
- <Column size="150"/>
- <Column size="70"/>
- <Column size="100"/>
- <Column size="81"/>
- <Column size="80"/>
- <Column size="100"/>
- <Column size="200"/>
- <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"/>
- <Cell col="1" rowspan="2" text="물품코드"/>
- <Cell col="2" rowspan="2" text="상세코드"/>
- <Cell col="3" rowspan="2" text="린넨품명"/>
- <Cell col="4" rowspan="2" text="상세규격"/>
- <Cell col="5" rowspan="2" text="단위"/>
- <Cell col="6" rowspan="2" text="운용안전재고"/>
- <Cell col="7" colspan="2" text="린넨보관실"/>
- <Cell col="9" rowspan="2" text="부서코드"/>
- <Cell col="10" rowspan="2" text="비고"/>
- <Cell col="11"/>
- <Cell col="12"/>
- <Cell col="13"/>
- <Cell col="14"/>
- <Cell row="1" col="7" text="안전재고수량"/>
- <Cell row="1" col="8" text="실재고수량"/>
- <Cell row="1" col="11"/>
- <Cell row="1" col="12"/>
- <Cell row="1" col="13"/>
- <Cell row="1" col="14"/>
- </Band>
- <Band id="body">
- <Cell celltype="head"/>
- <Cell col="1" text="bind:goodcd"/>
- <Cell col="2" text="bind:goodcdseq"/>
- <Cell col="3" text="bind:lngoodnm"/>
- <Cell col="4" text="bind:goodmodel"/>
- <Cell col="5" text="bind:goodunit"/>
- <Cell col="6" text="bind:deptlnsfcnt"/>
- <Cell col="7" text="bind:lnsfcnt"/>
- <Cell col="8" text="bind:lnrlcnt"/>
- <Cell col="9" displaytype="combo" edittype="none" text="bind:deptcd" combodataset="ds_main_csrdeptlist" combocodecol="deptcd" combodatacol="deptnm"/>
- <Cell col="10" text="bind:remark"/>
- <Cell col="11" displaytype="none" edittype="none" text="bind:lastupdtrid"/>
- <Cell col="12" text="bind:oldlnsfcnt"/>
- <Cell col="13" text="bind:fromdd"/>
- <Cell col="14" text="bind:todd"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Shape position="absolute 1 21 1178 27" linetype="horizontal" id="line5" class="line_10"/>
- </Layout>
- </Layouts>
- </Div>
- <Shape position="absolute 0 24 1175 59" id="roundrect1" class="roundrect_search" type="roundrectangle"/>
- <Static text="부 서 명 :" position="absolute 285 34 373 51" id="caption2" class="search_name"/>
- <Button position="absolute 1114 31 1170 53" id="btn_search" class="btn1" taborder="2" text="조회" onclick="btn_search_onclick"/>
- <Combo position="absolute 380 34 480 53" id="cmb_deptcd" enable="false" innerdataset="@ds_main_csrdeptlist" datacolumn="deptnm" codecolumn="deptcd" onitemchanged="cmb_deptcd_onitemchanged"/>
- <Shape position="absolute 1102 29 1108 54" linetype="vertical" id="line2" class="line_4"/>
- <Static text="기관코드 :" position="absolute 10 34 96 51" id="cap_instcd" class="search_name"/>
- <Edit readonly="true" position="absolute 100 34 260 53" align="align:center middle;" id="opt_instcdnm" class="output"/>
- <Static text="일 자 :" position="absolute 500 34 588 51" id="caption1" class="search_name"/>
- <Calendar position="absolute 570 34 670 53" id="ipt_workdd" class="input" autoselect="true" autoskip="true" onchanged="ipt_workdd_onchanged"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_main_lnsfinfo_lnsflist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_main_lnsfinfo_csrdeptlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_main_cond" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="deptcd" type="STRING" size="256"/>
- <Column id="srchflag" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_csrdeptlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_send_reqdata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="deptcd" type="STRING" size="256"/>
- <Column id="instcdnm" type="STRING" size="256"/>
- <Column id="workdd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_csrdeptinfo" 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"/>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="cmb_deptcd" propid="value" datasetid="ds_send" columnid="deptcd"/>
- <BindItem id="item1" compid="opt_instcdnm" propid="value" datasetid="ds_send" columnid="instcdnm"/>
- <BindItem id="item2" compid="ipt_workdd" propid="value" datasetid="ds_send" columnid="workdd"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name :
- * Job Name :
- * Creator :
- * Make Date : 2017-07-11
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2017-07-11 Live Converter TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- include "com_commonxp::comm_main.xjs";
- function SMMNG02104_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj);
- }
- function SMMNG02104_onload(obj:Form, e:LoadEventInfo)
- {
- grdf_setRowTypeIcon(grp_biz.grd_lnsflist,0);
- fInitialize();
- }
- // 화면 open시와 초기화 버튼 클릭시 화면 초기화 기능을 수행한다.
- function fInitialize()
- {
- ds_send.setColumn(0, "instcdnm", sysf_getUserInfo("dutplceinstnm")); //기관코드
-
- dsf_makeValue(ds_send_reqdata,"instcd" , "string", sysf_getUserInfo("dutplceinstcd"));
- dsf_makeValue(ds_send_reqdata,"useyn" , "string", "Y");
-
- ds_send.setColumn(0, "workdd", utlf_getCurrentDate());
- ds_send.setColumn(0, "deptcd", sysf_getUserInfo("dutplcecd") );
-
- var oParam = {};
- oParam.id = "TRMNG00402";
- oParam.service = "csrapp.CsrMngt";
- oParam.method = "getCsrDeptList";
- oParam.inds = "req=ds_send_reqdata";
- oParam.outds = "ds_main_csrdeptlist=csrdeptlist";
- oParam.async = false;
- tranf_submit(oParam);
-
- fSearch();
- }
- function fSearch() {
- var oParam = {};
- oParam.id = "TRMNG02108";
- oParam.service = "csrapp.CsrDryMngt";
- oParam.method = "reqGetDeptLnsfList";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_main_lnsfinfo_lnsflist=lnsflist";
- oParam.async = false;
- tranf_submit(oParam);
- //grd_lnsflist.colDisabled(grd_lnsflist.colRef("deptcd")) = true;
- }
- function btn_search_onclick(obj:Button, e:ClickEventInfo)
- {
- fSearch();
- }
- function cmb_deptcd_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
- {
- fSearch();
- }
- function ipt_workdd_onchanged(obj:Calendar, e:ChangeEventInfo)
- {
- fSearch();
- }
- ]]></Script>
- </Form>
- </FDL>
|