SMAEB01600_취소코드관리.xrw 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.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. <basecdcnts/>
  16. <basecdflag/>
  17. </cnclcode>
  18. </cnclcodelist>
  19. </main>
  20. <send>
  21. <cnclcd/>
  22. <req>
  23. <data/>
  24. </req>
  25. <globalinstance>
  26. <instance1/>
  27. </globalinstance>
  28. </send>
  29. <init/>
  30. <hidden>
  31. <count/>
  32. </hidden>
  33. </root>
  34. </instance>
  35. <submission id="TRAEB01601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/cnclcodelist"/>
  36. <submission id="TXAEB01601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/hidden"/>
  37. <script type="javascript" ev:event="xforms-ready">
  38. <![CDATA[
  39. //aezfSetSuppDeptcd();
  40. var suppdeptcd = "";
  41. suppdeptcd = getScreenMenuParameter();
  42. if (suppdeptcd == "" || suppdeptcd == null || suppdeptcd == "null"){
  43. aezfSetSuppDeptcd();
  44. }else{
  45. model.setValue("/root/send/globalinstance/instance1", suppdeptcd);
  46. }
  47. model.removeNodeset("/root/main/cnclcodelist/cnclcode");
  48. model.refresh();
  49. model.setFocus("ipt_basecd");
  50. ]]>
  51. </script>
  52. </model>
  53. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  54. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  55. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  56. <script type="javascript" src="../../../ast/examcureweb/js/AEZ0001.js"/>
  57. </xhtml:head>
  58. <xhtml:body guideline="1,1196;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  59. <caption id="caption19" class="tit_1" style="left:0px; top:0px; width:106px; height:14px; background-image:../../../com/commonweb/images/tit_bullet1.gif; ">취소코드관리</caption>
  60. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:3px; top:15px; width:1192px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  61. <line id="line2" class="line_1" style="x1:2px; y1:78px; x2:1195px; y2:78px; "/>
  62. <button id="btn_sea" class="btn1_letter2" style="left:1132px; top:21px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn1_letter2.gif; ">
  63. <caption>조회</caption>
  64. <script type="javascript" ev:event="DOMActivate">
  65. <![CDATA[
  66. submit("TRAEB01601");
  67. ]]>
  68. </script>
  69. </button>
  70. <button id="btn_grdadd" class="btn2_letter3" disable.background-image="../../../com/commonweb/images/dis_btn2_letter3.gif" style="left:1087px; top:54px; width:53px; height:19px; background-image:../../../com/commonweb/images/btn2_letter3.gif; ">
  71. <caption>행추가</caption>
  72. <script type="javascript" ev:event="DOMActivate">
  73. <![CDATA[
  74. grd_cnclcode.addRow();
  75. grd_cnclcode.row = grd_cnclcode.bottomRow;
  76. ]]>
  77. </script>
  78. </button>
  79. <button id="btn_grddel" class="btn2_letter3" disable.background-image="../../../com/commonweb/images/dis_btn2_letter3.gif" style="left:1142px; top:54px; width:53px; height:19px; background-image:../../../com/commonweb/images/btn2_letter3.gif; ">
  80. <caption>행삭제</caption>
  81. <script type="javascript" ev:event="DOMActivate">
  82. <![CDATA[
  83. //grd_cnclcode.addStatus(grd_cnclcode.row,"delete");
  84. deleteSelectedRows(grd_cnclcode, true);
  85. ]]>
  86. </script>
  87. </button>
  88. <button id="btn_save" class="btn4_letter2" disable.background-image="../../../com/commonweb/images/dis_btn4_letter2.gif" style="left:1139px; top:762px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn4_letter2.gif; ">
  89. <caption>저장</caption>
  90. <script type="javascript" ev:event="DOMActivate">
  91. <![CDATA[
  92. if ( messageBox("","Q002")==6 ) {
  93. var update = getGridUpdateData(grd_cnclcode);
  94. if(update == ""){
  95. messageBox("업데이트 정보가 없습니다.", "I");
  96. } else {
  97. model.setValue("/root/send/req/data",update);
  98. submit("TXAEB01601");
  99. }
  100. }
  101. submit("TRAEB01601");
  102. ]]>
  103. </script>
  104. <script type="javascript" ev:event="DOMFocusIn">
  105. <![CDATA[
  106. checkKeyColumn("grd_cnclcode");
  107. ]]>
  108. </script>
  109. </button>
  110. <caption id="caption1" class="search_name" style="left:20px; top:25px; width:100px; height:20px; background-image:../../../com/commonweb/images/search_bullet1.gif; ">취소코드:</caption>
  111. <input id="ipt_basecd" ref="/root/send/cnclcd" class="input_search" _chartype="upper" style="left:110px; top:23px; width:115px; height:19px; ">
  112. <script type="javascript" ev:event="onkeydown">
  113. <![CDATA[
  114. inputEnterKey("btn_sea","DOMActivate");
  115. ]]>
  116. </script>
  117. </input>
  118. <datagrid id="grd_cnclcode" nodeset="/root/main/cnclcodelist/cnclcode" caption="순번 ^취소코드^취소사유^비고^취소구분" colsep="^" colwidth="100, 144, 432, 397, 100" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" fixed.background-image="../../../com/commonweb/images/grid_bg.gif" style="left:2px; top:83px; width:1193px; height:674px; ">
  119. <col ref="sortno" type="input" format="####"/>
  120. <col ref="basecd" type="input" maxlength="12" _chartype="upper" _key="true"/>
  121. <col ref="basecdflagdesc" type="input" maxlength="300"/>
  122. <col ref="basecdcnts" type="input" maxlength="3000"/>
  123. <col ref="basecdflag" type="combo" _key="true">
  124. <choices>
  125. <item>
  126. <label>예약취소</label>
  127. <value>A</value>
  128. </item>
  129. <item>
  130. <label>접수취소</label>
  131. <value>C</value>
  132. </item>
  133. </choices>
  134. </col>
  135. <!--<script type="javascript" ev:event="onentercell">
  136. <![CDATA[
  137. if (grd_cnclcode.rowStatus(grd_cnclcode.row) == 0) {
  138. grd_cnclcode.isReadOnly(grd_cnclcode.row, grd_cnclcode.colRef("basecd"),grd_cnclcode.row,grd_cnclcode.colRef("basecd")) = true;
  139. }
  140. ]]>
  141. </script>-->
  142. </datagrid>
  143. </xhtml:body>
  144. </xhtml:html>