SMAEB01400_재촬영사유코드관리.xrw 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140
  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>Untitle</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <codelist>
  11. <item>
  12. <sortno/>
  13. <basecd/>
  14. <basecdflagdesc/>
  15. <basecdcnts/>
  16. <basesuppdeptcd/>
  17. </item>
  18. </codelist>
  19. </main>
  20. <send>
  21. <basecd/>
  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="TRAEB01401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/codelist"/>
  38. <submission id="TXAEB01401" 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/opinlist/item");
  43. model.refresh();
  44. model.setFocus("ipt_basecd");
  45. ]]>
  46. </script>
  47. </model>
  48. </xhtml:head>
  49. <script src="../../../com/commonweb/js/common.js" type="javascript"/>
  50. <script src="../../../com/commonweb/js/tfHelper.js" type="javascript"/>
  51. <script src="../../../ast/commonweb/js/AST.js" type="javascript"/>
  52. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  53. <script src="../../../ast/examcureweb/js/AEZ0001.js" type="javascript"/>
  54. <xhtml:body guideline="1,1195;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  55. <caption id="caption19" class="tit_1" style="left:0px; top:0px; width:106px; height:14px; ">재쵤영사유코드</caption>
  56. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:3px; top:15px; width:1192px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  57. <line id="line2" class="line_1" style="x1:2px; y1:78px; x2:1195px; y2:78px; "/>
  58. <button id="btn_sea" class="btn1_letter2" style="left:1132px; top:21px; width:56px; height:22px; ">
  59. <caption>조회</caption>
  60. <script type="javascript" ev:event="DOMActivate">
  61. <![CDATA[
  62. submit("TRAEB01401");
  63. ]]>
  64. </script>
  65. </button>
  66. <button id="btn_grdadd" class="btn2_letter3" style="left:1087px; top:54px; width:53px; height:19px; ">
  67. <caption>행추가</caption>
  68. <script type="javascript" ev:event="DOMActivate">
  69. <![CDATA[
  70. grd_codelist.addRow();
  71. grd_codelist.row = grd_codelist.bottomRow;
  72. var cnt = parseInt(grd_codelist.row);
  73. model.setValue("/root/main/codelist/item[" + cnt + "]/basesuppdeptcd",
  74. model.getValue("/root/send/globalinstance/instance1") );
  75. ]]>
  76. </script>
  77. </button>
  78. <button id="btn_grddel" class="btn2_letter3" style="left:1142px; top:54px; width:53px; height:19px; ">
  79. <caption>행삭제</caption>
  80. <script type="javascript" ev:event="DOMActivate">
  81. <![CDATA[
  82. deleteSelectedRows(grd_codelist, true);
  83. ]]>
  84. </script>
  85. </button>
  86. <button id="btn_save" class="btn4_letter2" style="left:1139px; top:762px; width:56px; height:22px; ">
  87. <caption>저장</caption>
  88. <script type="javascript" ev:event="DOMActivate">
  89. <![CDATA[
  90. if ( messageBox("","Q002")==6 ) {
  91. var update = getGridUpdateData(grd_codelist);
  92. // var update = model.getValue("/root/send/req/data");
  93. if(update == ""){
  94. messageBox("업데이트 정보가 없습니다.", "I");
  95. return 0;
  96. } else {
  97. alert(model.getValue("/root/send/globalinstance/instance1"));
  98. model.setValue("/root/send/req/data", update);
  99. //model.setV
  100. submit("TXAEB01401");
  101. }
  102. }
  103. submit("TRAEB01401");
  104. ]]>
  105. </script>
  106. <script type="javascript" ev:event="DOMFocusIn">
  107. <![CDATA[
  108. checkKeyColumn("grd_codelist");
  109. ]]>
  110. </script>
  111. </button>
  112. <input id="input8" ref="/root/send/basecd" class="input_search" style="left:89px; top:23px; width:100px; height:19px; "/>
  113. <caption id="caption25" class="search_name" style="left:19px; top:23px; width:86px; height:17px; ">코드 :</caption>
  114. <datagrid id="grd_codelist" nodeset="/root/main/codelist/item" caption="순번 ^코드^재촬영사유 코드^비고" colsep="^" colwidth="100, 144, 476, 433,0" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:2px; top:83px; width:1193px; height:674px; ">
  115. <col ref="sortno" type="input"/>
  116. <col ref="basecd" type="input"/>
  117. <col ref="basecdflagdesc" type="input"/>
  118. <col ref="basecdcnts" type="input"/>
  119. <col ref="basesuppdeptcd"/>
  120. </datagrid>
  121. <button id="button61" class="icon_search" style="left:192px; top:25px; width:16px; height:16px; ">
  122. <caption/>
  123. <script type="javascript" ev:event="onkeydown">
  124. <![CDATA[
  125. inputEnterKey("btn_sea","DOMActivate");
  126. ]]>
  127. </script>
  128. </button>
  129. </xhtml:body>
  130. </xhtml:html>