SMRAD03000_외상매입금명세서.xrw 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268
  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. <grnt>
  11. <grntlist1/>
  12. </grnt>
  13. </main>
  14. <init/>
  15. <send>
  16. <fromdd/>
  17. <todd/>
  18. <instcd/>
  19. <acntcd/>
  20. <fromacntcd/>
  21. <toacntcd/>
  22. <fromcustcode/>
  23. <tocustcode/>
  24. <fromcustnm/>
  25. <tocustnm/>
  26. <custcode/>
  27. </send>
  28. <custinfo>
  29. <custlist>
  30. <aactno/>
  31. <bankcd/>
  32. <depor/>
  33. <custnm/>
  34. </custlist>
  35. </custinfo>
  36. <init>
  37. <combo3>
  38. <acntcmb>
  39. <acntcd/>
  40. <acntnm/>
  41. </acntcmb>
  42. </combo3>
  43. </init>
  44. <hidden/>
  45. </root>
  46. </instance>
  47. <script type="javascript" ev:event="xforms-ready">
  48. <![CDATA[
  49. misfComboInstCdListMulti("cmb_instcd",getCurrentDate(),"","N");
  50. makeReportPreview(0,110,1195,650);
  51. var today = getCurrentDate();
  52. var cur_yymm = parseInt(today.substring(0, 6));
  53. model.setValue("/root/send/fromdd", today);
  54. //ipt_payym.refresh();
  55. //submit("TRRAD01504");
  56. model.setValue(cmb_instcd.attribute("ref") , getUserInfo("dutplceinstcd"));
  57. model.refresh();
  58. ]]>
  59. </script>
  60. <submission id="TRRAD03001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/grnt"/>
  61. <submission id="TRRAD01504" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/paydedu" resultref="/root/init/combo3"/>
  62. <submission id="TRRAD01502" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/custinfo"/>
  63. </model>
  64. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  65. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  66. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  67. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  68. <script type="javascript" src="../../../mis/paybaseinfomngtweb/js/RWC001.js"/>
  69. <script type="javascript" src="../../../mis/humtrafactmngtweb/js/RPB001.js"/>
  70. <script type="javascript" src="../../../mis/paybaseinfomngtweb/js/RWC001.js"/>
  71. <script type="javascript" src="../../../mis/miscommonweb/js/RAC001.js"/>
  72. <script type="javascript" src="../../../mis/acntcommonweb/js/RAD001.js"/>
  73. <script type="javascript">
  74. <![CDATA[
  75. function fOpenPopupDeptHelp(pControl, pInstance)
  76. {
  77. misfOpenPopUpList("02", pControl, "", pInstance);
  78. model.refresh();
  79. }
  80. function fOpenPopupHelp(pHelper, pControl, pInstance, pCdgrupid, pValueControl, pNodeName)
  81. {
  82. misfOpenPopUpList(pHelper, pControl, pCdgrupid, pInstance, pValueControl, pNodeName);
  83. model.refresh();
  84. }
  85. ]]>
  86. </script>
  87. </xhtml:head>
  88. <xhtml:body style="margin-left:8; margin-right:8; ">
  89. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  90. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">외상/미지급명세서</caption>
  91. </group>
  92. <group id="group2" scroll="auto" style="left:0px; top:40px; width:1195px; height:740px; ">
  93. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:10px; width:1193px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  94. <button id="btn_search" class="btn1_letter2" style="left:1130px; top:17px; width:56px; height:22px; ">
  95. <caption>조회</caption>
  96. <script type="javascript" ev:event="DOMActivate">
  97. <![CDATA[
  98. submit("TRRAD03001");
  99. exeReportPreview("RPRAD03001", "XMLSTR");//, "/root/main/payamt");
  100. ]]>
  101. </script>
  102. </button>
  103. <line id="line13" class="line_4" style="x1:1120px; y1:10px; x2:1120px; y2:44px; "/>
  104. <caption id="cap_payinst" class="search_name" style="left:15px; top:19px; width:86px; height:17px; ">소속기관:</caption>
  105. <select1 id="cmb_instcd" ref="/root/send/instcd" class="combo_s_essential" disabled="true" appearance="minimal" style="left:96px; top:18px; width:125px; height:19px; ">
  106. <choices>
  107. <itemset>
  108. <label/>
  109. <value/>
  110. </itemset>
  111. </choices>
  112. </select1>
  113. <caption id="caption22" class="search_name" style="left:231px; top:18px; width:81px; height:17px; ">기준일자:</caption>
  114. <input id="ipt_payym" ref="/root/send/fromdd" class="input_default" inputtype="date" format="yyyy-mm-dd" style="left:315px; top:18px; width:120px; height:19px; text-align:center; vertical-align:middle; "/>
  115. <caption id="caption28" class="tit_2" style="left:5px; top:53px; width:209px; height:14px; ">외상/미지급내역</caption>
  116. <line id="line193" class="line_1" style="x1:2px; y1:66px; x2:1192px; y2:66px; "/>
  117. <caption id="caption2" class="search_name" style="left:445px; top:18px; width:94px; height:17px; ">계정과목:</caption>
  118. <select1 id="combo1" ref="/root/send/acntcd" appearance="minimal" style="left:530px; top:18px; width:125px; height:19px; ">
  119. <choices>
  120. <item>
  121. <label>외상매입금</label>
  122. <value>21110100</value>
  123. </item>
  124. <item>
  125. <label>미지급금</label>
  126. <value>21130000</value>
  127. </item>
  128. <item>
  129. <label>전체</label>
  130. <value/>
  131. </item>
  132. </choices>
  133. </select1>
  134. <caption id="caption1" class="search_name" style="left:670px; top:18px; width:74px; height:17px; ">거래처:</caption>
  135. <input id="ipt_custnm" ref="/root/send/fromcustnm" class="input_essential" disabled="true" imemode="hangul" style="left:805px; top:18px; width:105px; height:19px; ">
  136. <script type="javascript" ev:event="xforms-value-changed">
  137. <![CDATA[
  138. var custflag = model.getValue("/root/main/unsl_one/custflag");
  139. switch (custflag) {
  140. case "1": //거래처
  141. fValidationCheck("14", "custcd,custnm", "", "", "", "", "name");
  142. model.setValue("/root/hidden/seizureyn", radfseizureynCheck(getUserInfo("dutplceinstcd"), model.getValue("/root/main/unsl_one/custcd"), "Y"));
  143. break;
  144. // case "2": //은행
  145. // fValidationCheck("03", "custcd,custnm", "R0001", "");
  146. // break;
  147. case "3": //부서
  148. fValidationCheck("02", "custcd,custnm", "", "");
  149. break;
  150. case "4": //교직원
  151. // fValidationCheck("01-2", "custcd,custnm", "", "");
  152. model.setValue("/root/hidden/tempnode/emplnm", model.getValue("/root/main/unsl_one/custnm"));
  153. ipt_emplnm.dispatch("xforms-value-changed");
  154. break;
  155. case "5": //개인
  156. fValidationCheck("31", "custcd,custnm", "", "ipt_amt", "", "", "name");
  157. break;
  158. default :
  159. return;
  160. }
  161. ]]>
  162. </script>
  163. <script type="javascript" ev:event="onkeypress">
  164. <![CDATA[
  165. if (event.keyCode == "13") {
  166. model.setFocus("ipt_amt");
  167. }
  168. ]]>
  169. </script>
  170. </input>
  171. <input id="ipt_custcd" ref="/root/send/fromcustcode" class="input_essential" navindex="-1" style="left:740px; top:18px; width:41px; height:19px; ">
  172. <script type="javascript" ev:event="xforms-value-changed">
  173. <![CDATA[
  174. if (model.getValue("/root/send/fromcustcode") != ""){
  175. model.setValue("/root/send/custcode", model.getValue("/root/send/fromcustcode"));
  176. if (submit("TRRAD01502")){
  177. model.setValue("/root/send/fromcustnm", model.getValue("/root/custinfo/custlist/custnm"));
  178. model.refresh();
  179. }
  180. }else{
  181. model.setValue("/root/send/fromcustnm", "");
  182. }
  183. model.refresh();
  184. //btn_search.dispatch("DOMActivate");
  185. ]]>
  186. </script>
  187. </input>
  188. <button id="btn_custcd" class="icon_search" navindex="-1" style="left:785px; top:19px; width:16px; height:16px; ">
  189. <caption/>
  190. <script type="javascript" ev:event="DOMActivate">
  191. <![CDATA[
  192. fOpenPopupHelp("14", ipt_custcd, "fromcustcode,fromcustnm", "", "");
  193. //btn_search.dispatch("DOMActivate");
  194. ]]>
  195. </script>
  196. </button>
  197. <input id="input8" ref="/root/send/tocustnm" class="input_essential" disabled="true" imemode="hangul" style="left:990px; top:18px; width:105px; height:19px; ">
  198. <script type="javascript" ev:event="xforms-value-changed">
  199. <![CDATA[
  200. var custflag = model.getValue("/root/main/unsl_one/custflag");
  201. switch (custflag) {
  202. case "1": //거래처
  203. fValidationCheck("14", "custcd,custnm", "", "", "", "", "name");
  204. model.setValue("/root/hidden/seizureyn", radfseizureynCheck(getUserInfo("dutplceinstcd"), model.getValue("/root/main/unsl_one/custcd"), "Y"));
  205. break;
  206. // case "2": //은행
  207. // fValidationCheck("03", "custcd,custnm", "R0001", "");
  208. // break;
  209. case "3": //부서
  210. fValidationCheck("02", "custcd,custnm", "", "");
  211. break;
  212. case "4": //교직원
  213. // fValidationCheck("01-2", "custcd,custnm", "", "");
  214. model.setValue("/root/hidden/tempnode/emplnm", model.getValue("/root/main/unsl_one/custnm"));
  215. ipt_emplnm.dispatch("xforms-value-changed");
  216. break;
  217. case "5": //개인
  218. fValidationCheck("31", "custcd,custnm", "", "ipt_amt", "", "", "name");
  219. break;
  220. default :
  221. return;
  222. }
  223. ]]>
  224. </script>
  225. <script type="javascript" ev:event="onkeypress">
  226. <![CDATA[
  227. if (event.keyCode == "13") {
  228. model.setFocus("ipt_amt");
  229. }
  230. ]]>
  231. </script>
  232. </input>
  233. <input id="input9" ref="/root/send/tocustcode" class="input_essential" navindex="-1" style="left:925px; top:18px; width:41px; height:19px; ">
  234. <script type="javascript" ev:event="xforms-value-changed">
  235. <![CDATA[
  236. if (model.getValue("/root/send/tocustcode") != ""){
  237. model.setValue("/root/send/custcode", model.getValue("/root/send/tocustcode"));
  238. if (submit("TRRAD01502")){
  239. model.setValue("/root/send/tocustnm", model.getValue("/root/custinfo/custlist/custnm"));
  240. model.refresh();
  241. }
  242. }else{
  243. model.setValue("/root/send/tocustnm", "");
  244. }
  245. model.refresh();
  246. //btn_search.dispatch("DOMActivate");
  247. ]]>
  248. </script>
  249. </input>
  250. <button id="button2" class="icon_search" navindex="-1" style="left:970px; top:20px; width:16px; height:16px; ">
  251. <caption/>
  252. <script type="javascript" ev:event="DOMActivate">
  253. <![CDATA[
  254. fOpenPopupHelp("14", input9, "tocustcode,tocustnm", "", "");
  255. //btn_search.dispatch("DOMActivate");
  256. ]]>
  257. </script>
  258. </button>
  259. <caption id="caption3" style="left:910px; top:19px; width:15px; height:20px; text-align:center; ">~</caption>
  260. </group>
  261. <group id="grp_btn" scroll="auto" style="left:0px; top:13px; width:1195px; height:25px; "/>
  262. </xhtml:body>
  263. </xhtml:html>