SPMNG01102_멸균망확인.xrw 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124
  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>멸균망확인</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <gasnetinfo>
  11. <gasnetlist>
  12. <goodcd/>
  13. <goodnm/>
  14. <reqqty/>
  15. <instcd/>
  16. <reqdd/>
  17. <reqno/>
  18. <reqseqno/>
  19. <reqdeptcd/>
  20. <netseqno/>
  21. </gasnetlist>
  22. </gasnetinfo>
  23. <deptnm/>
  24. </main>
  25. </root>
  26. </instance>
  27. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  28. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  29. <script type="javascript" ev:event="xforms-ready">
  30. <![CDATA[
  31. fInitialize();
  32. ]]>
  33. </script>
  34. <submission id="TRMNG01103" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/gasnetinfo"/>
  35. <submission id="TXMNG01104" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata" resultref="/root/temp"/>
  36. </model>
  37. <script type="javascript">
  38. <![CDATA[
  39. // 화면 open시와 초기화 버튼 클릭시 화면 초기화 기능을 수행한다.
  40. function fInitialize()
  41. {
  42. model.setValue("/root/main/deptnm", model.property("reqdeptnm"));
  43. model.removeNodeset(grd_gasnetlist.nodeset);
  44. grd_gasnetlist.refresh();
  45. fSearch();
  46. }
  47. function fSearch() {
  48. var instcd ="";
  49. var reqdd = "";
  50. var reqno = "";
  51. var reqseqno = "";
  52. var reqdeptcd = "";
  53. instcd = model.property("instcd");
  54. reqdd = model.property("reqdd");
  55. reqno = model.property("reqno");
  56. reqseqno = model.property("reqseqno");
  57. reqdeptcd = model.property("reqdeptcd");
  58. model.makeValue("/root/send/instcd" , instcd);
  59. model.makeValue("/root/send/reqdd" , reqdd);
  60. model.makeValue("/root/send/reqno" , reqno);
  61. model.makeValue("/root/send/reqseqno" , reqseqno);
  62. model.makeValue("/root/send/reqdeptcd", reqdeptcd);
  63. model.makeValue("/root/send/certflag", "Y");
  64. submit("TRMNG01103");
  65. for(var i=grd_gasnetlist.fixedRows; i < grd_gasnetlist.rows; i++) {
  66. grd_gasnetlist.rowStatus(i) = "2";
  67. }
  68. }
  69. ]]>
  70. </script>
  71. </xhtml:head>
  72. <xhtml:body pagewidth="550" pageheight="500" guideline="1,963;2,771;2,503;" style="font-family:굴림체; margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  73. <group id="grp_tle" style="left:0px; top:0px; width:380px; height:13px; ">
  74. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:186px; height:14px; ">멸균망확인</caption>
  75. </group>
  76. <group id="grp_biz" scroll="auto" style="left:0px; top:15px; width:530px; height:453px; ">
  77. <caption id="caption12" class="tit_2" style="left:5px; top:9px; width:121px; height:14px; ">멸균망목록</caption>
  78. <line id="line1" class="line_1" style="x1:5px; y1:24px; x2:530px; y2:24px; "/>
  79. <datagrid id="grd_gasnetlist" nodeset="/root/main/gasnetinfo/gasnetlist" class="datagrid2" caption="물품코드^물품명^물품&#xA;수량^확인&#xA;수량^확인자^사유^기관코드^청구일자^청구번호^청구순번^청구부서^망순번" colsep="^" colwidth="0, 227, 50, 50, 60, 100, 60, 74, 100, 65, 76, 100" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:5px; top:29px; width:525px; height:421px; ">
  80. <col ref="goodcd" visibility="hidden"/>
  81. <col ref="goodnm" type="input" style="font-size:14pt; font-weight:bold; "/>
  82. <col ref="reqqty" type="input" style="font-size:14pt; font-weight:bold; text-align:center; "/>
  83. <col ref="certqty" type="input" style="font-size:14pt; font-weight:bold; text-align:center; "/>
  84. <col ref="certnm" style="text-align:center; "/>
  85. <col ref="certdesc" type="input"/>
  86. <col ref="instcd" visibility="hidden"/>
  87. <col ref="reqdd" visibility="hidden"/>
  88. <col ref="reqno" visibility="hidden"/>
  89. <col ref="reqseqno" visibility="hidden"/>
  90. <col ref="reqdeptcd" visibility="hidden"/>
  91. <col ref="netseqno" visibility="hidden"/>
  92. <script type="javascript" ev:event="xforms-value-changed">
  93. <![CDATA[
  94. if(grd_gasnetlist.col == grd_gasnetlist.colRef("certqty")) {
  95. if(event.keyCode == 13 && (grd_gasnetlist.row != grd_gasnetlist.rows - 1)) {
  96. grd_gasnetlist.row = grd_gasnetlist.row + 1;
  97. }
  98. }
  99. ]]>
  100. </script>
  101. </datagrid>
  102. <button id="btn_sav" class="btn5_letter2" style="left:485px; top:3px; width:42px; height:19px; ">
  103. <caption>저장</caption>
  104. <script type="javascript" ev:event="DOMActivate">
  105. <![CDATA[
  106. model.makeValue("/root/send/savedata/gasnetlist", getGridUpdateData(grd_gasnetlist) );
  107. submit("TXMNG01104");
  108. fSearch();
  109. ]]>
  110. </script>
  111. </button>
  112. <output id="output1" ref="/root/main/deptnm" style="left:225px; top:0px; width:245px; height:19px; font-weight:bold; "/>
  113. </group>
  114. </xhtml:body>
  115. </xhtml:html>