SPAEA01500_취소코드조회.xrw 3.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  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. <cnclcodelist>
  11. <cnclcode>
  12. <sortno/>
  13. <basecd/>
  14. <basecdflagdesc/>
  15. </cnclcode>
  16. </cnclcodelist>
  17. </main>
  18. <send>
  19. <cnclcd/>
  20. <basecdflag/>
  21. <globalinstance>
  22. <instance1/>
  23. </globalinstance>
  24. <req>
  25. <data/>
  26. </req>
  27. </send>
  28. <init/>
  29. <hidden>
  30. <count/>
  31. <receivedata/>
  32. </hidden>
  33. </root>
  34. </instance>
  35. <script type="javascript" ev:event="xforms-ready">
  36. <![CDATA[
  37. aezfSetSuppDeptcd();
  38. model.setValue("/root/send/basecdflag",model.getValue("/root/hidden/receivedata"));
  39. submit("TRAEB01602");
  40. ]]>
  41. </script>
  42. <submission id="TRAEB01602" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/cnclcodelist"/>
  43. </model>
  44. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  45. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  46. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  47. <script type="javascript" src="../../../ast/examcureweb/js/AEZ0001.js"/>
  48. </xhtml:head>
  49. <xhtml:body pagewidth="535" pageheight="390" guideline="1,1194;2,383;1,449;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  50. <group id="group3" scroll="auto" style="left:0px; top:0px; width:450px; height:350px; ">
  51. <caption id="caption1" class="tit_2" style="left:5px; top:6px; width:95px; height:13px; ">취소코드</caption>
  52. <line id="line1" class="line_1" style="x1:0px; y1:21px; x2:447px; y2:21px; "/>
  53. <datagrid id="grd_basecd" nodeset="/root/main/cnclcodelist/cnclcode" caption="순번 ^취소코드^취소사유" colsep="^" colwidth="40, 0, 404" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:26px; width:447px; height:320px; ">
  54. <col ref="sortno"/>
  55. <col ref="basecd"/>
  56. <col ref="basecdflagdesc"/>
  57. <script type="javascript" ev:event="ondblclick">
  58. <![CDATA[
  59. model.setAttribute("Cnclresncd", model.getvalue("/root/main/cnclcodelist/cnclcode["+ grd_basecd.row +"]/basecd"));
  60. ]]>
  61. </script>
  62. </datagrid>
  63. </group>
  64. <group id="group1" scroll="auto" style="left:0px; top:355px; width:448px; height:27px; ">
  65. <button id="btn_cfm" class="btn4_letter2" style="left:327px; top:5px; width:56px; height:22px; ">
  66. <caption>확인</caption>
  67. <script type="javascript" ev:event="DOMActivate">
  68. <![CDATA[
  69. var cnclcd = model.getValue("/root/main/cnclcodelist/cnclcode["+grd_basecd.row+"]/basecd");
  70. var cnclcdnm = model.getValue("/root/main/cnclcodelist/cnclcode["+grd_basecd.row+"]/basecdflagdesc");
  71. opener.model.makeValue("/root/hidden/cnclcdlist/cnclcd", cnclcd);
  72. opener.model.makeValue("/root/hidden/cnclcdlist/cnclcdnm", cnclcdnm);
  73. opener.model.refresh();
  74. window.close();
  75. ]]>
  76. </script>
  77. </button>
  78. <button id="btn_cls" class="btn4_letter2" style="left:386px; top:5px; width:56px; height:22px; ">
  79. <caption>닫기</caption>
  80. <close ev:event="DOMActivate"/>
  81. </button>
  82. </group>
  83. </xhtml:body>
  84. </xhtml:html>