123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
- <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events">
- <xhtml:head>
- <xhtml:title>상차림현황</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <gnrlmeal>
- <appdd/>
- <mealflag/>
- <gnrlflag/>
- <acount/>
- <bcount/>
- <ccount/>
- <dcount/>
- </gnrlmeal>
- <curesidemeal>
- <appdd/>
- <mealflag/>
- <menuflag/>
- <dishtableflag/>
- <dishcd/>
- <dishnm/>
- <psnno1/>
- <psnno2/>
- <psnno3/>
- <psnno4/>
- <psnno5/>
- <psnno6/>
- <remark/>
- </curesidemeal>
- <curericemeal>
- <appdd/>
- <mealflag/>
- <riceflag/>
- <whiterice/>
- <mixrice/>
- </curericemeal>
- <curegruelmeal>
- <appdd/>
- <mealflag/>
- <gruelflag/>
- <whitegruel/>
- <etcgruel/>
- </curegruelmeal>
- </main>
- <main2>
- <curemeal>
- <rows/>
- </curemeal>
- </main2>
- <send>
- <searchitem>
- <appdd/>
- <menuflag/>
- <mealflag/>
- <dietmdlcd/>
- </searchitem>
- <req>
- <dish/>
- </req>
- <print>
- <gnrlmeal/>
- <curesidemeal/>
- <curericemeal/>
- <curegruelmeal/>
- </print>
- </send>
- <temp>
- </temp>
- <init>
- <basecode>
- <meal>
- <A0055>
- <cdid/>
- <cdnm/>
- </A0055>
- </meal>
- <diettable>
- <A0417>
- <cdid/>
- <cdnm/>
- </A0417>
- </diettable>
- <dietmdlcd>
- <A0047>
- <cdid/>
- <cdnm/>
- </A0047>
- </dietmdlcd>
- </basecode>
- </init>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- finit();
- btn_search.disabled = !checkAuth("R");
- //btn_save.disabled = !checkAuth("X");
- //btn_excel.disabled = !checkAuth("P");
- ]]>
- </script>
- <submission id="TRZBC00101"/>
- <submission id="TRANT00601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/searchitem" resultref="/root/main"/>
- <submission id="TRANT00602" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/searchitem" resultref="/root/temp/curemeal"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript">
- <![CDATA[
- var gvGridCaption = grd_curemeal.caption;
-
- function finit() {
- // 화면open시 공통코드 setting
- zbcfGetCodeList( new Array( "A0055", "A0417", "A0047" ), new Array( "/root/init/basecode/meal", "/root/init/basecode/diettable", "/root/init/basecode/dietmdlcd" ) );
- //model.resetInstanceNode("/root/main");
- model.resetInstanceNode("/root/send");
- model.removeNodeset("/root/main");
- model.removeNodeset("/root/main2");
- //model.setFocus("ipt_pid");
- model.setValue("/root/send/searchitem/appdd", getCurrentDate());
- model.setValue("/root/send/searchitem/menuflag", "Q1");
- model.setValue("/root/send/searchitem/dietmdlcd", "04");
- btn_gnrlmeal.dispatch("DOMActivate");
- //화면open시 현재시간을 계산하여 끼니 자동setting
- //각 끼니별 2차 마감시간으로부터 2시간후까지는 이전끼니로 setting
- var tm = getCurrentTime();
- if ( tm.substr(0,4) <= 0830 ) { //조식 2차 마감시간은 06:30
- //if ( tm.substr(0,4) <= 0630 ) {
- model.setValue("/root/send/searchitem/mealflag", "1");
- } else if ( (tm.substr(0,4) > 0830) && (tm.substr(0,4) <= 1330) ) { //중식 2차 마감시간은 11:30
- //} else if ( (tm.substr(0,4) > 0630) && (tm.substr(0,4) <= 1130) ) {
- model.setValue("/root/send/searchitem/mealflag", "2");
- } else {
- model.setValue("/root/send/searchitem/mealflag", "3");
- }
- //치료식탭 관련
- //var gvGridCaption = grd_curemeal.caption;
- grd_curemeal.refresh();
- grd_curemeal.mergeByFree(0,0,1,0);
- grd_curemeal.mergeByFree(0,1,1,1);
- grd_curemeal.mergeByFree(0,2,1,2);
-
- model.refresh();
- btn_search.dispatch("DOMActivate");
- }
-
- //치료식 상차림 현황 : temp 노드로 조회된 치료식 상차림 데이터를 main2 노드로 이동시킨다.
- function fAddGridColumns() {
- var nodelist = instance1.selectNodes("/root/temp/curemeal/header");
- var colcnt = nodelist.length;
- var grdCaption = grd_curemeal.caption.split("|"); // 헤더 caption을 2줄로 분리
- for (var i=0; i<colcnt; i++) {
- var columnid = model.getValue("/root/temp/curemeal/header["+(i+1)+"]/columnid");
- var dietnm = model.getValue("/root/temp/curemeal/header["+(i+1)+"]/dietnm");
- var mealcalrcnts = model.getValue("/root/temp/curemeal/header["+(i+1)+"]/mealcalrcnts");
- grd_curemeal.addColumn("ref:"+columnid+"; type:input; text-align:center;", false);
- //<col ref="bcount" style="text-align:right; "/>
-
- //식사처방명이 6글자 이상일 경우 첫번째 HeaderRow 높이 늘이기
- if( dietnm.length >= 6 ) {
- var dietnmLen = Math.ceil(dietnm.length / 2);
- dietnm = dietnm.substr(0, dietnmLen) + "\n" + dietnm.substr(dietnmLen);;
- }
-
- grdCaption[0] = grdCaption[0] + "^" + dietnm;
- grdCaption[1] = grdCaption[1] + "^" + mealcalrcnts;
- }
- grd_curemeal.caption= grdCaption[0] + "|" + grdCaption[1];
-
- var grdnode = instance1.selectSingleNode("/root/main2");
-
- if (instance1.selectSingleNode("/root/main2/curemeal") != null) {
- grdnode.replaceChild(instance1.root.temp.curemeal, instance1.root.main2.curemeal);
- }
-
- grd_curemeal.refresh();
-
- grd_curemeal.mergeByFree(0,0,1,0);
- grd_curemeal.mergeByFree(0,1,1,1);
- grd_curemeal.mergeByFree(0,2,1,2);
-
- model.refresh();
- }
-
- //치료식 상차림 현황 : 치료식 그리드(grd_curemeal) 초기화
- function fInitGridColumns() {
- var cols = grd_curemeal.cols-grd_curemeal.fixedCols;
- for (var i=3; i<cols; i++) {
- grd_curemeal.removeColumn(false);
- }
-
- model.removeNodeset("/root/main2/curemeal");
-
- grd_curemeal.caption = gvGridCaption;
- }
-
- //탭화면별로 컨트롤을 숨기거나 보이기
- function fvisible(str) {
- //일반식,치료식찬,치료식주식일 경우
- if ( str == '1' ) {
- //조회조건중 끼니 보임.
- caption4.visible = true;
- rdo_mealflag.visible = true;
- //조회조건중 분류 숨김.
- caption1.visible = false;
- cmb_dietmdlcd.visible = false;
- //엑셀버튼 숨김.
- btn_excel.visible = false;
- //출력버튼 보임.
- btn_print.visible = true;
- }
- //치료식일 경우
- else if ( str == '2' ) {
- //조회조건중 끼니 숨김.
- caption4.visible = false;
- rdo_mealflag.visible = false;
- //조회조건중 분류 보임.
- caption1.visible = true;
- cmb_dietmdlcd.visible = true;
- //엑셀버튼 보임.
- btn_excel.visible = true;
- //출력버튼 숨김.
- btn_print.visible = false;
- }
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body guideline="1,1195;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:150px; height:14px; ">상차림현황</caption>
- </group>
- <group id="grp_biz" scroll="auto" style="left:0px; top:13px; width:1195px; height:744px; ">
- <group id="grp_sea" style="left:0px; top:10px; width:1194px; height:35px; vertical-align:top; ">
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:35px; background-color:#fffbf2; "/>
- <caption id="caption2" class="search_name" style="left:71px; top:9px; width:64px; height:17px; ">일자 :</caption>
- <line id="line13" class="line_4" style="x1:1100px; y1:6px; x2:1100px; y2:28px; "/>
- <button id="btn_beforedd" class="icon_pre" style="left:228px; top:10px; width:13px; height:15px; ">
- <caption/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- var dd = model.getValue("/root/send/searchitem/appdd");
- dd = dd.toDate().getAddDate(-1, "D");
- dd = dd.getDateFormat();
- model.setValue("/root/send/searchitem/appdd", dd);
- model.refresh();
- ]]>
- </script>
- </button>
- <button id="btn_nextdd" class="icon_next" style="left:241px; top:10px; width:13px; height:15px; ">
- <caption/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- var dd = model.getValue("/root/send/searchitem/appdd");
- dd = dd.toDate().getAddDate(1, "D");
- dd = dd.getDateFormat();
- model.setValue("/root/send/searchitem/appdd", dd);
- model.refresh();
- ]]>
- </script>
- </button>
- <input id="ipt_appdd" ref="/root/send/searchitem/appdd" class="input_search" inputtype="date" style="left:132px; top:8px; width:90px; height:19px; "/>
- <button id="btn_search" class="btn1_letter2" style="left:1118px; top:7px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- submit("TRANT00601");
- model.removeNodeset("/root/main2/curemeal/rows");
- fInitGridColumns();
-
- if ( btn_curemeal.selected ) {
- fInitGridColumns();
- submit("TRANT00602", false);
- fAddGridColumns();
-
- //첫번째 HeaderRow 높이 늘이기
- grd_curemeal.rowHeight(0) = 35;
-
- //colWidth이 기본 100 이므로 70 으로 줄이기
- for( var i = 3; i < grd_curemeal.cols; i++ ) {
- grd_curemeal.colWidth(i) = 70;
- }
- //grd_curemeal.resizeCells();
- }
- model.refresh();
- ]]>
- </script>
- </button>
- <caption id="caption4" class="search_name" style="left:321px; top:9px; width:60px; height:17px; ">끼니 :</caption>
- <select1 id="rdo_mealflag" ref="/root/send/searchitem/mealflag" class="radio_search" appearance="full" cellspacing="5" cols="3" rows="1" overflow="visible" style="left:383px; top:8px; width:147px; height:19px; ">
- <choices>
- <item>
- <label>조식</label>
- <value>1</value>
- </item>
- <item>
- <label>중식</label>
- <value>2</value>
- </item>
- <item>
- <label>석식</label>
- <value>3</value>
- </item>
- </choices>
- </select1>
- <caption id="caption1" class="search_name" style="left:530px; top:9px; width:60px; height:17px; ">분류 :</caption>
- <select1 id="cmb_dietmdlcd" ref="/root/send/searchitem/dietmdlcd" class="combo_s_essential" appearance="minimal" style="left:590px; top:8px; width:135px; height:19px; ">
- <choices>
- <item>
- <label>당뇨식</label>
- <value>04</value>
- </item>
- <item>
- <label>신장질환식</label>
- <value>05</value>
- </item>
- <item>
- <label>간장질환식</label>
- <value>06</value>
- </item>
- <item>
- <label>위장질환식</label>
- <value>07</value>
- </item>
- <item>
- <label>심혈관질환식</label>
- <value>08</value>
- </item>
- <item>
- <label>경장영양식</label>
- <value>09</value>
- </item>
- <item>
- <label>기타치료식</label>
- <value>10</value>
- </item>
- <item>
- <label>검사식</label>
- <value>11</value>
- </item>
- <item>
- <label>멸균식</label>
- <value>12</value>
- </item>
- <item>
- <label>비급여식</label>
- <value>13</value>
- </item>
- </choices>
- </select1>
- </group>
- <button id="btn_gnrlmeal" class="btn_sw" group="tab" selected="true" style="left:0px; top:49px; width:78px; height:22px; ">
- <caption>일반식</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.toggle("case1");
- fvisible('1'); //탭화면별로 컨트롤을 숨기거나 보이기
- ]]>
- </script>
- </button>
- <button id="btn_curesidemeal" class="btn_sw" group="tab" style="left:78px; top:49px; width:78px; height:22px; ">
- <caption>치료식찬</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.toggle("case2");
- fvisible('1'); //탭화면별로 컨트롤을 숨기거나 보이기
- ]]>
- </script>
- </button>
- <button id="btn_curemainmeal" class="btn_sw" group="tab" style="left:156px; top:49px; width:85px; height:22px; ">
- <caption>치료식주식</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.toggle("case3");
- fvisible('1'); //탭화면별로 컨트롤을 숨기거나 보이기
- ]]>
- </script>
- </button>
- <button id="btn_curemeal" class="btn_sw" group="tab" style="left:241px; top:49px; width:78px; height:22px; ">
- <caption>치료식</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.toggle("case4");
- fvisible('2'); //탭화면별로 컨트롤을 숨기거나 보이기
- ]]>
- </script>
- </button>
- <button id="btn_excel" class="btn2_letter2" style="left:1146px; top:50px; width:42px; height:19px; ">
- <caption>엑셀</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //치료식 탭화면일때
- if ( btn_curemeal.selected ) {
- if ( grd_curemeal.rows-2 > 0 ) {
- var filename = window.fileDialog("save", ",", false, "치료식상차림현황", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
- if (filename != "") {
- grd_curemeal.saveExcel(filename, "grd_curemeal", true, false, "", "", "");
- }
- } else {
- messageBox("엑셀로 저장할 데이터가", "I004")
- return;
- }
- }
- ]]>
- </script>
- </button>
- <switch id="switch2" style="left:0px; top:70px; width:1194px; height:670px; ">
- <case id="case1" selected="true">
- <datagrid id="grd_gnrlmeal" nodeset="/root/main/gnrlmeal" caption="일자^끼니^구분^A^B^C^D" colsep="^" colwidth="50, 50, 150, 150, 150, 150, 150" dataheight="25" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:0px; width:1192px; height:668px; ">
- <col ref="appdd" visibility="hidden"/>
- <col ref="mealflag" visibility="hidden"/>
- <col ref="gnrlflag"/>
- <col ref="acount" style="text-align:center; "/>
- <col ref="bcount" style="text-align:center; "/>
- <col ref="ccount" style="text-align:center; "/>
- <col ref="dcount" style="text-align:center; "/>
- </datagrid>
- </case>
- <case id="case2">
- <datagrid id="grd_curesidemeal" nodeset="/root/main/curesidemeal" caption="적용일자^끼니^식단구분^구분^식단코드^식단명^염분기준식수^염분기준식수^염분기준식수^염분기준식수^염분기준식수^염분기준식수^비고|적용일자^끼니^식단구분^구분^식단코드^식단명^당뇨^당뇨다진^경저염^경저염다진^저염^저염다진^비고" colsep="^" colwidth="10, 10, 10, 100, 10, 150, 80, 80, 80, 80, 80, 80, 200" dataheight="25" mergecells="byrestriccol" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:0px; width:1192px; height:668px; ">
- <col ref="appdd" visibility="hidden"/>
- <col ref="mealflag" visibility="hidden"/>
- <col ref="menuflag" visibility="hidden"/>
- <col ref="dishtableflag"/>
- <col ref="dishcd" visibility="hidden"/>
- <col ref="dishnm"/>
- <col ref="psnno1" type="input" style="text-align:center; "/>
- <col ref="psnno2" type="input" style="text-align:center; "/>
- <col ref="psnno3" type="input" style="text-align:center; "/>
- <col ref="psnno4" type="input" style="text-align:center; "/>
- <col ref="psnno5" type="input" style="text-align:center; "/>
- <col ref="psnno6" type="input" style="text-align:center; "/>
- <col ref="remark" type="input"/>
- </datagrid>
- </case>
- <case id="case3">
- <datagrid id="grd_curericemeal" nodeset="/root/main/curericemeal" caption="일자^끼니^밥량(g)^흰밥^잡곡밥" colsep="^" colwidth="50, 50, 100, 100, 100" dataheight="25" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:0px; width:322px; height:255px; text-align:center; ">
- <col ref="appdd" visibility="hidden"/>
- <col ref="mealflag" visibility="hidden"/>
- <col ref="riceflag"/>
- <col ref="whiterice"/>
- <col ref="mixrice"/>
- </datagrid>
- <datagrid id="grd_curegruelmeal" nodeset="/root/main/curegruelmeal" caption="일자^끼니^죽량(g)^흰죽^기타죽" colsep="^" colwidth="50, 50, 100, 100, 100" dataheight="25" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:500px; top:0px; width:322px; height:186px; text-align:center; ">
- <col ref="appdd" visibility="hidden"/>
- <col ref="mealflag" visibility="hidden"/>
- <col ref="gruelflag"/>
- <col ref="whitegruel"/>
- <col ref="etcgruel"/>
- </datagrid>
- </case>
- <case id="case4">
- <datagrid id="grd_curemeal" nodeset="/root/main2/curemeal/rows" autoresize="true" caption="끼니^구분^식단|끼니^구분^식단" colwidth="40, 50, 100" mergecells="byrestriccol" mergecellsfixedrows="byrestricrow" style="left:0px; top:0px; width:1192px; height:668px; ">
- <col disabled="true" ref="mealflag" type="combo">
- <choices>
- <itemset nodeset="/root/init/basecode/meal/A0055">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="dishtablenm"/>
- <col ref="dishnm"/>
- </datagrid>
- </case>
- </switch>
- </group>
- <group id="grp_btn" style="left:0px; top:757px; width:1195px; height:27px; ">
- <button id="btn_print" class="btn6_letter2" style="left:5px; top:5px; width:56px; height:22px; ">
- <caption>출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //일반식 탭화면일때
- if ( btn_gnrlmeal.selected ) {
- exeReportPreview("RPANT00601", "XMLSTR", "/root/main");
- }
- //치료식찬 탭화면일때
- else if ( btn_curesidemeal.selected ) {
- if ( grd_curesidemeal.rows-2 > 0 ) {
- exeReportPreview("RPANT00602", "XMLSTR", "/root/main");
- } else {
- messageBox("치료식찬 출력할 데이터가", "I004")
- return;
- }
- }
- //치료식주식 탭화면일때
- else if ( btn_curemainmeal.selected ) {
- exeReportPreview("RPANT00603", "XMLSTR", "/root/main");
- //exeReportPreview("RPANT00604", "XMLSTR", "/root/main");
- }
- //치료식 탭화면일때
- else if ( btn_curemeal.selected ) {
- messageBox("치료식 출력은 엑셀로 처리", "I008");
- return;
- }
- ]]>
- </script>
- </button>
- <button id="btn_reset" class="btn4_letter3" visibility="hidden" style="left:1060px; top:5px; width:68px; height:22px; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- finit();
- ]]>
- </script>
- </button>
- <button id="btn_save" class="btn4_letter2" visibility="hidden" style="left:1133px; top:5px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // if ( messageBox("", "Q002") == 6 ) {
- // //필수입력항목 체크
- // for ( i=1; i<grd_dish.rows-1; i++) {
- // if ( (model.getValue("/root/main/dish[" + i + "]/cnfmfoodqty") == "") ||
- // (model.getValue("/root/main/dish[" + i + "]/cnfmpsnno") == "") ||
- // (model.getValue("/root/main/dish[" + i + "]/cnfmtotalqty") == "") ) {
- // messageBox("확정 항목은", "I003");
- // return;
- // }
- // }
- // model.setValue("/root/send/req/dish", grd_dish.getUpdateData());
- // submit("TXANT01601");
- // } else { return; }
- ]]>
- </script>
- </button>
- <button id="button1" class="btn6_letter4" visibility="hidden" style="left:70px; top:5px; width:56px; height:22px; ">
- <caption>신규출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //일반식 탭화면일때
- if ( btn_gnrlmeal.selected ) {
- // exeReportPreview("RPANT00601", "XMLSTR", "/root/main");
- //추가수정 함
- exeReportPreview("RPANT00605", "XMLSTR", "/root/main");
- }
- //치료식찬 탭화면일때
- else if ( btn_curesidemeal.selected ) {
- if ( grd_curesidemeal.rows-2 > 0 ) {
- exeReportPreview("RPANT00602", "XMLSTR", "/root/main");
- } else {
- messageBox("치료식찬 출력할 데이터가", "I004")
- return;
- }
- }
- //치료식주식 탭화면일때
- else if ( btn_curemainmeal.selected ) {
- exeReportPreview("RPANT00603", "XMLSTR", "/root/main");
- //exeReportPreview("RPANT00604", "XMLSTR", "/root/main");
- }
- //치료식 탭화면일때
- else if ( btn_curemeal.selected ) {
- messageBox("치료식 출력은 엑셀로 처리", "I008");
- return;
- }
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|