의뢰자_입금정보.xrw 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet type="text/css" href="C:/CMCProject/application/webapps/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>Untitle</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <item>
  10. <grid3>
  11. <depodd/>
  12. <depoamt/>
  13. <direccost/>
  14. <crcccindireccost/>
  15. <indireccost/>
  16. </grid3>
  17. </item>
  18. </root>
  19. </instance>
  20. </model>
  21. </xhtml:head>
  22. <xhtml:body>
  23. <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:14px; ">
  24. <caption id="caption120" class="tit_1" style="left:0px; top:0px; width:158px; height:14px; ">입금정보</caption>
  25. </group>
  26. <group id="group3" style="left:0px; top:15px; width:1194px; height:37px; vertical-align:top; "/>
  27. <caption id="caption1" class="tit_2" style="left:10px; top:55px; width:140px; height:13px; ">등록된 병원목록</caption>
  28. <datagrid id="datagrid1" caption="과제번호^품목명^해당병원^접수일^의뢰자^시험책임자^연구기간^연구기간^총연구비(직+간접비)" colsep="^" colwidth="100, 100, 100, 100, 120, 100, 100, 100, 130" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:80px; width:1190px; height:140px; ">
  29. <col/>
  30. <col/>
  31. <col/>
  32. <col type="inputdate"/>
  33. <col/>
  34. <col/>
  35. <col type="inputdate"/>
  36. <col type="inputdate"/>
  37. <col/>
  38. </datagrid>
  39. <line id="line11" class="line_1" style="x1:0px; y1:78px; x2:1190px; y2:77px; "/>
  40. <line id="line4" class="line_3" style="x1:0px; y1:222px; x2:1190px; y2:222px; "/>
  41. <caption id="caption2" class="tit_2" style="left:10px; top:245px; width:170px; height:13px; ">병원 IRB심사비 입금정보</caption>
  42. <datagrid id="datagrid2" caption="입금일^금액^임금확인(병원)^계산서발행^계산서발송처" colsep="^" colwidth="100, 100, 100, 100, 359" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:300px; width:805px; height:105px; ">
  43. <col type="inputdate"/>
  44. <col/>
  45. <col type="inputdate"/>
  46. <col type="inputdate"/>
  47. <col/>
  48. </datagrid>
  49. <line id="line1" class="line_1" style="x1:0px; y1:298px; x2:805px; y2:297px; "/>
  50. <caption id="caption3" class="tit_2" style="left:10px; top:440px; width:170px; height:13px; ">연구비 입금정보</caption>
  51. <line id="line2" class="line_1" style="x1:0px; y1:488px; x2:1190px; y2:487px; "/>
  52. <datagrid id="datagrid3" nodeset="/root/item/grid3" caption="입금일^입금액^직접비^센타간접비^병원간접비^담당자확인^계산서발행^계산서발송처" colsep="^" colwidth="100, 100, 100, 100, 100, 70, 70, 498" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:490px; width:1190px; height:160px; ">
  53. <col ref="depodd" type="inputdate"/>
  54. <col ref="depoamt" type="input" format="#,###"/>
  55. <col ref="direccost" type="output" visibility="visible" format="#,###" roundmode="round"/>
  56. <col ref="crcccindireccost" type="output" format="#,###" roundmode="round"/>
  57. <col ref="indireccost" type="output" format="#,###" roundmode="round"/>
  58. <col type="combo">
  59. <choices>
  60. <item>
  61. <label>확인</label>
  62. <value>1</value>
  63. </item>
  64. <item>
  65. <label>미확인</label>
  66. <value>2</value>
  67. </item>
  68. </choices>
  69. </col>
  70. <col type="combo">
  71. <choices>
  72. <item>
  73. <label>발행</label>
  74. <value>1</value>
  75. </item>
  76. <item>
  77. <label>미발행</label>
  78. <value>2</value>
  79. </item>
  80. </choices>
  81. </col>
  82. <col type="input"/>
  83. <script ev:event="onendedit" type="javascript">
  84. <![CDATA[
  85. var dc; //계산된 직접비
  86. var cc; //계산된 센타간접비
  87. var ic; //계산된 병원간접비
  88. var depoamt = model.getValue("/root/item/grid3["+datagrid3.row+"]/depoamt"); //입금액
  89. var direccost = model.getValue("/root/item/grid3["+datagrid3.row+"]/direccost"); //직접비
  90. var crcccindireccost = model.getValue("/root/item/grid3["+datagrid3.row+"]/crcccindireccost"); //센타간접비
  91. var indireccost = model.getValue("/root/item/grid3["+datagrid3.row+"]/indireccost"); //병원간접비
  92. parseFloat(depoamt);
  93. cc = depoamt * 10.0 / 100 ; //센타간접비 10% 계산
  94. ic = depoamt * 5.0 / 100 ; //병원간접비 5% 계산
  95. dc = depoamt - (cc+ic); //직접비 85% 계산
  96. model.setValue("/root/item/grid3["+datagrid3.row+"]/direccost",dc);
  97. model.setValue("/root/item/grid3["+datagrid3.row+"]/crcccindireccost",cc);
  98. model.setValue("/root/item/grid3["+datagrid3.row+"]/indireccost",ic);
  99. ]]>
  100. </script>
  101. </datagrid>
  102. <line id="line3" class="line_3" style="x1:0px; y1:407px; x2:805px; y2:407px; "/>
  103. <line id="line5" class="line_3" style="x1:0px; y1:652px; x2:1190px; y2:652px; "/>
  104. <datagrid id="datagrid4" nodeset="/root/worklist/workitem" caption="접수^접수^접수^접수^초기심의^계약^연구수행^연구수행^연구수행^연구수행^연구수행^종결^종결^종결|과제의뢰^연구자확인^CRCC접수^서류접수^심의상태^계약일^원내이상반응^원외이상반응^변경계획서^중간보고서^지속심의^종료보고서^결과보고서^연구비정산보고서" colsep="^" colwidth="67, 66, 72, 62, 181, 102, 97, 80, 66, 66, 67, 73, 71, 102" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:702px; width:1195px; height:71px; ">
  105. <col ref="task1"/>
  106. <col ref="task2"/>
  107. <col ref="task3"/>
  108. <col ref="task4"/>
  109. <col ref="task5" type="inputbutton"/>
  110. <col ref="task6" type="inputbutton"/>
  111. <col ref="task7" type="inputbutton"/>
  112. <col type="inputbutton"/>
  113. <col type="inputbutton"/>
  114. <col ref="task8" type="inputbutton"/>
  115. <col ref="task9" type="inputbutton"/>
  116. <col type="inputbutton"/>
  117. <col ref="task9" type="inputbutton"/>
  118. <col type="inputbutton"/>
  119. </datagrid>
  120. <button id="button52" class="btn2_letter3" style="left:1025px; top:460px; width:53px; height:19px; ">
  121. <caption>행추가</caption>
  122. <script ev:event="DOMActivate" type="javascript">
  123. <![CDATA[
  124. datagrid3.addItem();
  125. ]]>
  126. </script>
  127. </button>
  128. <button id="button1" class="btn2_letter3" style="left:1085px; top:460px; width:53px; height:19px; ">
  129. <caption>행삭제</caption>
  130. <script ev:event="DOMActivate" type="javascript">
  131. <![CDATA[
  132. datagrid3.deleteItem(1);
  133. ]]>
  134. </script>
  135. </button>
  136. <button id="button3" class="btn2_letter2" style="left:1145px; top:460px; width:42px; height:19px; ">
  137. <caption>저장</caption>
  138. </button>
  139. <input id="input16" class="input_default" style="left:154px; top:272px; width:150px; height:19px; "/>
  140. <caption id="caption16" class="cell_1" style="left:0px; top:270px; width:150px; height:23px; text-align:center; vertical-align:middle; ">심사비 예금주</caption>
  141. <caption id="caption4" class="cell_1" style="left:306px; top:270px; width:150px; height:23px; text-align:center; vertical-align:middle; ">임금처 및 연락처</caption>
  142. <input id="input2" class="input_default" style="left:458px; top:272px; width:224px; height:19px; "/>
  143. <caption id="caption5" class="cell_1" style="left:305px; top:460px; width:150px; height:23px; text-align:center; vertical-align:middle; ">임금처 및 연락처</caption>
  144. <input id="input3" class="input_default" style="left:458px; top:462px; width:224px; height:19px; "/>
  145. <input id="input4" class="input_default" style="left:153px; top:462px; width:150px; height:19px; "/>
  146. <caption id="caption6" class="cell_1" style="left:0px; top:460px; width:150px; height:23px; text-align:center; vertical-align:middle; ">심사비 예금주</caption>
  147. <button id="button2" class="btn2_letter2" style="left:760px; top:270px; width:42px; height:19px; ">
  148. <caption>저장</caption>
  149. </button>
  150. <caption id="caption7" style="left:205px; top:242px; width:660px; height:20px; font-size:16px; font-weight:bold; color:#0000ff; ">심사비[PMS: 100.000원, 기타연구비: 300.000원, 연구비가없을경우: 0원으로 표시]</caption>
  151. <line id="line6" class="line_1" style="x1:843px; y1:298px; x2:1195px; y2:297px; "/>
  152. <caption id="caption8" class="cell_1" style="left:894px; top:301px; width:100px; height:23px; text-align:center; vertical-align:middle; ">예산</caption>
  153. <caption id="caption9" class="cell_1" style="left:995px; top:301px; width:100px; height:23px; text-align:center; vertical-align:middle; ">입금누적액</caption>
  154. <caption id="caption10" class="cell_1" style="left:1096px; top:301px; width:100px; height:23px; text-align:center; vertical-align:middle; ">금회입금액</caption>
  155. <input id="input5" class="input_default" style="left:894px; top:326px; width:100px; height:23px; "/>
  156. <input id="input6" class="input_default" style="left:995px; top:326px; width:100px; height:23px; "/>
  157. <input id="input7" class="input_default" style="left:1096px; top:326px; width:100px; height:23px; "/>
  158. <input id="input8" class="input_default" style="left:894px; top:346px; width:100px; height:19px; "/>
  159. <input id="input9" class="input_default" style="left:995px; top:346px; width:100px; height:19px; "/>
  160. <input id="input10" class="input_default" style="left:1096px; top:346px; width:100px; height:19px; "/>
  161. <input id="input11" class="input_default" style="left:894px; top:386px; width:100px; height:19px; "/>
  162. <input id="input12" class="input_default" style="left:995px; top:386px; width:100px; height:19px; "/>
  163. <input id="input13" class="input_default" style="left:1096px; top:386px; width:100px; height:19px; "/>
  164. <input id="input14" class="input_default" style="left:894px; top:366px; width:100px; height:19px; "/>
  165. <input id="input15" class="input_default" style="left:995px; top:366px; width:100px; height:19px; "/>
  166. <input id="input17" class="input_default" style="left:1096px; top:366px; width:100px; height:19px; "/>
  167. <caption id="caption11" class="cell_1" style="left:843px; top:301px; width:50px; height:23px; text-align:center; vertical-align:middle; "/>
  168. <caption id="caption12" class="cell_1" style="left:843px; top:326px; width:50px; height:19px; text-align:center; vertical-align:middle; ">100%</caption>
  169. <caption id="caption13" class="cell_1" style="left:843px; top:346px; width:50px; height:19px; text-align:center; vertical-align:middle; ">50%</caption>
  170. <caption id="caption14" class="cell_1" style="left:843px; top:366px; width:50px; height:19px; text-align:center; vertical-align:middle; ">10%</caption>
  171. <caption id="caption15" class="cell_1" style="left:843px; top:386px; width:50px; height:19px; text-align:center; vertical-align:middle; ">총액</caption>
  172. <line id="line7" class="line_3" style="x1:843px; y1:407px; x2:1198px; y2:407px; "/>
  173. </xhtml:body>
  174. </xhtml:html>