123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460 |
- <?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>CSR 청구부서 등록</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <reqlist>
- <reqflag/>
- <reqflagnm/>
- </reqlist>
- <csrinfo>
- <csrbipumlist>
- <instcd/>
- <goodcd/>
- <goodnm/>
- <goodspec/>
- <delivedeptcd/>
- <delivedeptnm/>
- <deliveunit/>
- <destqty/>
- <goodsaveqty/>
- <scrubberqty/>
- <dinfqty/>
- <csrrealqty/>
- <lendqty/>
- <csrtotlqty/>
- <nodelive/>
- <cmt/>
- </csrbipumlist>
- <csrsomolist>
- <instcd/>
- <goodcd/>
- <goodnm/>
- <goodspec/>
- <delivedeptcd/>
- <delivedeptnm/>
- <deliveunit/>
- <destqty/>
- <goodsaveqty/>
- <scrubberqty/>
- <dinfqty/>
- <csrrealqty/>
- <lendqty/>
- <csrtotlqty/>
- <nodelive/>
- <cmt/>
- </csrsomolist>
- <csrdinflist>
- <instcd/>
- <goodcd/>
- <goodnm/>
- <goodspec/>
- <delivedeptcd/>
- <delivedeptnm/>
- <deliveunit/>
- <destqty/>
- <goodsaveqty/>
- <scrubberqty/>
- <dinfqty/>
- <csrrealqty/>
- <lendqty/>
- <csrtotlqty/>
- <nodelive/>
- <cmt/>
- </csrdinflist>
- </csrinfo>
- </main>
- <send>
- <instcd/>
- <deptcd/>
- <deptnm/>
- <workdd/>
- <goodcd/>
- <goodnm/>
- <deliveflag/>
- <reqpridflag/>
- <chkyn/>
- <csrreqdeptcd2/>
- <goodflag>T</goodflag>
- </send>
- <init>
- </init>
- <hidden/>
- <temp/>
- </root>
- </instance>
- <script type="javascript">
- <![CDATA[
- var rowStat = "C";
- var curRow = -1;
- // 화면 open시와 초기화 버튼 클릭시 화면 초기화 기능을 수행한다.
- function fInitialize() {
- model.removeNodeset("/root/main/reqlist");
- model.removeNodeset("/root/main/csrinfo/csrbipumlist");
- model.removeNodeset("/root/main/csrinfo/csrsomolist");
- model.removeNodeset("/root/main/csrinfo/csrdinflist");
-
- // misfComboComCdListMulti("Z0007", "cmb_instcd");
- //
- model.setValue(cmb_instcd.attribute("ref"), getUserInfo("dutplceinstcd"));
- cmb_instcd.refresh();
-
- model.setValue(ipt_workdd.attribute("ref"), getCurrentDate());
- ipt_workdd.refresh();
-
- fsearch();
- }
-
- function fsearch() {
- model.makeValue("/root/send/reqdata/reqdeptcd", getUserInfo("dutplcecd"));
- model.makeValue("/root/send/reqdata/instcd", getUserInfo("dutplceinstcd"));
-
- submit("TRRSD06012");
- var degr = model.getValue("/root/init/reqseqlist/reqseq");
-
- cmb_reqpridflag.value = degr;
- }
-
- function fsearch2() {
- model.makeValue("/root/send/reqdata/instcd", getUserInfo("dutplceinstcd"));
-
- submit("TRRSD11702");
- }
-
- ]]>
- </script>
- <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="../../../mis/miscommonweb/js/MIS.js"/>
- <script type="javascript" src="../../../mis/miscommonweb/js/RSZ001.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fInitialize();
- // btn_search.dispatch("DOMActivate");x
- ]]>
- </script>
- <submission id="TRRSD11701" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/reqlist"/>
- <submission id="TRRSD11702" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/csrinfo"/>
- <submission id="TRRSD06012" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/init/reqtimslist"/>
- <submission id="TXRSD11701" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/temp"/>
- </model>
- </xhtml:head>
- <xhtml:body pagewidth="1211" pageheight="784" 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:186px; height:14px; ">CSR 청구부서 등록</caption>
- </group>
- <group id="grp_biz" scroll="auto" style="left:0px; top:13px; width:1195px; height:744px; ">
- <button id="btn_grdadd" class="btn2_letter2" style="left:1057px; top:84px; width:42px; height:19px; ">
- <caption>신규</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- ]]>
- </script>
- </button>
- <button id="btn_grddel" class="btn2_letter2" style="left:1102px; top:84px; width:42px; height:19px; ">
- <caption>수정</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- ]]>
- </script>
- </button>
- <button id="button1" class="btn2_letter3" style="left:1007px; top:54px; width:53px; height:19px; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fInitialize();
-
- ]]>
- </script>
- </button>
- <button id="btn_save" class="btn2_letter2" style="left:1147px; top:84px; width:42px; height:19px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- var csrbipumlist = getGridUpdateData(grd_csrbipumlist);
- var csrsomolist = getGridUpdateData(grd_csrsomolist);
- var csrdinflist = getGridUpdateData(grd_csrdinflist);
-
- if (csrbipumlist == "" && csrsomolist == "" && csrdinflist == "") {
- messageBox("변경된 데이터가","I004");
- return;
- }
-
- model.makeValue("/root/send/reqdata/csrbipumlist", csrbipumlist);
- model.makeValue("/root/send/reqdata/csrsomolist", csrsomolist);
- model.makeValue("/root/send/reqdata/csrdinflist", csrdinflist);
-
- submit("TXRSD11701");
-
- ]]>
- </script>
- </button>
- <group id="grp_sea" style="left:0px; top:10px; width:1195px; height:65px; vertical-align:top; ">
- <shape id="roundrect1" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1195px; height:65px; background-color:#fffbf2; border-color:#ffd799; "/>
- <caption id="cap_instcd" class="search_name" style="left:15px; top:9px; width:86px; height:17px; ">기관코드 :</caption>
- <line id="line13" class="line_4" style="x1:1000px; y1:20px; x2:1000px; y2:45px; border-color:#ffe4bb; border-left-style:solid; "/>
- <button id="btn_search" class="btn1_letter2" style="left:1015px; top:23px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- if(!isRequiredControls("cmb_instcd")) return;
- fsearch2();
-
- ]]>
- </script>
- </button>
- <select1 id="cmb_instcd" ref="/root/send/instcd" class="combo_s_essential" appearance="minimal" style="left:102px; top:8px; width:123px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- btn_search.dispatch("DOMActivate");
- ]]>
- </script>
- </select1>
- <button id="btn_excel" class="btn1_letter2" style="left:1073px; top:23px; width:56px; height:22px; ">
- <caption>엑셀</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- var fileName = window.fileDialog("save", ",", false, "CSR마감기준시간", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
-
- if (fileName != "")
- {
- grd_bipumlist.saveExcel(fileName, "청구현황List");
- }
- ]]>
- </script>
- </button>
- <button id="btn_prt" class="btn1_letter2" style="left:1131px; top:23px; width:56px; height:22px; ">
- <caption>출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- var fileName = window.fileDialog("save", ",", false, "CSR마감기준시간", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
-
- if (fileName != "")
- {
- grd_csrtmlist.saveExcel(fileName, "청구현황List");
- }
- ]]>
- </script>
- </button>
- <button id="button2" class="icon_search" style="left:192px; top:34px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- misfOpenPopUpList("52", ipt_deptcd, "", "deptcd,deptnm,csrreqdeptcd2");
- ipt_deptcd.refresh();
- ipt_deptnm.refresh();
-
- ]]>
- </script>
- </button>
- <caption id="caption1" class="search_name" style="left:16px; top:35px; width:88px; height:17px; ">청구부서 :</caption>
- <input id="ipt_deptnm" ref="/root/send/deptnm" class="input_search" style="left:214px; top:34px; width:172px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- misfValidationCheck("02", "", "deptcd,deptnm");
- model.refresh();
- ]]>
- </script>
- </input>
- <input id="ipt_deptcd" ref="/root/send/deptcd" class="input_default" style="left:103px; top:34px; width:85px; height:19px; "/>
- <caption id="cap_goodcd" class="search_name" style="left:430px; top:38px; width:91px; height:17px; ">물품코드 :</caption>
- <button id="btn_searchgoodcd" class="icon_search" style="left:622px; top:38px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- rszfOpenPopUpListByWndName(ipt_goodcd,"","goodcd,ab,goodnm","SPRSD00210","instcd,goodflag","cmb_instcd,ipt_goodflag");
- model.refresh();
- ]]>
- </script>
- </button>
- <input id="ipt_goodnm" ref="/root/send/goodnm" class="input_search" appearance="input" style="left:638px; top:37px; width:170px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(ipt_goodnm.value != "")
- {
- rszfValidationCheck("TRRSD00191", "goodlist", "refcond,instcd,goodflag,goodcd,goodnm",
- "goodnm" + "," + model.getValue(cmb_instcd.attribute("ref")) + "," + ipt_goodflag.value + ",," + ipt_goodnm.value,
- "", "goodcd,goodnm",
- ipt_goodcd,"SPRSD00210","instcd,goodflag","cmb_instcd,ipt_goodflag");
- }else{
- ipt_goodcd.value = "";
- }
- model.refresh();
-
- ]]>
- </script>
- </input>
- <input id="ipt_goodcd" ref="/root/send/goodcd" class="input_fix" style="left:523px; top:37px; width:95px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(ipt_goodcd.value != "")
- {
- rszfValidationCheck("TRRSD00191", "goodlist", "refcond,instcd,goodflag,goodcd",
- "goodcd" + "," + model.getValue(cmb_instcd.attribute("ref")) + "," + ipt_goodflag.value + "," + ipt_goodcd.value, "",
- "goodcd,goodnm",
- ipt_goodcd,"SPRSD00210","instcd,goodflag","cmb_instcd,ipt_goodflag");
- }else{
- ipt_goodnm.value = "";
- }
- model.refresh();
-
- ]]>
- </script>
- </input>
- <select1 id="cmb_reqpridflag" ref="/root/send/reqpridflag" appearance="minimal" style="left:805px; top:10px; width:65px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/reqtimslist">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <select id="chk_chkyn" ref="/root/send/chkyn" overflow="visible" appearance="full" style="left:880px; top:10px; width:100px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>응급여부</label>
- <value>Y</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var chk_chkyn = model.getValue("/root/send/chkyn");
-
- if(chk_chkyn != "") {
- cmb_deliveflag.value = "2";
-
- } else {
- cmb_deliveflag.value = "1";
- }
- ]]>
- </script>
- </select>
- <caption id="caption18" class="search_name" style="left:715px; top:10px; width:86px; height:17px; ">불출구분 :</caption>
- <select1 id="cmb_deliveflag" ref="/root/send/deliveflag" visibility="hidden" appearance="minimal" style="left:840px; top:38px; width:119px; height:19px; ">
- <choices>
- <item>
- <label>정기</label>
- <value>1</value>
- </item>
- <item>
- <label>응급</label>
- <value>2</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fSetReqseq();
- ]]>
- </script>
- </select1>
- <caption id="caption2" class="search_name" style="left:430px; top:10px; width:86px; height:17px; ">조회일자 :</caption>
- <input id="ipt_workdd" ref="/root/send/workdd" inputtype="date" style="left:523px; top:8px; width:100px; height:19px; "/>
- </group>
- <caption id="caption3" class="tit_2" style="left:5px; top:90px; width:100px; height:14px; ">수불내역</caption>
- <line id="line1" class="line_1" style="x1:5px; y1:105px; x2:149px; y2:105px; "/>
- <datagrid id="grd_reqlist" nodeset="/root/main/reqlist" caption="청구구분코드^청구구분" colsep="^" colwidth="0, 142" mergecellsfixedrows="bycolrec" rowsep="|" style="left:5px; top:110px; width:144px; height:630px; ">
- <col ref="reqflag" visibility="hidden"/>
- <col ref="reqflagnm"/>
- </datagrid>
- <line id="line2" class="line_1" style="x1:155px; y1:105px; x2:1190px; y2:105px; "/>
- <group id="group1" style="left:155px; top:110px; width:1035px; height:630px; border-style:solid; ">
- <line id="line3" class="line_1" style="x1:4px; y1:29px; x2:1029px; y2:29px; "/>
- <caption id="caption4" class="tit_2" style="left:9px; top:14px; width:100px; height:14px; ">CSR 비품</caption>
- <caption id="caption5" class="tit_2" style="left:9px; top:274px; width:100px; height:14px; ">CSR 소모</caption>
- <line id="line4" class="line_1" style="x1:4px; y1:289px; x2:1029px; y2:289px; "/>
- <caption id="caption7" class="tit_2" style="left:9px; top:454px; width:100px; height:14px; ">멸균의뢰</caption>
- <line id="line5" class="line_1" style="x1:4px; y1:469px; x2:1029px; y2:469px; "/>
- <datagrid id="grd_csrbipumlist" nodeset="/root/main/csrinfo/csrbipumlist" caption="instcd^물품코드^품명^규격^불출부서코드^불출부서^단위^파손량^물품보관^세척기^멸균기^CSR실재고^대여량^CSR총재고^미출고^비고" colsep="^" colwidth="0, 1, 165, 80, 0, 100, 41, 60, 60, 60, 60, 70, 70, 70, 50, 100" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:4px; top:34px; width:1025px; height:230px; ">
- <col ref="instcd" visibility="hidden"/>
- <col ref="goodcd" visibility="hidden"/>
- <col ref="goodnm"/>
- <col ref="goodspec"/>
- <col ref="delivedeptcd" visibility="hidden"/>
- <col ref="delivedeptnm"/>
- <col ref="deliveunit"/>
- <col ref="destqty"/>
- <col ref="goodsaveqty"/>
- <col ref="scrubberqty" type="input"/>
- <col ref="dinfqty"/>
- <col ref="csrrealqty"/>
- <col ref="lendqty"/>
- <col ref="csrtotlqty"/>
- <col ref="nodelive"/>
- <col ref="cmt"/>
- </datagrid>
- <datagrid id="grd_csrsomolist" nodeset="/root/main/csrinfo/csrsomolist" caption="instcd^물품코드^품명^규격^불출부서코드^불출부서^단위^파손량^물품보관^세척기^멸균기^CSR실재고^대여량^CSR총재고^미출고^비고" colsep="^" colwidth="0, 1, 165, 80, 0, 100, 41, 60, 60, 60, 60, 70, 70, 70, 50, 100" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:4px; top:294px; width:1025px; height:155px; ">
- <col ref="instcd" visibility="hidden"/>
- <col ref="goodcd" visibility="hidden"/>
- <col ref="goodnm"/>
- <col ref="goodspec"/>
- <col ref="delivedeptcd" visibility="hidden"/>
- <col ref="delivedeptnm"/>
- <col ref="deliveunit"/>
- <col ref="destqty"/>
- <col ref="goodsaveqty"/>
- <col ref="scrubberqty"/>
- <col ref="dinfqty"/>
- <col ref="csrrealqty"/>
- <col ref="lendqty"/>
- <col ref="csrtotlqty"/>
- <col ref="nodelive"/>
- <col ref="cmt"/>
- </datagrid>
- <datagrid id="grd_csrdinflist" nodeset="/root/main/csrinfo/csrdinflist" caption="instcd^물품코드^품명^규격^불출부서코드^불출부서^단위^파손량^물품보관^세척기^멸균기^CSR실재고^대여량^CSR총재고^미출고^비고" colsep="^" colwidth="0, 1, 165, 80, 0, 100, 41, 60, 60, 60, 60, 70, 70, 70, 50, 100" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:4px; top:474px; width:1025px; height:152px; ">
- <col ref="instcd" visibility="hidden"/>
- <col ref="goodcd" visibility="hidden"/>
- <col ref="goodnm"/>
- <col ref="goodspec"/>
- <col ref="delivedeptcd" visibility="hidden"/>
- <col ref="delivedeptnm"/>
- <col ref="deliveunit"/>
- <col ref="destqty"/>
- <col ref="goodsaveqty"/>
- <col ref="scrubberqty"/>
- <col ref="dinfqty"/>
- <col ref="csrrealqty"/>
- <col ref="lendqty"/>
- <col ref="csrtotlqty"/>
- <col ref="nodelive"/>
- <col ref="cmt"/>
- </datagrid>
- </group>
- <input id="ipt_csrreqdeptcd2" ref="/root/send/csrreqdeptcd2" class="input_search" style="left:245px; top:80px; width:172px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- misfValidationCheck("02", "", "deptcd,deptnm");
- model.refresh();
- ]]>
- </script>
- </input>
- <input id="ipt_goodflag" ref="/root/send/goodflag" style="left:500px; top:85px; width:100px; height:20px; "/>
- <button id="button3" class="btn2_letter3" style="left:1002px; top:84px; width:53px; height:19px; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|