| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156 |
- <?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>E.O. 가스멸균품 불출일 지정</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <dlvflag>2</dlvflag>
- <dlvdd/>
- <reqpridflag/>
- </main>
- <copynode/>
- <init/>
- </root>
- </instance>
- <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();
- ]]>
- </script>
- <submission id="TRRSD06013" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/init/timlist"/>
- <script type="javascript" ev:event="xforms-model-destruct">
- <![CDATA[
- model.property("certyn") = "Y";
- ]]>
- </script>
- </model>
- <script type="javascript">
- <![CDATA[
- // 화면 open시와 초기화 버튼 클릭시 화면 초기화 기능을 수행한다.
- function fInitialize()
- {
- var instcd = model.property("instcd");
- var reqdeptcd = model.property("reqdeptcd");
-
-
- var dt = getCurrentDate();
-
- var dt2 = dt.toDate();
-
- var curdt = dt2.getAddDate(1).getDateFormat();
-
-
- model.setValue(ipt_dlvdd.attribute("ref"), curdt);
- ipt_dlvdd.refresh();
-
-
- model.makeValue("/root/send/reqdata/reqdeptcd",reqdeptcd);
- model.makeValue("/root/send/reqdata/instcd" , instcd);
-
- var daykind = "";
- if(getCurrentWeek() == "0" ||getCurrentWeek() == "6") {
- daykind = "2";
-
- } else {
- daykind = "1";
- }
-
-
-
- model.makeValue("/root/send/reqdata/daykind" , daykind);
-
- submit("TRRSD06013");
-
- var node = instance1.selectSingleNode("/root/init/tmlist/reqtimslist");
-
- if(node != null) {
- cmb_reqpridflag.select(0);
- }
-
-
- }
-
-
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="300" pageheight="200" guideline="1,733;2,748;2,744;2,732;1,737;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="grp_tle" style="left:0px; top:0px; width:270px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:186px; height:14px; ">E.O 가스멸균품 불출일 지정</caption>
- </group>
- <group id="grp_biz" scroll="auto" style="left:0px; top:12px; width:270px; height:133px; ">
- <caption id="caption1" style="left:3px; top:15px; width:264px; height:20px; font-weight:bold; ">E.O.가스 멸균품의 불출 정보를 지정합니다.</caption>
- <select1 id="rdo_dlvflag" ref="/root/main/dlvflag" overflow="visible" appearance="full" vcellspacing="10" style="left:25px; top:35px; width:165px; height:50px; border-style:none; ">
- <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[
- if(model.getValue(rdo_dlvflag.attribute("ref")) == "1") {
- ipt_dlvdd.disabled = true;
- cmb_reqpridflag.disabled = true;
-
- model.resetInstanceNode(ipt_dlvdd.attribute("ref"));
- model.resetInstanceNode(cmb_reqpridflag.attribute("ref"));
-
- ipt_dlvdd.refresh();
- cmb_reqpridflag.refresh();
- } else {
- ipt_dlvdd.disabled = false;
- cmb_reqpridflag.disabled = false;
- }
- ]]>
- </script>
- </select1>
- <caption id="caption2" style="left:60px; top:85px; width:80px; height:20px; font-weight:bold; ">불출예정일 :</caption>
- <caption id="caption3" style="left:48px; top:110px; width:90px; height:20px; font-weight:bold; ">예정불출차수 :</caption>
- <input id="ipt_dlvdd" ref="/root/main/dlvdd" class="input_default" inputtype="date" style="left:140px; top:85px; width:100px; height:19px; "/>
- <select1 id="cmb_reqpridflag" ref="/root/main/reqpridflag" appearance="minimal" style="left:140px; top:110px; width:100px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/tmlist/reqtimslist">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- ]]>
- </script>
- </select1>
- </group>
- <button id="button1" class="btn5_letter2" style="left:225px; top:147px; width:42px; height:19px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(model.getValue(rdo_dlvflag.attribute("ref")) == "1") {
- model.property("dlvdd") = model.property("reqdd");
-
- model.property("reqpridflag") = model.property("reqprid");
-
- } else {
- model.property("dlvdd") = model.getValue(ipt_dlvdd.attribute("ref"));
- model.property("reqpridflag") = model.getValue(cmb_reqpridflag.attribute("ref"));
- }
- opener.javascript.setParameter("CERTYN", "Y");
- window.close();
- ]]>
- </script>
- </button>
- </xhtml:body>
- </xhtml:html>
|