SMRWC01400_조회출력기준등록.xrw 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287
  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. <prntbase>
  11. <prntbaselist/>
  12. </prntbase>
  13. <prntbasedetl>
  14. <prntbasedetllist/>
  15. </prntbasedetl>
  16. </main>
  17. <send>
  18. <prntbase>
  19. <appdd/>
  20. <instcd/>
  21. <saldfrayflag/>
  22. <prntbasecd/>
  23. </prntbase>
  24. <prntbasedetl>
  25. <instcd/>
  26. <saldfrayflag/>
  27. <prntbasecd/>
  28. <prntitemcd/>
  29. <basedd/>
  30. </prntbasedetl>
  31. <save>
  32. <prntbaselist/>
  33. <prntbasedetllist/>
  34. </save>
  35. </send>
  36. </root>
  37. </instance>
  38. <script type="javascript" ev:event="xforms-ready">
  39. <![CDATA[
  40. misfGridInit(grd_prntbaselist);
  41. misfGridInit(grd_prntbasedetllist);
  42. misfMsterDetailSet(grd_prntbaselist,null, "TRRWC01401" ,"Y");
  43. misfMsterDetailSet(grd_prntbasedetllist,grd_prntbaselist, "TRRWC01402" ,"Y");
  44. var curdate = getCurrentDate();
  45. model.setValue(ipt_paydeduym.attribute("ref") , curdate);
  46. model.setValue(cmb_instcd.attribute("ref") , getUserInfo("dutplceinstcd"));
  47. //model.setValue(ipt_deptcd.attribute("ref") , getUserInfo("posdeptcd"));
  48. //model.setValue(ipt_deptnm.attribute("ref") , getUserInfo("posdeptnm"));
  49. misfComboInstCdListMulti("cmb_instcd",getCurrentDate(),"","N");
  50. misfComboComCdListMulti("R0112,R0118,R0132,R0099","cmb_SalDfrayFlag,grd_prntbasedetllist.calckind,cmb_prntbase,grd_prntbaselist.paydeduflag");
  51. misfComboCopyItemSet(cmb_SalDfrayFlag, "", grd_prntbasedetllist, "trgtpayflag");
  52. misfGetUserAuth();
  53. if (DUTY_PAY_YN == "Y" ) {
  54. cmb_instcd.disabled = false;
  55. }
  56. else {
  57. cmb_instcd.disabled = true;
  58. }
  59. ]]>
  60. </script>
  61. <submission id="TRRWC01401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/prntbase" resultref="/root/main/prntbase"/>
  62. <submission id="TRRWC01402" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/prntbasedetl" resultref="/root/main/prntbasedetl"/>
  63. <submission id="TXRWC01401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save" resultref="/root/hidden/temp"/>
  64. </model>
  65. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  66. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  67. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  68. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  69. <script type="javascript" src="../../../mis/paybaseinfomngtweb/js/RWC001.js"/>
  70. </xhtml:head>
  71. <xhtml:body>
  72. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  73. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">조회출력기준등록</caption>
  74. </group>
  75. <group id="group2" scroll="auto" style="left:0px; top:38; width:1195px; height:744px; ">
  76. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:10px; width:1195px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  77. <button id="btn_search" class="btn1_letter2" style="left:1125px; top:16px; width:56px; height:22px; ">
  78. <caption>조회</caption>
  79. <script type="javascript" ev:event="DOMActivate">
  80. <![CDATA[
  81. misfMsterDetailRetrieve();
  82. ]]>
  83. </script>
  84. </button>
  85. <line id="line13" class="line_4" style="x1:1110px; y1:16px; x2:1110px; y2:38px; "/>
  86. <caption id="caption278" class="tit_2" style="left:5px; top:55px; width:157px; height:14px; ">출력기준 LIST</caption>
  87. <line id="line207" class="line_1" style="x1:0px; y1:70px; x2:440px; y2:70px; "/>
  88. <line id="line1" class="line_1" style="x1:445px; y1:70px; x2:1193px; y2:70px; "/>
  89. <caption id="caption1" class="tit_2" style="left:445px; top:55px; width:198px; height:13px; ">출력 세부 기준 LIST</caption>
  90. <button id="btn_grdaddprntbasedetllist" class="btn2_letter3" style="left:1018px; top:50px; width:53px; height:19px; ">
  91. <caption>행추가</caption>
  92. <script type="javascript" ev:event="DOMActivate">
  93. <![CDATA[
  94. misfGridIUD(grd_prntbasedetllist, "A");
  95. ]]>
  96. </script>
  97. </button>
  98. <button id="btn_saveprntbasedetllistexcel" class="btn2_letter4" style="left:1130px; top:50px; width:64px; height:19px; ">
  99. <caption>엑셀저장</caption>
  100. <script type="javascript" ev:event="DOMActivate">
  101. <![CDATA[
  102. var fileName = window.fileDialog ("save", ",", false, "excel", "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
  103. if (fileName != "")
  104. {
  105. grd_prntbasedetllist.saveExcel(fileName);
  106. }
  107. ]]>
  108. </script>
  109. </button>
  110. <button id="btn_grddelprntbasedetllist" class="btn2_letter3" style="left:1074px; top:50px; width:53px; height:19px; ">
  111. <caption>행삭제</caption>
  112. <script type="javascript" ev:event="DOMActivate">
  113. <![CDATA[
  114. misfGridIUD(grd_prntbasedetllist, "D");
  115. ]]>
  116. </script>
  117. </button>
  118. <caption id="caption3" class="search_name" style="left:15px; top:19px; width:94px; height:17px; ">적용일자 :</caption>
  119. <input id="ipt_paydeduym" ref="/root/send/prntbase/appdd" class="input_s_essential" inputtype="date" format="yyyy-mm-dd" style="left:104px; top:18px; width:100px; height:19px; "/>
  120. <select1 id="cmb_instcd" ref="/root/send/prntbase/instcd" class="combo_s_essential" appearance="minimal" style="left:299px; top:17px; width:125px; height:19px; ">
  121. <choices>
  122. <itemset>
  123. <label/>
  124. <value/>
  125. </itemset>
  126. </choices>
  127. </select1>
  128. <caption id="caption2" class="search_name" style="left:240px; top:18px; width:61px; height:17px; ">기관:</caption>
  129. <datagrid id="grd_prntbaselist" nodeset="/root/main/prntbase/prntbaselist" caption="출력항목코드^출력기준명^적용일자^지급공제구분^순서^기관코드^급여지급구분^출력기준코드^최초등록자ID^최초등록일시^최종수정자ID^최종수정일시^기준일자|출력항목코드^출력기준명^적용일자^지급공제구분^순서^기관코드^급여지급구분^출력기준코드^최초등록자ID^최초등록일시^최종수정자ID^최종수정일시^기준일자" colsep="^" colwidth="54, 136, 90, 85, 38, 51, 52, 54, 54, 51, 51, 35, 35" dataheight="25" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" rowsep="|" style="left:0px; top:75px; width:440px; height:665px; ">
  130. <col ref="prntitemcd" type="input"/>
  131. <col ref="prntbasenm" type="input"/>
  132. <col ref="appdd" type="inputdate"/>
  133. <col ref="paydeduflag" type="combo">
  134. <choices>
  135. <itemset>
  136. <label/>
  137. <value/>
  138. </itemset>
  139. </choices>
  140. </col>
  141. <col ref="prntseq" type="input"/>
  142. <col ref="instcd" visibility="hidden"/>
  143. <col ref="saldfrayflag" visibility="hidden"/>
  144. <col ref="prntbasecd" visibility="hidden"/>
  145. <col ref="fstrgstrid" visibility="hidden"/>
  146. <col ref="fstrgstdt" visibility="hidden"/>
  147. <col ref="lastupdtrid" visibility="hidden"/>
  148. <col ref="lastupdtdt" visibility="hidden"/>
  149. <col ref="basedd" visibility="hidden"/>
  150. <script type="javascript" ev:event="onrowchanged">
  151. <![CDATA[
  152. misfMsterDetailRetrieve();
  153. ]]>
  154. </script>
  155. </datagrid>
  156. <datagrid id="grd_prntbasedetllist" nodeset="/root/main/prntbasedetl/prntbasedetllist" caption="계산순서^계산종류^급여항목코드^급여항목명^대상급여구분^적용일자^기관코드^급여지급구분^출력기준코드^출력항목코드^최초등록자ID^최초등록일시^최종수정자ID^최종수정일시|계산순서^계산종류^급여항목코드^급여항목명^대상급여구분^적용일자^기관코드^급여지급구분^출력기준코드^출력항목코드^최초등록자ID^최초등록일시^최종수정자ID^최종수정일시" colsep="^" colwidth="80, 85, 105, 213, 105, 123, 33, 36, 35, 39, 44, 35, 43, 48" dataheight="25" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" rowsep="|" style="left:445px; top:75px; width:748px; height:665px; ">
  157. <col ref="calcseq" type="input"/>
  158. <col ref="calckind" type="combo">
  159. <choices>
  160. <itemset>
  161. <label/>
  162. <value/>
  163. </itemset>
  164. </choices>
  165. </col>
  166. <col ref="payitemcd" type="inputbutton"/>
  167. <col ref="payitemnm"/>
  168. <col ref="trgtpayflag" type="combo">
  169. <choices>
  170. <itemset>
  171. <label/>
  172. <value/>
  173. </itemset>
  174. </choices>
  175. </col>
  176. <col ref="appdd" type="inputdate"/>
  177. <col ref="instcd" visibility="hidden"/>
  178. <col ref="saldfrayflag" visibility="hidden"/>
  179. <col ref="prntbasecd" visibility="hidden"/>
  180. <col ref="prntitemcd" visibility="hidden"/>
  181. <col ref="fstrgstrid" visibility="hidden"/>
  182. <col ref="fstrgstdt" visibility="hidden"/>
  183. <col ref="lastupdtrid" visibility="hidden"/>
  184. <col ref="lastupdtdt" visibility="hidden"/>
  185. <script type="javascript" ev:event="onbuttonclick">
  186. <![CDATA[
  187. if (grd_prntbasedetllist.colAttribute(grd_prntbasedetllist.col,"ref") == "payitemcd" ) { //계산기준코드
  188. var recv_list = "payitemcd,payitemnm";
  189. misfOpenPopUpList("13", grd_prntbasedetllist, "", recv_list, "");
  190. model.refresh();
  191. }
  192. ]]>
  193. </script>
  194. <script type="javascript" ev:event="xforms-value-changed">
  195. <![CDATA[
  196. if (grd_prntbasedetllist.colAttribute(grd_prntbasedetllist.col,"ref") == "payitemcd" ) { //계산기준코드1
  197. var recv_list = "payitemcd,payitemnm";
  198. var saldfrayflag = grd_prntbaselist.valueMatrix(grd_prntbaselist.row, grd_prntbaselist.colRef("saldfrayflag"));
  199. var paydeduflag = "%";
  200. rwcfValidationCheck("PAYITEM",saldfrayflag, paydeduflag, recv_list)
  201. model.refresh();
  202. }
  203. ]]>
  204. </script>
  205. </datagrid>
  206. <caption id="caption5" class="search_name" style="left:460px; top:18px; width:86px; height:17px; ">급여종류:</caption>
  207. <select1 id="cmb_SalDfrayFlag" ref="/root/send/prntbase/saldfrayflag" class="combo_s_essential" appearance="minimal" style="left:541px; top:17px; width:125px; height:19px; ">
  208. <choices>
  209. <itemset>
  210. <label/>
  211. <value/>
  212. </itemset>
  213. </choices>
  214. <script type="javascript" ev:event="xforms-value-changed">
  215. <![CDATA[
  216. if (DUTY_PAY_YN == "Y" || cmb_SalDfrayFlag.value == "2") {
  217. cmb_instcd.disabled = false;
  218. }
  219. else {
  220. cmb_instcd.disabled = true;
  221. }
  222. ]]>
  223. </script>
  224. </select1>
  225. <button id="btn_saveprntbaselistexcel" class="btn2_letter4" style="left:374px; top:50px; width:64px; height:19px; ">
  226. <caption>엑셀저장</caption>
  227. <script type="javascript" ev:event="DOMActivate">
  228. <![CDATA[
  229. var fileName = window.fileDialog ("save", ",", false, "excel", "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
  230. if (fileName != "")
  231. {
  232. grd_prntbaselist.saveExcel(fileName);
  233. }
  234. ]]>
  235. </script>
  236. </button>
  237. <button id="btn_grddelprntbaselist" class="btn2_letter3" style="left:318px; top:50px; width:53px; height:19px; ">
  238. <caption>행삭제</caption>
  239. <script type="javascript" ev:event="DOMActivate">
  240. <![CDATA[
  241. misfGridIUD(grd_prntbaselist, "D");
  242. ]]>
  243. </script>
  244. </button>
  245. <button id="btn_grdaddprntbaselist" class="btn2_letter3" style="left:262px; top:50px; width:53px; height:19px; ">
  246. <caption>행추가</caption>
  247. <script type="javascript" ev:event="DOMActivate">
  248. <![CDATA[
  249. misfGridIUD(grd_prntbaselist, "A");
  250. ]]>
  251. </script>
  252. </button>
  253. <caption id="caption4" class="search_name" style="left:690px; top:18px; width:86px; height:17px; ">출력기준:</caption>
  254. <select1 id="cmb_prntbase" ref="/root/send/prntbase/prntbasecd" class="combo_s_essential" appearance="minimal" style="left:771px; top:17px; width:125px; height:19px; ">
  255. <choices>
  256. <itemset>
  257. <label/>
  258. <value/>
  259. </itemset>
  260. </choices>
  261. </select1>
  262. </group>
  263. <group id="grp_btn" scroll="auto" style="left:0px; top:12; width:1195px; height:27px; ">
  264. <button id="btn_save" class="btn4_letter2" style="left:1139px; top:3; width:56px; height:22px; ">
  265. <caption>저장</caption>
  266. <script type="javascript" ev:event="DOMActivate">
  267. <![CDATA[
  268. misfSave("TXRWC01401");
  269. ]]>
  270. </script>
  271. </button>
  272. <button id="button35" class="btn4_letter3" style="left:1069px; top:3; width:68px; height:22px; ">
  273. <caption>초기화</caption>
  274. </button>
  275. <line id="line9" class="line_6" style="x1:0; y1:25; x2:1195; y2:25; "/>
  276. </group>
  277. </xhtml:body>
  278. </xhtml:html>