123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/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>
- <data>
- <bfroom/>
- <room/>
- <pid/>
- <hngnm2/>
- <prcpnm/>
- <prcpdelivefact/>
- <fstrgstrid/>
- <fstrgstdt/>
- <wardcd/>
- <prcpdd/>
- </data>
- <printlist>
- <bfroom/>
- <room/>
- <pid/>
- <hngnm2/>
- <prcpnm/>
- <prcpdelivefact/>
- <fstrgstrid/>
- <fstrgstdt/>
- </printlist>
- <patinfo>
- <patinfolist/>
- </patinfo>
- </main>
- <printinfo>
- <printlist>
- <ward/>
- <wardnm/>
- <bfroom/>
- <room/>
- <pid/>
- <hngnm/>
- <disp1/>
- <disp2/>
- <disp3/>
- <dietnm2/>
- <clinccmtcnts/>
- <prcpdelivefact/>
- <tfdtlcd/>
- <remark/>
- <room1/>
- <dietnm1/>
- <bfremfactcd/>
- <bfremfactnm/>
- <room2/>
- <choidietyn/>
- <iptpsn/>
- <iptdt/>
- <prcpdd/>
- <dietmeal/>
- <calr/>
- <mealcnt/>
- <procermealyn/>
- <dietcd/>
- <dietmdlnm/>
- <dietsmlnm/>
- <calrunit/>
- <remark1/>
- <remark2/>
- <remark3/>
- <dietnm/>
- </printlist>
- </printinfo>
- <send>
- <searchitem>
- <prcpdd/>
- <pid/>
- <hngnm/>
- </searchitem>
- </send>
- <temp>
- <ret>
- <retmsg/>
- </ret>
- </temp>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- finit();
- ]]>
- </script>
- <script type="javascript">
- <![CDATA[
- //초기화
- function finit() {
- //화면open시 공통코드 setting
- // zbcfGetCodeList( new Array( "A0047", "M0042", "A0054" ), new Array( "/root/init/basecode/meal", "/root/init/basecode/dietmeal", "/root/init/basecode/endflag" ) );
- //zbcfGetDeptCodeList(getUserInfo("dutplceinstcd"), 'orduseyn', 'W', '/root/init/code/ward', 'depthngnm', 'asc', new Date().getDateFormat("YYYYMMDD"), "", 'after');
- // zsdfGetWardDeptList(getUserInfo("dutplceinstcd"), '/root/init/code/ward', 'depthngnm', 'asc', new Date().getDateFormat("YYYYMMDD"), 'after');
- // submit("TRANT00102"); //조절코드 조회
- // submit("TRANB00208"); //영양팀병동 조회
- // astfAddCombo("/root/init/basecode/wardcls","data","wardcd,wardnm",",");
- model.resetInstanceNode("/root/main/data");
- //model.resetInstanceNode("/root/send");
- model.setValue("/root/send/searchitem/prcpdd", getCurrentDate());
- //화면open시 현재시간을 계산하여 끼니와 마감구분 자동setting
- //각 끼니별 2차 마감시간으로부터 2시간후까지는 이전끼니로 setting
-
- // model.setValue("/root/send/searchitem/nmcardflag", "0");
- //model.setValue("", "-");
- model.refresh();
- }
-
- //경장영양식라벨 출력
- function ftflabel(meal, mealtm) {
- model.copyNode("/root/send/tflabel", "/root/main");
- var lastrow = grd_data.rows;
- //cc계산 및 횟수가 4회 이상인 환자의 라벨 추가생성
- for ( i=1; i<grd_data.rows; i++) {
- //cc계산
- if (getUserInfo("dutplceinstcd") == "012"){
- model.makeNode("/root/send/tflabel/printlist[" + i + "]/cc");
- var calr = model.getValue("/root/send/tflabel/printlist[" + i + "]/calr");
- var mealcnt = model.getValue("/root/send/tflabel/printlist[" + i + "]/mealcnt");
- var cc = Math.round(calr/mealcnt);
- model.setValue("/root/send/tflabel/printlist[" + i + "]/cc", cc);
- model.setValue("/root/send/tflabel/printlist[" + i + "]/dietmeal", mealtm);
- //횟수가 4회 이상인 환자의 라벨 추가생성
- if ( (meal == '조식') && (mealcnt > 4) ) {
- var mealnm = model.getValue("/root/send2/timelist[cntlcd1='11']/cdid");
- if (mealnm != ""){
- copyNodesetType("/root/send/tflabel/printlist", "/root/send/tflabel/printlist[" + i + "]", "after", model, model);
- //model.setValue("/root/send/tflabel/printlist[" + lastrow + "]/dietmeal", '10:00');
- model.setValue("/root/send/tflabel/printlist[" + lastrow + "]/dietmeal", mealnm);
- lastrow = lastrow + 1;
- }
- }
- else if ( (meal == '중식') && (mealcnt > 3) ) {
- var mealnm = model.getValue("/root/send2/timelist[cntlcd1='21']/cdid");
- if (mealnm != ""){
- copyNodesetType("/root/send/tflabel/printlist", "/root/send/tflabel/printlist[" + i + "]", "after", model, model);
- //model.setValue("/root/send/tflabel/printlist[" + lastrow + "]/dietmeal", '15:00');
- model.setValue("/root/send/tflabel/printlist[" + lastrow + "]/dietmeal", mealnm);
- lastrow = lastrow + 1;
- }
- }
- else if ( (meal == '석식') && (mealcnt > 5) ) {
- var mealnm = model.getValue("/root/send2/timelist[cntlcd1='31']/cdid");
- var mcount = parseInt(model.getValue("/root/send2/timelist[cntlcd1='31']/dispseq"));
- if (mealnm != ""){
- for (var k = 0; k < mcount; k ++){
- copyNodesetType("/root/send/tflabel/printlist", "/root/send/tflabel/printlist[" + i + "]", "after", model, model);
- //model.setValue("/root/send/tflabel/printlist[" + lastrow + "]/dietmeal", '20:30');
- model.setValue("/root/send/tflabel/printlist[" + lastrow + "]/dietmeal", mealnm);
- lastrow = lastrow + 1;
- }
- }
- }
- }else if (getUserInfo("dutplceinstcd") == "013"){
- //횟수가 4회 이상인 환자의 라벨 추가생성
- //alert("1==> " + mealtm + "==" + meal);
- model.makeNode("/root/send/tflabel/printlist[" + i + "]/cc");
- var calr = model.getValue("/root/send/tflabel/printlist[" + i + "]/calr");
- var mealcnt = model.getValue("/root/send/tflabel/printlist[" + i + "]/mealcnt");
- var cc = Math.round(calr/mealcnt);
- model.makeValue("/root/send/tflabel/printlist[" + i + "]/cc", cc);
- model.makeValue("/root/send/tflabel/printlist[" + i + "]/dietmeal", mealtm);
- if ( meal == '조식'){
- if (mealcnt > 4) {
- var mealnm = model.getValue("/root/send2/timelist[cntlcd1='11']/cdid");
- if (mealnm != ""){
- copyNodesetType("/root/send/tflabel/printlist", "/root/send/tflabel/printlist[" + i + "]", "after", model, model);
- //model.setValue("/root/send/tflabel/printlist[" + lastrow + "]/dietmeal", '10:00');
- model.setValue("/root/send/tflabel/printlist[" + lastrow + "]/dietmeal", mealnm);
- lastrow = lastrow + 1;
- }
- }
- }
- else if (meal == '중식') {
- if (mealcnt > 4){
- var mealnm = model.getValue("/root/send2/timelist[cntlcd1='21']/cdid");
- if (mealnm != ""){
- //copyNodesetType("/root/send/tflabel/printlist", "/root/send/tflabel/printlist[" + i + "]", "after", model, model);
- //model.setValue("/root/send/tflabel/printlist[" + lastrow + "]/dietmeal", '15:00');
- model.setValue("/root/send/tflabel/printlist[" + i + "]/dietmeal", mealnm);
- lastrow = lastrow + 1;
- }
- }else{
- model.makeNode("/root/send/tflabel/printlist[" + i + "]/cc");
- var calr = model.getValue("/root/send/tflabel/printlist[" + i + "]/calr");
- var cc = Math.round(calr/mealcnt);
- model.makeValue("/root/send/tflabel/printlist[" + i + "]/cc", cc);
- model.makeValue("/root/send/tflabel/printlist[" + i + "]/dietmeal", mealtm);
- }
- }
- else if (meal == '석식') {
- model.makeNode("/root/send/tflabel/printlist[" + i + "]/cc");
- var calr = model.getValue("/root/send/tflabel/printlist[" + i + "]/calr");
- var cc = Math.round(calr/mealcnt);
- model.setValue("/root/send/tflabel/printlist[" + i + "]/cc", cc);
- model.setValue("/root/send/tflabel/printlist[" + i + "]/dietmeal", mealtm);
- if (mealcnt == 4){
- var mealnm = model.getValue("/root/send2/timelist[cntlcd1='31']/cdid");
- if (mealnm != ""){
- copyNodesetType("/root/send/tflabel/printlist", "/root/send/tflabel/printlist[" + i + "]", "after", model, model);
- //model.setValue("/root/send/tflabel/printlist[" + lastrow + "]/dietmeal", '15:00');
- model.setValue("/root/send/tflabel/printlist[" + lastrow + "]/dietmeal", mealnm);
- lastrow = lastrow + 1;
- }
- }else if (mealcnt == 5){
- var mealnm = model.getValue("/root/send2/timelist[cntlcd1='31']/cdid");
- if (mealnm != ""){
- copyNodesetType("/root/send/tflabel/printlist", "/root/send/tflabel/printlist[" + i + "]", "after", model, model);
- //model.setValue("/root/send/tflabel/printlist[" + lastrow + "]/dietmeal", '15:00');
- model.setValue("/root/send/tflabel/printlist[" + lastrow + "]/dietmeal", mealnm);
- lastrow = lastrow + 1;
- }
- }else if (mealcnt == 6){
- var mealnm = model.getValue("/root/send2/timelist[cntlcd1='31']/cdid");
- var mcount = parseInt(model.getValue("/root/send2/timelist[cntlcd1='31']/dispseq"));
- if (mealnm != ""){
- for (var k = 0; k < mcount; k ++){
- copyNodesetType("/root/send/tflabel/printlist", "/root/send/tflabel/printlist[" + i + "]", "after", model, model);
- //model.setValue("/root/send/tflabel/printlist[" + lastrow + "]/dietmeal", '20:30');
- model.setValue("/root/send/tflabel/printlist[" + lastrow + "]/dietmeal", mealnm);
- lastrow = lastrow + 1;
- }
- }
- }
- }
- }else if (getUserInfo("dutplceinstcd") == "011"){
- //횟수가 4회 이상인 환자의 라벨 추가생성
- //alert("1==> " + mealtm + "==" + meal);
- model.makeNode("/root/send/tflabel/printlist[" + i + "]/cc");
- var calr = model.getValue("/root/send/tflabel/printlist[" + i + "]/calr");
- var mealcnt = model.getValue("/root/send/tflabel/printlist[" + i + "]/mealcnt");
- var cc = Math.round(calr/mealcnt);
- model.makeValue("/root/send/tflabel/printlist[" + i + "]/cc", cc);
- model.makeValue("/root/send/tflabel/printlist[" + i + "]/dietmeal", mealtm);
- if ( meal == '조식'){
-
- if (mealcnt > 4){
- var mealnm = model.getValue("/root/send2/timelist[cntlcd1='11']/cdid");
- if (mealnm != ""){
- copyNodesetType("/root/send/tflabel/printlist", "/root/send/tflabel/printlist[" + i + "]", "after", model, model);
- model.setValue("/root/send/tflabel/printlist[" + lastrow + "]/dietmeal", mealnm);
- lastrow = lastrow + 1;
- }
- }
-
- }
- else if (meal == '중식') {
- model.makeNode("/root/send/tflabel/printlist[" + i + "]/cc");
- var calr = model.getValue("/root/send/tflabel/printlist[" + i + "]/calr");
- var cc = Math.round(calr/mealcnt);
- model.makeValue("/root/send/tflabel/printlist[" + i + "]/cc", cc);
- model.makeValue("/root/send/tflabel/printlist[" + i + "]/dietmeal", mealtm);
-
- if (mealcnt > 4){
- var mealnm = model.getValue("/root/send2/timelist[cntlcd1='21']/cdid");
- if (mealnm != ""){
- copyNodesetType("/root/send/tflabel/printlist", "/root/send/tflabel/printlist[" + i + "]", "after", model, model);
- model.setValue("/root/send/tflabel/printlist[" + lastrow + "]/dietmeal", mealnm);
- lastrow = lastrow + 1;
- }
- }
- }
- else if (meal == '석식') {
- model.makeNode("/root/send/tflabel/printlist[" + i + "]/cc");
- var calr = model.getValue("/root/send/tflabel/printlist[" + i + "]/calr");
- var cc = Math.round(calr/mealcnt);
- model.setValue("/root/send/tflabel/printlist[" + i + "]/cc", cc);
- model.setValue("/root/send/tflabel/printlist[" + i + "]/dietmeal", mealtm);
- if (mealcnt == 4){
- var mealnm = model.getValue("/root/send2/timelist[cntlcd1='31']/cdid");
- if (mealnm != ""){
- copyNodesetType("/root/send/tflabel/printlist", "/root/send/tflabel/printlist[" + i + "]", "after", model, model);
- model.setValue("/root/send/tflabel/printlist[" + lastrow + "]/dietmeal", mealnm);
- lastrow = lastrow + 1;
- }
- }else if (mealcnt == 5){
- var mealnm = model.getValue("/root/send2/timelist[cntlcd1='31']/cdid");
- if (mealnm != ""){
- copyNodesetType("/root/send/tflabel/printlist", "/root/send/tflabel/printlist[" + i + "]", "after", model, model);
- model.setValue("/root/send/tflabel/printlist[" + lastrow + "]/dietmeal", mealnm);
- lastrow = lastrow + 1;
- }
- }else if (mealcnt == 6){
- var mealnm = model.getValue("/root/send2/timelist[cntlcd1='31']/cdid");
- var mcount = parseInt(model.getValue("/root/send2/timelist[cntlcd1='31']/dispseq"));
- if (mealnm != ""){
- for (var k = 0; k < mcount; k ++){
- copyNodesetType("/root/send/tflabel/printlist", "/root/send/tflabel/printlist[" + i + "]", "after", model, model);
- //model.setValue("/root/send/tflabel/printlist[" + lastrow + "]/dietmeal", '20:30');
- model.setValue("/root/send/tflabel/printlist[" + lastrow + "]/dietmeal", mealnm);
- lastrow = lastrow + 1;
- }
- }
- }
- }
-
-
- }else{
- //횟수가 4회 이상인 환자의 라벨 추가생성
- //alert("1==> " + mealtm + "==" + meal);
- model.makeNode("/root/send/tflabel/printlist[" + i + "]/cc");
- var calr = model.getValue("/root/send/tflabel/printlist[" + i + "]/calr");
- var mealcnt = model.getValue("/root/send/tflabel/printlist[" + i + "]/mealcnt");
- //var cc = Math.round(calr/mealcnt); // 2011.02.16 CYW
- var cc = calr;
- model.makeValue("/root/send/tflabel/printlist[" + i + "]/cc", cc);
- model.makeValue("/root/send/tflabel/printlist[" + i + "]/dietmeal", mealtm);
- if ( meal == '조식'){
-
- }
- else if (meal == '중식') {
- model.makeNode("/root/send/tflabel/printlist[" + i + "]/cc");
- var calr = model.getValue("/root/send/tflabel/printlist[" + i + "]/calr");
- //var cc = Math.round(calr/mealcnt); // 2011.02.16 CYW
- var cc = calr;
- model.makeValue("/root/send/tflabel/printlist[" + i + "]/cc", cc);
- model.makeValue("/root/send/tflabel/printlist[" + i + "]/dietmeal", mealtm);
- }
- else if (meal == '석식') {
- model.makeNode("/root/send/tflabel/printlist[" + i + "]/cc");
- var calr = model.getValue("/root/send/tflabel/printlist[" + i + "]/calr");
- //var cc = Math.round(calr/mealcnt); // 2011.02.16 CYW
- var cc = calr;
- model.setValue("/root/send/tflabel/printlist[" + i + "]/cc", cc);
- model.setValue("/root/send/tflabel/printlist[" + i + "]/dietmeal", mealtm);
- if (mealcnt == 4){
- var mealnm = model.getValue("/root/send2/timelist[cntlcd1='31']/cdid");
- if (mealnm != ""){
- copyNodesetType("/root/send/tflabel/printlist", "/root/send/tflabel/printlist[" + i + "]", "after", model, model);
- //model.setValue("/root/send/tflabel/printlist[" + lastrow + "]/dietmeal", '15:00');
- model.setValue("/root/send/tflabel/printlist[" + lastrow + "]/dietmeal", mealnm);
- lastrow = lastrow + 1;
- }
- }else if (mealcnt == 5){
- var mealnm = model.getValue("/root/send2/timelist[cntlcd1='31']/cdid");
- var mcount = parseInt(model.getValue("/root/send2/timelist[cntlcd1='31']/dispseq"));
- if (mealnm != ""){
- for (var k = 0; k < mcount; k ++){
- copyNodesetType("/root/send/tflabel/printlist", "/root/send/tflabel/printlist[" + i + "]", "after", model, model);
- //model.setValue("/root/send/tflabel/printlist[" + lastrow + "]/dietmeal", '20:30');
- model.setValue("/root/send/tflabel/printlist[" + lastrow + "]/dietmeal", mealnm);
- lastrow = lastrow + 1;
- }
- }
- }
- }
- }
- }
- exeReportPreview("RPANT00104", "XMLSTR", "/root/send/tflabel");
- }
- //간식전료 출력
- function ganlabel(meal, mealtm) {
- var lastrow = grd_data.rows;
- //cc계산 및 횟수가 4회 이상인 환자의 라벨 추가생성
- for ( i=1; i<grd_data.rows; i++) {
- //cc계산
- if (getUserInfo("dutplceinstcd") == "012"){
- model.makeNode("/root/send/bmealslip/printlist[" + i + "]/cc");
- var calr = model.getValue("/root/send/bmealslip/printlist[" + i + "]/calr");
- var mealcnt = model.getValue("/root/send/bmealslip/printlist[" + i + "]/mealcnt");
- var cc = Math.round(calr/mealcnt);
- model.setValue("/root/send/bmealslip/printlist[" + i + "]/cc", cc);
- model.setValue("/root/send/bmealslip/printlist[" + i + "]/dietmeal", mealtm);
- //횟수가 4회 이상인 환자의 라벨 추가생성
- if ( (meal == '조식') && (mealcnt > 4) ) {
- var mealnm = model.getValue("/root/send2/timelist[cntlcd1='11']/cdid");
- if (mealnm != ""){
- copyNodesetType("/root/send/bmealslip/printlist", "/root/send/bmealslip/printlist[" + i + "]", "after", model, model);
- //model.setValue("/root/send/bmealslip/printlist[" + lastrow + "]/dietmeal", '10:00');
- model.setValue("/root/send/bmealslip/printlist[" + lastrow + "]/dietmeal", mealnm);
- lastrow = lastrow + 1;
- }
- }
- else if ( (meal == '중식') && (mealcnt > 3) ) {
- var mealnm = model.getValue("/root/send2/timelist[cntlcd1='21']/cdid");
- if (mealnm != ""){
- copyNodesetType("/root/send/bmealslip/printlist", "/root/send/bmealslip/printlist[" + i + "]", "after", model, model);
- //model.setValue("/root/send/bmealslip/printlist[" + lastrow + "]/dietmeal", '15:00');
- model.setValue("/root/send/bmealslip/printlist[" + lastrow + "]/dietmeal", mealnm);
- lastrow = lastrow + 1;
- }
- }
- else if ( (meal == '석식') && (mealcnt > 5) ) {
- var mealnm = model.getValue("/root/send2/timelist[cntlcd1='31']/cdid");
- var mcount = parseInt(model.getValue("/root/send2/timelist[cntlcd1='31']/dispseq"));
- if (mealnm != ""){
- for (var k = 0; k < mcount; k ++){
- copyNodesetType("/root/send/bmealslip/printlist", "/root/send/bmealslip/printlist[" + i + "]", "after", model, model);
- //model.setValue("/root/send/bmealslip/printlist[" + lastrow + "]/dietmeal", '20:30');
- model.setValue("/root/send/bmealslip/printlist[" + lastrow + "]/dietmeal", mealnm);
- lastrow = lastrow + 1;
- }
- }
- }
- }else{
- //횟수가 4회 이상인 환자의 라벨 추가생성
- //alert("1==> " + mealtm + "==" + meal);
- var mealcnt = model.getValue("/root/send/bmealslip/printlist[" + i + "]/mealcnt");
- alert("==" + meal + "==" + mealcnt);
- if ( (meal == '조식') && (mealcnt > 4) ) {
- model.makeNode("/root/send/bmealslip/printlist[" + i + "]/cc");
- var calr = model.getValue("/root/send/bmealslip/printlist[" + i + "]/calr");
- var mealcnt = model.getValue("/root/send/bmealslip/printlist[" + i + "]/mealcnt");
- var cc = Math.round(calr/mealcnt);
- model.makeValue("/root/send/bmealslip/printlist[" + i + "]/cc", cc);
- model.makeValue("/root/send/bmealslip/printlist[" + i + "]/dietmeal", mealtm);
- var mealnm = model.getValue("/root/send2/timelist[cntlcd1='11']/cdid");
- if (mealnm != ""){
- copyNodesetType("/root/send/bmealslip/printlist", "/root/send/bmealslip/printlist[" + i + "]", "after", model, model);
- //model.setValue("/root/send/bmealslip/printlist[" + lastrow + "]/dietmeal", '10:00');
- model.setValue("/root/send/bmealslip/printlist[" + lastrow + "]/dietmeal", mealnm);
- lastrow = lastrow + 1;
- }
- }
- else if (meal == '중식') {
- if (mealcnt > 4){
- var mealnm = model.getValue("/root/send2/timelist[cntlcd1='21']/cdid");
- if (mealnm != ""){
- //copyNodesetType("/root/send/bmealslip/printlist", "/root/send/bmealslip/printlist[" + i + "]", "after", model, model);
- //model.setValue("/root/send/bmealslip/printlist[" + lastrow + "]/dietmeal", '15:00');
- model.setValue("/root/send/bmealslip/printlist[" + i + "]/dietmeal", mealnm);
- lastrow = lastrow + 1;
- }
- }else{
- model.makeNode("/root/send/bmealslip/printlist[" + i + "]/cc");
- var calr = model.getValue("/root/send/bmealslip/printlist[" + i + "]/calr");
- var cc = Math.round(calr/mealcnt);
- model.makeValue("/root/send/bmealslip/printlist[" + i + "]/cc", cc);
- model.makeValue("/root/send/bmealslip/printlist[" + i + "]/dietmeal", mealtm);
- }
- }
- else if (meal == '석식') {
- model.makeNode("/root/send/bmealslip/printlist[" + i + "]/cc");
- var calr = model.getValue("/root/send/bmealslip/printlist[" + i + "]/calr");
- var cc = Math.round(calr/mealcnt);
- model.setValue("/root/send/bmealslip/printlist[" + i + "]/cc", cc);
- model.setValue("/root/send/bmealslip/printlist[" + i + "]/dietmeal", mealtm);
- if (mealcnt == 4){
- var mealnm = model.getValue("/root/send2/timelist[cntlcd1='31']/cdid");
- if (mealnm != ""){
- copyNodesetType("/root/send/bmealslip/printlist", "/root/send/bmealslip/printlist[" + i + "]", "after", model, model);
- //model.setValue("/root/send/bmealslip/printlist[" + lastrow + "]/dietmeal", '15:00');
- model.setValue("/root/send/bmealslip/printlist[" + lastrow + "]/dietmeal", mealnm);
- lastrow = lastrow + 1;
- }
- }else if (mealcnt == 5){
- var mealnm = model.getValue("/root/send2/timelist[cntlcd1='31']/cdid");
- if (mealnm != ""){
- copyNodesetType("/root/send/bmealslip/printlist", "/root/send/bmealslip/printlist[" + i + "]", "after", model, model);
- //model.setValue("/root/send/bmealslip/printlist[" + lastrow + "]/dietmeal", '15:00');
- model.setValue("/root/send/bmealslip/printlist[" + lastrow + "]/dietmeal", mealnm);
- lastrow = lastrow + 1;
- }
- }else if (mealcnt == 6){
- var mealnm = model.getValue("/root/send2/timelist[cntlcd1='31']/cdid");
- var mcount = parseInt(model.getValue("/root/send2/timelist[cntlcd1='31']/dispseq"));
- if (mealnm != ""){
- for (var k = 0; k < mcount; k ++){
- copyNodesetType("/root/send/bmealslip/printlist", "/root/send/bmealslip/printlist[" + i + "]", "after", model, model);
- //model.setValue("/root/send/bmealslip/printlist[" + lastrow + "]/dietmeal", '20:30');
- model.setValue("/root/send/bmealslip/printlist[" + lastrow + "]/dietmeal", mealnm);
- lastrow = lastrow + 1;
- }
- }
- }
- }
- }
- }
- }
- function fdevifact(){
-
- var nmcardcnt = 0;
-
- //전달사항을 코드별로 나누고 코드명으로 전환하여 remfactnm1~4 인스턴스에 분리하여 담기
- //전달사항에 '끓인물(14)'이 있으면 추가로 boiledwater 노드 생성후 Y 셋팅
- for ( i=1; i<grd_data.rows; i++) {
-
- var clinccmtcnts = model.getValue("/root/main/printlist[" + i + "]/clinccmtcnts");
- if (isSearchString(clinccmtcnts,'14')) {
- model.makeValue("/root/main/printlist[" + i + "]/boiledwater", "Y");
- }
-
- // *********************** 특이사항의 모든 항목을 ',' 단위로 분리함.***************************
- var prntprcpdelivefact = model.getValue("/root/main/printlist["+i+"]/prntprcpdelivefact");
- var temp = "";
- if(prntprcpdelivefact != "" && prntprcpdelivefact != null){
- temp = prntprcpdelivefact.split(",");
- prntprcpdelivefact = "";
- for(var j = 0; j < temp.length; j++){
- tmp = prntprcpdelivefact.split("\n");
-
- if((tmp[tmp.length-1].length+temp[j].length)/50 >= 1 ){ // 저장된 특이사항의 맨 마지막 행을 값을 비교
- prntprcpdelivefact += "\n"; // 각 사항을 \n로 구분
- }
-
- prntprcpdelivefact += temp[j];
- if(j != temp.length-1){
- prntprcpdelivefact += ", "; // ',' 삽입
- }
- }
- if(prntprcpdelivefact != ""){
- model.makeNode("/root/main/printlist[" + i + "]/remfactnm");
- model.setValue("/root/main/printlist[" + i + "]/remfactnm", prntprcpdelivefact);
- }
- }
- var etcgb = model.getValue("/root/main/printlist[" + i + "]/etcgb");
- if (etcgb == "1"){
- nmcardcnt = nmcardcnt + 1 ;
- }
- }
- }
- ]]>
- </script>
- <submission id="TRANT02801" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/searchitem" resultref="/root/main"/>
- </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"/>
- </xhtml:head>
- <xhtml:body guideline="1,1194;1,0;2,784;2,756;2,715;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group1" style="left:0px; top:0px; width:1195px; height:15px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:100px; height:15px; ">야식처방출력</caption>
- </group>
- <group id="group3" scroll="auto" style="left:0px; top:15px; width:1195px; height:741px; ">
- <group id="group2" style="left:0px; top:10px; width:1195px; 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="caption1" class="search_name" style="left:15px; top:9px; width:86px; height:17px; ">일자 :</caption>
- <input id="ipt_prcpdd" ref="/root/send/searchitem/prcpdd" class="input_s_essential" inputtype="date" style="left:79px; top:8px; width:100px; height:19px; "/>
- <button id="btn_search" class="btn1_letter2" style="left:1118px; top:6px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- submit("TRANT02801");
-
-
-
- model.refresh();
- ]]>
- </script>
- </button>
- <line id="line1" style="x1:1099px; y1:6px; x2:1099px; y2:30px; "/>
- <button id="btn_before" class="icon_pre" style="left:183px; top:10px; width:13px; height:15px; ">
- <caption/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- var dd = model.getValue("/root/send/searchitem/dietdd");
- dd = dd.toDate().getAddDate(-1, "D");
- dd = dd.getDateFormat();
- model.setValue("/root/send/searchitem/dietdd", dd);
- model.refresh();
- ]]>
- </script>
- </button>
- <button id="button1" class="icon_next" style="left:196px; top:10px; width:13px; height:15px; ">
- <caption/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- var dd = model.getValue("/root/send/searchitem/dietdd");
- dd = dd.toDate().getAddDate(1, "D");
- dd = dd.getDateFormat();
- model.setValue("/root/send/searchitem/dietdd", dd);
- model.refresh();
- ]]>
- </script>
- </button>
- <caption id="caption8" class="search_name" style="left:293px; top:5px; width:134px; height:17px; ">등록번호/환자명 :</caption>
- <caption id="caption9" style="left:497px; top:5px; width:24px; height:17px; ">/</caption>
- <input id="ipt_pid" ref="/root/send/searchitem/pid" class="input_search" autonext="false" maxlength="10" format="9999999999" style="left:425px; top:5px; width:70px; height:19px; ">
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- inputEnterKey("btn_search", "DOMActivate");
- ]]>
- </script>
- </input>
- <input id="ipt_hngnm" ref="/root/send/searchitem/hngnm" class="input_search" style="left:505px; top:5px; width:65px; height:19px; ">
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- inputEnterKey("btn_search", "DOMActivate");
- ]]>
- </script>
- </input>
- <button id="btn_hngnm" class="icon_search" style="left:575px; top:7px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- modal("SPPMC02500", "", "200", "200", "SPPMC02500", "/root/temp", "/root/main/patinfo/patinfolist");
- model.setValue("/root/send/searchitem/pid", model.getValue("/root/main/patinfo/patinfolist/pid"));
- model.setValue("/root/send/searchitem/hngnm", model.getValue("/root/main/patinfo/patinfolist/hngnm"));
- model.refresh();
- ]]>
- </script>
- </button>
- </group>
- <button id="btn_excel" class="btn2_letter2" style="left:1146px; top:47px; width:42px; height:19px; ">
- <caption>엑셀</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if ( grd_data.rows-1 > 0 ) {
- var filename = window.fileDialog("save", ",", false, "식사처방출력", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
- if (filename != "") {
- grd_data.saveExcel(filename, "grd_data", true, false, "", "", "");
- }
- } else {
- messageBox("엑셀로 저장할 데이터가", "I004")
- return;
- }
- ]]>
- </script>
- </button>
- <datagrid id="grd_data" nodeset="/root/main/data" caption="변경전병실^병실^등록번호^환자명^식사명^Comment^입력자^입력일시^병동^처방일자" colsep="^" colwidth="70, 60, 65, 85, 210, 220, 75, 110,100,100" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:73px; width:1195px; height:627px; text-align:center; ">
- <col ref="bfroom" style="text-align:center; "/>
- <col ref="room" style="text-align:center; "/>
- <col ref="pid" style="text-align:center; "/>
- <col ref="hngnm2" style="text-align:center; "/>
- <col ref="prcpnm" style="text-align:center; "/>
- <col ref="prcpdelivefact" style="text-align:center; "/>
- <col ref="fstrgstrid" style="text-align:center; "/>
- <col ref="fstrgstdt" format="yyyy-mm-dd hh:nn" style="text-align:center; "/>
- <col ref="wardcd" style="text-align:center; "/>
- <col ref="prcpdd" style="text-align:center; "/>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_data.gridToInstance();
- ]]>
- </script>
- </datagrid>
- <line id="line6" class="line_3" style="x1:984px; y1:741px; x2:1194px; y2:741px; "/>
- <line id="line5" class="line_1" style="x1:0px; y1:68px; x2:1195px; y2:68px; "/>
- <datagrid id="datagrid1" nodeset="/root/main/printlist2" visibility="hidden" caption="병동^병동명^변경전병실^병실^등록번호^환자명^식사명^특이사항^remark^보호자식^입력자^입력일시^caption1" colsep="^" colwidth="0, 0, 70, 60, 65, 85, 210, 220, 192, 70, 75, 110, 100" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:680px; top:350px; width:435px; height:290px; text-align:center; ">
- <col ref="ward" type="combo">
- <choices>
- <itemset nodeset="/root/init/code/ward/dept">
- <label ref="depthngnm"/>
- <value ref="deptcd"/>
- </itemset>
- </choices>
- </col>
- <col ref="wardnm"/>
- <col ref="bfroom"/>
- <col ref="room"/>
- <col ref="pid"/>
- <col ref="hngnm"/>
- <col ref="dietnm2" style="text-align:left; "/>
- <col ref="prcpdelivefact" style="text-align:left; "/>
- <col ref="remark" style="text-align:left; "/>
- <col ref="procermealyn"/>
- <col ref="iptpsn"/>
- <col ref="iptdt" format="yyyy-mm-dd hh:nn"/>
- <col ref="etcgb" visibility="hidden"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- //환자별식사력조회 화면으로 연결
- if ( grd_data.isCell(event.target) && grd_data.row >= grd_data.fixedRows ) {
- // 'P'는 식사처방출력 화면임을 뜻하는 구분자임.
- model.setValue("/root/send/popup/flag", "P");
- model.setValue("/root/send/popup/pid", model.getValue("/root/main/printlist["+grd_data.row+"]/pid"));
- model.setValue("/root/send/popup/prcpdd", model.getValue("/root/main/printlist["+grd_data.row+"]/prcpdd"));
- open("SMANT01000", "", "", "", "popup", "/root/send/popup", "/root/main/receivedata");
- }
- ]]>
- </script>
- </datagrid>
- </group>
- <group id="grp_btn" scroll="auto" style="left:0px; top:721px; width:1195px; height:23px; ">
- <button id="btn_nmcard" class="btn4_letter6" style="left:991px; top:0px; width:104px; height:22px; ">
- <caption>NameCard</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var instcd = getUserInfo("dutplceinstcd");
- // if (model.getValue("/root/send/searchitem/endflag") == "2"){
- // openLoadingBar("2차 NameCard 작업중입니다.") ;
- // //model.removeNodeset("/root/main/printlist3");
- // var kk = 0;
- // var chk = "";
- // for (var i = 1; i < grd_data.rows; i ++){
- // chk = "N";
- // var spid = model.getValue("/root/main/printlist[" + i + "]/pid");
- // var sdietcd = model.getValue("/root/main/printlist[" + i + "]/dietcd");
- // var slrgcd = model.getValue("/root/main/printlist[" + i + "]/dietlrgcd");
- // var smeal = model.getValue("/root/main/printlist[" + i + "]//procermealyn");
- // var setc = model.getValue("/root/main/printlist[" + i + "]/etcgb");
- // var setc2 = "";
- // for (var j = 1; j < datagrid1.rows; j ++){
- // var spid1 = model.getValue("/root/main/printlist2[" + j + "]/pid");
- // var sdietcd1 = model.getValue("/root/main/printlist2[" + j + "]/dietcd");
- // setc2 = model.getValue("/root/main/printlist2[" + j + "]/etcgb");
- // if (spid == spid1 && sdietcd == sdietcd1){
- // chk = "Y";
- // //break;
- // }
- // }
- //
- // if (chk == "N"){
- // if (slrgcd == "Q9"){
- // if (smeal != " " && smeal != ""){
- // kk = parseInt(kk) + 1;
- // if (kk == 1){
- // copyNodesetType("/root/main1/printlist3", "/root/main/printlist[" + i + "]", "replace", model, model);
- // model.setValue("/root/main1/printlist3[" + kk + "]/dietnm2", smeal);
- // model.setValue("/root/main1/printlist3[" + kk + "]/remfactnm", "");
- // model.setValue("/root/main1/printlist3[" + kk + "]/bmealdrnknm", "");
- // model.setValue("/root/main1/printlist3[" + kk + "]/remark", "");
- // }else{
- // copyNodesetType("/root/main1/printlist3", "/root/main/printlist[" + i + "]", "after", model, model);
- // model.setValue("/root/main1/printlist3[" + kk + "]/dietnm2", smeal);
- // model.setValue("/root/main1/printlist3[" + kk + "]/remfactnm", "");
- // model.setValue("/root/main1/printlist3[" + kk + "]/bmealdrnknm", "");
- // model.setValue("/root/main1/printlist3[" + kk + "]/remark", "");
- // }
- // }
- // }else{
- // kk = parseInt(kk) + 1;
- // if (kk == 1){
- // copyNodesetType("/root/main1/printlist3", "/root/main/printlist[" + i + "]", "replace", model, model);
- // }else{
- // copyNodesetType("/root/main1/printlist3", "/root/main/printlist[" + i + "]", "after", model, model);
- // }
- // if (smeal != " " && smeal != ""){
- // kk = parseInt(kk) + 1;
- // if (kk == 1){
- // copyNodesetType("/root/main1/printlist3", "/root/main/printlist[" + i + "]", "replace", model, model);
- // model.setValue("/root/main1/printlist3[" + kk + "]/dietnm2", smeal);
- // model.setValue("/root/main1/printlist3[" + kk + "]/remfactnm", "");
- // model.setValue("/root/main1/printlist3[" + kk + "]/bmealdrnknm", "");
- // model.setValue("/root/main1/printlist3[" + kk + "]/remark", "");
- // }else{
- // copyNodesetType("/root/main1/printlist3", "/root/main/printlist[" + i + "]", "after", model, model);
- // model.setValue("/root/main1/printlist3[" + kk + "]/dietnm2", smeal);
- // model.setValue("/root/main1/printlist3[" + kk + "]/remfactnm", "");
- // model.setValue("/root/main1/printlist3[" + kk + "]/bmealdrnknm", "");
- // model.setValue("/root/main1/printlist3[" + kk + "]/remark", "");
- // }
- // }
- // }
- // }else{
- // if (setc == "2"){
- // if (slrgcd == "Q9"){
- // if (smeal != " " && smeal != ""){
- // kk = parseInt(kk) + 1;
- // if (kk == 1){
- // copyNodesetType("/root/main1/printlist3", "/root/main/printlist[" + i + "]", "replace", model, model);
- // model.setValue("/root/main1/printlist3[" + kk + "]/dietnm2", smeal);
- // model.setValue("/root/main1/printlist3[" + kk + "]/remfactnm", "");
- // model.setValue("/root/main1/printlist3[" + kk + "]/bmealdrnknm", "");
- // model.setValue("/root/main1/printlist3[" + kk + "]/remark", "");
- // }else{
- // copyNodesetType("/root/main1/printlist3", "/root/main/printlist[" + i + "]", "after", model, model);
- // model.setValue("/root/main1/printlist3[" + kk + "]/dietnm2", smeal);
- // model.setValue("/root/main1/printlist3[" + kk + "]/remfactnm", "");
- // model.setValue("/root/main1/printlist3[" + kk + "]/bmealdrnknm", "");
- // model.setValue("/root/main1/printlist3[" + kk + "]/remark", "");
- // }
- // }
- // }else{
- // if (smeal != " " && smeal != ""){
- // kk = parseInt(kk) + 1;
- // if (kk == 1){
- // copyNodesetType("/root/main1/printlist3", "/root/main/printlist[" + i + "]", "replace", model, model);
- // model.setValue("/root/main1/printlist3[" + kk + "]/dietnm2", smeal);
- // model.setValue("/root/main1/printlist3[" + kk + "]/remfactnm", "");
- // model.setValue("/root/main1/printlist3[" + kk + "]/bmealdrnknm", "");
- // model.setValue("/root/main1/printlist3[" + kk + "]/remark", "");
- // }else{
- // copyNodesetType("/root/main1/printlist3", "/root/main/printlist[" + i + "]", "after", model, model);
- // model.setValue("/root/main1/printlist3[" + kk + "]/dietnm2", smeal);
- // model.setValue("/root/main1/printlist3[" + kk + "]/remfactnm", "");
- // model.setValue("/root/main1/printlist3[" + kk + "]/bmealdrnknm", "");
- // model.setValue("/root/main1/printlist3[" + kk + "]/remark", "");
- // }
- // }
- // }
- // }else{
- // if (smeal != " " && smeal != ""){
- // kk = parseInt(kk) + 1;
- // if (kk == 1){
- // copyNodesetType("/root/main1/printlist3", "/root/main/printlist[" + i + "]", "replace", model, model);
- // model.setValue("/root/main1/printlist3[" + kk + "]/dietnm2", smeal);
- // model.setValue("/root/main1/printlist3[" + kk + "]/remfactnm", "");
- // model.setValue("/root/main1/printlist3[" + kk + "]/bmealdrnknm", "");
- // model.setValue("/root/main1/printlist3[" + kk + "]/remark", "");
- // }else{
- // copyNodesetType("/root/main1/printlist3", "/root/main/printlist[" + i + "]", "after", model, model);
- // model.setValue("/root/main1/printlist3[" + kk + "]/dietnm2", smeal);
- // model.setValue("/root/main1/printlist3[" + kk + "]/remfactnm", "");
- // model.setValue("/root/main1/printlist3[" + kk + "]/bmealdrnknm", "");
- // model.setValue("/root/main1/printlist3[" + kk + "]/remark", "");
- // }
- // }
- // }
- // }
- // }
- // closeLoadingBar() ;
- // }
- // fdevifact();
- // model.refresh();
- if ( grd_data.rows-1 > 0 ) {
- exeReportPreview("RPANT02801", "XMLSTR");
- // if ( messageBox(model.getValue("/root/send/searchitem/endmsg"), "Q003") == 6 ) {
- // if (model.getValue("/root/send/searchitem/endflag") == "2"){
- // copyNodesetType("/root/send1/printlist", "/root/main1/printlist3", "replace", model, model);
- // exeReportPreview("RPANT00110", "XMLSTR", "/root/send1/printlist");
- // }else{
- // copyNodesetType("/root/send1/printlist", "/root/main/printlist[etcgb='1']", "replace", model, model);
- // exeReportPreview("RPANT00109", "XMLSTR", "/root/send1/printlist");
- // }
- // } else { return; }
- } else {
- messageBox("출력할 데이터가", "I004")
- return;
- }
- ]]>
- </script>
- </button>
- <button id="btn_patdietslip" class="btn4_letter5" style="left:1100px; top:0px; width:92px; height:22px; ">
- <caption>환자식전표</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if ( grd_data.rows-1 > 0 ) {
-
- //환자식전표에서 동일 병실은 첫번째 행에만 병실을 표시하기 위함.
- // model.makeValue("/root/main/printlist[1]/roomhiddenyn", "N");
- // for (var i = 2; i < grd_data.rows; i ++) {
- // var room1 = model.getValue("/root/main/printlist[" + i + "]/room");
- // var room2 = model.getValue("/root/main/printlist[" + (i-1) + "]/room");
- // if ( room1 != room2 ) {
- // model.makeValue("/root/main/printlist[" + i + "]/roomhiddenyn", "N");
- // } else {
- // model.makeValue("/root/main/printlist[" + i + "]/roomhiddenyn", "Y");
- // }
- // }
-
- // if ( messageBox(model.getValue("/root/send/searchitem/endmsg"), "Q003") == 6 ) {
- // var kk = 0;
- // for (var i = 0; i < grd_data.rows; i ++) {
- // kk = parseFloat(kk) + 1;
- // model.makeValue("/root/printinfo/printlist[" + kk + "]/ward", model.getValue("/root/main/printlist[" + i + "]/ward"));
- // model.makeValue("/root/printinfo/printlist[" + kk + "]/wardnm", model.getValue("/root/main/printlist[" + i + "]/wardnm"));
- // model.makeValue("/root/printinfo/printlist[" + kk + "]/room", model.getValue("/root/main/printlist[" + i + "]/room"));
- // model.makeValue("/root/printinfo/printlist[" + kk + "]/pid", model.getValue("/root/main/printlist[" + i + "]/pid"));
- // model.makeValue("/root/printinfo/printlist[" + kk + "]/hngnm", model.getValue("/root/main/printlist[" + i + "]/hngnm"));
- // model.makeValue("/root/printinfo/printlist[" + kk + "]/dietnm2", model.getValue("/root/main/printlist[" + i + "]/dietnm2"));
- // if (model.getValue("/root/main/printlist[" + i + "]/prcpdelivefact") != "-") {
- // kk = parseFloat(kk) + 1;
- // model.makeValue("/root/printinfo/printlist[" + kk + "]/wardnm", model.getValue("/root/main/printlist[" + i + "]/wardnm"));
- // model.makeValue("/root/printinfo/printlist[" + kk + "]/room", model.getValue("/root/main/printlist[" + i + "]/room"));
- // model.makeValue("/root/printinfo/printlist[" + kk + "]/dietnm2", model.getValue("/root/main/printlist[" + i + "]/prcpdelivefact"));
- // }
- // }
- // model.copyNode("/root/send/patdietslip", "/root/main");
- // model.copyNode("/root/send/patdietslip", "/root/printinfo");
- exeReportPreview("RPANT02802", "XMLSTR");
- // } else { return; }
- } else {
- messageBox("출력할 데이터가", "I004")
- return;
- }
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|