SMRPA02601_동호회비공제관리.xrw 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580
  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. <deducord>
  11. <clubclublist>
  12. <cmninstcd/>
  13. <instnm/>
  14. <cmntcd/>
  15. <cmntnm/>
  16. <reglmbrcnt/>
  17. <asctmbrcnt/>
  18. <reglmbrannconvnt/>
  19. <asctmbrannconvnt/>
  20. <totmmconvnt/>
  21. <basedd/>
  22. <holdmembcnt/>
  23. </clubclublist>
  24. </deducord>
  25. <deducorddetail>
  26. <clubdedulist>
  27. <cmntnm/>
  28. <emplno/>
  29. <emplnm/>
  30. <posinstnm/>
  31. <posinstcd/>
  32. <deptcd/>
  33. <deptnm/>
  34. <reglmbrgrdenm/>
  35. <reglmbrgrde/>
  36. <clubcost/>
  37. <paydeducretyn/>
  38. <payappyn/>
  39. <cmninstcd/>
  40. <payappmm/>
  41. <cmntcd/>
  42. <paydeducretendyn/>
  43. <paydedutrgtmanyn/>
  44. </clubdedulist>
  45. </deducorddetail>
  46. <deducordreport>
  47. <clubdedulist/>
  48. </deducordreport>
  49. </main>
  50. <send>
  51. <getcond>
  52. <basedd/>
  53. <cmninstcd/>
  54. <cmntcd/>
  55. <workgbn/>
  56. </getcond>
  57. <clubdedusave>
  58. <workgbn/>
  59. <basepayappmm/>
  60. <clubdedulist/>
  61. <cmninstcd/>
  62. <cmntcd/>
  63. </clubdedusave>
  64. <deducord>
  65. <cmntcd/>
  66. <cmninstcd/>
  67. <basedd/>
  68. </deducord>
  69. <basedd_s/>
  70. <repotsend>
  71. <basedd/>
  72. <cmninstcd/>
  73. <cmntcd/>
  74. </repotsend>
  75. </send>
  76. <init/>
  77. <hidden>
  78. <temp/>
  79. </hidden>
  80. </root>
  81. </instance>
  82. <script type="javascript" ev:event="xforms-ready">
  83. <![CDATA[
  84. misfGridInit(grd_clubclublist);
  85. misfGridInit(grd_clubdedulist);
  86. misfComboClubCdList('', cmb_cmntcd,'Y');
  87. btn_save.disabled = !(checkAuth("X"));
  88. misfMsterDetailSet(grd_clubclublist, null, "TRRPA02601" ,"N");
  89. misfMsterDetailSet(grd_clubdedulist, grd_clubclublist, "TRRPA02602" ,"Y");
  90. var cmninstcd = getUserInfo("dutplceinstcd");
  91. ipt_cmninstcd.value=cmninstcd;
  92. var curdate = getCurrentDate();
  93. var cvtdate = curdate.toDate("YYYYMM");
  94. ipt_basedd_s.value=cvtdate.getAddDate(0,"M").getDateFormat("YYYYMM");
  95. ipt_basedd.value=cvtdate.getAddDate(0,"M").getDateFormat("YYYYMM");
  96. btn_creat.disabled = true;
  97. btn_cancel.disabled = true;
  98. btn_grddel.disabled = true;
  99. btn_save.disabled =true;
  100. btn_imsisave.disabled=true;
  101. btn_donecancel.disabled=true;
  102. btn_creatall.disabled = true;
  103. btn_cancelall.disabled = true;
  104. btn_saveall.disabled =true;
  105. btn_donecancelall.disabled=true;
  106. ]]>
  107. </script>
  108. <submission id="TRRPA02601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/getcond" resultref="/root/main/deducord"/>
  109. <submission id="TRRPA02602" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/deducord" resultref="/root/main/deducorddetail"/>
  110. <submission id="TXRPA02601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/clubdedusave" resultref="/root/hidden/temp"/>
  111. <submission id="TXRPA02602" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/clubdedusave" resultref="/root/hidden/temp"/>
  112. <submission id="TRRPA02604" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/repotsend" resultref="/root/main/deducordreport"/>
  113. </model>
  114. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  115. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  116. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  117. <script type="javascript" src="../../../mis/pubwelfmngtweb/js/RPS001.js"/>
  118. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  119. </xhtml:head>
  120. <xhtml:body style="margin-left:8; margin-right:8; ">
  121. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  122. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">동호회비 공제내역관리</caption>
  123. </group>
  124. <group id="group2" scroll="auto" style="left:0px; top:38px; width:1195px; height:742px; ">
  125. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:10px; width:1194px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  126. <button id="btn_search" class="btn1_letter2" style="left:1125px; top:16px; width:56px; height:22px; ">
  127. <caption>조회</caption>
  128. <script type="javascript" ev:event="DOMActivate">
  129. <![CDATA[
  130. var ddstr=ipt_basedd_s.value.substr(0,6);
  131. ipt_basedd.value =ddstr;
  132. ipt_basepayappmm.value=ddstr;
  133. if(ipt_basedd.value ==""){
  134. messageBox("기준년월은","I003");
  135. return;
  136. }
  137. model.setValue("/root/send/getcond/workgbn","C");
  138. misfMsterDetailRetrieve();
  139. var null_check1="";
  140. if(grd_clubdedulist.rows-1 > 0 ){
  141. null_check1 = model.getValue(grd_clubdedulist.attribute("nodeset")+"[1]/paydeducretyn");
  142. null_check2 = model.getValue(grd_clubdedulist.attribute("nodeset")+"[1]/paydeducretendyn");
  143. null_check3 = model.getValue(grd_clubdedulist.attribute("nodeset")+"[1]/payappyn");
  144. if(null_check3=="Y"){
  145. btn_creat.disabled=true;
  146. btn_save.disabled=true;
  147. btn_cancel.disabled=true;
  148. btn_grddel.disabled=true;
  149. btn_imsisave.disabled=true;
  150. btn_donecancel.disabled=true;
  151. btn_creatall.disabled=true;
  152. btn_saveall.disabled=true;
  153. btn_cancelall.disabled=true;
  154. btn_donecancelall.disabled=true;
  155. }else if(null_check2 =="Y" && null_check3=="N"){
  156. btn_creat.disabled=true;
  157. btn_save.disabled=false;
  158. btn_cancel.disabled=true;
  159. btn_grddel.disabled=true;
  160. btn_imsisave.disabled=true;
  161. btn_donecancel.disabled=false;
  162. btn_creatall.disabled=true;
  163. btn_saveall.disabled=false;
  164. btn_cancelall.disabled=true;
  165. btn_donecancelall.disabled=false;
  166. }else if(null_check1 =="Y" && null_check2 =="N" ){
  167. btn_creat.disabled=true;
  168. btn_save.disabled=false;
  169. btn_cancel.disabled=false;
  170. btn_grddel.disabled=false;
  171. btn_imsisave.disabled=false;
  172. btn_donecancel.disabled=true;
  173. btn_creatall.disabled=true;
  174. btn_saveall.disabled=false;
  175. btn_cancelall.disabled=false;
  176. btn_donecancelall.disabled=true;
  177. }else if(null_check1 =="N" ) {
  178. btn_creat.disabled=false;
  179. btn_save.disabled=true;
  180. btn_cancel.disabled=true;
  181. btn_grddel.disabled=true;
  182. btn_imsisave.disabled=true;
  183. btn_donecancel.disabled=true;
  184. btn_creatall.disabled=false;
  185. btn_saveall.disabled=true;
  186. btn_cancelall.disabled=true;
  187. btn_donecancelall.disabled=true;
  188. }
  189. }
  190. ]]>
  191. </script>
  192. </button>
  193. <line id="line13" class="line_4" style="x1:1110px; y1:16px; x2:1110px; y2:38px; "/>
  194. <group id="group4" style="left:420px; top:50px; width:775px; height:690px; ">
  195. <caption id="caption1" class="tit_2" style="left:0px; top:15px; width:170px; height:13px; ">동호회원 LIST</caption>
  196. <line id="line3" class="line_1" style="x1:0px; y1:30px; x2:775px; y2:30px; "/>
  197. <datagrid id="grd_clubdedulist" nodeset="/root/main/deducorddetail/clubdedulist" caption="순번^급여기관명^사번^성명^소속기관코드^근무부서^근무부서코드^등급^회원등급코드^회비^생성여부^공제대상^완료여부^급여반영여부^비 고" colsep="^" colwidth="43, 93, 74, 62, 31, 85, 30, 45, 18, 62, 59, 58, 62, 80, 95, 100, 100, 100, 100" ellipsis="true" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" tooltip="true" style="left:0px; top:35px; width:775px; height:650px; ">
  198. <col ref="numno" style="padding-left:5; "/>
  199. <col ref="posinstnm"/>
  200. <col ref="emplno" style="text-align:center; "/>
  201. <col ref="emplnm" style="text-align:center; "/>
  202. <col ref="posinstcd" visibility="hidden"/>
  203. <col ref="deptnm"/>
  204. <col ref="deptcd" visibility="hidden"/>
  205. <col ref="reglmbrgrdenm"/>
  206. <col ref="reglmbrgrde" visibility="hidden"/>
  207. <col ref="clubcost" format="#,###" style="text-align:right; "/>
  208. <col ref="paydeducretyn" style="text-align:center; "/>
  209. <col ref="paydedutrgtmanyn" style="text-align:center; "/>
  210. <col ref="paydeducretendyn" style="text-align:center; "/>
  211. <col ref="payappyn" style="text-align:center; "/>
  212. <col ref="cmt" type="input"/>
  213. <col ref="seqno" visibility="hidden"/>
  214. <col ref="cmninstcd" visibility="hidden" _key="true"/>
  215. <col ref="payappmm" visibility="hidden"/>
  216. <col ref="cmntcd" visibility="hidden"/>
  217. </datagrid>
  218. <button id="btn_grddel" class="btn2_letter6" style="left:521px; top:10px; width:86px; height:19px; ">
  219. <caption>공제대상제외</caption>
  220. <script type="javascript" ev:event="DOMActivate">
  221. <![CDATA[
  222. misfGridIUD(grd_clubdedulist,"D");
  223. model.refresh();
  224. ]]>
  225. </script>
  226. </button>
  227. <button id="btn_creat" class="btn2_letter2" style="left:409px; top:10px; width:42px; height:19px; ">
  228. <caption>생성</caption>
  229. <script type="javascript" ev:event="DOMActivate">
  230. <![CDATA[
  231. /*for(var i=1;i<=grd_clubclublist.rows-1;i++)
  232. {
  233. null_check1 = model.getValue(grd_clubclublist.attribute("nodeset")+"["+i+"]/workyn");
  234. if(null_check1 =="") {
  235. messageBox("생성할 동호회 선택은","I003");
  236. return;
  237. }
  238. }*/
  239. checkVal_1= model.getValue(grd_clubdedulist.attribute("nodeset")+"[1]/cmntcd");
  240. checkVal_2= model.getValue(grd_clubdedulist.attribute("nodeset")+"[1]/cmninstcd");
  241. ipt_cmntcd_detail.value=checkVal_1;
  242. ipt_cmninstcd_detail.value=checkVal_2;
  243. ipt_workgbn.value="I";
  244. if(ipt_workgbn.value =="I"){
  245. submit("TXRPA02601");
  246. }
  247. btn_search.dispatch("DOMActivate");
  248. model.refresh();
  249. ]]>
  250. </script>
  251. </button>
  252. <input id="ipt_cmntcd_detail" ref="/root/send/clubdedusave/cmntcd" visibility="hidden" style="left:225px; top:5px; width:110px; height:19px; "/>
  253. <input id="ipt_cmninstcd_detail" ref="/root/send/clubdedusave/cmninstcd" visibility="hidden" style="left:105px; top:5px; width:110px; height:19px; "/>
  254. <button id="btn_cancel" class="btn2_letter4" style="left:454px; top:10px; width:64px; height:19px; ">
  255. <caption>생성취소</caption>
  256. <script type="javascript" ev:event="DOMActivate">
  257. <![CDATA[
  258. checkVal_1= model.getValue(grd_clubdedulist.attribute("nodeset")+"[1]/cmntcd");
  259. checkVal_2= model.getValue(grd_clubdedulist.attribute("nodeset")+"[1]/cmninstcd");
  260. ipt_cmntcd_detail.value=checkVal_1;
  261. ipt_cmninstcd_detail.value=checkVal_2;
  262. ipt_workgbn.value="D";
  263. if(ipt_workgbn.value =="D"){
  264. submit("TXRPA02601");
  265. }
  266. btn_search.dispatch("DOMActivate");
  267. model.refresh();
  268. ]]>
  269. </script>
  270. </button>
  271. <button id="btn_imsisave" class="btn5_letter2" style="left:610px; top:10px; width:42px; height:19px; ">
  272. <caption>저장</caption>
  273. <script type="javascript" ev:event="DOMActivate">
  274. <![CDATA[
  275. var updtdata = getGridUpdateData(grd_clubdedulist);
  276. if (updtdata == "" ) {
  277. messageBox("변경된 데이터가","I004");
  278. return;
  279. }
  280. ipt_workgbn.value="Z";
  281. if(ipt_workgbn.value =="Z"){
  282. misfSave("TXRPA02602");
  283. }
  284. btn_search.dispatch("DOMActivate");
  285. model.refresh();
  286. ]]>
  287. </script>
  288. </button>
  289. <button id="btn_save" class="btn5_letter2" style="left:655px; top:10px; width:42px; height:19px; ">
  290. <caption>마감</caption>
  291. <script type="javascript" ev:event="DOMActivate">
  292. <![CDATA[
  293. var retMes = messageBox("작업을 완료 하시겠습니까?", "Q999");
  294. if ( retMes != 6) {
  295. return;
  296. }
  297. checkVal_1= model.getValue(grd_clubdedulist.attribute("nodeset")+"[1]/cmntcd");
  298. checkVal_2= model.getValue(grd_clubdedulist.attribute("nodeset")+"[1]/cmninstcd");
  299. ipt_cmntcd_detail.value=checkVal_1;
  300. ipt_cmninstcd_detail.value=checkVal_2;
  301. ipt_workgbn.value="U";
  302. if(ipt_workgbn.value =="U"){
  303. submit("TXRPA02601");
  304. }
  305. btn_search.dispatch("DOMActivate");
  306. model.refresh();
  307. ]]>
  308. </script>
  309. </button>
  310. <button id="btn_donecancel" class="btn5_letter4" style="left:700px; top:10px; width:64px; height:19px; ">
  311. <caption>마감취소</caption>
  312. <script type="javascript" ev:event="DOMActivate">
  313. <![CDATA[
  314. var retMes = messageBox("작업을 취소 하시겠습니까?", "Q999");
  315. if ( retMes != 6) {
  316. return;
  317. }
  318. checkVal_1= model.getValue(grd_clubdedulist.attribute("nodeset")+"[1]/cmntcd");
  319. checkVal_2= model.getValue(grd_clubdedulist.attribute("nodeset")+"[1]/cmninstcd");
  320. ipt_cmntcd_detail.value=checkVal_1;
  321. ipt_cmninstcd_detail.value=checkVal_2;
  322. ipt_workgbn.value="F";
  323. if(ipt_workgbn.value =="F"){
  324. submit("TXRPA02601");
  325. }
  326. btn_search.dispatch("DOMActivate");
  327. model.refresh();
  328. ]]>
  329. </script>
  330. </button>
  331. </group>
  332. <group id="group3" style="left:0px; top:50px; width:415px; height:690px; ">
  333. <caption id="caption2" class="tit_2" style="left:0px; top:15px; width:109px; height:13px; ">동호회 LIST</caption>
  334. <line id="line2" class="line_1" style="x1:0px; y1:30px; x2:415px; y2:30px; "/>
  335. <datagrid id="grd_clubclublist" nodeset="/root/main/deducord/clubclublist" caption="동호회명^정회원수^준회원수^보류인원^총회비" colsep="^" colwidth="125, 62, 64, 69, 73, 60, 70, 70, 100, 100, 100, 100" ellipsis="false" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" tooltip="true" style="left:0px; top:35px; width:415px; height:650px; ">
  336. <col ref="cmntnm"/>
  337. <col ref="reglmbrcnt" style="text-align:right; "/>
  338. <col ref="asctmbrcnt" style="text-align:right; "/>
  339. <col ref="holdmembcnt" style="text-align:right; "/>
  340. <col ref="totmmconvnt" format="#,###" style="text-align:right; "/>
  341. <col ref="cmninstcd" visibility="hidden"/>
  342. <col ref="instnm" visibility="hidden"/>
  343. <col ref="cmntcd" visibility="hidden"/>
  344. <col ref="basedd" visibility="hidden"/>
  345. <col ref="paydeducretyn" visibility="hidden"/>
  346. <col ref="paydeducretendyn" visibility="hidden"/>
  347. <col ref="payrefmembcnt" visibility="hidden"/>
  348. <script type="javascript" ev:event="onrowchanged">
  349. <![CDATA[
  350. var cur_row = grd_clubclublist.row;
  351. null_check1 = model.getValue(grd_clubclublist.attribute("nodeset")+"[" + cur_row + "]/paydeducretyn");
  352. null_check2 = model.getValue(grd_clubclublist.attribute("nodeset")+"[" + cur_row + "]/paydeducretendyn");
  353. null_check3 = model.getValue(grd_clubclublist.attribute("nodeset")+"[" + cur_row + "]/payrefmembcnt");
  354. if(null_check3 !='0'){
  355. btn_creat.disabled=true;
  356. btn_save.disabled=true;
  357. btn_cancel.disabled=true;
  358. btn_grddel.disabled=true;
  359. btn_imsisave.disabled=true;
  360. btn_donecancel.disabled=true;
  361. btn_creatall.disabled=true;
  362. btn_saveall.disabled=true;
  363. btn_cancelall.disabled=true;
  364. btn_donecancelall.disabled=true;
  365. }else if(null_check2 =="Y" && null_check3=="0"){
  366. btn_creat.disabled=true;
  367. btn_save.disabled=false;
  368. btn_cancel.disabled=true;
  369. btn_grddel.disabled=true;
  370. btn_imsisave.disabled=true;
  371. btn_donecancel.disabled=false;
  372. btn_creatall.disabled=true;
  373. btn_saveall.disabled=false;
  374. btn_cancelall.disabled=true;
  375. btn_donecancelall.disabled=false;
  376. }else if(null_check1 =="Y" && null_check2 =="N" ){
  377. btn_creat.disabled=true;
  378. btn_save.disabled=false;
  379. btn_cancel.disabled=false;
  380. btn_grddel.disabled=false;
  381. btn_imsisave.disabled=false;
  382. btn_donecancel.disabled=true;
  383. btn_creatall.disabled=true;
  384. btn_saveall.disabled=false;
  385. btn_cancelall.disabled=false;
  386. btn_donecancelall.disabled=true;
  387. }else if(null_check1 =="N" ) {
  388. btn_creat.disabled=false;
  389. btn_save.disabled=true;
  390. btn_cancel.disabled=true;
  391. btn_grddel.disabled=true;
  392. btn_imsisave.disabled=true;
  393. btn_donecancel.disabled=true;
  394. btn_creatall.disabled=false;
  395. btn_saveall.disabled=true;
  396. btn_cancelall.disabled=true;
  397. btn_donecancelall.disabled=true;
  398. }
  399. misfMsterDetailRetrieve();
  400. for(i=grd_clubdedulist.fixedRows; i< grd_clubdedulist.rows;i++){
  401. var paydedutrgtmanyn= grd_clubdedulist.valueMatrix(i,grd_clubdedulist.colRef("paydedutrgtmanyn"));
  402. var payappyn= grd_clubdedulist.valueMatrix(i,grd_clubdedulist.colRef("payappyn"));
  403. if(null_check3 !='0' && paydedutrgtmanyn =='Y' && payappyn=='N'){
  404. grd_clubdedulist.rowStyle(i, "all", "background-color") = "#ffff99";
  405. }
  406. }
  407. ]]>
  408. </script>
  409. </datagrid>
  410. <button id="btn_creatall" class="btn5_letter4" style="left:130px; top:10px; width:64px; height:19px; ">
  411. <caption>일괄생성</caption>
  412. <script type="javascript" ev:event="DOMActivate">
  413. <![CDATA[
  414. model.setValue("/root/send/clubdedusave/cmninstcd",getUserInfo("dutplceinstcd"));
  415. model.setValue("/root/send/clubdedusave/cmntcd","");
  416. ipt_workgbn.value="I";
  417. if(ipt_workgbn.value =="I"){
  418. submit("TXRPA02601");
  419. }
  420. btn_search.dispatch("DOMActivate");
  421. model.refresh();
  422. ]]>
  423. </script>
  424. </button>
  425. <button id="btn_cancelall" class="btn5_letter6" style="left:195px; top:10px; width:86px; height:19px; ">
  426. <caption>일괄생성취소</caption>
  427. <script type="javascript" ev:event="DOMActivate">
  428. <![CDATA[
  429. model.setValue("/root/send/clubdedusave/cmninstcd",getUserInfo("dutplceinstcd"));
  430. model.setValue("/root/send/clubdedusave/cmntcd","");
  431. ipt_workgbn.value="D";
  432. if(ipt_workgbn.value =="D"){
  433. submit("TXRPA02601");
  434. }
  435. btn_search.dispatch("DOMActivate");
  436. model.refresh();
  437. ]]>
  438. </script>
  439. </button>
  440. <button id="btn_saveall" class="btn5_letter4" style="left:283px; top:10px; width:64px; height:19px; ">
  441. <caption>전체마감</caption>
  442. <script type="javascript" ev:event="DOMActivate">
  443. <![CDATA[
  444. model.setValue("/root/send/clubdedusave/cmninstcd",getUserInfo("dutplceinstcd"));
  445. model.setValue("/root/send/clubdedusave/cmntcd","");
  446. ipt_workgbn.value="U";
  447. if(ipt_workgbn.value =="U"){
  448. submit("TXRPA02601");
  449. }
  450. btn_search.dispatch("DOMActivate");
  451. model.refresh();
  452. ]]>
  453. </script>
  454. </button>
  455. <button id="btn_donecancelall" class="btn5_letter4" style="left:348px; top:10px; width:64px; height:19px; ">
  456. <caption>마감취소</caption>
  457. <script type="javascript" ev:event="DOMActivate">
  458. <![CDATA[
  459. model.setValue("/root/send/clubdedusave/cmninstcd",getUserInfo("dutplceinstcd"));
  460. model.setValue("/root/send/clubdedusave/cmntcd","");
  461. ipt_workgbn.value="F";
  462. if(ipt_workgbn.value =="F"){
  463. submit("TXRPA02601");
  464. }
  465. btn_search.dispatch("DOMActivate");
  466. model.refresh();
  467. ]]>
  468. </script>
  469. </button>
  470. </group>
  471. <input id="ipt_basedd_s" ref="/root/send/basedd_s" class="input_s_essential" inputtype="date" format="yyyy-mm" style="left:90px; top:18px; width:125px; height:19px; "/>
  472. <input id="ipt_basedd" ref="/root/send/getcond/basedd" visibility="hidden"/>
  473. <caption id="caption8" class="search_name" style="left:6px; top:19px; width:81px; height:17px; vertical-align:middle; ">기준년월:</caption>
  474. <input id="ipt_basepayappmm" ref="/root/send/clubdedusave/basepayappmm"/>
  475. <input id="ipt_workgbn" ref="/root/send/clubdedusave/workgbn" visibility="hidden" style="left:475px; top:15px; width:125px; height:19px; "/>
  476. <input id="ipt_cmninstcd" ref="/root/send/getcond/cmninstcd" visibility="hidden" style="left:645px; top:20px; width:125px; height:19px; "/>
  477. <select1 id="cmb_cmntcd" ref="/root/send/getcond/cmntcd" class="combo_search" appearance="minimal" style="left:305px; top:20px; width:160px; height:19px; ">
  478. <choices>
  479. <itemset nodeset="/root/main/init">
  480. <label ref="cnstnm"/>
  481. <value ref="cnstcd"/>
  482. </itemset>
  483. </choices>
  484. </select1>
  485. <caption id="caption3" class="search_name" style="left:220px; top:20px; width:81px; height:17px; vertical-align:middle; ">동호회명:</caption>
  486. <input id="ipt_basedd_r" ref="/root/send/repotsend/basedd" visibility="hidden" style="left:820px; top:25px; width:105px; height:20px; "/>
  487. </group>
  488. <group id="grp_btn" scroll="auto" style="left:0px; top:12; width:1195px; height:27px; ">
  489. <button id="btn_save2" class="btn4_letter2" visibility="hidden" style="left:888px; top:5px; width:56px; height:22px; ">
  490. <caption>완료</caption>
  491. <script type="javascript" ev:event="DOMActivate">
  492. <![CDATA[
  493. var retMes = messageBox("작업을 완료 하시겠습니까?", "Q999");
  494. if ( retMes != 6) {
  495. return;
  496. }
  497. checkVal_1= model.getValue(grd_clubdedulist.attribute("nodeset")+"[1]/cmntcd");
  498. checkVal_2= model.getValue(grd_clubdedulist.attribute("nodeset")+"[1]/cmninstcd");
  499. ipt_cmntcd_detail.value=checkVal_1;
  500. ipt_cmninstcd_detail.value=checkVal_2;
  501. ipt_workgbn.value="U";
  502. if(ipt_workgbn.value =="U"){
  503. submit("TXRPA02601");
  504. }
  505. btn_search.dispatch("DOMActivate");
  506. model.refresh();
  507. ]]>
  508. </script>
  509. </button>
  510. <button id="btn_init" class="btn4_letter3" style="left:1122px; top:3px; width:68px; height:22px; ">
  511. <caption>초기화</caption>
  512. <script type="javascript" ev:event="DOMActivate">
  513. <![CDATA[
  514. misfGridInit(grd_clubclublist);
  515. misfGridInit(grd_clubdedulist);
  516. model.resetInstanceNode("/root/send");
  517. model.refresh();
  518. var cmninstcd = getUserInfo("dutplceinstcd");
  519. ipt_cmninstcd.value=cmninstcd;
  520. ]]>
  521. </script>
  522. </button>
  523. <line id="line1" class="line_6" style="x1:0px; y1:25; x2:1195px; y2:25; "/>
  524. <button id="btn_donecancel2" class="btn4_letter4" visibility="hidden" style="left:805px; top:5px; width:80px; height:22px; ">
  525. <caption>완료취소</caption>
  526. <script type="javascript" ev:event="DOMActivate">
  527. <![CDATA[
  528. var retMes = messageBox("작업을 취소 하시겠습니까?", "Q999");
  529. if ( retMes != 6) {
  530. return;
  531. }
  532. checkVal_1= model.getValue(grd_clubdedulist.attribute("nodeset")+"[1]/cmntcd");
  533. checkVal_2= model.getValue(grd_clubdedulist.attribute("nodeset")+"[1]/cmninstcd");
  534. ipt_cmntcd_detail.value=checkVal_1;
  535. ipt_cmninstcd_detail.value=checkVal_2;
  536. ipt_workgbn.value="F";
  537. if(ipt_workgbn.value =="F"){
  538. submit("TXRPA02601");
  539. }
  540. btn_search.dispatch("DOMActivate");
  541. model.refresh();
  542. ]]>
  543. </script>
  544. </button>
  545. <button id="button5" class="btn4_letter2" style="left:1063px; top:3px; width:56px; height:22px; ">
  546. <caption>출력</caption>
  547. <script type="javascript" ev:event="DOMActivate">
  548. <![CDATA[
  549. if(ipt_basedd_s.value ==""){
  550. messageBox("기준년월은","I003");
  551. return;
  552. }
  553. ipt_basedd_r.value=ipt_basedd_s.value;
  554. model.setValue("/root/send/repotsend/basedd",ipt_basedd_s.value );
  555. model.setValue("/root/send/repotsend/cmninstcd","");
  556. model.setValue("/root/send/repotsend/cmntcd","");
  557. submit("TRRPA02604");
  558. exeReportPreview("RPRPA02600", "XMLSTR", "/root/send/report");
  559. ]]>
  560. </script>
  561. </button>
  562. </group>
  563. </xhtml:body>
  564. </xhtml:html>