123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- * 제 목 : SMLLP02000검사청구서.xrw
- * 설 명 : 검사청구서
- * 설 계 자 : (주)에이씨케이 -
- * 작 성 자 : (주)에이씨케이 - 이재민
- * 작 성 일 : 2009.10.6
- * 수정이력 :
- * 기 타 :
- -->
- <?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>
- <getBills>
- <spcacptdt/>
- <spcapctnm/>
- <patnm/>
- <pid/>
- <bcno/>
- </getBills>
- <getListBills1>
- <sectnm/>
- <tclscount/>
- <totalpay/>
- <totalpay2/>
- <margin/>
- <gpay/>
- <gpay/>
- </getListBills1>
- <getListBills>
- <tclscd/>
- <sectnm/>
- <tclsscrnnm/>
- <gbn/>
- <pay/>
- <pay2/>
- <tclscount/>
- <totalpay/>
- <totalpay2/>
- <margin/>
- <gpay/>
- <gpay/>
- </getListBills>
- </main>
- <send>
- <data1/>
- <codeflag/>
- <codeflag2/>
- </send>
- <hidden>
- <ref>
- <code1>00</code1>
- <code2/>
- <code3/>
- <code4/>
- <code5>R</code5>
- <code6>00</code6>
- <check/>
- </ref>
- </hidden>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-model-construct-done">
- <![CDATA[
-
- model.removeNodeset("/root/main/getListBills");
- model.removeNodeset("/root/main/getListBills1");
- model.removeNodeset("/root/main/getBills");
-
-
- model.refresh();
- ]]>
- </script>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../lis/commonweb/js/LLZ001.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
-
- model.setValue("/root/send/codeflag", "0110|0106|0108|0109|0111|0210|0000|0124|1005|0128|"); //0110
-
- //model.setValue("/root/send/codeflag", "0104|0102|0105|0103|0110|"); //0106 시행부서 // 0105 검체 // 0111 계
-
-
- submit("TRLZZ00101");
- fSet();
- ]]>
- </script>
- <submission id="TRLLP02001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/getListBills"/>
- <submission id="TRLZZ00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/L"/>
- <submission id="TRLLP02002" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/getBills"/>
- <submission id="TRLLP02003" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/getListBills1"/>
- </model>
- <script type="javascript">
- <![CDATA[
- //날짜
- function fSet(){
-
- var toDay = getCurrentDate();
- var toDays = toDay.substr(0,6)
- model.setValue("/root/hidden/ref/code2", toDays);
- input1.attribute("format") = "yyyy-mm";
-
- model.refresh();
- }
-
- // 초기화
- function fSetInit() {
- model.removeNodeset("/root/main/getListBills");
- model.removeNodeset("/root/main/getListBills1");
- model.removeNodeset("/root/main/getBills");
-
- model.refresh();
- }
-
- //조회2
- function fgetListBills1(){
-
- model.copyNode("/root/send/data1" , "/root/hidden/ref");
- submit("TRLLP02003");
-
- datagrid2.rowStyle(1,"all","background-color") = "#ffcc99"
- datagrid2.seqrowheader = 0;
- datagrid2.frozenRows = 1;
-
- fgetListBills();
- }
-
- //조회
- function fgetListBills(){
-
- model.copyNode("/root/send/data1" , "/root/hidden/ref");
-
- submit("TRLLP02001");
-
- datagrid1.rowStyle(1,"all","background-color") = "#ffcc99"
- datagrid1.seqrowheader = 0;
- datagrid1.frozenRows = 1;
-
- }
-
-
-
- //청구내역서조회
-
- function fClickResultList(){
-
- var row = datagrid1.row;
-
- model.setValue("/root/hidden/ref/code4", model.getValue("/root/main/getListBills["+row+"]/tclscd"));
-
- model.copyNode("/root/send/data1" , "/root/hidden/ref");
-
- //alert(model.getValue("/root/hidden/ref/code4"));
-
- submit("TRLLP02002");
-
- //modal("SPLLP90500","", "", "","", "/root/hidden/ref", "/root/hidden/ref");
-
- }
- // 청구서상세내역저장 저장
- function fExeExcel(pGridId) {
-
- var fileName = window.fileDialog("save", ",", false, "청구서 상세내역_" + getCurrentDate(), "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
-
- if (fileName != "") {
- pGridId.saveExcel(fileName);
- }
- }
- // 부서별청구총액 저장
- function fExeExcel1(pGridId) {
-
- var fileName = window.fileDialog("save", ",", false, "부서별청구총액_" + getCurrentDate(), "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
-
- if (fileName != "") {
- pGridId.saveExcel(fileName);
- }
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; "/>
- <group id="group3" scroll="auto" style="left:0px; top:40px; width:1195px; height:744px; ">
- <group id="group2" style="left:0px; top:10px; width:1195px; height:35px; vertical-align:top; ">
- <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:1194px; height:35px; "/>
- <caption id="caption2" class="search_name" style="left:205px; top:10px; width:99px; height:17px; ">외주업체 :</caption>
- <button id="button1" class="btn1_letter2" style="left:1130px; top:7px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSetInit();
- fgetListBills1();
-
- ]]>
- </script>
- </button>
- <line id="line13" class="line_4" style="x1:1108px; y1:7px; x2:1108px; y2:29px; "/>
- <input id="input1" ref="/root/hidden/ref/code2" class="input_default" inputtype="date" format="yyyy-mm" style="left:679px; top:8px; width:90px; height:19px; "/>
- <select1 id="combo1" ref="/root/hidden/ref/code1" appearance="minimal" style="left:293px; top:9px; width:100px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/LB0110">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption3" class="search_name" style="left:600px; top:10px; width:99px; height:17px; ">의뢰월 :</caption>
- <caption id="caption5" class="search_name" style="left:902px; top:10px; width:86px; height:17px; ">보험선택 :</caption>
- <select1 id="combo2" ref="/root/hidden/ref/code3" appearance="minimal" style="left:995px; top:9px; width:100px; height:19px; ">
- <choices>
- <item>
- <label>-전체-</label>
- <value/>
- </item>
- <item>
- <label>일반</label>
- <value>G</value>
- </item>
- <item>
- <label>보험</label>
- <value>I</value>
- </item>
- </choices>
- </select1>
- <select1 id="combo3" ref="/root/hidden/ref/code5" appearance="minimal" style="left:486px; top:9px; width:100px; height:19px; ">
- <choices>
- <item>
- <label>수거시점</label>
- <value>R</value>
- </item>
- <item>
- <label>통보시점</label>
- <value>N</value>
- </item>
- </choices>
- </select1>
- <caption id="caption4" class="search_name" style="left:398px; top:10px; width:99px; height:17px; ">시점기준 :</caption>
- <select1 id="combo4" ref="/root/hidden/ref/code6" appearance="minimal" style="left:94px; top:9px; width:100px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/LB0111">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption7" class="search_name" style="left:6px; top:9px; width:90px; height:17px; ">시행부서 :</caption>
- </group>
- <caption id="caption1" class="tit_2" style="left:5px; top:275px; width:131px; height:14px; ">청구서 상세내역</caption>
- <datagrid id="datagrid1" nodeset="/root/main/getListBills" caption="검사코드^시행부서^검사명^유형^단가^계약가^건수^총단가^총계약가^차액^ 일반가격^보험가격" colsep="^" colwidth="75, 75, 230, 45, 70, 70, 70, 90, 110, 110, 90, 90" explorerbar="sort" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:296px; width:1194px; height:434px; font-weight:bold; text-align:center; ">
- <col ref="tclscd"/>
- <col ref="sectnm" style="text-align:left; "/>
- <col ref="tclsscrnnm" style="text-align:left; "/>
- <col ref="gbn" style="text-align:center; "/>
- <col ref="pay" format="#,###.99" style="text-align:right; "/>
- <col ref="pay2" format="#,###.99" style="text-align:right; "/>
- <col ref="tclscount" format="#,###" style="text-align:right; "/>
- <col ref="totalpay" format="#,###.99" style="text-align:right; "/>
- <col ref="totalpay2" format="#,###.99" style="text-align:right; "/>
- <col ref="margin" format="#,###.99" style="text-align:right; "/>
- <col ref="gpay" format="#,###.99" style="text-align:right; "/>
- <col ref="ipay" format="#,###.99" style="text-align:right; "/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- fClickResultList();
- ]]>
- </script>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- datagrid1.gridToInstance();
- ]]>
- </script>
- </datagrid>
- <line id="line1" class="line_1" style="x1:0px; y1:291px; x2:1194px; y2:291px; "/>
- <button id="btn_excel" class="btn2_letter2" style="left:1152px; top:271px; width:42px; height:19px; ">
- <caption>엑셀</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fExeExcel(datagrid1);
- ]]>
- </script>
- </button>
- <datagrid id="datagrid2" nodeset="/root/main/getListBills1" caption="시행부서^건수^총단가^총계약가^차액^ 일반가격^보험가격" colsep="^" colwidth="85, 70, 89, 115, 115, 90, 90" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:78px; width:705px; height:187px; font-weight:bold; text-align:center; ">
- <col ref="sectnm" style="text-align:left; "/>
- <col ref="tclscount" format="#,###" style="text-align:right; "/>
- <col ref="totalpay" format="#,###.99" style="text-align:right; "/>
- <col ref="totalpay2" format="#,###.99" style="text-align:right; "/>
- <col ref="margin" format="#,###.99" style="text-align:right; "/>
- <col ref="gpay" format="#,###.99" style="text-align:right; "/>
- <col ref="gpay" format="#,###.99" style="text-align:right; "/>
- </datagrid>
- <caption id="caption8" class="tit_2" style="left:0px; top:56px; width:131px; height:13px; ">부서별 청구 총액</caption>
- <datagrid id="grd_patlist" nodeset="/root/main/getBills" caption="접수일^수거자^환자명^등록번호^샘플번호" colsep="^" colwidth="110, 60, 60, 80, 115" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:714px; top:78px; width:481px; height:187px; font-weight:bold; ">
- <col ref="spcacptdt" format="yyyy-mm-dd" style="text-align:left; "/>
- <col ref="spcapctnm" style="text-align:left; "/>
- <col ref="patnm" style="text-align:left; "/>
- <col ref="pid" style="text-align:left; "/>
- <col ref="bcno" style="text-align:left; "/>
- </datagrid>
- <line id="line2" class="line_1" style="x1:0px; y1:73px; x2:705px; y2:73px; "/>
- <line id="line3" class="line_1" style="x1:714px; y1:73px; x2:1194px; y2:73px; "/>
- <caption id="caption9" class="tit_2" style="left:713px; top:57px; width:131px; height:13px; ">외주업체 내역서</caption>
- <button id="button2" class="btn2_letter2" style="left:663px; top:53px; width:42px; height:19px; ">
- <caption>엑셀</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fExeExcel1(datagrid2);
- ]]>
- </script>
- </button>
- </group>
- <group id="group4" scroll="auto" style="left:0px; top:13px; width:1195px; height:27px; ">
- <button id="button5" class="btn4_letter3" style="left:1127px; top:3px; width:68px; height:22px; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fSetInit();
- ]]>
- </script>
- </button>
- <line id="line15" class="line_6" style="x1:0px; y1:25px; x2:1194px; y2:25px; "/>
- </group>
- <group id="group5" style="left:0px; top:0px; width:1195px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:189px; height:14px; ">검사 청구서</caption>
- </group>
- </xhtml:body>
- </xhtml:html>
|