SMRWP10200_공지사항 등록.xrw 6.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160
  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. <rwpdcmtslist/>
  11. </main>
  12. <init/>
  13. <send>
  14. <payym/>
  15. <saldfrayflag/>
  16. </send>
  17. <hidden/>
  18. <temp/>
  19. </root>
  20. </instance>
  21. <script type="javascript" ev:event="xforms-ready">
  22. <![CDATA[
  23. misfMsterDetailSet(grd_rwpdcmtslist, null, "TRRWP10201" ,"Y");
  24. misfGridInit(grd_rwpdcmtslist);1
  25. misfComboComCdListMulti("R0112,R0112", "cmb_saldfrayflag,grd_rwpdcmtslist.saldfrayflag");
  26. addComboItem("cmb_saldfrayflag", "전체", "%", "above");
  27. var today = getCurrentDate();
  28. var cur_yymm = parseInt(today.substring(0, 6));
  29. model.setValue("/root/send/payym", cur_yymm);
  30. cmb_saldfrayflag.select(0);
  31. model.refresh();
  32. ]]>
  33. </script>
  34. <submission id="TRRWP10201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/rwpdcmtslist"/>
  35. <submission id="TXRWP10201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/rwpdcmtslist" resultref="/root/temp"/>
  36. </model>
  37. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  38. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  39. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  40. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  41. <script type="javascript" src="../../../mis/humtrafactmngtweb/js/RPB001.js"/>
  42. <script type="javascript" src="../../../mis/paybnusmngtweb/js/RWP001.js"/>
  43. <script type="javascript">
  44. <![CDATA[
  45. function finit()
  46. {
  47. misfGridInit(grd_rwpdcmtslist);
  48. var today = getCurrentDate();
  49. var cur_yymm = parseInt(today.substring(0, 6));
  50. model.setValue("/root/send/payym", cur_yymm);
  51. model.refresh();
  52. }
  53. ]]>
  54. </script>
  55. </xhtml:head>
  56. <xhtml:body style="margin-left:8; margin-right:8; ">
  57. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  58. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">공지사항 등록</caption>
  59. </group>
  60. <group id="group2" scroll="auto" style="left:0px; top:40px; width:1195px; height:740px; ">
  61. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:10px; width:1193px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  62. <button id="btn_search" class="btn1_letter2" style="left:1130px; top:17px; width:56px; height:22px; ">
  63. <caption>조회</caption>
  64. <script type="javascript" ev:event="DOMActivate">
  65. <![CDATA[
  66. if(!isRequiredControls("ipt_payym"))return;
  67. if(!isRequiredControls("cmb_saldfrayflag"))return;
  68. submit("TRRWP10201");
  69. ]]>
  70. </script>
  71. </button>
  72. <line id="line13" class="line_4" style="x1:1120px; y1:10px; x2:1120px; y2:44px; "/>
  73. <caption id="cap_saldfrayflag" class="search_name" style="left:327px; top:19px; width:86px; height:17px; ">급여종류 :</caption>
  74. <select1 id="cmb_saldfrayflag" ref="/root/send/saldfrayflag" class="combo_s_essential" appearance="minimal" style="left:415px; top:18px; width:169px; height:19px; text-align:center; ">
  75. <choices>
  76. <itemset>
  77. <label/>
  78. <value/>
  79. </itemset>
  80. </choices>
  81. </select1>
  82. <caption id="cap_payym" class="search_name" style="left:16px; top:19px; width:94px; height:17px; ">지급년월 :</caption>
  83. <input id="ipt_payym" ref="/root/send/payym" class="input_s_essential" inputtype="date" format="yyyy-mm" style="left:105px; top:18px; width:94px; height:19px; text-align:center; vertical-align:middle; "/>
  84. <caption id="caption28" class="tit_2" style="left:5px; top:58px; width:144px; height:14px; ">공지사항 목록</caption>
  85. <line id="line193" class="line_1" style="x1:2px; y1:71px; x2:1192px; y2:71px; "/>
  86. <datagrid id="grd_rwpdcmtslist" nodeset="/root/main/rwpdcmtslist" autoresize="true" caption="지급년월^급여 종류^공지사항" colsep="^" colwidth="100, 100, 947" ellipsis="true" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" tooltip="true" style="left:2px; top:76px; width:1188px; height:659px; ">
  87. <col class="input_s_essential" ref="payym" type="inputdate" format="yyyy-mm" _key="true"/>
  88. <col class="combo_s_essential" ref="saldfrayflag" type="combo" _key="true">
  89. <choices>
  90. <itemset>
  91. <label/>
  92. <value/>
  93. </itemset>
  94. </choices>
  95. </col>
  96. <col ref="cmt" type="input"/>
  97. </datagrid>
  98. <button id="btn_delete" class="btn2_letter3" style="left:1138px; top:51px; width:53px; height:19px; ">
  99. <caption>행삭제</caption>
  100. <script type="javascript" ev:event="DOMActivate">
  101. <![CDATA[
  102. misfGridIUD(grd_rwpdcmtslist, "D");
  103. model.refresh();
  104. ]]>
  105. </script>
  106. </button>
  107. <button id="btn_insert" class="btn2_letter3" style="left:1083px; top:51px; width:53px; height:19px; ">
  108. <caption>행추가</caption>
  109. <script type="javascript" ev:event="DOMActivate">
  110. <![CDATA[
  111. misfGridIUD(grd_rwpdcmtslist, "A");
  112. grd_rwpdcmtslist.rowheight(grd_rwpdcmtslist.row) = 150;
  113. grd_rwpdcmtslist.valueMatrix(grd_rwpdcmtslist.row, grd_rwpdcmtslist.colRef("payym")) = ipt_payym.value;
  114. grd_rwpdcmtslist.valueMatrix(grd_rwpdcmtslist.row, grd_rwpdcmtslist.colRef("saldfrayflag")) = cmb_saldfrayflag.value;
  115. model.refresh();
  116. ]]>
  117. </script>
  118. </button>
  119. </group>
  120. <group id="grp_btn" scroll="auto" style="left:0px; top:13px; width:1195px; height:25px; ">
  121. <button id="btn_save" class="btn4_letter2" style="left:1063px; top:2px; width:56px; height:22px; ">
  122. <caption>저장</caption>
  123. <script type="javascript" ev:event="DOMActivate">
  124. <![CDATA[
  125. if(!checkKeyColumn("grd_rwpdcmtslist"))
  126. {
  127. messageBox("필수항목을 기입하여 주세요.","");
  128. return;
  129. }
  130. misfSave("TXRWP10201");
  131. btn_search.dispatch("DOMActivate");
  132. ]]>
  133. </script>
  134. </button>
  135. <button id="btn_init" class="btn4_letter3" style="left:1121px; top:2px; width:68px; height:22px; ">
  136. <caption>초기화</caption>
  137. <script type="javascript" ev:event="DOMActivate">
  138. <![CDATA[
  139. finit();
  140. ]]>
  141. </script>
  142. </button>
  143. </group>
  144. </xhtml:body>
  145. </xhtml:html>