SMAEB03200_핵종규격관리.xrw 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150
  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. <speclist>
  11. <item>
  12. <speccd/>
  13. <specnm/>
  14. <exchval/>
  15. <rem/>
  16. <suppdeptcd/>
  17. </item>
  18. </speclist>
  19. </main>
  20. <send>
  21. <speccd/>
  22. <req>
  23. <data/>
  24. </req>
  25. <globalinstance>
  26. <instance1/>
  27. </globalinstance>
  28. </send>
  29. <init/>
  30. <hidden>
  31. <item>
  32. </item>
  33. </hidden>
  34. </root>
  35. </instance>
  36. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  37. <submission id="TRAEB03201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/speclist"/>
  38. <submission id="TXAEB03201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/req" replace="instance" resultref="/root/hidden"/>
  39. <script type="javascript" ev:event="xforms-ready">
  40. <![CDATA[
  41. aezfSetSuppDeptcd();
  42. model.removeNodeset("/root/main/speclist/item");
  43. model.refresh();
  44. model.setFocus("ipt_speccd");
  45. submit("TRAEB03201");
  46. ]]>
  47. </script>
  48. </model>
  49. </xhtml:head>
  50. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  51. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  52. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  53. <script type="javascript" src="../../../ast/commonweb/js/AST.js"/>
  54. <script type="javascript" src="../../../ast/examcureweb/js/AEZ0001.js"/>
  55. <xhtml:body guideline="1,1195;2,786;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  56. <caption id="caption19" class="tit_1" style="left:0px; top:0px; width:142px; height:14px; ">핵종 규격 관리</caption>
  57. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:5px; top:20px; width:1190px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  58. <line id="line2" class="line_1" style="x1:0px; y1:82px; x2:1195px; y2:82px; "/>
  59. <button id="btn_sea" class="btn1_letter2" style="left:1126px; top:27px; width:56px; height:22px; ">
  60. <caption>조회</caption>
  61. <script type="javascript" ev:event="DOMActivate">
  62. <![CDATA[
  63. submit("TRAEB03201");
  64. ]]>
  65. </script>
  66. </button>
  67. <button id="btn_grdadd" class="btn2_letter3" style="left:1085px; top:60px; width:53px; height:19px; ">
  68. <caption>행추가</caption>
  69. <script type="javascript" ev:event="DOMActivate">
  70. <![CDATA[
  71. grd_speclist.addRow();
  72. grd_speclist.row = grd_speclist.bottomRow;
  73. var cnt = parseInt(grd_speclist.row);
  74. model.setValue("/root/main/speclist/item[" + cnt + "]/suppdeptcd",
  75. model.getValue("/root/send/globalinstance/instance1") );
  76. grd_speclist.isReadOnly(cnt, 1) = false;
  77. ]]>
  78. </script>
  79. </button>
  80. <button id="btn_grddel" class="btn2_letter3" style="left:1142px; top:60px; width:53px; height:19px; ">
  81. <caption>행삭제</caption>
  82. <script type="javascript" ev:event="onclick">
  83. <![CDATA[
  84. // grd_speclist.addStatus(grd_speclistt.row,"delete");
  85. deleteSelectedRows(grd_speclist, true);
  86. ]]>
  87. </script>
  88. </button>
  89. <input id="input8" ref="/root/send/speccd" class="input_search" style="left:106px; top:29px; width:100px; height:19px; "/>
  90. <caption id="caption25" class="search_name" style="left:16px; top:29px; width:86px; height:17px; ">규격코드 :</caption>
  91. <datagrid id="grd_speclist" nodeset="/root/main/speclist/item" caption="규격코드^규격명^환산치^비고" colsep="^" colwidth="131, 233, 128, 683" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:0px; top:88px; width:1195px; height:665px; ">
  92. <col disabled="true" ref="speccd" type="input"/>
  93. <col ref="specnm" type="input"/>
  94. <col ref="exchval" type="input" format="#,###.00" style="text-align:right; "/>
  95. <col ref="rem" type="input">
  96. <![CDATA[/>]]>
  97. </col>
  98. <col ref="suppdeptcd" visibility="hidden"/>
  99. </datagrid>
  100. <group id="grp_btn" style="left:0px; top:757px; width:1195px; height:27px; ">
  101. <line id="line32" class="line_6" style="x1:0px; y1:0px; x2:1195px; y2:0px; "/>
  102. <button id="button1" class="btn4_letter2" style="left:1078px; top:4px; width:56px; height:22px; ">
  103. <caption>저장</caption>
  104. <script type="javascript" ev:event="DOMActivate">
  105. <![CDATA[
  106. if(!astfNullValidation("/root/main/speclist/item", "speccd", "규격코드를")) return false;
  107. if(!astfNullValidation("/root/main/speclist/item", "specnm", "규격명을")) return false;
  108. if(!astfNullValidation("/root/main/speclist/item", "exchval", "환산치를")) return false;
  109. if ( messageBox("","Q002")==6 ) {
  110. var update = getGridUpdateData(grd_speclist);
  111. if(update == ""){
  112. messageBox("업데이트 정보가 없습니다.", "I");
  113. return 0;
  114. } else {
  115. model.setValue("/root/send/req/data", update);
  116. if (submit("TXAEB03201")) {
  117. }
  118. submit("TRAEB03201");
  119. }
  120. }
  121. ]]>
  122. </script>
  123. </button>
  124. <button id="btn_close" class="btn4_letter2" style="left:1138px; top:4px; width:56px; height:22px; ">
  125. <caption>닫기</caption>
  126. <script type="javascript" ev:event="DOMActivate">
  127. <![CDATA[
  128. if (checkOpener()) {
  129. opener.model.setValue("/root/init/updtyn","N");
  130. }
  131. window.close();
  132. ]]>
  133. </script>
  134. </button>
  135. </group>
  136. </xhtml:body>
  137. </xhtml:html>