SMRIF02540_청구서.xrw 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
  3. <xhtml:html xmlns:ex="http://www.comsquare.co.kr/xforms/excel" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:ms="urn:schemas-microsoft-com:xslt" xmlns:my="http://www.comsquare.co.kr/example" 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" xmlns:cs="http://www.comsquare.co.kr/xforms">
  4. <xhtml:head>
  5. <xhtml:title>외부위탁연구비 실행예산서</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <repdetl>
  11. <R0254001/>
  12. <R0254002/>
  13. <R0254003/>
  14. <R0254004/>
  15. <R0254005/>
  16. <R0254006/>
  17. <R0254007/>
  18. <R0254008/>
  19. <R0254009/>
  20. <R0254010/>
  21. <R0254011/>
  22. <R0254012/>
  23. <R0254013/>
  24. <R0254014/>
  25. <R0254015/>
  26. <R0254016/>
  27. <R0254017/>
  28. <R0254018/>
  29. <R0254019/>
  30. <R0254020/>
  31. </repdetl>
  32. <repmain>
  33. <inistcd/>
  34. <bsdd/>
  35. <projcd/>
  36. <projnm/>
  37. <reptcd/>
  38. <reptnm/>
  39. <rshid/>
  40. <rshnm/>
  41. <bsid/>
  42. <bsnm/>
  43. <seqno/>
  44. </repmain>
  45. </main>
  46. <send/>
  47. <init/>
  48. <hidden/>
  49. <temp/>
  50. </root>
  51. </instance>
  52. </model>
  53. <script type="javascript" ev:event="xforms-ready">
  54. <![CDATA[
  55. checkbox1.dispatch("xforms-value-changed");
  56. checkbox4.dispatch("xforms-value-changed");
  57. checkbox3.dispatch("xforms-value-changed");
  58. ]]>
  59. </script>
  60. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  61. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  62. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  63. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  64. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  65. <script type="javascript" src="../../../mis/ctmsweb/js/SMRIF02101.js"/>
  66. <script type="javascript">
  67. <![CDATA[
  68. function fSetInitData(){
  69. //보고서 기본값 셋팅.
  70. model.setValue("/root/main/repdetl/R0254001",model.getValue("/root/main/repmain/projnm"));
  71. model.setValue("/root/main/repdetl/R0254002",model.getValue("/root/main/repmain/empldeptnm"));
  72. model.setValue("/root/main/repdetl/R0254003",model.getValue("/root/main/repmain/rshnm"));
  73. model.setValue("/root/main/repdetl/R0254004",model.getValue("/root/main/repmain/fromdd"));
  74. model.setValue("/root/main/repdetl/R0254005",model.getValue("/root/main/repmain/todd"));
  75. model.setValue("/root/main/repdetl/R0254006",model.getValue("/root/main/repmain/reqfirm"));
  76. model.refresh();
  77. }
  78. // 최종저장시 한번더 계산
  79. function fLastAmtSave(){
  80. }
  81. ]]>
  82. </script>
  83. </xhtml:head>
  84. <xhtml:body pagewidth="660">
  85. <script type="javascript" ev:event="onloadcomplete">
  86. <![CDATA[
  87. fSetInitData(); // <-- 개인적으로 처리해야 할 로직 삽입
  88. ]]>
  89. </script>
  90. <caption id="caption1" style="left:165px; top:0px; width:340px; height:60px; font-size:22pt; font-weight:bold; text-decoration:underline; text-align:center; ">청 구 서</caption>
  91. <group id="group3" style="left:0px; top:75px; width:649px; height:62px; padding:1; border-style:inset; ">
  92. <caption id="caption15" class="cell_1" style="left:449px; top:0px; width:40px; height:19px; ">소 속</caption>
  93. <input id="input9" ref="/root/main/repdetl/R0254002" navindex="2" style="left:489px; top:0px; width:157px; height:19px; "/>
  94. <caption id="caption16" class="cell_1" style="left:449px; top:20px; width:40px; height:19px; ">성 명</caption>
  95. <caption id="caption17" class="cell_1" style="left:3px; top:0px; width:59px; height:39px; ">과 제 명</caption>
  96. <caption id="caption18" class="cell_1" style="left:3px; top:40px; width:59px; height:19px; ">연구기간</caption>
  97. <caption id="caption20" class="cell_1" style="left:394px; top:0px; width:54px; height:39px; text-align:center; ">
  98. <![CDATA[연 구
  99. 책임자]]>
  100. </caption>
  101. <caption id="caption21" class="cell_1" style="left:298px; top:40px; width:95px; height:19px; ">의뢰기관</caption>
  102. <input id="input10" ref="/root/main/repdetl/R0254003" navindex="3" style="left:489px; top:20px; width:129px; height:19px; "/>
  103. <input id="input11" ref="/root/main/repdetl/R0254004" navindex="4" inputtype="date" style="left:63px; top:40px; width:100px; height:19px; "/>
  104. <input id="input12" ref="/root/main/repdetl/R0254005" navindex="5" inputtype="date" style="left:197px; top:40px; width:100px; height:19px; "/>
  105. <caption id="caption22" style="left:173px; top:40px; width:20px; height:20px; ">~</caption>
  106. <textarea id="textarea2" ref="/root/main/repdetl/R0254001" navindex="1" scroll="autovscroll" style="left:63px; top:0px; width:330px; height:39px; font-size:8pt; text-align:left; vertical-align:middle; "/>
  107. <caption id="caption23" style="left:620px; top:20px; width:25px; height:19px; ">(인)</caption>
  108. <input id="input13" ref="/root/main/repdetl/R0254006" navindex="6" style="left:394px; top:40px; width:252px; height:19px; "/>
  109. </group>
  110. <group id="group1" style="left:0px; top:155px; width:650px; height:245px; ">
  111. <select id="checkbox1" ref="/root/main/repdetl/R0254007" navindex="7" overflow="visible" appearance="full" style="left:95px; top:36px; width:60px; height:19px; letter-spacing:1; border-style:none; ">
  112. <choices>
  113. <item>
  114. <label>참여비</label>
  115. <value>Y</value>
  116. </item>
  117. </choices>
  118. <script type="javascript" ev:event="xforms-value-changed">
  119. <![CDATA[
  120. var sChkItem = model.getValue("/root/main/repdetl/R0254007");
  121. if (sChkItem == "Y"){
  122. ipt_19.disabled = false;
  123. }else if (sChkItem != "Y"){
  124. ipt_19.value = "";
  125. ipt_19.disabled = true;
  126. }
  127. ]]>
  128. </script>
  129. </select>
  130. <caption id="caption10" style="left:375px; top:76px; width:10px; height:20px; ">)</caption>
  131. <select id="checkbox3" ref="/root/main/repdetl/R0254009" navindex="11" overflow="visible" appearance="full" style="left:335px; top:36px; width:45px; height:19px; letter-spacing:1; border-style:none; ">
  132. <choices>
  133. <item>
  134. <label>기타</label>
  135. <value>Y</value>
  136. </item>
  137. </choices>
  138. <script type="javascript" ev:event="xforms-value-changed">
  139. <![CDATA[
  140. var sChkItem = model.getValue("/root/main/repdetl/R0254009");
  141. if (sChkItem == "Y"){
  142. ipt_etc.disabled = false;
  143. }else if (sChkItem != "Y"){
  144. ipt_etc.value = "";
  145. ipt_etc.disabled = true;
  146. }
  147. ]]>
  148. </script>
  149. </select>
  150. <select id="checkbox4" ref="/root/main/repdetl/R0254008" navindex="9" overflow="visible" appearance="full" style="left:212px; top:36px; width:60px; height:19px; letter-spacing:1; border-style:none; ">
  151. <choices>
  152. <item>
  153. <label>교통비</label>
  154. <value>Y</value>
  155. </item>
  156. </choices>
  157. <script type="javascript" ev:event="xforms-value-changed">
  158. <![CDATA[
  159. var sChkItem = model.getValue("/root/main/repdetl/R0254008");
  160. if (sChkItem == "Y"){
  161. ipt_20.disabled = false;
  162. }else if (sChkItem != "Y"){
  163. ipt_20.value = "";
  164. ipt_20.disabled = true;
  165. }
  166. ]]>
  167. </script>
  168. </select>
  169. <caption id="caption2" style="left:0px; top:1px; width:130px; height:34px; font-size:14pt; font-weight:bold; ">[청구 내역]</caption>
  170. <caption id="caption3" class="cell_1" style="left:2px; top:36px; width:90px; height:19px; ">항 목</caption>
  171. <caption id="caption4" style="left:380px; top:36px; width:10px; height:20px; ">(</caption>
  172. <caption id="caption5" style="left:576px; top:36px; width:10px; height:20px; ">)</caption>
  173. <caption id="caption6" class="cell_1" style="left:2px; top:56px; width:90px; height:19px; ">방 문 일</caption>
  174. <input id="ipt_etc" ref="/root/main/repdetl/R0254010" disabled="true" navindex="12" style="left:390px; top:36px; width:183px; height:19px; "/>
  175. <input id="input2" ref="/root/main/repdetl/R0254011" navindex="13" inputtype="date" style="left:94px; top:56px; width:141px; height:19px; "/>
  176. <caption id="caption7" class="cell_1" style="left:2px; top:76px; width:90px; height:19px; ">청구 금액</caption>
  177. <input id="input3" ref="/root/main/repdetl/R0254012" navindex="14" style="left:130px; top:76px; width:105px; height:19px; text-align:right; "/>
  178. <caption id="caption8" style="left:97px; top:76px; width:30px; height:20px; letter-spacing:1; ">일금</caption>
  179. <input id="input4" ref="/root/main/repdetl/R0254013" navindex="15" format="#,###" style="left:278px; top:76px; width:95px; height:19px; text-align:right; "/>
  180. <caption id="caption9" style="left:240px; top:76px; width:40px; height:20px; ">정( \</caption>
  181. <caption id="caption11" style="left:2px; top:125px; width:130px; height:34px; font-size:14pt; font-weight:bold; ">[청구 내역]</caption>
  182. <caption id="caption12" class="cell_1" style="left:2px; top:160px; width:90px; height:19px; ">성 명</caption>
  183. <caption id="caption14" class="cell_1" style="left:2px; top:180px; width:90px; height:19px; ">주 소</caption>
  184. <caption id="caption19" class="cell_1" style="left:2px; top:200px; width:90px; height:19px; ">입금계좌번호</caption>
  185. <input id="input5" ref="/root/main/repdetl/R0254014" navindex="16" style="left:94px; top:160px; width:90px; height:19px; "/>
  186. <caption id="caption24" class="cell_1" style="left:186px; top:160px; width:110px; height:19px; ">연락처(휴대번호)</caption>
  187. <input id="input7" ref="/root/main/repdetl/R0254015" navindex="17" style="left:298px; top:160px; width:143px; height:19px; "/>
  188. <input id="input8" ref="/root/main/repdetl/R0254017" navindex="19" style="left:94px; top:180px; width:347px; height:19px; "/>
  189. <input id="input14" ref="/root/main/repdetl/R0254018" navindex="20" style="left:94px; top:200px; width:347px; height:19px; "/>
  190. <caption id="caption25" style="left:153px; top:36px; width:15px; height:20px; ">(</caption>
  191. <caption id="caption26" style="left:270px; top:35px; width:10px; height:20px; ">(</caption>
  192. <caption id="caption27" style="left:188px; top:35px; width:25px; height:20px; ">차)</caption>
  193. <caption id="caption28" style="left:306px; top:35px; width:25px; height:20px; ">차)</caption>
  194. <input id="ipt_19" ref="/root/main/repdetl/R0254019" disabled="true" navindex="8" style="left:162px; top:35px; width:25px; height:19px; "/>
  195. <input id="ipt_20" ref="/root/main/repdetl/R0254020" disabled="true" navindex="10" style="left:280px; top:35px; width:25px; height:19px; "/>
  196. </group>
  197. </xhtml:body>
  198. </xhtml:html>