123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMADT50200" position="absolute 0 0 1001 777" titletext="약품 재고 관리" oninit="SMADT50300_oninit" onload="SMADT50300_onload">
- <Layouts>
- <Layout>
- <Div position="absolute 3 23 991 772" id="group3" scrollbars="autoboth" anchor="all">
- <Layouts>
- <Layout>
- <Grid position="absolute 3 44 980 722" id="grd_drugsum" binddataset="ds_jyjlist" anchor="left top bottom" oncellclick="group3_grd_drugsum_oncellclick" autoenter="none" selectbandtype="default" cellsizingtype="col">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="57"/>
- <Column size="83"/>
- <Column size="53"/>
- <Column size="63"/>
- <Column size="72"/>
- <Column size="260"/>
- <Column size="70"/>
- <Column size="52"/>
- <Column size="98"/>
- <Column size="135"/>
- <Column size="40"/>
- <Column size="40"/>
- <Column size="40"/>
- <Column size="40"/>
- <Column size="40"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="INSTCD"/>
- <Cell col="1" text="SUPPDEPTCD"/>
- <Cell col="2" text="SECTCD"/>
- <Cell col="3" text="짐계일자"/>
- <Cell col="4" text="처방코드"/>
- <Cell col="5" text="처방코드명"/>
- <Cell col="6" text="수량"/>
- <Cell col="7" text="마감Flag"/>
- <Cell col="8" text="무서코드"/>
- <Cell col="9" text="부서명"/>
- <Cell col="10"/>
- <Cell col="11"/>
- <Cell col="12"/>
- <Cell col="13"/>
- <Cell col="14"/>
- </Band>
- <Band id="body">
- <Cell displaytype="text" edittype="text" text="bind:instcd"/>
- <Cell col="1" displaytype="text" edittype="text" text="bind:suppdeptcd"/>
- <Cell col="2" text="bind:sectcd"/>
- <Cell col="3" text="bind:iodd"/>
- <Cell col="4" text="bind:goodcd"/>
- <Cell col="5" text="bind:goodnm"/>
- <Cell col="6" text="bind:dayused"/>
- <Cell col="7" text="bind:magamflag"/>
- <Cell col="8" text="bind:deptcd"/>
- <Cell col="9" text="bind:deptnm"/>
- <Cell col="10" text="bind:agojego"/>
- <Cell col="11" text="bind:outgo"/>
- <Cell col="12" text="bind:presentcnt"/>
- <Cell col="13" text="bind:receive"/>
- <Cell col="14" text="bind:totsu"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Div id="Div00" taborder="5" position="absolute 3 5 979 42" class="div_SA2" anchor="default">
- <Layouts>
- <Layout>
- <Button id="Btn_Save" taborder="0" text="재고반영" class="btn4" position="absolute 867 9 967 29" anchor="default" onclick="group3_Div00_Btn_Save_onclick"/>
- <Button id="btn_tri" taborder="1" text="조회" onclick="group3_btn_tri_onclick" class="btn1" position="absolute 773 9 834 29" anchor="default"/>
- <Calendar id="input7" taborder="2" onchanged="group3_input7_onchanged" class="input_default" position="absolute 242 8 348 29" anchor="default"/>
- <Static id="caption7" text="~" position="absolute 231 9 243 29" anchor="default"/>
- <Calendar id="input6" taborder="3" onchanged="group3_input6_onchanged" oneditclick="group3_input6_oneditclick" class="input_default" position="absolute 115 8 221 29" anchor="default"/>
- <Static id="caption11" text="조회일자 :" class="search_name" position="absolute 22 10 100 27" anchor="default"/>
- </Layout>
- </Layouts>
- </Div>
- </Layout>
- </Layouts>
- </Div>
- <Static id="caption6" text="조영제 재고 관리" class="tit_1" position="absolute 0 0 229 25"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_jyjlist" 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="suppdeptcd" type="STRING" size="256"/>
- <Column id="sectcd" type="STRING" size="256"/>
- <Column id="iodd" type="STRING" size="256"/>
- <Column id="goodcd" type="STRING" size="256"/>
- <Column id="agojego" type="STRING" size="256"/>
- <Column id="receive" type="STRING" size="256"/>
- <Column id="totsu" type="STRING" size="256"/>
- <Column id="outgo" type="STRING" size="256"/>
- <Column id="dayused" type="STRING" size="256"/>
- <Column id="presentcnt" type="STRING" size="256"/>
- <Column id="magamflag" type="STRING" size="256"/>
- <Column id="deptcd" type="STRING" size="256"/>
- <Column id="deptnm" type="STRING" size="256"/>
- <Column id="goodnm" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="srchendfromdd" type="STRING" size="256"/>
- <Column id="srchendtodd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item2" compid="group3.grd_drugsum" propid="" datasetid="ds_jyjlist" columnid=""/>
- <BindItem id="item1" compid="group3.Div00.input7" propid="value" datasetid="ds_send" columnid="srchendtodd"/>
- <BindItem id="item0" compid="group3.Div00.input6" propid="value" datasetid="ds_send" columnid="srchendfromdd"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name :
- * Job Name :
- * Creator :
- * Make Date : 2015-11-13
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2015-11-13 Live Converter TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- include "com_commonxp::comm_main.xjs";
- include "mis_miscommonxp::MIS.xjs";
- var arErrorCode = new HashArray();
- /******************************************************************
- * Argument :
- * Description : 초기화
- ******************************************************************/
- function SMADT50300_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj);
- }
- function SMADT50300_onload(obj:Form, e:LoadEventInfo)
- {
- ds_send.setColumn(0, "srchfromdd", utlf_getCurrentDate());
- ds_send.setColumn(0, "srchendfromdd", utlf_getCurrentDate());
- ds_send.setColumn(0, "srchendtodd", utlf_getCurrentDate());
- ds_jyjlist.clearData();
-
-
- }
- function group3_btn_tri_onclick(obj:Button, e:ClickEventInfo)
- {
-
- var oParam = {};
- oParam.id = "TRADT50300";
- oParam.service = "pharmacystocapp.DrugStocSum";
- oParam.method = "reqGetJoyongJeStocSumList";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_jyjlist=item";
- oParam.async = false;
- //oParam.callback = "TRADT50300";
- tranf_submit(oParam);
-
- }
- function group3_Div00_Btn_Save_onclick(obj:Button, e:ClickEventInfo)
- {
- var oParam = {};
- oParam.id = "TXADT50300";
- oParam.service = "pharmacystocapp.DeliveDrugStocSumMngt";
- oParam.method = "reqExeDeliveMisJoYongJeStocSumEnd";
- oParam.inds = "req=ds_jyjlist";
- oParam.outds = "";
- oParam.async = false;
- oParam.callback = "cf_TXADT50300";
- tranf_submit(oParam);
- }
- function cf_TXADT50300(sSvcId, nErrorCode, sErrorMsg) {
- if(nErrorCode < 0) return;
- sysf_messageBox("재고반영이","I002");
- }
- ]]></Script>
- </Form>
- </FDL>
|