입원수익일보
ALL
</documenttitle> </root> </instance> <script type="javascript" ev:event="xforms-model-construct-done"> <![CDATA[ submit("TRPAS00001"); var vToday = new Date(); var tmpYear = vToday.getYear(); var tmpMonth = vToday.getMonth()+1; var tmpDate = vToday.getDate(); if (tmpMonth < 10) { tmpMonth = "0"+tmpMonth; } if (tmpDate < 10) {tmpDate = "0"+tmpDate; } model.setValue("/root/main/search/fromdata", tmpYear+""+tmpMonth+""+tmpDate); model.setValue("/root/main/search/todata", tmpYear+""+tmpMonth+""+tmpDate); //Rexport에 출력날자를 보여주기위한 데이터 저장 model.makeNode("/root/main/tmp/print/date"); model.copyNode("/root/main/tmp/print/date", "/root/main/search/fromdata"); model.setValue("/root/main/tmp/print/date", model.getValue("/root/main/search/fromdata")); input7.refresh(); input1.refresh(); //전체 체크 var tntchk = model.getValue("/root/main/search/dcgubun"); if(tntchk ==""){ group1.visible = true; checkbox5.visible = true; input2.visible = true; caption1.visible = true; }else{ group1.visible = false; checkbox5.visible = false; input2.visible = false; caption1.visible = false; } //데이터 그리드 방합 datagrid1.mergeCells = "bycol"; datagrid1.mergeCol(0) = false; datagrid1.mergeCol(1) = false; datagrid1.mergeCol(2) = false; datagrid1.mergeCol(3) = true; datagrid1.mergeCol(4) = true; datagrid1.mergeCol(5) = false; datagrid1.mergeCol(6) = false; datagrid1.mergeCol(7) = false; datagrid1.mergeCol(8) = false; datagrid1.mergeCells = "byrowrec"; datagrid1.mergeCol(datagrid1.row) = false; datagrid1.merge(); ]]> </script> <script type="javascript" src="../../../com/commonweb/js/common.js"/> <script type="javascript" src="../../../com/commonweb/js/utilHelper.js"/> <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/> <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/> <script type="javascript" src="../../../com/commonweb/js/numericHelper.js"/> <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/> <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/> <script type="javascript" src="../../../com/zipcodeweb/js/ZBP001.js"/> <submission id="TRPAS01271" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/data1"/> <submission id="TRPAS01272" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/data1"/> <bind id="bind1" ref="/root/main/insusiklist/insusikstats" calculate="now() + ."/> <submission id="TRPAS00001" mediatype="application/x-www-form-urlencoded" method="post" replace="instance" resultref="/root/main/tmpinfo/info/user"/> </model> </xhtml:head> <xhtml:body pagewidth="1211" pageheight="784"> <group id="group3" style="left:0px; top:0px; width:1211px; height:13px; "> <caption id="caption60" class="tit_1" style="left:0px; top:0px; width:100px; height:14px; font-family:돋움; vertical-align:middle; ">입원수익일보</caption> </group> <group id="group2" style="left:4px; top:23px; width:1203px; height:35px; "> <shape id="roundrect1" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1202px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/> <caption id="caption2" class="search_name" style="left:15px; top:9px; width:198px; height:17px; ">기간 ~</caption> <line id="line2" class="line_4" style="x1:1132px; y1:7px; x2:1132px; y2:29px; border-color:#ffe4bb; border-left-style:solid; "/> <button id="btn_search" class="btn1_letter2" navindex="4" style="left:1139px; top:7px; width:56px; height:22px; "> <caption>조회</caption> <script type="javascript" ev:event="DOMActivate"> <![CDATA[ var fromdata = model.getValue("/root/main/search/fromdata"); var todata = model.getValue("/root/main/search/todata"); if(fromdata==""||fromdata==null){ messageBox("시작일을 입력","E007"); model.setFocus("input7"); return false; } if(todata==""|| todata==null){ messageBox("끝일을 입력","E007"); model.setFocus("input1"); return false; } if(fromdata > todata){ messageBox("시작일이 끝일자보다 클수 ", "C001") return false; }else{ model.setValue("/root/send/fromdata",model.getValue("/root/main/search/fromdata")); model.setValue("/root/send/todata",model.getValue("/root/main/search/todata")); model.setValue("/root/send/elmchk",model.getValue("/root/main/search/elmchk")); model.setValue("/root/send/dcgubun",model.getValue("/root/main/search/dcgubun")); model.setValue("/root/send/datagubun",model.getValue("/root/main/search/datagubun")); model.setValue("/root/send/acting",model.getValue("/root/main/search/acting")); model.setValue("/root/send/sunsu",model.getValue("/root/main/search/sunsu")); model.setValue("/root/send/misu",model.getValue("/root/main/search/misu")); model.setValue("/root/send/gasukum",model.getValue("/root/main/search/gasukum")); model.setValue("/root/send/bokwan",model.getValue("/root/main/search/bokwan")); model.setValue("/root/send/teawansunap",model.getValue("/root/main/search/teawansunap")); model.setValue("/root/send/saleeruri",model.getValue("/root/main/search/saleeruri")); model.setValue("/root/send/card",model.getValue("/root/main/search/card")); model.setValue("/root/send/blood",model.getValue("/root/main/search/blood")); model.setValue("/root/send/janggi",model.getValue("/root/main/search/janggi")); model.setValue("/root/send/etc",model.getValue("/root/main/search/etc")); model.removeNodeset("/root/main/insusiklist"); var searchdcgubun = model.getValue("/root/main/search/dcgubun"); var searchdatagubun = model.getValue("/root/main/search/datagubun"); var searchelmchk = model.getValue("/root/main/search/elmchk"); if(searchdcgubun=="ALL"){ submit("TRPAS01271"); }else if(searchdcgubun==""){ submit("TRPAS01272"); } //로드값이 있을때 엑셀저장여부 버튼 생성여부 var nodelist = bind1.nodeset; if(nodelist.length>0){ line1.visible =true; button95.visible = true; }else{ line1.visible =false; button95.visible = false; } } ]]> </script> </button> <input id="input7" ref="/root/main/search/fromdata" class="input_default" navindex="1" inputtype="date" style="left:70px; top:8px; width:120px; height:19px; "> <script type="javascript" ev:event="onkeydown"> <![CDATA[ if( event.keyCode == 13 ) { var pCurTargetObj = event.ptarget.parent; if( pCurTargetObj.elementName == "xforms:select1" || pCurTargetObj.elementName == "xforms:select") { event.keyCode = 9; pCurTargetObj.dispatch("onkeydown"); } else { event.keyCode = 9; } } event.stopPropagation(); ]]> </script> </input> <input id="input1" ref="/root/main/search/todata" class="input_default" navindex="2" inputtype="date" style="left:215px; top:8px; width:120px; height:19px; "> <script type="javascript" ev:event="onkeydown"> <![CDATA[ if( event.keyCode == 13 ) { var pCurTargetObj = event.ptarget.parent; if( pCurTargetObj.elementName == "xforms:select1" || pCurTargetObj.elementName == "xforms:select") { event.keyCode = 9; pCurTargetObj.dispatch("onkeydown"); } else { event.keyCode = 9; } } event.stopPropagation(); ]]> </script> </input> <select id="checkbox1" ref="/root/main/search/dcgubun" overflow="visible" appearance="full" style="left:355px; top:10px; width:45px; height:16px; border-style:none; "> <choices> <item> <label>전체</label> <value>ALL</value> </item> </choices> <script type="javascript" ev:event="xforms-value-changed"> <![CDATA[ var tntchk = model.getValue("/root/main/search/dcgubun"); if(tntchk =="ALL"){ group1.visible = false; checkbox5.visible = false; input2.visible = false; input2.value = ""; caption1.visible = false; checkbox5.deselect(0) ; }else{ group1.visible = false; checkbox5.visible = true; input2.visible = true; caption1.visible = true; checkbox5.deselect(0) ; } ]]> </script> </select> <caption id="caption1" style="left:406px; top:9px; width:82px; height:17px; ">환자번호(PID)</caption> <input id="input2" ref="/root/main/search/datagubun" navindex="3" style="left:491px; top:8px; width:100px; height:19px; "/> <script type="javascript" ev:event="onkeyup"> <![CDATA[ inputEnterKey("btn_search", "DOMActivate"); ]]> </script> <select id="checkbox5" ref="/root/main/search/elmchk" overflow="visible" appearance="full" style="left:600px; top:10px; width:92px; height:16px; border-style:none; "> <choices> <item> <label>세부항목체크</label> <value>SALL</value> </item> </choices> <script type="javascript" ev:event="xforms-value-changed"> <![CDATA[ var elmchk = model.getValue("/root/main/search/elmchk"); if(elmchk =="SALL"){ group1.visible = true; checkbox2.visible = true; checkbox3.visible = true; checkbox4.visible = true; input2.value = ""; checkbox2.select(0); checkbox3.select(0); checkbox4.select(0); checkbox6.select(0); checkbox7.select(0); checkbox8.select(0); checkbox9.select(0); checkbox10.select(0); checkbox11.select(0); checkbox12.select(0); checkbox13.select(0); }else{ group1.visible = false; checkbox2.visible = false; checkbox3.visible = false; checkbox4.visible = false; checkbox2.deselect(0); checkbox3.deselect(0); checkbox4.deselect(0); checkbox6.deselect(0); checkbox7.deselect(0); checkbox8.deselect(0); checkbox9.deselect(0); checkbox10.deselect(0); checkbox11.deselect(0); checkbox12.deselect(0); checkbox13.deselect(0); } ]]> </script> </select> <button id="btn_print" class="btn6_letter2" style="left:1070px; top:7px; width:56px; height:22px; "> <caption>출력</caption> <script type="javascript" ev:event="DOMActivate"> <![CDATA[ exeReportPreview("RPPAS01271", "XMLSTR", "","", "false","","","","","false"); ]]> </script> </button> <line id="line1" class="line_4" visibility="hidden" style="x1:1058px; y1:7px; x2:1058px; y2:29px; border-color:#ffe4bb; border-left-style:solid; "/> <button id="button95" class="btn6_letter4" visibility="hidden" style="left:971px; top:7px; width:80px; height:22px; "> <caption>액셀저장</caption> <script type="javascript" ev:event="DOMActivate"> <![CDATA[ var vToday = new Date(); var tmpYear = vToday.getYear(); var tmpMonth = vToday.getMonth()+1; var tmpDate = vToday.getDate(); model.setValue("/root/documenttitle/title",document.title); model.refresh(); var subjectTitle = model.getValue("/root/documenttitle/title"); //엑셀저장 여부(타이트별) var fileName = window.fileDialog("save", ",", false, subjectTitle+tmpYear+tmpMonth+tmpDate, "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*"); if (fileName != "") { datagrid1.saveExcel(fileName, subjectTitle+tmpYear+tmpMonth+tmpDate, true, true, "", "", true); } ]]> </script> </button> </group> <datagrid id="datagrid1" nodeset="/root/main/insusiklist/insusikstats" caption="합계^대체^현금^계정과목^계정과목^현금^대체^합계" colsep="^" colwidth="154, 154, 154, 100, 157, 154, 154, 154" mergecells="bycolrec" mergecellsfixedrows="bycolrec" style="left:5px; top:65px; width:1201px; height:709px; "> <col ref="crsumamt" format="(-)#,###" style="text-align:right; "/> <col ref="craltamt" format="(-)#,###" style="text-align:right; "/> <col ref="crcashamt" format="(-)#,###" style="text-align:right; "/> <col ref="earnmdlnm" style="text-align:center; "/> <col ref="earnsmlnm" style="text-align:left; "/> <col ref="drcashamt" format="(-)#,###" style="text-align:right; "/> <col ref="draltamt" format="(-)#,###" style="text-align:right; "/> <col ref="drsumamt" format="(-)#,###" style="text-align:right; "/> </datagrid> <group id="group1" style="left:604px; top:51px; width:410px; height:58px; border-color:#c0c0c0; border-style:solid; "> <select id="checkbox2" ref="/root/main/search/card" overflow="visible" appearance="full" cols="3" style="left:112px; top:34px; width:48px; height:16px; border-style:none; "> <choices> <item> <label>카드</label> <value>09</value> </item> </choices> </select> <select id="checkbox3" ref="/root/main/search/blood" overflow="visible" appearance="full" cols="3" style="left:188px; top:34px; width:45px; height:16px; border-style:none; "> <choices> <item> <label>혈액</label> <value>10</value> </item> </choices> </select> <select id="checkbox4" ref="/root/main/search/janggi" overflow="visible" appearance="full" cols="3" style="left:261px; top:34px; width:67px; height:16px; border-style:none; "> <choices> <item> <label>장기재원</label> <value>11</value> </item> </choices> </select> <select id="checkbox6" ref="/root/main/search/gasukum" overflow="visible" appearance="full" cols="3" style="left:193px; top:9px; width:57px; height:16px; border-style:none; "> <choices> <item> <label>가수금</label> <value>05</value> </item> </choices> </select> <select id="checkbox7" ref="/root/main/search/etc" overflow="visible" appearance="full" cols="3" style="left:356px; top:34px; width:45px; height:15px; border-style:none; "> <choices> <item> <label>기타</label> <value>99</value> </item> </choices> </select> <select id="checkbox8" ref="/root/main/search/bokwan" overflow="visible" appearance="full" cols="3" style="left:258px; top:9px; width:67px; height:16px; border-style:none; "> <choices> <item> <label>보관퇴원</label> <value>06</value> </item> </choices> </select> <select id="checkbox9" ref="/root/main/search/acting" overflow="visible" appearance="full" cols="3" style="left:6px; top:8px; width:58px; height:16px; border-style:none; "> <choices> <item> <label>Acting</label> <value>01</value> </item> </choices> </select> <select id="checkbox10" ref="/root/main/search/teawansunap" overflow="visible" appearance="full" cols="3" style="left:333px; top:9px; width:68px; height:16px; border-style:none; "> <choices> <item> <label>퇴원수납</label> <value>07</value> </item> </choices> </select> <select id="checkbox11" ref="/root/main/search/saleeruri" overflow="visible" appearance="full" cols="3" style="left:6px; top:34px; width:78px; height:16px; border-style:none; "> <choices> <item> <label>할인에누리</label> <value>08</value> </item> </choices> </select> <select id="checkbox12" ref="/root/main/search/sunsu" overflow="visible" appearance="full" cols="3" style="left:72px; top:9px; width:58px; height:16px; border-style:none; "> <choices> <item> <label>선수금</label> <value>03</value> </item> </choices> </select> <select id="checkbox13" ref="/root/main/search/misu" overflow="visible" appearance="full" cols="3" style="left:138px; top:9px; width:47px; height:16px; border-style:none; "> <choices> <item> <label>미수</label> <value>04</value> </item> </choices> </select> </group> </xhtml:body> </xhtml:html>