SMRIF02760_피험자청구서(칠곡).xrw 12 KB

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