SMRAD03700_지출결의서출력.xrw 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270
  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. <grnt>
  11. <grntlist1>
  12. <pumno/>
  13. <junpyodate/>
  14. <makedeptcd/>
  15. <makedeptnm/>
  16. <yogudeptcd/>
  17. <pumemplno/>
  18. <pumemplnm/>
  19. <pumgubun/>
  20. <naeyong/>
  21. <payyn/>
  22. <custcode/>
  23. <custnm/>
  24. <bankcode/>
  25. <bankman/>
  26. <bankno/>
  27. <usedate/>
  28. <nabdate/>
  29. <fromdate/>
  30. <todate/>
  31. <pumtot/>
  32. <gwanno/>
  33. <pumsayu/>
  34. <yesno/>
  35. <iudgb/>
  36. </grntlist1>
  37. </grnt>
  38. </main>
  39. <send>
  40. <paydedu>
  41. <instcd/>
  42. <sanctslipdd/>
  43. <sanctslipno/>
  44. <custnm/>
  45. <depor/>
  46. <banknm/>
  47. <aactno/>
  48. </paydedu>
  49. </send>
  50. <custinfo>
  51. <custlist>
  52. <aactno/>
  53. <bankcd/>
  54. <banknm/>
  55. <depor/>
  56. <custnm/>
  57. </custlist>
  58. </custinfo>
  59. <init>
  60. <combo1>
  61. <deptcdcmb>
  62. <deptcd/>
  63. <deptnm/>
  64. </deptcdcmb>
  65. </combo1>
  66. <combo2>
  67. <acntcmb>
  68. <acntcd/>
  69. <acntnm/>
  70. </acntcmb>
  71. </combo2>
  72. <combo3>
  73. <acntcmb>
  74. <acntcd/>
  75. <acntnm/>
  76. </acntcmb>
  77. </combo3>
  78. </init>
  79. <popdata>
  80. <junpyodate/>
  81. <makedeptcd/>
  82. <yogudeptcd/>
  83. <pumgubun/>
  84. </popdata>
  85. <hidden>
  86. <item>
  87. <pumno/>
  88. </item>
  89. </hidden>
  90. </root>
  91. </instance>
  92. <script type="javascript" ev:event="xforms-ready">
  93. <![CDATA[
  94. initialize();
  95. ]]>
  96. </script>
  97. <submission id="TRRAD03701" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/paydedu" resultref="/root/custinfo"/>
  98. <submission id="TRRAD03702" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/paydedu" resultref="/root/main/grnt"/>
  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" src="../../../mis/paybaseinfomngtweb/js/RWC001.js"/>
  107. <script type="javascript" src="../../../mis/miscommonweb/js/RAC001.js"/>
  108. <script type="javascript" src="../../../mis/acntcommonweb/js/RAD001.js"/>
  109. <script type="javascript">
  110. <![CDATA[
  111. function fOpenPopupDeptHelp(pControl, pInstance)
  112. {
  113. misfOpenPopUpList("02", pControl, "", pInstance);
  114. model.refresh();
  115. }
  116. function fOpenPopupHelp(pHelper, pControl, pInstance, pCdgrupid, pValueControl, pNodeName)
  117. {
  118. misfOpenPopUpList(pHelper, pControl, pCdgrupid, pInstance, pValueControl, pNodeName);
  119. model.refresh();
  120. }
  121. function initialize(){
  122. //misfGridInit(grd_grntpsn1);
  123. //misfMsterDetailSet(grd_grntpsn1,null, "TRRAD01506" ,"Y");
  124. var curdate = getCurrentDate();
  125. model.setValue(cmb_instcd.attribute("ref") , getUserInfo("dutplceinstcd"));
  126. var deptcd = getUserInfo("dutplcecd");
  127. var deptnm = getUserInfo("dutplcenm");
  128. var emplno = getUserInfo("userid");
  129. var emplnm = getUserInfo("usernm");
  130. misfComboInstCdListMulti("cmb_instcd",getCurrentDate(),"","N");
  131. model.setValue("/root/send/paydedu/sanctslipdd", curdate);
  132. //model.setValue("/root/main/grnt/grntlist1/makedeptcd", deptcd);
  133. //model.setValue("/root/main/grnt/grntlist1/makedeptnm", deptnm);
  134. //model.setValue("/root/main/grnt/grntlist1/pumemplno", emplno);
  135. //model.setValue("/root/main/grnt/grntlist1/pumemplnm", emplnm);
  136. model.refresh();
  137. model.setFocus("ipt_unsldd");
  138. }
  139. function Popup(){
  140. var ymd = model.getValue("/root/main/grnt/grntlist1/junpyodate");
  141. var mdeptcd = model.getValue("/root/main/grnt/grntlist1/makedeptcd");
  142. var ydeptcd = model.getValue("/root/main/grnt/grntlist1/yogudeptcd");
  143. if (ymd != "" && mdeptcd != "" && ydeptcd != ""){
  144. model.setValue("/root/popdata/junpyodate", ymd);
  145. model.setValue("/root/popdata/makedeptcd", mdeptcd);
  146. model.setValue("/root/popdata/yogudeptcd", ydeptcd);
  147. model.setValue("/root/popdata/pumgubun", "3");
  148. modal("SPRAD00400", "", "", "", "SPRAD00400","/root/popdata","/root/popdata");
  149. }
  150. }
  151. ]]>
  152. </script>
  153. </xhtml:head>
  154. <xhtml:body>
  155. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  156. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">지출결의서출력</caption>
  157. </group>
  158. <group id="group2" scroll="auto" style="left:0px; top:38; width:1195px; height:744px; ">
  159. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:10px; width:1194px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  160. <button id="btn_search" class="btn1_letter2" visibility="hidden" style="left:1128px; top:16px; width:56px; height:22px; ">
  161. <caption>조회</caption>
  162. <script type="javascript" ev:event="DOMActivate">
  163. <![CDATA[
  164. model.removeNodeset("/root/main/grnt/grntlist1");
  165. misfMsterDetailRetrieve();
  166. var pumno = model.getValue("/root/main/grnt/grntlist1/pumno");
  167. model.setValue("/root/send/paydedu/pumno1", pumno.substr(0, 8));
  168. model.setValue("/root/send/paydedu/pumno2", pumno.substr(8, 4));
  169. if (model.getValue("/root/main/grnt/grntlist1/yesno") == "Y" || model.getValue("/root/main/grnt/grntlist1/yesno") == "C"){
  170. group3.disabled = true;
  171. grd_grntpsn1.disabled = true;
  172. }else{
  173. ipt_unsldd.disabled = true;
  174. ipt_costcntrdeptcd.disabled = true;
  175. combo1.disabled = true;
  176. input4.disabled = true;
  177. }
  178. model.refresh();
  179. ]]>
  180. </script>
  181. </button>
  182. <line id="line13" class="line_4" visibility="hidden" style="x1:1121px; y1:16px; x2:1121px; y2:38px; "/>
  183. <select1 id="cmb_instcd" ref="/root/send/paydedu/instcd" class="combo_s_essential" disabled="true" appearance="minimal" style="left:88px; top:17px; width:125px; height:19px; ">
  184. <choices>
  185. <itemset>
  186. <label/>
  187. <value/>
  188. </itemset>
  189. </choices>
  190. </select1>
  191. <caption id="caption2" class="search_name" style="left:22px; top:18px; width:61px; height:17px; ">기관 :</caption>
  192. <group id="group3" style="left:0px; top:46px; width:1190px; height:222px; ">
  193. <input id="input7" ref="/root/send/paydedu/aactno" class="input_essential" navindex="6" style="left:140px; top:165px; width:195px; height:19px; ">
  194. <script type="javascript" ev:event="xforms-value-changed">
  195. <![CDATA[
  196. for (var i = 1; i < grd_grntpsn1.rows;i++){
  197. model.setValue("/root/main/grnt/grntlist2[" + i + "]/bankno", model.getValue("/root/main/grnt/grntlist1/bankno"));
  198. }
  199. model.refresh();
  200. ]]>
  201. </script>
  202. </input>
  203. <input id="ipt_unsldd" ref="/root/send/paydedu/sanctslipdd" class="input_s_essential" navindex="1" inputtype="date" style="left:140px; top:20px; width:120px; height:19px; text-align:center; ">
  204. <script type="javascript" ev:event="xforms-value-changed">
  205. <![CDATA[
  206. ]]>
  207. </script>
  208. </input>
  209. <caption id="caption4" class="search_name" style="left:45px; top:49px; width:86px; height:17px; ">순 번 :</caption>
  210. <caption id="caption5" class="search_name" style="left:45px; top:20px; width:86px; height:17px; ">작성일자 :</caption>
  211. <caption id="caption14" class="search_name" style="left:45px; top:136px; width:95px; height:17px; ">은 행 명 :</caption>
  212. <caption id="caption15" class="search_name" style="left:45px; top:107px; width:87px; height:17px; ">성 명 :</caption>
  213. <caption id="caption7" class="search_name" style="left:45px; top:78px; width:85px; height:17px; ">상 호 :</caption>
  214. <input id="input2" ref="/root/send/paydedu/depor" class="input_essential" navindex="4" style="left:140px; top:107px; width:195px; height:19px; ">
  215. <script type="javascript" ev:event="xforms-value-changed">
  216. <![CDATA[
  217. for (var i = 1; i < grd_grntpsn1.rows;i++){
  218. model.setValue("/root/main/grnt/grntlist2[" + i + "]/bankman", model.getValue("/root/main/grnt/grntlist1/bankman"));
  219. }
  220. model.refresh();
  221. ]]>
  222. </script>
  223. </input>
  224. <caption id="caption16" class="search_name" style="left:45px; top:165px; width:87px; height:17px; ">계좌번호 :</caption>
  225. <input id="input3" ref="/root/send/paydedu/custnm" class="input_essential" navindex="3" style="left:140px; top:78px; width:195px; height:19px; ">
  226. <script type="javascript" ev:event="xforms-value-changed">
  227. <![CDATA[
  228. ]]>
  229. </script>
  230. </input>
  231. <input id="input15" ref="/root/send/paydedu/sanctslipno" navindex="2" format="99999" style="left:140px; top:49px; width:120px; height:19px; text-align:center; ">
  232. <script type="javascript" ev:event="xforms-value-changed">
  233. <![CDATA[
  234. if (model.getValue("/root/send/paydedu/sanctslipno") != ""){
  235. if (submit("TRRAD03701")){
  236. model.setValue("/root/send/paydedu/custnm", model.getValue("/root/custinfo/custlist/custnm"));
  237. model.setValue("/root/send/paydedu/depor", model.getValue("/root/custinfo/custlist/depor"));
  238. model.setValue("/root/send/paydedu/banknm", model.getValue("/root/custinfo/custlist/banknm"));
  239. model.setValue("/root/send/paydedu/aactno", model.getValue("/root/custinfo/custlist/aactno"));
  240. model.refresh();
  241. }
  242. }
  243. ]]>
  244. </script>
  245. </input>
  246. <input id="input1" ref="/root/send/paydedu/banknm" class="input_essential" navindex="5" style="left:140px; top:136px; width:195px; height:19px; "/>
  247. </group>
  248. <button id="button3" class="btn2_letter4" style="left:1040px; top:19px; width:64px; height:19px; ">
  249. <caption>미리보기</caption>
  250. <script type="javascript" ev:event="DOMActivate">
  251. <![CDATA[
  252. //if( messageBox("출력하시겠습니까" , "Q99" ) == 6 ){
  253. submit("TRRAD03702");
  254. //2011.05.19 박준범 - 버튼 클릭시 번쩍하며 사라지는 현상 수정
  255. exeReportPreview("RPRAD03701", "XMLSTR"); // , "" , "" , "false" , "", "", "", "", "true","","","","","","","","false");
  256. //}
  257. ]]>
  258. </script>
  259. </button>
  260. </group>
  261. <group id="grp_btn" scroll="auto" style="left:0px; top:12; width:1195px; height:27px; ">
  262. <line id="line9" class="line_6" style="x1:0; y1:25; x2:1195; y2:25; "/>
  263. </group>
  264. </xhtml:body>
  265. </xhtml:html>