SPRSE00101_EO가스멸균품불출.xrw 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
  3. <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">
  4. <xhtml:head>
  5. <xhtml:title>E.O. 가스멸균품 불출일 지정</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <dlvflag>2</dlvflag>
  11. <dlvdd/>
  12. <reqpridflag/>
  13. </main>
  14. <copynode/>
  15. <init/>
  16. </root>
  17. </instance>
  18. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  19. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  20. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  21. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  22. <script type="javascript" src="../../../mis/miscommonweb/js/RSZ001.js"/>
  23. <script type="javascript" ev:event="xforms-ready">
  24. <![CDATA[
  25. fInitialize();
  26. ]]>
  27. </script>
  28. <submission id="TRRSD06013" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/init/timlist"/>
  29. <script type="javascript" ev:event="xforms-model-destruct">
  30. <![CDATA[
  31. model.property("certyn") = "Y";
  32. ]]>
  33. </script>
  34. </model>
  35. <script type="javascript">
  36. <![CDATA[
  37. // 화면 open시와 초기화 버튼 클릭시 화면 초기화 기능을 수행한다.
  38. function fInitialize()
  39. {
  40. var instcd = model.property("instcd");
  41. var reqdeptcd = model.property("reqdeptcd");
  42. var dt = getCurrentDate();
  43. var dt2 = dt.toDate();
  44. var curdt = dt2.getAddDate(1).getDateFormat();
  45. model.setValue(ipt_dlvdd.attribute("ref"), curdt);
  46. ipt_dlvdd.refresh();
  47. model.makeValue("/root/send/reqdata/reqdeptcd",reqdeptcd);
  48. model.makeValue("/root/send/reqdata/instcd" , instcd);
  49. var daykind = "";
  50. if(getCurrentWeek() == "0" ||getCurrentWeek() == "6") {
  51. daykind = "2";
  52. } else {
  53. daykind = "1";
  54. }
  55. model.makeValue("/root/send/reqdata/daykind" , daykind);
  56. submit("TRRSD06013");
  57. var node = instance1.selectSingleNode("/root/init/tmlist/reqtimslist");
  58. if(node != null) {
  59. cmb_reqpridflag.select(0);
  60. }
  61. }
  62. ]]>
  63. </script>
  64. </xhtml:head>
  65. <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; ">
  66. <group id="grp_tle" style="left:0px; top:0px; width:270px; height:13px; ">
  67. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:186px; height:14px; ">E.O 가스멸균품 불출일 지정</caption>
  68. </group>
  69. <group id="grp_biz" scroll="auto" style="left:0px; top:12px; width:270px; height:133px; ">
  70. <caption id="caption1" style="left:3px; top:15px; width:264px; height:20px; font-weight:bold; ">E.O.가스 멸균품의 불출 정보를 지정합니다.</caption>
  71. <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; ">
  72. <choices>
  73. <item>
  74. <label>청구일자, 청구차수로 불출</label>
  75. <value>1</value>
  76. </item>
  77. <item>
  78. <label>지정불출</label>
  79. <value>2</value>
  80. </item>
  81. </choices>
  82. <script type="javascript" ev:event="xforms-value-changed">
  83. <![CDATA[
  84. if(model.getValue(rdo_dlvflag.attribute("ref")) == "1") {
  85. ipt_dlvdd.disabled = true;
  86. cmb_reqpridflag.disabled = true;
  87. model.resetInstanceNode(ipt_dlvdd.attribute("ref"));
  88. model.resetInstanceNode(cmb_reqpridflag.attribute("ref"));
  89. ipt_dlvdd.refresh();
  90. cmb_reqpridflag.refresh();
  91. } else {
  92. ipt_dlvdd.disabled = false;
  93. cmb_reqpridflag.disabled = false;
  94. }
  95. ]]>
  96. </script>
  97. </select1>
  98. <caption id="caption2" style="left:60px; top:85px; width:80px; height:20px; font-weight:bold; ">불출예정일 :</caption>
  99. <caption id="caption3" style="left:48px; top:110px; width:90px; height:20px; font-weight:bold; ">예정불출차수 :</caption>
  100. <input id="ipt_dlvdd" ref="/root/main/dlvdd" class="input_default" inputtype="date" style="left:140px; top:85px; width:100px; height:19px; "/>
  101. <select1 id="cmb_reqpridflag" ref="/root/main/reqpridflag" appearance="minimal" style="left:140px; top:110px; width:100px; height:19px; ">
  102. <choices>
  103. <itemset nodeset="/root/init/tmlist/reqtimslist">
  104. <label ref="cdnm"/>
  105. <value ref="cdid"/>
  106. </itemset>
  107. </choices>
  108. <script type="javascript" ev:event="xforms-value-changed">
  109. <![CDATA[
  110. ]]>
  111. </script>
  112. </select1>
  113. </group>
  114. <button id="button1" class="btn5_letter2" style="left:225px; top:147px; width:42px; height:19px; ">
  115. <caption>저장</caption>
  116. <script type="javascript" ev:event="DOMActivate">
  117. <![CDATA[
  118. if(model.getValue(rdo_dlvflag.attribute("ref")) == "1") {
  119. model.property("dlvdd") = model.property("reqdd");
  120. model.property("reqpridflag") = model.property("reqprid");
  121. } else {
  122. model.property("dlvdd") = model.getValue(ipt_dlvdd.attribute("ref"));
  123. model.property("reqpridflag") = model.getValue(cmb_reqpridflag.attribute("ref"));
  124. }
  125. opener.javascript.setParameter("CERTYN", "Y");
  126. window.close();
  127. ]]>
  128. </script>
  129. </button>
  130. </xhtml:body>
  131. </xhtml:html>