123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278 |
- <?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>
- <dyestoclist>
- <item>
- <ord/>
- <lrgcd/>
- <goodcd/>
- <usernm/>
- <dayused/>
- </item>
- </dyestoclist>
- </main>
- <send>
- <srchiodd/>
- <globalinstance>
- <instance1/>
- </globalinstance>
- <srchsectcd/>
- <srchgoodcd/>
- <srchgoodnm/>
- <srchexcuroomgrp/>
- <srchtodd/>
- <srchfromdd/>
- <excuroomgrpcdid/>
- <srchsuppdeptcd/>
- <excuroomcd/>
- </send>
- <cmb_info>
- <initexcuroomgrp2>
- <excuroomgrpcdid/>
- <excuroomgrpcdnm/>
- </initexcuroomgrp2>
- <goodlist>
- <item/>
- </goodlist>
- </cmb_info>
- <init>
- <cmb_info2/>
- <excuroomcdlist/>
- </init>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- aezfSetSuppDeptcd();
-
- model.setValue("/root/send/srchfromdd", getCurrentDate());
- model.setValue("/root/send/srchtodd", getCurrentDate());
- model.removeNodeset("/root/main/mainlist");
- //model.removeNodeset("/root/main/speclist/item");
- submit("TRAEA01301");
- model.removeNodeset("/root/init/cmb_info2/initexecroom");
- var cnt = getNodesetCount("/root/cmb_info/initexcuroomgrp2");
- for( var i = 1; i <= cnt ; i++ ){
- model.makeNode("/root/init/cmb_info2/initexecroom[" + i + "]");
- model.copyNode("/root/init/cmb_info2/initexecroom[" + i + "]", "/root/cmb_info/initexcuroomgrp2[" + i + "]");
- }
-
- model.removeNodeset("/root/cmb_info/initexcuroomgrp2[" + 1 + "]");
- model.removeNodeset("/root/cmb_info/initexcuroomgrp[" + 1 + "]");
- addComboItem("cmb_sectcd", "-- 전체 --", "", "above");
- addComboItem("cmb_sudpt", "-- 전체 --", "", "above");
-
- model.setValue("/root/send/srchsuppdeptcd", model.getValue("/root/send/globalinstance/instance1"));
- cmb_sudpt.dispatch("xforms-value-changed");
-
- cmb_excuroomgrp.select(0);
- model.refresh();
-
- makeReportPreview(0,70,1195,670);
- ]]>
- </script>
- <submission id="TRAEA01301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/globalinstance" replace="instance" resultref="/root/cmb_info"/>
- <submission id="TRAEA00902" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init/excuroomcdlist"/>
- <submission id="TRAEB03407" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/dyestoclist"/>
- <submission id="TRAEA01306" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/cmb_info2"/>
- </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/stringHelper.js"/>
- <script type="javascript" src="../../../ast/commonweb/js/AST.js"/>
- <script type="javascript" src="../../../ast/examcureweb/js/AEZ0001.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
- <script type="javascript">
- <![CDATA[
-
- function getGridData() {
-
- if(model.getValue("/root/send/srchiodd") != "") {
-
- model.setValue("/root/temp/goodnm", cmb_goodcd.label);
- model.setValue("/root/temp/inswlnqty", "0");
- model.setValue("/root/temp/setwlnqty", "0");
- model.setValue("/root/temp/insuseqty", "0");
- model.setValue("/root/temp/setuseqty", "0");
-
- model.removeNodeset("/root/main/mainlist");
- model.removeNodeset("/root/main/goodlist/item");
-
- btn_inSave.disabled = true;
- btn_inUpdt.disabled = true;
- btn_outSave.disabled = true;
- btn_outUpdt.disabled = true;
- ipt_inswlnday.disabled = true;
- ipt_insuseday.disabled = true;
-
- submit("TRAEB03401");
-
- model.setValue("/root/send/srchiodd", getCurrentDate());
-
- var srchgoodcd = model.getValue("/root/send/srchgoodcd");
-
- if (srchgoodcd != "") {
- btn_inSave.disabled = false;
- btn_outSave.disabled = false;
- ipt_inswlnday.disabled = false;
- ipt_insuseday.disabled = false;
- }
-
- model.refresh();
- }
- else
- {
- messageBox("날짜를", "C001");
- }
-
- }
-
-
- function getDyeList()
- {
- if( model.getValue("/root/send/srchfromdd") == "" || model.getValue("/root/send/srchtodd") == "" ){
- messageBox("입고일자를", "I007");
- return;
- }
-
-
- // 2011.02.07 c y w 조회시 환자정보리스트 클리어
- model.removeNodeset("/root/main/dyestoclist/item");
-
- if(submit("TRAEB03407")){
- model.makeValue("/root/main/dyestoclist/srchfromdd", model.getValue("/root/send/srchfromdd"));
- model.makeValue("/root/main/dyestoclist/srchtodd", model.getValue("/root/send/srchtodd"));
- model.makeValue("/root/main/dyestoclist/srchsectcd", model.getValue("/root/send/srchsectcd"));
- model.makeValue("/root/main/dyestoclist/srchexcuroomgrp", model.getValue("/root/send/srchexcuroomgrp"));
- model.makeValue("/root/main/dyestoclist/srchsuppdeptcd", model.getValue("/root/send/srchsuppdeptcd"));
-
- //exeReportPreview("RPAEB03407", "XMLSTR", "/root/main/dyestoclist");
- exeReportPreview("RPAEB03407", "XMLSTR" , "" , "" , "false" , "", "", "", "", "false");
-
- }
-
- model.refresh();
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="1210" pageheight="780" style="margin-left:7; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group1" style="left:0px; top:0px; width:1194px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:205px; height:15px; ">조영제/재료 소모관리 전체</caption>
- </group>
- <group id="group2" scroll="auto" style="left:0px; top:15px; width:1195px; height:730px; ">
- <group id="group4" 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; border-color:#ffd799; "/>
- <caption id="caption19" class="search_name" style="left:10px; top:9px; width:105px; height:17px; ">소모일 기간 :</caption>
- <input id="ipt_fromdd" ref="/root/send/srchfromdd" class="input_search" navindex="1" inputtype="date" format="yyyy-mm-dd" style="left:120px; top:8px; width:90px; height:19px; "/>
- <line id="line6" class="line_4" style="x1:1116px; y1:6px; x2:1116px; y2:28px; "/>
- <caption id="caption20" class="search_name" style="left:777px; top:9px; width:83px; height:17px; ">검사실 :</caption>
- <button id="button3" class="btn1_letter2" navindex="5" style="left:1129px; top:7px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //20151016 기간 체크
- //start
- var cTime = getCurrentTime().substr(0, 4);
-
- if(cTime > "1700" || cTime < "0830") {
-
- } else {
- var ddInterval = getDateInterval(ipt_fromdd.value, ipt_todd.value);
- if(ddInterval > 32){
- messageBox("업무시간[08:30 ~ 17:00]에는 31일까지만 조회", "I006");
- return;
- }
- }
- //end
-
- getDyeList();
- ]]>
- </script>
- </button>
- <select1 id="cmb_sectcd" ref="/root/send/srchsectcd" navindex="4" appearance="minimal" style="left:857px; top:9px; width:187px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/excuroomcdlist/excuroom">
- <label ref="basecdflagdesc"/>
- <value ref="basecd"/>
- </itemset>
- </choices>
- </select1>
- <caption id="lbl_srchdd" class="search_name" style="left:568px; top:10px; width:86px; height:17px; ">구 분 :</caption>
- <select1 id="cmb_excuroomgrp" ref="/root/send/srchexcuroomgrp" class="combo_search" navindex="3" appearance="minimal" style="left:640px; top:9px; width:123px; height:19px; ">
- <choices>
- <itemset nodeset="/root/cmb_info/initexcuroomgrp">
- <label ref="excuroomgrpcdnm"/>
- <value ref="excuroomgrpcdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- model.removeNodeset("/root/init/cmb_info2/initexecroom");
- model.removeNodeset("/root/init/excuroomcdlist/excuroom");
- model.setValue("/root/send/excuroomgrpcdid", model.getValue("/root/send/srchexcuroomgrp") );
- if(submit("TRAEA01306")){
- var cnt = getNodesetCount("/root/init/cmb_info2/initexecroom");
- for(var i = 1; i <= cnt; i++ ){
- model.makeNode("/root/init/excuroomcdlist/excuroom[" + i + "]");
- model.makeValue("/root/init/excuroomcdlist/excuroom[" + i + "]/basecdflagdesc", model.getValue("/root/init/cmb_info2/initexecroom["+ i +"]/excuroomcdnm"));
- model.makeValue("/root/init/excuroomcdlist/excuroom[" + i + "]/basecd", model.getValue("/root/init/cmb_info2/initexecroom["+ i +"]/excuroomcdid"));
- }
- if(model.getValue("/root/init/excuroomcdlist/excuroom[1]/basecd") != "" ){
- addComboItem("cmb_sectcd", "-- 전체 --", "", "above");
- }
- cmb_sectcd.select(0);
- }
- model.refresh();
- ]]>
- </script>
- </select1>
- <caption id="lbl_~" class="search_no_b" style="left:214px; top:10px; width:12px; height:17px; ">~</caption>
- <input id="ipt_todd" ref="/root/send/srchtodd" class="input_search" navindex="2" inputtype="date" style="left:230px; top:8px; width:90px; height:19px; "/>
- <caption id="caption1" class="search_name" style="left:340px; top:10px; width:86px; height:17px; ">지원부서 :</caption>
- <select1 id="cmb_sudpt" ref="/root/send/srchsuppdeptcd" class="combo_search" appearance="minimal" editmode="inputsearch" style="left:431px; top:9px; width:120px; height:19px; text-align:left; ">
- <choices>
- <itemset nodeset="/root/cmb_info/suppdept">
- <label ref="depthngnm"/>
- <value ref="suppdeptcd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- model.removeNodeset("/root/init/excuroomcdlist/excuroom");
- if(model.getValue("/root/send/srchsuppdeptcd") == "" ){
- model.setValue("/root/send/globalinstance/instance1", "");
- cmb_excuroomgrp.select(0);
- cmb_excuroomgrp.dispatch("xforms-select");
- }else{
- model.setValue("/root/send/globalinstance/instance1", model.getValue("/root/send/srchsuppdeptcd"));
- model.setValue("/root/send/excuroomcd", "");
- submit("TRAEA00902");
- if(model.getValue("/root/init/excuroomcdlist/excuroom[1]/basecd") != "" ){
- addComboItem("cmb_sectcd", "-- 전체 --", "", "above");
- }
- cmb_sectcd.select(0);
- }
- model.refresh();
- ]]>
- </script>
- </select1>
- </group>
- <caption id="caption22" class="tit_2" style="left:0px; top:58px; width:143px; height:15px; ">조영제/재료 소모 현황</caption>
- <line id="line7" class="line_1" style="x1:0px; y1:74px; x2:1193px; y2:74px; "/>
- </group>
- <group id="grp_btn" style="left:0px; top:745px; width:1195px; height:25px; "/>
- </xhtml:body>
- </xhtml:html>
|