SMRWB00300_월별 위원회 수당 집계 및 확정.xrw 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277
  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>SMRWD00100_주차료단가관리</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <instbord>
  11. <instbordlist>
  12. <payinst/>
  13. <payinstnm/>
  14. <payym/>
  15. <emplno/>
  16. <emplnm/>
  17. <instnm/>
  18. <boardcnt/>
  19. <paytransyn/>
  20. <payappyn/>
  21. </instbordlist>
  22. </instbord>
  23. <instbordmb>
  24. <instbordmblist>
  25. <payinstnm/>
  26. <bordnm/>
  27. <aprvyn/>
  28. <bordrespcd/>
  29. <essnyn/>
  30. <appdd/>
  31. <todd/>
  32. </instbordmblist>
  33. </instbordmb>
  34. </main>
  35. <send>
  36. <instcd/>
  37. <paydd/>
  38. <instbordmb>
  39. <payinst/>
  40. <emplno/>
  41. </instbordmb>
  42. </send>
  43. <init>
  44. <essnyn>
  45. <label>당연직</label>
  46. <value>Y</value>
  47. <label>선임직</label>
  48. <value>N</value>
  49. </essnyn>
  50. <aprvyn>
  51. <label>공 인</label>
  52. <value>Y</value>
  53. <label>비공인</label>
  54. <value>N</value>
  55. </aprvyn>
  56. <bordrespflag>
  57. <label>위원장</label>
  58. <value>1</value>
  59. <label>간사</label>
  60. <value>2</value>
  61. <label>위원겸 간사</label>
  62. <value>3</value>
  63. <label>위원</label>
  64. <value>4</value>
  65. </bordrespflag>
  66. </init>
  67. <temp/>
  68. </root>
  69. </instance>
  70. <script type="javascript" ev:event="xforms-ready">
  71. <![CDATA[
  72. misfMsterDetailSet(grd_instbordlist,null, "TRRWB00301" ,"N");
  73. misfMsterDetailSet(grd_instbordmblist,grd_instbordlist, "TRRWB00302" ,"Y");
  74. //misfComboComCdListMulti("Z0007","cmb_instcd");
  75. misfComboInstCdListMulti("cmb_instcd",getCurrentDate(),"","N");
  76. var curdate = getCurrentDate();
  77. var cvtdate = curdate.toDate("YYYYMM");
  78. model.setValue(ipt_paydd.attribute("ref") , cvtdate.getAddDate(0,"M").getDateFormat("YYYYMM"));
  79. //model.setValue(cmb_instcd.attribute("ref") , getUserInfo("dutplceinstcd"));
  80. model.setValue("/root/send/instcd", getUserInfo("dutplceinstcd"));
  81. if(getUserInfo("dutplceinstcd") == "001")
  82. {
  83. cmb_instcd.disabled = false;
  84. }
  85. else
  86. {
  87. cmb_instcd.disabled = true;
  88. }
  89. btn_search.dispatch("DOMActivate");
  90. //화면 권한 설정
  91. btn_search.disabled = !(checkAuth("R"));
  92. //btn_save.disabled = !(checkAuth("X"));
  93. ]]>
  94. </script>
  95. <submission id="TRRWB00301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/instbord"/>
  96. <submission id="TRRWB00302" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/instbordmb" resultref="/root/main/instbordmb"/>
  97. <submission id="TXRWB00301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/temp"/>
  98. <submission id="TXRWB00302" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/temp"/>
  99. </model>
  100. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  101. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  102. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  103. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  104. <script type="javascript" src="../../../mis/paybaseinfomngtweb/js/RWC001.js"/>
  105. <script type="javascript" src="../../../mis/humtrafactmngtweb/js/RPB001.js"/>
  106. <script type="javascript">
  107. <![CDATA[
  108. function finitiation()
  109. {
  110. misfGridInit(grd_instbordlist);
  111. misfGridInit(grd_instbordmblist);
  112. }
  113. function fCheckSaveData()
  114. {
  115. if(model.getValue(cmb_instcd.attribute("ref")).length== 0 )
  116. {
  117. messageBox("기관코드를 " ,"C002");
  118. model.setFocus("cmb_instcd");
  119. return false;
  120. }
  121. }
  122. ]]>
  123. </script>
  124. </xhtml:head>
  125. <xhtml:body>
  126. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  127. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">월별 위원회 수당 집계 및 확정</caption>
  128. </group>
  129. <group id="grp_btn" scroll="auto" style="left:0px; top:12; width:1195px; height:27px; ">
  130. <button id="btn_create" class="btn4_letter2" style="left:969px; top:3px; width:56px; height:22px; ">
  131. <caption>생성</caption>
  132. <script type="javascript" ev:event="DOMActivate">
  133. <![CDATA[
  134. if(model.getValue(cmb_instcd.attribute("ref")).length== 0 )
  135. {
  136. messageBox("기관코드를 " ,"C002");
  137. model.setFocus("cmb_instcd");
  138. }
  139. else if(grd_instbordlist.rows == 1)
  140. {
  141. submit("TXRWB00301");
  142. }
  143. else
  144. {
  145. messageBox("기존 데이터가 있어 생성 " ,"E001");
  146. }
  147. misfMsterDetailRetrieve();
  148. ]]>
  149. </script>
  150. </button>
  151. <button id="btn_cancelcreate" class="btn4_letter4" style="left:1029px; top:3px; width:80px; height:22px; ">
  152. <caption>생성취소</caption>
  153. <script type="javascript" ev:event="DOMActivate">
  154. <![CDATA[
  155. if(model.getValue(cmb_instcd.attribute("ref")).length== 0 )
  156. {
  157. messageBox("기관코드를 " ,"C002");
  158. model.setFocus("cmb_instcd");
  159. }
  160. else if(grd_instbordlist.rows == 1)
  161. {
  162. messageBox("삭제할 데이터가 " ,"I004");
  163. }
  164. else
  165. {
  166. submit("TXRWB00302");
  167. }
  168. misfMsterDetailRetrieve();
  169. ]]>
  170. </script>
  171. </button>
  172. <button id="btn_paytransfer" class="btn4_letter4" style="left:1113px; top:3px; width:80px; height:22px; ">
  173. <caption>급여이체</caption>
  174. <script type="javascript" ev:event="DOMActivate">
  175. <![CDATA[
  176. ]]>
  177. </script>
  178. </button>
  179. <line id="line9" class="line_6" style="x1:0; y1:25; x2:1195; y2:25; "/>
  180. </group>
  181. <group id="group2" scroll="auto" style="left:0px; top:38; width:1195px; height:744px; ">
  182. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:10px; width:1194px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  183. <line id="line13" class="line_4" style="x1:1121px; y1:16px; x2:1121px; y2:38px; "/>
  184. <caption id="caption3" style="left:13px; top:18px; width:110px; height:20px; "/>
  185. <caption id="caption4" class="search_name" style="left:16px; top:19px; width:94px; height:17px; ">지급년월 :</caption>
  186. <input id="ipt_paydd" ref="/root/send/paydd" class="input_s_essential" inputtype="date" format="yyyy-mm" style="left:104px; top:18px; width:151px; height:19px; ">
  187. <script type="javascript" ev:event="xforms-value-changed">
  188. <![CDATA[
  189. misfMsterDetailRetrieve();
  190. ]]>
  191. </script>
  192. </input>
  193. <caption id="caption2" class="search_name" style="left:267px; top:18px; width:91px; height:17px; ">지급 기관 :</caption>
  194. <select1 id="cmb_instcd" ref="/root/send/instcd" class="combo_s_essential" appearance="minimal" style="left:361px; top:18px; width:202px; height:19px; ">
  195. <choices>
  196. <itemset>
  197. <label/>
  198. <value/>
  199. </itemset>
  200. </choices>
  201. <script type="javascript" ev:event="xforms-value-changed">
  202. <![CDATA[
  203. misfMsterDetailRetrieve();
  204. ]]>
  205. </script>
  206. </select1>
  207. <button id="btn_search" class="btn1_letter2" style="left:1128px; top:16px; width:56px; height:22px; ">
  208. <caption>조회</caption>
  209. <script type="javascript" ev:event="DOMActivate">
  210. <![CDATA[
  211. misfMsterDetailRetrieve();
  212. ]]>
  213. </script>
  214. </button>
  215. <line id="line2" class="line_1" style="x1:0px; y1:72px; x2:1194px; y2:72px; "/>
  216. <caption id="caption278" class="tit_2" style="left:10px; top:52px; width:157px; height:13px; ">기관별 위원</caption>
  217. <datagrid id="grd_instbordlist" nodeset="/root/main/instbord/instbordlist" caption="급여기관코드^급여기관^년월^사원번호^성명^근무 기관^위원회 수^급여이체 여부^급여반영 여부" colsep="^" colwidth="0,150, 150, 150, 150, 210, 120, 120, 120" dataheight="25" ellipsis="true" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" rowsep="|" tooltip="true" style="left:1px; top:78px; width:1194px; height:315px; ">
  218. <col ref="payinst"/>
  219. <col ref="payinstnm" format="yyyy-mm"/>
  220. <col ref="payym"/>
  221. <col ref="emplno"/>
  222. <col ref="emplnm"/>
  223. <col ref="instnm"/>
  224. <col ref="boardcnt"/>
  225. <col ref="paytransyn"/>
  226. <col ref="payappyn"/>
  227. <script type="javascript" ev:event="onrowchanged">
  228. <![CDATA[
  229. misfMsterDetailRetrieve();
  230. // alert(model.getValue("/root/send/instbordmb/payinst"));
  231. // alert(model.getValue("/root/send/instbordmb/emplno"));
  232. ]]>
  233. </script>
  234. </datagrid>
  235. <caption id="caption1" class="tit_2" style="left:10px; top:401px; width:157px; height:13px; ">위원 상세 내역</caption>
  236. <line id="line1" class="line_1" style="x1:0px; y1:423px; x2:1194px; y2:423px; "/>
  237. <datagrid id="grd_instbordmblist" nodeset="/root/main/instbordmb/instbordmblist" caption="위원회 기관^위원회 명^공인 여부^위원회 직책^당연직 여부^위촉일^종료일" colsep="^" colwidth="200, 200, 150, 150, 150, 160, 160" dataheight="25" ellipsis="true" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" rowsep="|" tooltip="true" style="left:0px; top:428px; width:1194px; height:315px; ">
  238. <col ref="payinstnm"/>
  239. <col ref="bordnm"/>
  240. <col disabled="true" ref="aprvyn" type="combo">
  241. <choices>
  242. <itemset nodeset="/root/init/aprvyn">
  243. <label ref="label"/>
  244. <value ref="value"/>
  245. </itemset>
  246. </choices>
  247. </col>
  248. <col disabled="true" ref="bordrespcd" type="combo">
  249. <choices>
  250. <itemset nodeset="/root/init/bordrespflag">
  251. <label ref="label"/>
  252. <value ref="value"/>
  253. </itemset>
  254. </choices>
  255. </col>
  256. <col disabled="true" ref="essnyn" type="combo">
  257. <choices>
  258. <itemset nodeset="/root/init/essnyn">
  259. <label ref="label"/>
  260. <value ref="value"/>
  261. </itemset>
  262. </choices>
  263. </col>
  264. <col ref="appdd" format="yyyy-mm-dd"/>
  265. <col ref="todd" format="yyyy-mm-dd"/>
  266. </datagrid>
  267. </group>
  268. </xhtml:body>
  269. </xhtml:html>