123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560 |
- <?xml version="1.0" encoding="utf-8" standalone="no"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMRSG02600" position="absolute 0 0 1202 749" titletext="지출현황(영양)" onload="SMRSG02600_onload">
- <Layouts>
- <Layout>
- <Div id="group1" position="absolute 0 0 1195 21" style="" scrollbars="none">
- <Layouts>
- <Layout>
- <Static id="caption6" class="tit_1" position="absolute 0 0 189 22" style="" text="영양 지출현황" anchor="default"/>
- </Layout>
- </Layouts>
- </Div>
- <Div id="group5" scrollbars="autoboth" position="absolute 0 38 1198 730" style="">
- <Layouts>
- <Layout>
- <Div id="group6" position="absolute 0 10 1195 45" style="align: top;" anchor="default">
- <Layouts>
- <Layout>
- <Shape id="roundrect3" anchor="default" type="roundrectangle" position="absolute 0 -1 1195 34" style="border:1 solid #ffd799 #ffd799;background:#fffbf2 ;"/>
- <Static id="caption4" class="search_name" position="absolute 226 9 312 26" style="" text="입고일자 :" anchor="default"/>
- <Static id="caption2" class="search_name" position="absolute 15 9 101 26" style="" text="기관코드 :" anchor="default"/>
- <Button id="button1" class="btn1" position="absolute 1125 7 1181 29" style="" text="조회" onclick="group5_group6_button1_onclick" anchor="default"/>
- <Shape id="line13" class="line_4" linetype="vertical" position="absolute 1110 7 1113 29" style="border:1 solid #ffe4bb #ffe4bb;" anchor="default"/>
- <Combo innerdataset="" datacolumn="" codecolumn="" columncount="-1" rowcount="-1" id="cmb_instcd" class="combo_search" position="absolute 100 8 200 27" style="" anchor="default"/>
- <Calendar id="ipt_stocfrym" class="input_essential" position="absolute 312 8 412 27" style="align:center ;" anchor="default" autoselect="true"/>
- <Edit id="ipt_goodflag" visible="false" position="absolute 923 7 965 26" style="" anchor="default"/>
- <Edit id="ipt_stocdeptcd" visible="false" position="absolute 980 7 1025 26" style="" anchor="default"/>
- <Calendar id="ipt_stoctoym" class="input_essential" position="absolute 431 8 535 27" style="" anchor="default" onkillfocus="group5_group6_ipt_stoctoym_onkillfocus" autoselect="true"/>
- <Static id="caption22" position="absolute 414 8 429 28" style="font:,,bold;align: middle;" text="~" anchor="default"/>
- <Static id="caption1" class="search_name" position="absolute 560 9 675 26" style="" text="식자재코드 :" visible="false" anchor="default"/>
- <Edit id="ipt_goodcd" class="input_search" visible="false" position="absolute 665 8 745 27" style="" anchor="default" onkillfocus="group5_group6_ipt_goodcd_onkillfocus"/>
- <Button id="button2" class="icon_search" visible="false" position="absolute 748 9 764 25" style="" text="" onclick="group5_group6_button2_onclick" anchor="default"/>
- <Edit id="ipt_goodnm" class="input_fix" visible="false" position="absolute 766 8 899 27" style="" anchor="default" onkillfocus="group5_group6_ipt_goodnm_onkillfocus"/>
- </Layout>
- </Layouts>
- </Div>
- <Tab id="sw_flag" class="sw_box" position="absolute 0 51 1194 691" style="" anchor="default" onchanged="group5_sw_flag_onchanged">
- <Tabpages>
- <Tabpage id="case_grdcustpr" selected="true" anchor="default" text="거 래 처 별">
- <Layouts>
- <Layout>
- <Shape id="line15" class="line_10" linetype="horizontal" position="absolute 0 26 1191 29" style="" anchor="default"/>
- <Button id="button14" class="btn7" position="absolute 1141 6 1191 25" style="" text="엑셀" onclick="group5_sw_flag_case_grdcustpr_button14_onclick" anchor="default"/>
- <Grid id="grd_nutrcustbiyul" binddataset="ds_main_list_nutrstoccustbiyul" position="absolute 0 29 1190 613" style="" anchor="default">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="29"/>
- <Column size="100"/>
- <Column size="150"/>
- <Column size="160"/>
- <Column size="160"/>
- <Column size="150"/>
- <Column size="150"/>
- <Column size="191"/>
- <Column size="0"/>
- <Column size="73"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="25" band="head"/>
- <Row size="25" band="head"/>
- <Row size="25"/>
- </Rows>
- <Band id="head">
- <Cell rowspan="2" taborder="undefined"/>
- <Cell col="1" rowspan="2" colspan="2" text="거래처" taborder="undefined"/>
- <Cell col="3" colspan="2" text="환자식금액" taborder="undefined"/>
- <Cell col="5" colspan="2" text="직원식금액" taborder="undefined"/>
- <Cell col="7" rowspan="2" text="합계" taborder="undefined"/>
- <Cell col="8"/>
- <Cell col="9" rowspan="2" text="비율(%)" taborder="undefined"/>
- <Cell col="10"/>
- <Cell col="11"/>
- <Cell col="12"/>
- <Cell col="13"/>
- <Cell col="14" text="거래처"/>
- <Cell col="15" text="거래처"/>
- <Cell col="16" text="일반식"/>
- <Cell col="17" text="치료식"/>
- <Cell col="18" text="직원식"/>
- <Cell col="19" text="직원야식"/>
- <Cell col="20" text="합계"/>
- <Cell col="21"/>
- <Cell col="22" text="비율(%)"/>
- <Cell col="23"/>
- <Cell col="24"/>
- <Cell col="25"/>
- <Cell col="26"/>
- <Cell row="1" col="3" text="일반식"/>
- <Cell row="1" col="4" text="치료식"/>
- <Cell row="1" col="5" text="직원식"/>
- <Cell row="1" col="6" text="직원야식"/>
- <Cell row="1" col="8"/>
- <Cell row="1" col="10"/>
- <Cell row="1" col="11"/>
- <Cell row="1" col="12"/>
- <Cell row="1" col="13"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" expr="currow+1"/>
- <Cell col="1" style="align:left middle;" text="bind:maincustlastsuplplce"/>
- <Cell col="2" style="align:left middle;" text="bind:maincustlastsuplplcenm"/>
- <Cell col="3" displaytype="number" text="bind:custpatwinamt"/>
- <Cell col="4" displaytype="number" text="bind:custcurwinamt"/>
- <Cell col="5" displaytype="number" text="bind:custempwinamt"/>
- <Cell col="6" displaytype="number" text="bind:custempnigtwinamt"/>
- <Cell col="7" displaytype="number" text="bind:custtotwinamt"/>
- <Cell col="8" text="bind:custbiyul"/>
- <Cell col="9" displaytype="number" text="bind:custbiyul2"/>
- <Cell col="10" text="bind:winamtvat"/>
- <Cell col="11" text="bind:totwinamtwithvat"/>
- <Cell col="12" text="bind:totwinamt"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- </Tabpage>
- <Tabpage id="case_grdgoodpr" position="absolute 0 0 1193 643" style="" anchor="default" text="식 품 별">
- <Layouts>
- <Layout>
- <Shape id="line2" class="line_10" linetype="horizontal" position="absolute 0 26 1193 29" style="" anchor="default"/>
- <Button id="button10" class="btn7" position="absolute 1141 6 1191 25" style="" text="엑셀" onclick="group5_sw_flag_case_grdgoodpr_button10_onclick" anchor="default"/>
- <Grid id="grd_goodlist" binddataset="ds_main_list_goodlist" position="absolute 0 29 1190 613" style="" anchor="default">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="24"/>
- <Column size="80"/>
- <Column size="150"/>
- <Column size="0"/>
- <Column size="50"/>
- <Column size="50"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="90"/>
- <Column size="90"/>
- <Column size="90"/>
- <Column size="90"/>
- <Column size="135"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="25" band="head"/>
- <Row size="25" band="head"/>
- <Row size="25"/>
- </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"/>
- <Cell col="4" rowspan="2" text="단위" taborder="undefined"/>
- <Cell col="5" rowspan="2" text="단가" taborder="undefined"/>
- <Cell col="6" colspan="2" text="환자식수량" taborder="undefined"/>
- <Cell col="8" colspan="2" text="직원식수량" taborder="undefined"/>
- <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"/>
- <Cell col="16"/>
- <Cell col="17"/>
- <Cell col="18"/>
- <Cell col="19"/>
- <Cell col="20"/>
- <Cell col="21" text="입고일자"/>
- <Cell col="22" text="식품명"/>
- <Cell col="23"/>
- <Cell col="24" text="단위"/>
- <Cell col="25" text="단가"/>
- <Cell col="26" text="G"/>
- <Cell col="27" text="T"/>
- <Cell col="28" text="S"/>
- <Cell col="29" text="N"/>
- <Cell col="30" text="G"/>
- <Cell col="31" text="T"/>
- <Cell col="32" text="S"/>
- <Cell col="33" text="N"/>
- <Cell col="34" text="총합계액"/>
- <Cell col="35"/>
- <Cell col="36"/>
- <Cell col="37"/>
- <Cell col="38"/>
- <Cell col="39"/>
- <Cell col="40"/>
- <Cell row="1" col="3"/>
- <Cell row="1" col="6" text="G"/>
- <Cell row="1" col="7" text="T"/>
- <Cell row="1" col="8" text="S"/>
- <Cell row="1" col="9" text="N"/>
- <Cell row="1" col="10" text="G"/>
- <Cell row="1" col="11" text="T"/>
- <Cell row="1" col="12" text="S"/>
- <Cell row="1" col="13" text="N"/>
- <Cell row="1" col="15"/>
- <Cell row="1" col="16"/>
- <Cell row="1" col="17"/>
- <Cell row="1" col="18"/>
- <Cell row="1" col="19"/>
- <Cell row="1" col="20"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" expr="expr:currow + 1"/>
- <Cell col="1" displaytype="date" text="bind:windd" mask="yyyy-MM-dd" calendardisplaynulltype="nulltext"/>
- <Cell col="2" style="align:left top;padding:5 2 1 2;" text="bind:goodnm" wordwrap="word"/>
- <Cell col="3" text="bind:goodcd"/>
- <Cell col="4" style="align:left middle;" text="bind:winunit"/>
- <Cell col="5" displaytype="number" text="bind:winunitcost"/>
- <Cell col="6" displaytype="number" text="bind:patmealwinqty"/>
- <Cell col="7" displaytype="number" text="bind:curemealwinqty"/>
- <Cell col="8" displaytype="number" text="bind:empmealwinqty"/>
- <Cell col="9" displaytype="number" text="bind:empnigtmealwinqty"/>
- <Cell col="10" displaytype="number" text="bind:patmealwinamt"/>
- <Cell col="11" displaytype="number" text="bind:curemealwinamt"/>
- <Cell col="12" displaytype="number" text="bind:empmealwinamt"/>
- <Cell col="13" displaytype="number" text="bind:empnigtmealwinamt"/>
- <Cell col="14" displaytype="number" text="bind:totwinamt"/>
- <Cell col="15" text="bind:instcd"/>
- <Cell col="16" text="bind:slipdd"/>
- <Cell col="17" text="bind:slipno"/>
- <Cell col="18" text="bind:reqdeptcd"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- </Tabpage>
- </Tabpages>
- </Tab>
- </Layout>
- </Layouts>
- </Div>
- <Div id="group4" scrollbars="none" position="absolute 0 20 1195 47" style="">
- <Layouts>
- <Layout>
- <Button id="button34" class="btn6" visible="false" position="absolute 0 3 56 25" style="" text="출력" anchor="default"/>
- <Shape id="line17" class="line_6" linetype="horizontal" position="absolute 0 25 1195 28" style="" anchor="default"/>
- </Layout>
- </Layouts>
- </Div>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="instcd" type="STRING" size="256"/>
- <Column id="goodflag" type="STRING" size="256"/>
- <Column id="stocdeptcd" type="STRING" size="256"/>
- <Column id="stocfrym" type="STRING" size="256"/>
- <Column id="stoctoym" type="STRING" size="256"/>
- <Column id="goodcd" type="STRING" size="256"/>
- <Column id="goodnm" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="instcd"/>
- <Col id="goodflag"/>
- <Col id="stocdeptcd"/>
- <Col id="stocfrym"/>
- <Col id="stoctoym"/>
- <Col id="goodcd"/>
- <Col id="goodnm"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_temp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="temp" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="temp"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="nutrstoccustbiyul" type="STRING" size="256"/>
- <Column id="goodlist" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo/>
- </Dataset>
- <Dataset id="ds_init" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="init" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="init"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_list_nutrstoccustbiyul" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_main_list_goodlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="group5.group6.cmb_instcd" propid="value" datasetid="ds_send" columnid="instcd"/>
- <BindItem id="item1" compid="group5.group6.ipt_stocfrym" propid="value" datasetid="ds_send" columnid="stocfrym"/>
- <BindItem id="item2" compid="group5.group6.ipt_goodflag" propid="value" datasetid="ds_send" columnid="goodflag"/>
- <BindItem id="item3" compid="group5.group6.ipt_stocdeptcd" propid="value" datasetid="ds_send" columnid="stocdeptcd"/>
- <BindItem id="item4" compid="group5.group6.ipt_stoctoym" propid="value" datasetid="ds_send" columnid="stoctoym"/>
- <BindItem id="item5" compid="group5.group6.ipt_goodcd" propid="value" datasetid="ds_send" columnid="goodcd"/>
- <BindItem id="item6" compid="group5.group6.ipt_goodnm" propid="value" datasetid="ds_send" columnid="goodnm"/>
- </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::RSZ001.xjs";
- var RetrYn = "Y";
-
- function SMRSG02600_onload(obj:Form, e:LoadEventInfo) {
- frmf_initForm(obj);
- //grdf_initGrid(grd_XXX);
- //grdf_setGridSort(grd_XXX);
- //grdf_setRowTypeIcon(grd_XXX, 0_컬럼위치값);
- //화면 Control을 초기화한다
- fInitialize();
- }
- //전체에서 event와 src를 제외한 script 를 모두포함.
- function fInitialize() {
- misfGridInit(group5.sw_flag.case_grdcustpr.grd_nutrcustbiyul);
- misfGridInit(group5.sw_flag.case_grdgoodpr.grd_goodlist);
- // group5.sw_flag.case_grdcustpr.grd_nutrcustbiyul.rowHeight(0) = "20";
- // group5.sw_flag.case_grdcustpr.grd_nutrcustbiyul.rowHeight(1) = "20";
- rszfUserInstList(group5.group6.cmb_instcd,sysf_getUserInfo("userid"));
- //misfMsterDetailSet(group5.sw_flag.case_grdcustpr.grd_nutrcustbiyul,null, "TRRSG02601" ,"N");
- //misfMsterDetailSet(group5.sw_flag.case_grdgoodpr.grd_goodlist,null, "TRRSG02602" ,"N");
- var curdate = utlf_getCurrentDate();
- ds_send.setColumn(0,"stocfrym" ,curdate);
- ds_send.setColumn(0,"stoctoym" ,curdate);
- // [2010.08.26]AS-IS 코드 TO_BE 코드 전환을 위한 물품구분 변경 (goodflag= P) => (goodflag= PH)
- ds_send.setColumn(0,"goodflag" ,"PH");
- // hidden column
- // [2010.08.26]AS-IS 코드 TO_BE 코드 전환을 위한 물품구분 변경 (goodflag= S) => (goodflag= SF)
- ds_send.setColumn(0,"goodflag" ,"SF");
- //model.setValue(group5.group6.ipt_stocdeptcd.attribute("ref") ,"3251000000"); // sysf_getUserInfo("dutplcecd"));
- ds_send.setColumn(0,"stocdeptcd", sysf_getUserInfo("dutplcecd"));
- ds_send.setColumn(0,"instcd", sysf_getUserInfo("dutplceinstcd"));
- group5.sw_flag.tabindex = 0;
- //model.refresh();
- }
- function fCheckRetrieveData(pmsg)
- {
- if(utlf_isNull(group5.group6.cmb_instcd.value))
- {
- if(pmsg == true)
- {
- sysf_messageBox("기관코드를 " ,"C002");
- group5.group6.cmb_instcd.setFocus();
- }
- return false;
- }
- if(utlf_isNull(group5.group6.ipt_stocym.value))
- {
- if(pmsg == true)
- {
- sysf_messageBox("기준년월 " ,"C002");
- group5.group6ipt_stocym.setFocus();
- }
- return false;
- }
- if(utlf_isNull(group5.group6.ipt_windeptcd.value))
- {
- if(pmsg == true)
- {
- sysf_messageBox("입고부서를 " ,"C001");
- group5.group6.ipt_windeptcd.setFocus();
- }
- return false;
- }
- if(utlf_isNull(group5.group6.ipt_winfrdd.value))
- {
- if(pmsg == true)
- {
- sysf_messageBox("입고시작일자를 " ,"C001");
- group5.group6.ipt_winfrdd.setFocus();
- }
- return false;
- }
- if(utlf_isNull(group5.group6.ipt_wintodd.attribute.value))
- {
- if(pmsg == true)
- {
- sysf_messageBox("입고종료일자를 " ,"C001");
- group5.group6.ipt_wintodd.setFocus();
- }
- return false;
- }
- return true;
- }
- function group5_group6_button1_onclick(obj:Button, e:ClickEventInfo) {
- if(group5.sw_flag.tabindex == 0)
- {
-
- var oParam = {};
- oParam.id = "TRRSG02601";
- oParam.service = "stocsumapp.StocSumMngt";
- oParam.method = "reqGetNutrStocCustBiyul2";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_main_list_nutrstoccustbiyul=nutrstoccustbiyul";
- oParam.async = false;
- //oParam.callback = "cf_TRRSG02601";
- tranf_submit(oParam);
- } else if (group5.sw_flag.tabindex == 1)
- {
- var oParam = {};
- oParam.id = "TRRSG02602";
- oParam.service = "stocsumapp.StocSumMngt";
- oParam.method = "reqGetNutrStocGoodList";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_main_list_goodlist=goodlist";
- oParam.async = false;
- //oParam.callback = "cf_TRRSG02602";
- tranf_submit(oParam);
-
- }
- }
- function group5_group6_ipt_stoctoym_onkillfocus(obj:Calendar, e:KillFocusEventInfo) {
- //btn_search.dispatch("DOMActivate");
- }
- function group5_group6_ipt_goodcd_onkillfocus(obj:Edit, e:KillFocusEventInfo) {
- // if(group5.group6.ipt_goodcd.value.length == 0)
- // group5.group6.ipt_goodnm.value = "";
- // else
- // /*
- // rszfValidationCheck("TRRSD00191", "goodlist" , "refcond,instcd,goodflag,goodcd",
- // "goodcd," + model.getValue(group5.group6.cmb_instcd.attribute("ref")) + "," + model.getValue(group5.group6.ipt_goodflag.attribute("ref")) + "," + model.getValue(group5.group6.ipt_goodcd.attribute("ref")) ,"","goodcd,goodnm",
- // group5.group6.ipt_goodcd,"SPRSD00210","instcd,goodflag,goodcd","cmb_instcd,group5.group6.ipt_goodflag,ipt_goodcd");
- // */
- // rszfValidationCheck("TRRSD00191", "goodlist" , "refcond,instcd,goodflag,goodcd",
- // "goodcd," + model.getValue(group5.group6.cmb_instcd.attribute("ref")) + "," + model.getValue(group5.group6.ipt_goodflag.attribute("ref")) + "," + model.getValue(group5.group6.ipt_goodcd.attribute("ref")) ,"","goodcd,goodnm",
- // group5.group6.ipt_goodcd,"SPRSD00210","instcd,goodflag,goodcd","cmb_instcd,group5.group6.ipt_goodflag,"+ model.getValue(group5.group6.ipt_goodcd.attribute("ref")) );
- //
- // //model.refresh();
- }
- function group5_group6_button2_onclick(obj:Button, e:ClickEventInfo) {
- rszfOpenPopUpListByWndName(group5.group6.ipt_goodcd,"","goodcd,goodnm","SPRSD00210","instcd,goodflag","group5.group6.cmb_instcd,group5.group6.ipt_goodflag");
-
- //model.refresh();
- }
- function group5_group6_ipt_goodnm_onkillfocus(obj:Edit, e:KillFocusEventInfo) {
- //
- // if(group5.group6.ipt_goodnm.value.length == 0)
- // group5.group6.ipt_goodcd.value = "";
- // else
- // /*
- // rszfValidationCheck("TRRSD00191", "goodlist" , "refcond,instcd,goodflag,goodnm",
- // "goodnm," + model.getValue(group5.group6.cmb_instcd.attribute("ref")) + "," + model.getValue(group5.group6.ipt_goodflag.attribute("ref")) + "," + model.getValue(group5.group6.ipt_goodnm.attribute("ref")) ,"","goodcd,goodnm",
- // group5.group6.ipt_goodcd,"SPRSD00210","instcd,goodflag","cmb_instcd,ipt_goodflag");
- // */
- // rszfValidationCheck("TRRSD00191", "goodlist" , "refcond,instcd,goodflag,goodnm",
- // "goodnm," + model.getValue(group5.group6.cmb_instcd.attribute("ref")) + "," + model.getValue(group5.group6.ipt_goodflag.attribute("ref")) + "," + model.getValue(group5.group6.ipt_goodnm.attribute("ref")) ,"","goodcd",
- // group5.group6.ipt_goodcd,"SPRSD00210","instcd,goodflag,goodnm","cmb_instcd,group5.group6.ipt_goodflag,"+ model.getValue(group5.group6.ipt_goodnm.attribute("ref")) );
- //
- // //model.refresh();
- }
- function group5_sw_flag_case_grdcustpr_button14_onclick(obj:Button, e:ClickEventInfo) {
- //misfSaveExcel(group5.sw_flag.case_grdcustpr.grd_nutrcustbiyul,"거래처별지출현황");
- grdf_exportExcel(group5.sw_flag.case_grdcustpr.grd_nutrcustbiyul, "거래처별지출현황", "거래처별지출현황", "true", "", "");
- }
- function group5_sw_flag_case_grdgoodpr_button10_onclick(obj:Button, e:ClickEventInfo) {
- //misfSaveExcel(group5.sw_flag.case_grdgoodpr.grd_goodlist,"식품별지출현황");
- grdf_exportExcel(group5.sw_flag.case_grdgoodpr.grd_goodlist, "식품별지출현황", "식품별지출현황", "true", "", "");
- }
- function group5_btn_goodpr_onclick(obj:Button, e:ClickEventInfo) {
- group5.group6.caption1.visible = true;
- group5.group6.ipt_goodcd.visible = true;
- group5.group6.button2.visible = true;
- group5.group6.ipt_goodnm.visible = true;
- }
- function group5_sw_flag_onchanged(obj:Tab, e:TabIndexChangeEventInfo)
- {
- if(group5.sw_flag.tabindex == 1){
- group5.group6.caption1.visible = true;
- group5.group6.ipt_goodcd.visible = true;
- group5.group6.button2.visible = true;
- group5.group6.ipt_goodnm.visible = true;
- }
- }
- ]]></Script>
- </Form>
- </FDL>
|