SMIPG00101_CRCC입금관리.xrw 26 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511
  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>Untitle</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <gridacclist>
  11. <item>
  12. <no/>
  13. <subjno/>
  14. <cmpynm/>
  15. <depodg/>
  16. <paykind/>
  17. <depoamt/>
  18. <respstdynm/>
  19. <reqrcpt/>
  20. <depodd/>
  21. <hospcnfmdd/>
  22. <hospcnfmyn/>
  23. <calcissyn/>
  24. <print>출력</print>
  25. <return/>
  26. <email/>
  27. <subjid/>
  28. <hospcd/>
  29. <direcindirecflag/>
  30. </item>
  31. </gridacclist>
  32. <gridaccdtl>
  33. <item>
  34. <subjno/>
  35. <calcissdd/>
  36. <stdysubjnm/>
  37. <roothospidxcasecnt/>
  38. <cmpynm/>
  39. <stdytermfrom/>
  40. <stdytermto/>
  41. <condd/>
  42. <addr/>
  43. </item>
  44. </gridaccdtl>
  45. </main>
  46. <send>
  47. <fromaddress/>
  48. <fromname/>
  49. <toaddress/>
  50. <ccaddress/>
  51. <subject/>
  52. <msg/>
  53. <searchaccwh>
  54. <hospcnfmyn/>
  55. <hospcd/>
  56. <paykind/>
  57. <reqrcpt/>
  58. <stdysubjnm/>
  59. <cmpynm/>
  60. <depoamt/>
  61. <subjno/>
  62. <respstdynm/>
  63. <depoddfrom/>
  64. <depoddto/>
  65. </searchaccwh>
  66. <savesetacc>
  67. <senddata/>
  68. </savesetacc>
  69. <searchinfodtlwh>
  70. <subjid/>
  71. <hospcd/>
  72. </searchinfodtlwh>
  73. </send>
  74. <hidden/>
  75. </root>
  76. </instance>
  77. <submission id="TRICS01011" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/searchaccwh" replace="instance" resultref="/root/main/gridacclist"/>
  78. <submission id="TXICS01004" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savesetacc" replace="instance"/>
  79. <submission id="TXIME00101" mediatype="multipart/form-data" method="form-data-post" ref="/root/send" replace="instance" resultref="/root/hidden"/>
  80. <submission id="TRICS01035" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/searchinfodtlwh" replace="instance" resultref="/root/main/gridaccdtl"/>
  81. </model>
  82. <script type="javascript">
  83. <![CDATA[
  84. function fSetButtonText() {
  85. var printColNum = datagrid2.colRef("print");
  86. var rerutnColNum = datagrid2.colRef("return");
  87. var emsendColNum = datagrid2.colRef("email_send");
  88. var i
  89. for( i = datagrid2.fixedCols; i < datagrid2.rows; i++ ) {
  90. datagrid2.valueMatrix(i, printColNum) = "출력";
  91. datagrid2.valueMatrix(i, rerutnColNum) = "반려";
  92. datagrid2.valueMatrix(i, emsendColNum) = "메일전송";
  93. }
  94. }
  95. ]]>
  96. </script>
  97. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  98. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  99. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  100. <script type="javascript" src="../../../crc/clinicresearchweb/js/ZME00100.js"/>
  101. </xhtml:head>
  102. <xhtml:body guideline="2,773;">
  103. <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:14px; ">
  104. <caption id="caption120" class="tit_1" style="left:0px; top:0px; width:158px; height:14px; ">입금관리</caption>
  105. </group>
  106. <group id="group3" style="left:0px; top:15px; width:1194px; height:65px; vertical-align:top; ">
  107. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:65px; background-color:#fffbf2; border-color:#ffd799; "/>
  108. <button id="button8" class="btn1_letter2" style="left:1003px; top:12px; width:56px; height:22px; ">
  109. <caption>조회</caption>
  110. </button>
  111. <button id="button1" class="btn4_letter2" style="left:1084px; top:11px; width:56px; height:22px; ">
  112. <caption>저장</caption>
  113. </button>
  114. <caption id="caption146" class="search_name" style="left:45px; top:9px; width:112px; height:17px; ">병원선택 :</caption>
  115. <caption id="caption1" class="search_name" style="left:600px; top:9px; width:99px; height:17px; ">과제번호 :</caption>
  116. <select1 id="combo1" class="combo_search" appearance="minimal" style="left:160px; top:34px; width:95px; height:19px; ">
  117. <choices>
  118. <item>
  119. <label>유</label>
  120. <value>1</value>
  121. </item>
  122. <item>
  123. <label>성모병원</label>
  124. <value>2</value>
  125. </item>
  126. </choices>
  127. </select1>
  128. <caption id="caption2" class="search_name" style="left:835px; top:9px; width:79px; height:17px; ">의뢰자 :</caption>
  129. <caption id="caption3" class="search_name" style="left:842px; top:39px; width:74px; height:17px; ">연구자 :</caption>
  130. <caption id="caption4" class="search_name" style="left:600px; top:39px; width:99px; height:17px; ">입금액 :</caption>
  131. <caption id="caption5" class="search_name" style="left:45px; top:34px; width:112px; height:17px; ">입금확인구분 :</caption>
  132. <select1 id="combo64" class="combo_search" appearance="minimal" style="left:140px; top:9px; width:95px; height:19px; ">
  133. <choices>
  134. <item>
  135. <label>유</label>
  136. <value>1</value>
  137. </item>
  138. <item>
  139. <label>성모병원</label>
  140. <value>2</value>
  141. </item>
  142. </choices>
  143. </select1>
  144. <input id="input26" class="input_search" style="left:709px; top:9px; width:100px; height:19px; "/>
  145. <caption id="caption6" class="search_name" style="left:265px; top:39px; width:99px; height:17px; ">과제명 :</caption>
  146. <input id="input1" class="input_search" style="left:909px; top:9px; width:90px; height:19px; "/>
  147. <input id="input2" class="input_search" style="left:919px; top:39px; width:90px; height:19px; "/>
  148. <input id="input3" class="input_search" style="left:709px; top:39px; width:121px; height:19px; "/>
  149. <input id="input4" class="input_search" style="left:354px; top:39px; width:226px; height:19px; "/>
  150. <caption id="caption143" class="search_name" style="left:265px; top:9px; width:90px; height:17px; ">입금기간 :</caption>
  151. <input id="input22" class="input_s_essential" inputtype="date" style="left:477px; top:9px; width:100px; height:19px; "/>
  152. <input id="input5" class="input_s_essential" inputtype="date" style="left:357px; top:9px; width:100px; height:19px; "/>
  153. <caption id="caption144" class="search_n_b" style="left:461px; top:10px; width:12px; height:17px; font-weight:bolder; ">~</caption>
  154. </group>
  155. <group id="group1" style="left:0px; top:15px; width:1194px; height:65px; vertical-align:top; ">
  156. <shape id="roundrect2" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:65px; background-color:#fffbf2; border-color:#ffd799; "/>
  157. <button id="button2" class="btn1_letter2" style="left:1048px; top:17px; width:56px; height:22px; ">
  158. <caption>조회</caption>
  159. </button>
  160. <button id="button3" class="btn4_letter2" style="left:1119px; top:16px; width:56px; height:22px; ">
  161. <caption>저장</caption>
  162. </button>
  163. <caption id="caption7" class="search_name" style="left:45px; top:9px; width:112px; height:17px; ">병원선택 :</caption>
  164. <caption id="caption8" class="search_name" style="left:610px; top:9px; width:94px; height:17px; ">과제번호 :</caption>
  165. <select1 id="combo2" class="combo_search" appearance="minimal" style="left:160px; top:34px; width:95px; height:19px; ">
  166. <choices>
  167. <item>
  168. <label>유</label>
  169. <value>1</value>
  170. </item>
  171. <item>
  172. <label>성모병원</label>
  173. <value>2</value>
  174. </item>
  175. </choices>
  176. </select1>
  177. <caption id="caption9" class="search_name" style="left:840px; top:9px; width:79px; height:17px; ">의뢰자 :</caption>
  178. <caption id="caption10" class="search_name" style="left:842px; top:39px; width:74px; height:17px; ">연구자 :</caption>
  179. <caption id="caption11" class="search_name" style="left:610px; top:39px; width:89px; height:17px; ">입금액 :</caption>
  180. <caption id="caption12" class="search_name" style="left:45px; top:34px; width:112px; height:17px; ">입금확인구분 :</caption>
  181. <select1 id="combo3" class="combo_search" appearance="minimal" style="left:140px; top:9px; width:95px; height:19px; ">
  182. <choices>
  183. <item>
  184. <label>유</label>
  185. <value>1</value>
  186. </item>
  187. <item>
  188. <label>성모병원</label>
  189. <value>2</value>
  190. </item>
  191. </choices>
  192. </select1>
  193. <input id="input6" class="input_search" style="left:709px; top:9px; width:121px; height:19px; "/>
  194. <caption id="caption13" class="search_name" style="left:265px; top:39px; width:99px; height:17px; ">과제명 :</caption>
  195. <input id="input7" class="input_search" style="left:914px; top:9px; width:96px; height:19px; "/>
  196. <input id="input8" class="input_search" style="left:914px; top:39px; width:90px; height:19px; "/>
  197. <input id="input9" class="input_search" style="left:709px; top:39px; width:121px; height:19px; "/>
  198. <input id="input10" class="input_search" style="left:354px; top:39px; width:226px; height:19px; "/>
  199. <caption id="caption14" class="search_name" style="left:265px; top:9px; width:90px; height:17px; ">입금기간 :</caption>
  200. <input id="input11" class="input_s_essential" inputtype="date" style="left:477px; top:9px; width:100px; height:19px; "/>
  201. <input id="input12" class="input_s_essential" inputtype="date" style="left:357px; top:9px; width:100px; height:19px; "/>
  202. <caption id="caption15" class="search_n_b" style="left:461px; top:10px; width:12px; height:17px; font-weight:bolder; ">~</caption>
  203. </group>
  204. <group id="group2" style="left:0px; top:15px; width:1194px; height:65px; vertical-align:top; ">
  205. <shape id="roundrect3" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:65px; background-color:#fffbf2; border-color:#ffd799; "/>
  206. <button id="button4" class="btn1_letter2" style="left:982px; top:8px; width:56px; height:22px; ">
  207. <caption>조회</caption>
  208. <script type="javascript" ev:event="DOMActivate">
  209. <![CDATA[
  210. model.setValue("/root/send/searchaccwh/hospcnfmyn", model.getValue("/root/send/searchaccwh/hospcnfmyn"));
  211. model.setValue("/root/send/searchaccwh/hospcd", model.getValue("/root/send/searchaccwh/hospcd"));
  212. model.setValue("/root/send/searchaccwh/paykind", model.getValue("/root/send/searchaccwh/paykind"));
  213. model.setValue("/root/send/searchaccwh/reqrcpt", model.getValue("/root/send/searchaccwh/reqrcpt"));
  214. model.setValue("/root/send/searchaccwh/stdysubjnm", model.getValue("/root/send/searchaccwh/stdysubjnm"));
  215. model.setValue("/root/send/searchaccwh/cmpynm", model.getValue("/root/send/searchaccwh/cmpynm"));
  216. model.setValue("/root/send/searchaccwh/depoamt", model.getValue("/root/send/searchaccwh/depoamt"));
  217. model.setValue("/root/send/searchaccwh/subjno", model.getValue("/root/send/searchaccwh/subjno"));
  218. model.setValue("/root/send/searchaccwh/respstdynm", model.getValue("/root/send/searchaccwh/respstdynm"));
  219. model.setValue("/root/send/searchaccwh/depoddfrom", model.getValue("/root/send/searchaccwh/depoddfrom"));
  220. model.setValue("/root/send/searchaccwh/depoddto", model.getValue("/root/send/searchaccwh/depoddto"));
  221. submit("TRICS01011");
  222. fSetButtonText();
  223. ]]>
  224. </script>
  225. </button>
  226. <button id="button5" class="btn4_letter2" style="left:1049px; top:7px; width:56px; height:22px; ">
  227. <caption>저장</caption>
  228. <script type="javascript" ev:event="DOMActivate">
  229. <![CDATA[
  230. model.setValue("/root/send/savesetacc/senddata",datagrid2.getUpdateData());
  231. submit("TXICS01004");
  232. ]]>
  233. </script>
  234. </button>
  235. <caption id="caption16" class="search_name" style="left:15px; top:9px; width:112px; height:17px; ">병원선택 :</caption>
  236. <caption id="caption17" class="search_name" style="left:635px; top:39px; width:89px; height:17px; ">과제번호 :</caption>
  237. <select1 id="combo4" ref="/root/send/searchaccwh/paykind" class="combo_search" appearance="minimal" style="left:395px; top:9px; width:65px; height:19px; ">
  238. <choices>
  239. <item>
  240. <label>유</label>
  241. <value>1</value>
  242. </item>
  243. <item>
  244. <label>성모병원</label>
  245. <value>2</value>
  246. </item>
  247. </choices>
  248. </select1>
  249. <caption id="caption18" class="search_name" style="left:805px; top:9px; width:84px; height:17px; ">의뢰자 :</caption>
  250. <caption id="caption19" class="search_name" style="left:807px; top:39px; width:74px; height:17px; ">연구자 :</caption>
  251. <caption id="caption20" class="search_name" style="left:470px; top:39px; width:79px; height:17px; ">입금액 :</caption>
  252. <caption id="caption21" class="search_name" style="left:305px; top:9px; width:97px; height:17px; ">입금종류 :</caption>
  253. <select1 id="combo5" ref="/root/send/searchaccwh/hospcd" class="combo_search" appearance="minimal" style="left:105px; top:9px; width:190px; height:19px; ">
  254. <choices>
  255. <item>
  256. <label>유</label>
  257. <value>1</value>
  258. </item>
  259. <item>
  260. <label>성모병원</label>
  261. <value>2</value>
  262. </item>
  263. </choices>
  264. </select1>
  265. <input id="input13" ref="/root/send/searchaccwh/depoamt" class="input_search" style="left:544px; top:39px; width:86px; height:19px; "/>
  266. <caption id="caption22" class="search_name" style="left:635px; top:9px; width:84px; height:17px; ">과제명 :</caption>
  267. <input id="input14" ref="/root/send/searchaccwh/cmpynm" class="input_search" style="left:884px; top:9px; width:86px; height:19px; "/>
  268. <input id="input15" ref="/root/send/searchaccwh/respstdynm" class="input_search" style="left:884px; top:39px; width:86px; height:19px; "/>
  269. <input id="input16" ref="/root/send/searchaccwh/stdysubjnm" class="input_search" style="left:714px; top:9px; width:86px; height:19px; "/>
  270. <input id="input17" ref="/root/send/searchaccwh/subjno" class="input_search" style="left:724px; top:39px; width:76px; height:19px; "/>
  271. <caption id="caption23" class="search_name" style="left:15px; top:39px; width:90px; height:17px; ">입금기간 :</caption>
  272. <input id="input18" ref="/root/send/searchaccwh/depoddto" class="input_s_essential" inputtype="date" style="left:207px; top:39px; width:90px; height:19px; "/>
  273. <input id="input19" ref="/root/send/searchaccwh/depoddfrom" class="input_s_essential" inputtype="date" style="left:102px; top:39px; width:90px; height:19px; "/>
  274. <caption id="caption24" class="search_n_b" style="left:191px; top:39px; width:12px; height:17px; font-weight:bolder; ">~</caption>
  275. <caption id="caption25" class="search_name" style="left:305px; top:39px; width:97px; height:17px; ">입금확인 :</caption>
  276. <select1 id="combo6" ref="/root/send/searchaccwh/hospcnfmyn" class="combo_search" appearance="minimal" style="left:395px; top:39px; width:65px; height:19px; ">
  277. <choices>
  278. <item>
  279. <label>유</label>
  280. <value>1</value>
  281. </item>
  282. <item>
  283. <label>성모병원</label>
  284. <value>2</value>
  285. </item>
  286. </choices>
  287. </select1>
  288. <caption id="caption26" class="search_name" style="left:470px; top:9px; width:79px; height:17px; ">계산서 :</caption>
  289. <select1 id="combo7" ref="/root/send/searchaccwh/reqrcpt" class="combo_search" appearance="minimal" style="left:545px; top:9px; width:85px; height:19px; ">
  290. <choices>
  291. <item>
  292. <label>유</label>
  293. <value>1</value>
  294. </item>
  295. <item>
  296. <label>성모병원</label>
  297. <value>2</value>
  298. </item>
  299. </choices>
  300. </select1>
  301. <button id="button25" class="btn3_letter4" style="left:982px; top:36px; width:80px; height:22px; ">
  302. <caption>지출정보</caption>
  303. </button>
  304. <button id="button6" class="btn3_letter4" style="left:1099px; top:36px; width:80px; height:22px; ">
  305. <caption>메일발송</caption>
  306. </button>
  307. <button id="button38" class="btn4_letter3" style="left:1115px; top:8px; width:68px; height:22px; ">
  308. <caption>초기화</caption>
  309. <script type="javascript" ev:event="DOMActivate">
  310. <![CDATA[
  311. model.resetInstanceNode("/root/send/searchaccwh");
  312. model.refresh();
  313. ]]>
  314. </script>
  315. </button>
  316. <button id="button7" class="btn3_letter5" visibility="hidden" style="left:255px; top:25px; width:100px; height:20px; ">
  317. <caption>button7</caption>
  318. <script type="javascript" ev:event="DOMActivate">
  319. <![CDATA[
  320. fSetButtonText();
  321. ]]>
  322. </script>
  323. </button>
  324. </group>
  325. <line id="line2" class="line_1" style="x1:0px; y1:80px; x2:1194px; y2:80px; "/>
  326. <datagrid id="datagrid2" nodeset="/root/main/gridacclist/item" visibility="visible" caption="^과제번호^의뢰회사/의뢰담당^입금차수^입금종류^입금액^연구자^청구/영수^입금일자^입금확인일자^입금확인^계산서발행^계산서발행^계산서발행^계산서발행(계산서메일발송처)^계산서발행(계산서메일발송처)^caption1^caption2^caption3" colsep="^" colwidth="28, 96, 110, 54, 54, 63, 56, 60, 89, 85, 55, 50, 53, 53, 179, 65, 35, 37, 46" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:85px; width:1190px; height:393px; ">
  327. <col ref="no" type="checkbox"/>
  328. <col ref="subjno"/>
  329. <col ref="cmpynm"/>
  330. <col ref="depodg"/>
  331. <col class="gridcombo" ref="paykind" type="combo">
  332. <choices>
  333. <item>
  334. <label>심사비</label>
  335. <value>1</value>
  336. </item>
  337. <item>
  338. <label>연구비</label>
  339. <value>2</value>
  340. </item>
  341. </choices>
  342. </col>
  343. <col ref="depoamt"/>
  344. <col ref="respstdynm"/>
  345. <col class="gridcombo" ref="reqrcpt" type="combo">
  346. <choices>
  347. <item>
  348. <label>청구</label>
  349. <value>1</value>
  350. </item>
  351. <item>
  352. <label>영수</label>
  353. <value>2</value>
  354. </item>
  355. </choices>
  356. </col>
  357. <col ref="depodd" type="inputdate"/>
  358. <col ref="hospcnfmdd" type="inputdate"/>
  359. <col class="gridcombo" ref="hospcnfmyn" type="combo">
  360. <choices>
  361. <item>
  362. <label>확인</label>
  363. <value>Y</value>
  364. </item>
  365. <item>
  366. <label>미확인</label>
  367. <value>N</value>
  368. </item>
  369. </choices>
  370. </col>
  371. <col class="gridcombo" ref="calcissyn" type="combo">
  372. <choices>
  373. <item>
  374. <label>발행</label>
  375. <value>Y</value>
  376. </item>
  377. <item>
  378. <label>미발행</label>
  379. <value>N</value>
  380. </item>
  381. <item>
  382. <label>청구</label>
  383. <value>R</value>
  384. </item>
  385. </choices>
  386. </col>
  387. <col ref="print" style="padding-left:18; background-image:../../../com/commonweb/images/btn2_letter2.gif; background-position:center; cursor:hand; "/>
  388. <col ref="return" style="padding-left:18; background-image:../../../com/commonweb/images/btn2_letter2.gif; background-position:center; cursor:hand; "/>
  389. <col ref="email" type="input"/>
  390. <col ref="email_send" style="padding-left:12; background-image:../../../com/commonweb/images/btn2_letter4.gif; background-position:center; cursor:hand; "/>
  391. <col ref="subjid" visibility="hidden"/>
  392. <col ref="hospcd" visibility="hidden"/>
  393. <col ref="direcindirecflag" visibility="hidden"/>
  394. <script type="javascript" ev:event="onclick">
  395. <![CDATA[
  396. if( datagrid2.col == 16 ){
  397. //window.load("SPZME00100_이메일전송.xrw","modal","code", "left:600px; top:50px; width:550px; height:540px;min:hidden;max:hidden;resize:true;");
  398. var pos;
  399. var filename;
  400. var n;
  401. files = "C:\\CMCProject\\application\\components\\crc\\download\\KCMC06MT1111세금계산서.jpg";
  402. alert("files"+files);
  403. filelist = files.split("|");
  404. for(var i = 0 ; i < filelist.length ; i++ ) {
  405. if(filelist[i] != "")
  406. {
  407. grd_attach.addItem();
  408. n = grd_attach.rows - 1;
  409. grd_attach.valueMatrix(n, 0) = filelist[i];
  410. pos=filelist[i].lastIndexOf("\\");
  411. filename=filelist[i].substring(pos+1);
  412. alert("filename"+filename);
  413. grd_attach.valueMatrix(n, 1) = filename;
  414. grd_attach.valueMatrix(n, 2) = upload_attach.getFileSize(filelist[i]);
  415. }
  416. }
  417. alert("upload_attach.getTotalFileSize();"+upload_attach.getTotalFileSize());
  418. opt_filetotal.value = upload_attach.getTotalFileSize();
  419. var fromaddressValue= "masrtecrcc@crcc.com";
  420. var fromnameValue= "관리자";
  421. var toaddressValue= model.getValue("/root/main/gridacclist/item[" + datagrid2.row + "]/email");
  422. var subjectValue= "세금계산서";
  423. var msgValue= "세금계산서발송합니다.";
  424. model.makeValue("/root/send/fromaddress", fromaddressValue);
  425. model.makeValue("/root/send/fromname", fromnameValue);
  426. model.makeValue("/root/send/toaddress", toaddressValue);
  427. model.makeValue("/root/send/subject", subjectValue);
  428. model.makeValue("/root/send/msg", msgValue);
  429. //model.makeValue("/root/send/attach/file", files);
  430. //model.makeValue("/root/send/attach/filename", filename);
  431. //model.makeValue("/root/send/attach/filesize", upload_attach.getTotalFileSize());
  432. //alert(toaddressValue);
  433. fEmailSubmit();
  434. }
  435. ]]>
  436. </script>
  437. <script type="javascript" ev:event="ondblclick">
  438. <![CDATA[
  439. var subjidValue = model.getValue("/root/main/gridacclist/item[" + datagrid2.row + "]/subjid");
  440. //var hospnmValue = model.getValue("/root/main/gridacclist/item[" + datagrid2.row + "]/hospnm");
  441. var subjnoValue = model.getValue("/root/main/gridacclist/item[" + datagrid2.row + "]/subjno");
  442. var hospcdValue = model.getValue("/root/main/gridacclist/item[" + datagrid2.row + "]/hospcd");
  443. model.makeValue("/root/send/searchinfodtlwh/subjid", subjidValue);
  444. model.makeValue("/root/send/searchinfodtlwh/hospcd", hospcdValue);
  445. submit("TRICS01035");
  446. model.makeValue("/root/main/gridaccdtl/item/subjno", subjnoValue);
  447. model.refresh();
  448. ]]>
  449. </script>
  450. </datagrid>
  451. <upload id="upload_attach" nodeset="/root/send/attach/file" filecount="5" filesize="100000000" validate="true" style="left:240px; top:245px; width:100px; height:20px; "/>
  452. <output id="opt_filetotal" visibility="hidden" format="#,### &quot;bytes&quot;" style="left:385px; top:375px; width:115px; height:19px; font-weight:bold; text-align:right; "/>
  453. <datagrid id="grd_attach" nodeset="/root/send/attach" visibility="hidden" caption="경로^첨부파일이름^사이즈" colwidth="0, 384, 114" extendlastcol="scroll" mergecellsfixedrows="bycolrec" style="left:0px; top:266px; width:500px; height:107px; ">
  454. <col ref="file" style="left:0px; top:23px; width:250px; height:23px; "/>
  455. <col ref="filename"/>
  456. <col ref="filesize" format="#,### &quot;bytes&quot;" style="text-align:right; "/>
  457. </datagrid>
  458. <caption id="caption118" class="tit_2" style="left:20px; top:490px; width:91px; height:13px; ">입금내역</caption>
  459. <input id="input20" ref="/root/main/gridaccdtl/item/stdysubjnm" class="input_search" style="left:75px; top:535px; width:140px; height:19px; "/>
  460. <input id="input21" ref="/root/main/gridaccdtl/item/cmpynm" class="input_search" style="left:76px; top:560px; width:140px; height:19px; "/>
  461. <caption id="caption31" class="cell_1" style="left:5px; top:588px; width:65px; height:23px; text-align:center; vertical-align:middle; ">계약일자</caption>
  462. <caption id="caption32" class="cell_1" style="left:5px; top:563px; width:65px; height:23px; text-align:center; vertical-align:middle; ">의뢰자</caption>
  463. <input id="input23" ref="/root/main/gridaccdtl/item/stdytermfrom" class="input_s_essential" inputtype="date" style="left:295px; top:565px; width:95px; height:19px; "/>
  464. <caption id="caption47" class="search_n_b" style="left:387px; top:565px; width:12px; height:17px; font-weight:bolder; ">~</caption>
  465. <input id="input24" ref="/root/main/gridaccdtl/item/stdytermto" class="input_s_essential" inputtype="date" style="left:400px; top:565px; width:100px; height:19px; "/>
  466. <caption id="caption33" class="cell_1" style="left:5px; top:511px; width:65px; height:23px; text-align:center; vertical-align:middle; ">과제번호</caption>
  467. <caption id="caption34" class="cell_1" style="left:225px; top:563px; width:65px; height:23px; text-align:center; vertical-align:middle; ">연구기간</caption>
  468. <caption id="caption35" class="cell_1" style="left:5px; top:537px; width:65px; height:23px; text-align:center; vertical-align:middle; ">과제명</caption>
  469. <input id="input25" ref="/root/main/gridaccdtl/item/subjno" class="input_search" style="left:75px; top:512px; width:140px; height:19px; "/>
  470. <multilinegrid id="multilinegrid1" caption="예산^입금누적액^금회입금액^입금총액|100%^입금누적액^금회입금액^입금총액|5%^입금누적액^금회입금액^입금총액|10%^입금누적액^금회입금액^입금총액" colsep="^" colwidth="121, 143, 135, 158" rowsep="|" mergecellsfixedrows="bycolrec" style="left:590px; top:490px; width:575px; height:130px; ">
  471. <row>
  472. <col/>
  473. <col/>
  474. <col/>
  475. <col/>
  476. </row>
  477. <row>
  478. <col/>
  479. <col/>
  480. <col/>
  481. <col/>
  482. </row>
  483. </multilinegrid>
  484. <caption id="caption36" class="cell_1" style="left:225px; top:515px; width:120px; height:23px; text-align:center; vertical-align:middle; ">계산서발행일</caption>
  485. <input id="input28" ref="/root/main/gridaccdtl/item/calcissdd" class="input_search" style="left:350px; top:518px; width:115px; height:19px; "/>
  486. <input id="input29" ref="/root/main/gridaccdtl/item/addr" class="input_search" style="left:395px; top:589px; width:185px; height:19px; "/>
  487. <caption id="caption37" class="cell_1" style="left:225px; top:587px; width:167px; height:23px; text-align:center; vertical-align:middle; ">계산서 발송처-우편번호,주소</caption>
  488. <input id="input30" ref="/root/main/gridaccdtl/item/condd" class="input_search" style="left:75px; top:590px; width:140px; height:19px; "/>
  489. <caption id="caption38" class="cell_1" style="left:225px; top:540px; width:120px; height:23px; text-align:center; vertical-align:middle; ">본원증례수</caption>
  490. <input id="input31" ref="/root/main/gridaccdtl/item/roothospidxcasecnt" class="input_search" style="left:350px; top:542px; width:115px; height:19px; "/>
  491. <select id="checkbox2" overflow="visible" appearance="full" style="left:27px; top:87px; width:15px; height:20px; border-style:none; ">
  492. <choices>
  493. <item>
  494. <label/>
  495. <value>checkbox1</value>
  496. </item>
  497. </choices>
  498. </select>
  499. </xhtml:body>
  500. </xhtml:html>