123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMAEQ01000" position="absolute 0 0 1203 774" titletext="일계표" oninit="SMAEQ01000_oninit" onload="SMAEQ01000_onload">
- <Layouts>
- <Layout>
- <Static id="caption6" text="일계표" class="tit_1" position="absolute 0 0 138 23"/>
- <Static id="caption2" text="관리 현황" class="tit_2" position="absolute 805 507 889 528"/>
- <Static id="caption26" text="재고량" class="cell_1" position="absolute 1020 499 1104 522" anchor="top right"/>
- <Edit id="input1" taborder="1" position="absolute 1105 501 1189 520" anchor="top right"/>
- <Grid id="grd_mngtlist" taborder="2" binddataset="ds_grd_mngtlist" useinputpanel="false" position="absolute 805 524 1195 744" anchor="all">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="140"/>
- <Column size="100"/>
- <Column size="65"/>
- <Column size="65"/>
- <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"/>
- </Rows>
- <Band id="head">
- <Cell text="거래처"/>
- <Cell col="1" text="항목"/>
- <Cell col="2" text="규격"/>
- <Cell col="3" text="수량"/>
- <Cell col="4" text="사유"/>
- <Cell col="5"/>
- <Cell col="6"/>
- <Cell col="7"/>
- <Cell col="8"/>
- <Cell col="9"/>
- <Cell col="10"/>
- <Cell col="11"/>
- <Cell col="12"/>
- </Band>
- <Band id="body">
- <Cell text="bind:suplcustnm" edittype="none" displaytype="none"/>
- <Cell col="1" text="bind:goodnm" edittype="none" displaytype="none"/>
- <Cell col="2" text="bind:specnm" edittype="none" displaytype="none"/>
- <Cell col="3" text="bind:qty" edittype="text" displaytype="text"/>
- <Cell col="4" text="bind:suplcustcd"/>
- <Cell col="5" text="bind:lossresncd"/>
- <Cell col="6" text="bind:iodd"/>
- <Cell col="7" text="bind:ioflag"/>
- <Cell col="8" text="bind:bdioflag"/>
- <Cell col="9" text="bind:itemflag"/>
- <Cell col="10" text="bind:goodcd"/>
- <Cell col="11" text="bind:rem"/>
- <Cell col="12" text="bind:suppdeptcd"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Grid id="grd_delivelist" taborder="3" binddataset="ds_main_detail_delivelist" useinputpanel="false" position="absolute 400 524 795 744" anchor="left top bottom">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="140"/>
- <Column size="100"/>
- <Column size="65"/>
- <Column size="65"/>
- <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"/>
- </Rows>
- <Band id="head">
- <Cell text="거래처"/>
- <Cell col="1" text="항목"/>
- <Cell col="2" text="규격"/>
- <Cell col="3" text="수량"/>
- <Cell col="4"/>
- <Cell col="5"/>
- <Cell col="6"/>
- <Cell col="7"/>
- <Cell col="8"/>
- <Cell col="9"/>
- <Cell col="10"/>
- <Cell col="11"/>
- <Cell col="12"/>
- </Band>
- <Band id="body">
- <Cell text="bind:suplcustnm" edittype="none" displaytype="none"/>
- <Cell col="1" text="bind:goodnm" edittype="none" displaytype="none"/>
- <Cell col="2" text="bind:specnm" edittype="none" displaytype="none"/>
- <Cell col="3" text="bind:qty" edittype="none" displaytype="none"/>
- <Cell col="4" text="bind:suplcustcd"/>
- <Cell col="5" text="bind:lossresncd"/>
- <Cell col="6" text="bind:iodd"/>
- <Cell col="7" text="bind:ioflag"/>
- <Cell col="8" text="bind:bdioflag"/>
- <Cell col="9" text="bind:itemflag"/>
- <Cell col="10" text="bind:goodcd"/>
- <Cell col="11" text="bind:rem"/>
- <Cell col="12" text="bind:suppdeptcd"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Static id="caption4" text="사용 현황" class="tit_2" position="absolute 400 507 484 528"/>
- <Grid id="grd_wlnlist" taborder="4" binddataset="ds_main_detail_wlnlist" useinputpanel="false" position="absolute 0 524 390 744" anchor="left top bottom">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="140"/>
- <Column size="100"/>
- <Column size="65"/>
- <Column size="65"/>
- <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"/>
- </Rows>
- <Band id="head">
- <Cell text="거래처"/>
- <Cell col="1" text="항목"/>
- <Cell col="2" text="규격"/>
- <Cell col="3" text="수량"/>
- <Cell col="4"/>
- <Cell col="5"/>
- <Cell col="6"/>
- <Cell col="7"/>
- <Cell col="8"/>
- <Cell col="9"/>
- <Cell col="10"/>
- <Cell col="11"/>
- <Cell col="12"/>
- </Band>
- <Band id="body">
- <Cell text="bind:suplcustnm" edittype="none" displaytype="none"/>
- <Cell col="1" text="bind:goodnm" edittype="none" displaytype="none"/>
- <Cell col="2" text="bind:specnm" edittype="none" displaytype="none"/>
- <Cell col="3" text="bind:qty" edittype="none" displaytype="none"/>
- <Cell col="4" text="bind:suplcustcd"/>
- <Cell col="5" text="bind:lossresncd"/>
- <Cell col="6" text="bind:iodd"/>
- <Cell col="7" text="bind:ioflag"/>
- <Cell col="8" text="bind:bdioflag"/>
- <Cell col="9" text="bind:itemflag"/>
- <Cell col="10" text="bind:goodcd"/>
- <Cell col="11" text="bind:rem"/>
- <Cell col="12" text="bind:suppdeptcd"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Static id="caption1" text="입고현황" class="tit_2" position="absolute 0 507 84 528"/>
- <Button id="btnSave" taborder="5" text="저장" class="btn4" position="absolute 1139 746 1195 768" anchor="right bottom" onclick="btnSave_onclick"/>
- <Grid id="grd_list" taborder="6" binddataset="ds_main_daysumrept_daysumreptlist" useinputpanel="false" position="absolute 0 89 1195 494" anchor="left top right" oncellclick="grd_list_oncellclick">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="130"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="50"/>
- <Column size="50"/>
- <Column size="50"/>
- <Column size="50"/>
- <Column size="50"/>
- <Column size="50"/>
- <Column size="50"/>
- <Column size="50"/>
- <Column size="50"/>
- <Column size="50"/>
- <Column size="50"/>
- <Column size="50"/>
- <Column size="50"/>
- <Column size="50"/>
- <Column size="50"/>
- <Column size="50"/>
- <Column size="50"/>
- <Column size="50"/>
- <Column size="50"/>
- <Column size="50"/>
- <Column size="50"/>
- <Column size="50"/>
- <Column size="50"/>
- <Column size="50"/>
- <Column size="50"/>
- <Column size="50"/>
- <Column size="50"/>
- <Column size="50"/>
- <Column size="50"/>
- <Column size="50"/>
- <Column size="50"/>
- <Column size="50"/>
- <Column size="50"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="품명"/>
- <Cell col="1" text="규격"/>
- <Cell col="2" text="구분"/>
- <Cell col="3" text="이월"/>
- <Cell col="4" text="1"/>
- <Cell col="5" text="2"/>
- <Cell col="6" text="3"/>
- <Cell col="7" text="4"/>
- <Cell col="8" text="5"/>
- <Cell col="9" text="6"/>
- <Cell col="10" text="7"/>
- <Cell col="11" text="8"/>
- <Cell col="12" text="9"/>
- <Cell col="13" text="10"/>
- <Cell col="14" text="11"/>
- <Cell col="15" text="12"/>
- <Cell col="16" text="13"/>
- <Cell col="17" text="14"/>
- <Cell col="18" text="15"/>
- <Cell col="19" text="16"/>
- <Cell col="20" text="17"/>
- <Cell col="21" text="18"/>
- <Cell col="22" text="19"/>
- <Cell col="23" text="20"/>
- <Cell col="24" text="21"/>
- <Cell col="25" text="22"/>
- <Cell col="26" text="23"/>
- <Cell col="27" text="24"/>
- <Cell col="28" text="25"/>
- <Cell col="29" text="26"/>
- <Cell col="30" text="27"/>
- <Cell col="31" text="28"/>
- <Cell col="32" text="29"/>
- <Cell col="33" text="30"/>
- <Cell col="34" text="31"/>
- <Cell col="35" text="합계"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" text="bind:itemnm"/>
- <Cell col="1" celltype="head" text="bind:specnm"/>
- <Cell col="2" celltype="head" text="bind:ioflag"/>
- <Cell col="3" text="bind:d00"/>
- <Cell col="4" text="bind:d01"/>
- <Cell col="5" text="bind:d02"/>
- <Cell col="6" text="bind:d03"/>
- <Cell col="7" text="bind:d04"/>
- <Cell col="8" text="bind:d05"/>
- <Cell col="9" text="bind:d06"/>
- <Cell col="10" text="bind:d07"/>
- <Cell col="11" text="bind:d08"/>
- <Cell col="12" text="bind:d09"/>
- <Cell col="13" text="bind:d10"/>
- <Cell col="14" text="bind:d11"/>
- <Cell col="15" text="bind:d12"/>
- <Cell col="16" text="bind:d13"/>
- <Cell col="17" text="bind:d14"/>
- <Cell col="18" text="bind:d15"/>
- <Cell col="19" text="bind:d16"/>
- <Cell col="20" text="bind:d17"/>
- <Cell col="21" text="bind:d18"/>
- <Cell col="22" text="bind:d19"/>
- <Cell col="23" text="bind:d20"/>
- <Cell col="24" text="bind:d21"/>
- <Cell col="25" text="bind:d22"/>
- <Cell col="26" text="bind:d23"/>
- <Cell col="27" text="bind:d24"/>
- <Cell col="28" text="bind:d25"/>
- <Cell col="29" text="bind:d26"/>
- <Cell col="30" text="bind:d27"/>
- <Cell col="31" text="bind:d28"/>
- <Cell col="32" text="bind:d29"/>
- <Cell col="33" text="bind:d30"/>
- <Cell col="34" text="bind:d31"/>
- <Cell col="35" text="bind:d32"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Shape id="line2" class="line_10" position="absolute 0 84 1195 90" anchor="left top right"/>
- <Button id="btn_excsave" taborder="7" text="엑셀저장" class="btn7" position="absolute 1115 65 1195 84" anchor="top right" onclick="btn_excsave_onclick"/>
- <Div id="group2" taborder="8" class="div_SA" position="absolute 0 24 1195 59" anchor="left top right">
- <Layouts>
- <Layout>
- <Shape id="line1" linetype="vertical" position="absolute 1112 9 1118 24" anchor="top right"/>
- <Calendar id="input3" taborder="1" class="input_default" position="absolute 100 8 190 27" mask="yyyy-mm" anchor="default" onchanged="group2_input3_onchanged" dateformat="yyyy-MM" value="null" editformat="yyyy-MM" autoselect="true"/>
- <Static id="caption11" text="기준월 :" class="search_name" position="absolute 10 8 96 25" anchor="default"/>
- <Button id="btn_sea" taborder="2" text="조회" class="btn1" position="absolute 1125 5 1181 27" anchor="top right" onclick="group2_btn_sea_onclick"/>
- </Layout>
- </Layouts>
- </Div>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_main_daysumrept_daysumreptlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="itemcd" type="STRING" size="256" sumtext="물품명"/>
- <Column id="itemnm" type="STRING" size="256" sumtext="물품명"/>
- <Column id="specnm" type="STRING" size="256" sumtext="물품명"/>
- <Column id="ioflag" type="STRING" size="256" sumtext="입출고구분"/>
- <Column id="d00" type="STRING" size="256" sumtext="이월량"/>
- <Column id="d01" type="STRING" size="256" sumtext="기준일"/>
- <Column id="d02" type="STRING" size="256" sumtext="기준일"/>
- <Column id="d03" type="STRING" size="256" sumtext="기준일"/>
- <Column id="d04" type="STRING" size="256" sumtext="기준일"/>
- <Column id="d05" type="STRING" size="256" sumtext="기준일"/>
- <Column id="d06" type="STRING" size="256" sumtext="기준일"/>
- <Column id="d07" type="STRING" size="256" sumtext="기준일"/>
- <Column id="d08" type="STRING" size="256" sumtext="기준일"/>
- <Column id="d09" type="STRING" size="256" sumtext="기준일"/>
- <Column id="d10" type="STRING" size="256" sumtext="기준일"/>
- <Column id="d11" type="STRING" size="256" sumtext="기준일"/>
- <Column id="d12" type="STRING" size="256" sumtext="기준일"/>
- <Column id="d13" type="STRING" size="256" sumtext="기준일"/>
- <Column id="d14" type="STRING" size="256" sumtext="기준일"/>
- <Column id="d15" type="STRING" size="256" sumtext="기준일"/>
- <Column id="d16" type="STRING" size="256" sumtext="기준일"/>
- <Column id="d17" type="STRING" size="256" sumtext="기준일"/>
- <Column id="d18" type="STRING" size="256" sumtext="기준일"/>
- <Column id="d19" type="STRING" size="256" sumtext="기준일"/>
- <Column id="d20" type="STRING" size="256" sumtext="기준일"/>
- <Column id="d21" type="STRING" size="256" sumtext="기준일"/>
- <Column id="d22" type="STRING" size="256" sumtext="기준일"/>
- <Column id="d23" type="STRING" size="256" sumtext="기준일"/>
- <Column id="d24" type="STRING" size="256" sumtext="기준일"/>
- <Column id="d25" type="STRING" size="256" sumtext="기준일"/>
- <Column id="d26" type="STRING" size="256" sumtext="기준일"/>
- <Column id="d27" type="STRING" size="256" sumtext="기준일"/>
- <Column id="d28" type="STRING" size="256" sumtext="기준일"/>
- <Column id="d29" type="STRING" size="256" sumtext="기준일"/>
- <Column id="d30" type="STRING" size="256" sumtext="기준일"/>
- <Column id="d31" type="STRING" size="256" sumtext="기준일"/>
- <Column id="d32" type="STRING" size="256" sumtext="월합계"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_detail_wlnlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="suppdeptcd" type="STRING" size="256" sumtext="지원부서"/>
- <Column id="iodd" type="STRING" size="256" sumtext="입출고일자"/>
- <Column id="ioflag" type="STRING" size="256" sumtext="입출고구분"/>
- <Column id="bdioflag" type="STRING" size="256" sumtext="체네/외 구분{체내:I, 체외:O)"/>
- <Column id="itemflag" type="STRING" size="256" sumtext="항목구분"/>
- <Column id="goodcd" type="STRING" size="256" sumtext="항목코드"/>
- <Column id="goodnm" type="STRING" size="256" sumtext="항목명"/>
- <Column id="specnm" type="STRING" size="256" sumtext="항목명"/>
- <Column id="suplcustcd" type="STRING" size="256" sumtext="공급처코드"/>
- <Column id="suplcustnm" type="STRING" size="256" sumtext="공급처명"/>
- <Column id="qty" type="STRING" size="256" sumtext="체내-보험 환자수"/>
- <Column id="lossresncd" type="STRING" size="256" sumtext="손실사유코드"/>
- <Column id="rem" type="STRING" size="256" sumtext="비고"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_detail_delivelist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="suppdeptcd" type="STRING" size="256" sumtext="지원부서"/>
- <Column id="iodd" type="STRING" size="256" sumtext="입출고일자"/>
- <Column id="ioflag" type="STRING" size="256" sumtext="입출고구분"/>
- <Column id="bdioflag" type="STRING" size="256" sumtext="체네/외 구분{체내:I, 체외:O)"/>
- <Column id="itemflag" type="STRING" size="256" sumtext="항목구분"/>
- <Column id="goodcd" type="STRING" size="256" sumtext="항목코드"/>
- <Column id="goodnm" type="STRING" size="256" sumtext="항목명"/>
- <Column id="specnm" type="STRING" size="256" sumtext="항목명"/>
- <Column id="suplcustcd" type="STRING" size="256" sumtext="공급처코드"/>
- <Column id="suplcustnm" type="STRING" size="256" sumtext="공급처명"/>
- <Column id="qty" type="STRING" size="256" sumtext="체내-보험 환자수"/>
- <Column id="lossresncd" type="STRING" size="256" sumtext="손실사유코드"/>
- <Column id="rem" type="STRING" size="256" sumtext="비고"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_detail_mngtlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="suppdeptcd" type="STRING" size="256" sumtext="지원부서"/>
- <Column id="iodd" type="STRING" size="256" sumtext="입출고일자"/>
- <Column id="ioflag" type="STRING" size="256" sumtext="입출고구분"/>
- <Column id="bdioflag" type="STRING" size="256" sumtext="체네/외 구분{체내:I, 체외:O)"/>
- <Column id="itemflag" type="STRING" size="256" sumtext="항목구분"/>
- <Column id="goodcd" type="STRING" size="256" sumtext="항목코드"/>
- <Column id="goodnm" type="STRING" size="256" sumtext="항목명"/>
- <Column id="specnm" type="STRING" size="256" sumtext="항목명"/>
- <Column id="suplcustcd" type="STRING" size="256" sumtext="공급처코드"/>
- <Column id="suplcustnm" type="STRING" size="256" sumtext="공급처명"/>
- <Column id="qty" type="STRING" size="256" sumtext="체내-보험 환자수"/>
- <Column id="lossresncd" type="STRING" size="256" sumtext="손실사유코드"/>
- <Column id="rem" type="STRING" size="256" sumtext="비고"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="suppdeptcd" type="STRING" size="256"/>
- <Column id="srchflag" type="STRING" size="256"/>
- <Column id="srchbdioflag" type="STRING" size="256"/>
- <Column id="srchym" type="STRING" size="256"/>
- <Column id="srchdd" type="STRING" size="256"/>
- <Column id="srchitemcd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_tmp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="qty" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="group2.input3" propid="value" datasetid="ds_send" columnid="srchym"/>
- </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 "ast_examcurexp::AEZ0001.xjs";
- var vSuppdeptcd;
- function SMAEQ01000_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj);
- }
- function SMAEQ01000_onload(obj:Form, e:LoadEventInfo)
- {
- grdf_initGrid(grd_list);
- grdf_initGrid(grd_wlnlist);
- grdf_initGrid(grd_delivelist);
- grdf_initGrid(grd_mngtlist);
-
- lf_aezfSetSuppDeptcd();
-
- vSuppdeptcd = frmf_getPrestDeptCd();
-
- ds_send.setColumn(0, "suppdeptcd", vSuppdeptcd);
- ds_send.setColumn(0, "srchflag", "A");
- ds_send.setColumn(0, "srchbdioflag", "I");
- ds_send.setColumn(0, "srchym", (new Date()).getDateFormat("YYYYMM"));
- }
- function group2_input3_onchanged(obj:Calendar, e:ChangeEventInfo)
- {
- ds_send.setColumn(0, "srchym", String(obj.value).substr(0,6));
- }
- function group2_btn_sea_onclick(obj:Button, e:ClickEventInfo)
- {
- var oParam = {};
- oParam.id = "TRAEQ01001";
- oParam.service = "examcurebaseapp.NuclBase";
- oParam.method = "reqGetDaySumRept";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_main_daysumrept_daysumreptlist=daysumreptlist";
- oParam.async = false;
- //oParam.callback = "cf_TRAEQ01001";
- tranf_submit(oParam);
- }
- function grd_list_oncellclick(obj:Grid, e:GridClickEventInfo)
- {
- if (e.row > -1)
- {
- var col = grd_list.getCellProperty("Head", e.col, "text");
- //col = col.replace("d", "");
-
- ds_send.setColumn(0, "srchdd", ds_tmp.getColumn(0, "tmpym")+col);
- ds_send.setColumn(0, "srchitemcd", ds_main_daysumrept_daysumreptlist.getColumn(ds_main_daysumrept_daysumreptlist.rowposition, "itemcd"));
-
- dsf_setFixVal(ds_send, "itemflag:1,ioflag:1");
-
- var oParam = {};
- oParam.id = "TRAEQ04001";
- oParam.service = "examcurebaseapp.NuclBase";
- oParam.method = "reqGetDaySumReptDetail";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_main_detail_wlnlist=wlnlist ds_main_detail_delivelist=delivelist ds_main_detail_mngtlist=mngtlist";
- oParam.async = false;
- //oParam.callback = "cf_TRAEQ04001";
- tranf_submit(oParam);
-
- var itemnm = ds_main_daysumrept_daysumreptlist.getColumn(ds_main_daysumrept_daysumreptlist.rowposition, "itemnm");
- var specnm = ds_main_daysumrept_daysumreptlist.getColumn(ds_main_daysumrept_daysumreptlist.rowposition, "specnm");
- var ioflag = ds_main_daysumrept_daysumreptlist.getColumn(ds_main_daysumrept_daysumreptlist.rowposition, "ioflag");
- var icol = e.col;
-
- var itemnm1 = ""
- var qty = ""
- var ioflag1 = ""
-
- for (var i = 0; i < ds_main_daysumrept_daysumreptlist.rowcount; i ++)
- {
- itemnm1 = ds_main_daysumrept_daysumreptlist.getColumn(i, "itemnm");
- ioflag1 = ds_main_daysumrept_daysumreptlist.getColumn(i, "ioflag");
-
- if (itemnm == itemnm1 && ioflag1 == "재고")
- {
- qty = ds_main_daysumrept_daysumreptlist.getColumn(i, icol);
- ds_tmp.setColumn(0, "qty". qty)
- }
- }
- }
- }
- function btn_excsave_onclick(obj:Button, e:ClickEventInfo)
- {
- grdf_exportExcel(grd_list, "", "");
- }
- function btnSave_onclick(obj:Button, e:ClickEventInfo)
- {
-
- var oParam = {};
- oParam.id = "TXAEQ00401";
- oParam.service = "examcurebaseapp.NuclBase";
- oParam.method = "reqExeNuclDaySumRept";
- oParam.inds = "wlnlist=ds_main_detail_wlnlist:U delivelist=ds_main_detail_delivelist:U mngtlist=ds_main_detail_mngtlist:U";
- oParam.outds = "ds_=item";
- oParam.typeStr = "m";
- oParam.async = false;
- oParam.callback = "cf_TXAEQ00401";
- tranf_submit(oParam);
- }
- function cf_TXAEQ00401(sSvcId, nErrorCode, sErrorMsg)
- {
- if(nErrorCode < 0) return;
- else
- {
- var oParam = {};
- oParam.id = "TRAEQ01001";
- oParam.service = "examcurebaseapp.NuclBase";
- oParam.method = "reqGetDaySumRept";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_main_daysumrept_daysumreptlist=daysumreptlist";
- oParam.async = false;
- //oParam.callback = "cf_TRAEQ01001";
- tranf_submit(oParam);
- }
- }
- ]]></Script>
- </Form>
- </FDL>
|