SMRAD03800_수입대체결의서출력.xrw 9.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225
  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. </grnt>
  13. </main>
  14. <send>
  15. <paydedu>
  16. <instcd/>
  17. <sanctslipdd/>
  18. <sanctslipno/>
  19. <custnm/>
  20. <depor/>
  21. <banknm/>
  22. <aactno/>
  23. <text/>
  24. </paydedu>
  25. </send>
  26. <custinfo>
  27. <custlist>
  28. <aactno/>
  29. <bankcd/>
  30. <banknm/>
  31. <depor/>
  32. <custnm/>
  33. </custlist>
  34. </custinfo>
  35. <init>
  36. <combo1>
  37. <deptcdcmb>
  38. <deptcd/>
  39. <deptnm/>
  40. </deptcdcmb>
  41. </combo1>
  42. <combo2>
  43. <acntcmb>
  44. <acntcd/>
  45. <acntnm/>
  46. </acntcmb>
  47. </combo2>
  48. <combo3>
  49. <acntcmb>
  50. <acntcd/>
  51. <acntnm/>
  52. </acntcmb>
  53. </combo3>
  54. </init>
  55. <popdata>
  56. <junpyodate/>
  57. <makedeptcd/>
  58. <yogudeptcd/>
  59. <pumgubun/>
  60. </popdata>
  61. <hidden>
  62. <item>
  63. <pumno/>
  64. </item>
  65. </hidden>
  66. </root>
  67. </instance>
  68. <script type="javascript" ev:event="xforms-ready">
  69. <![CDATA[
  70. initialize();
  71. ]]>
  72. </script>
  73. <submission id="TRRAD03701" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/paydedu" resultref="/root/custinfo"/>
  74. <submission id="TRRAD03801" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/paydedu" resultref="/root/main/grnt"/>
  75. </model>
  76. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  77. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  78. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  79. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  80. <script type="javascript" src="../../../mis/paybaseinfomngtweb/js/RWC001.js"/>
  81. <script type="javascript" src="../../../mis/humtrafactmngtweb/js/RPB001.js"/>
  82. <script type="javascript" src="../../../mis/paybaseinfomngtweb/js/RWC001.js"/>
  83. <script type="javascript" src="../../../mis/miscommonweb/js/RAC001.js"/>
  84. <script type="javascript" src="../../../mis/acntcommonweb/js/RAD001.js"/>
  85. <script type="javascript">
  86. <![CDATA[
  87. function fOpenPopupDeptHelp(pControl, pInstance)
  88. {
  89. misfOpenPopUpList("02", pControl, "", pInstance);
  90. model.refresh();
  91. }
  92. function fOpenPopupHelp(pHelper, pControl, pInstance, pCdgrupid, pValueControl, pNodeName)
  93. {
  94. misfOpenPopUpList(pHelper, pControl, pCdgrupid, pInstance, pValueControl, pNodeName);
  95. model.refresh();
  96. }
  97. function initialize(){
  98. //misfGridInit(grd_grntpsn1);
  99. //misfMsterDetailSet(grd_grntpsn1,null, "TRRAD01506" ,"Y");
  100. var curdate = getCurrentDate();
  101. model.setValue(cmb_instcd.attribute("ref") , getUserInfo("dutplceinstcd"));
  102. var deptcd = getUserInfo("dutplcecd");
  103. var deptnm = getUserInfo("dutplcenm");
  104. var emplno = getUserInfo("userid");
  105. var emplnm = getUserInfo("usernm");
  106. misfComboInstCdListMulti("cmb_instcd",getCurrentDate(),"","N");
  107. model.setValue("/root/send/paydedu/sanctslipdd", curdate);
  108. //model.setValue("/root/main/grnt/grntlist1/makedeptcd", deptcd);
  109. //model.setValue("/root/main/grnt/grntlist1/makedeptnm", deptnm);
  110. //model.setValue("/root/main/grnt/grntlist1/pumemplno", emplno);
  111. //model.setValue("/root/main/grnt/grntlist1/pumemplnm", emplnm);
  112. model.refresh();
  113. model.setFocus("ipt_unsldd");
  114. }
  115. function Popup(){
  116. var ymd = model.getValue("/root/main/grnt/grntlist1/junpyodate");
  117. var mdeptcd = model.getValue("/root/main/grnt/grntlist1/makedeptcd");
  118. var ydeptcd = model.getValue("/root/main/grnt/grntlist1/yogudeptcd");
  119. if (ymd != "" && mdeptcd != "" && ydeptcd != ""){
  120. model.setValue("/root/popdata/junpyodate", ymd);
  121. model.setValue("/root/popdata/makedeptcd", mdeptcd);
  122. model.setValue("/root/popdata/yogudeptcd", ydeptcd);
  123. model.setValue("/root/popdata/pumgubun", "3");
  124. modal("SPRAD00400", "", "", "", "SPRAD00400","/root/popdata","/root/popdata");
  125. }
  126. }
  127. ]]>
  128. </script>
  129. </xhtml:head>
  130. <xhtml:body>
  131. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  132. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">수입/대체결의서출력</caption>
  133. </group>
  134. <group id="group2" scroll="auto" style="left:0px; top:38; width:1195px; height:744px; ">
  135. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:10px; width:1194px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  136. <button id="btn_search" class="btn1_letter2" visibility="hidden" style="left:1128px; top:16px; width:56px; height:22px; ">
  137. <caption>조회</caption>
  138. <script type="javascript" ev:event="DOMActivate">
  139. <![CDATA[
  140. model.removeNodeset("/root/main/grnt/grntlist1");
  141. misfMsterDetailRetrieve();
  142. var pumno = model.getValue("/root/main/grnt/grntlist1/pumno");
  143. model.setValue("/root/send/paydedu/pumno1", pumno.substr(0, 8));
  144. model.setValue("/root/send/paydedu/pumno2", pumno.substr(8, 4));
  145. if (model.getValue("/root/main/grnt/grntlist1/yesno") == "Y" || model.getValue("/root/main/grnt/grntlist1/yesno") == "C"){
  146. group3.disabled = true;
  147. grd_grntpsn1.disabled = true;
  148. }else{
  149. ipt_unsldd.disabled = true;
  150. ipt_costcntrdeptcd.disabled = true;
  151. combo1.disabled = true;
  152. input4.disabled = true;
  153. }
  154. model.refresh();
  155. ]]>
  156. </script>
  157. </button>
  158. <line id="line13" class="line_4" visibility="hidden" style="x1:1121px; y1:16px; x2:1121px; y2:38px; "/>
  159. <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; ">
  160. <choices>
  161. <itemset>
  162. <label/>
  163. <value/>
  164. </itemset>
  165. </choices>
  166. </select1>
  167. <caption id="caption2" class="search_name" style="left:22px; top:18px; width:61px; height:17px; ">기관 :</caption>
  168. <group id="group3" style="left:0px; top:46px; width:1190px; height:222px; ">
  169. <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; ">
  170. <script type="javascript" ev:event="xforms-value-changed">
  171. <![CDATA[
  172. ]]>
  173. </script>
  174. </input>
  175. <caption id="caption4" class="search_name" style="left:45px; top:49px; width:86px; height:17px; ">순 번 :</caption>
  176. <caption id="caption5" class="search_name" style="left:45px; top:20px; width:86px; height:17px; ">작성일자 :</caption>
  177. <caption id="caption15" class="search_name" style="left:45px; top:107px; width:87px; height:17px; ">비고사항 :</caption>
  178. <caption id="caption7" class="search_name" style="left:45px; top:78px; width:85px; height:17px; ">상 대 처 :</caption>
  179. <input id="input3" ref="/root/send/paydedu/custnm" class="input_essential" navindex="3" style="left:140px; top:78px; width:195px; height:19px; ">
  180. <script type="javascript" ev:event="xforms-value-changed">
  181. <![CDATA[
  182. ]]>
  183. </script>
  184. </input>
  185. <input id="input15" ref="/root/send/paydedu/sanctslipno" navindex="2" format="99999" style="left:140px; top:49px; width:120px; height:19px; text-align:center; ">
  186. <script type="javascript" ev:event="xforms-value-changed">
  187. <![CDATA[
  188. /*
  189. if (model.getValue("/root/send/paydedu/sanctslipno") != ""){
  190. if (submit("TRRAD03701")){
  191. model.setValue("/root/send/paydedu/custnm", model.getValue("/root/custinfo/custlist/custnm"));
  192. model.setValue("/root/send/paydedu/depor", model.getValue("/root/custinfo/custlist/depor"));
  193. model.setValue("/root/send/paydedu/banknm", model.getValue("/root/custinfo/custlist/banknm"));
  194. model.setValue("/root/send/paydedu/aactno", model.getValue("/root/custinfo/custlist/aactno"));
  195. model.refresh();
  196. }
  197. }
  198. */
  199. ]]>
  200. </script>
  201. </input>
  202. <textarea id="textarea1" ref="/root/send/paydedu/text" style="left:140px; top:110px; width:220px; height:105px; "/>
  203. </group>
  204. <button id="button3" class="btn2_letter4" style="left:1040px; top:19px; width:64px; height:19px; ">
  205. <caption>미리보기</caption>
  206. <script type="javascript" ev:event="DOMActivate">
  207. <![CDATA[
  208. //if( messageBox("출력하시겠습니까" , "Q99" ) == 6 ){
  209. submit("TRRAD03801");
  210. exeReportPreview("RPRAD03801", "XMLSTR" , "" , "" , "false" , "", "", "", "", "true","","","","","","","","false");
  211. //}
  212. ]]>
  213. </script>
  214. </button>
  215. </group>
  216. <group id="grp_btn" scroll="auto" style="left:0px; top:12; width:1195px; height:27px; ">
  217. <line id="line9" class="line_6" style="x1:0; y1:25; x2:1195; y2:25; "/>
  218. </group>
  219. </xhtml:body>
  220. </xhtml:html>