SMRIS00301_과제별입출금관리.xfdl 60 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399
  1. <?xml version="1.0" encoding="utf-8" standalone="no"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMRIS00301" position="absolute 0 0 1195px 780px" titletext="과제별 입출금관리" onload="SMRIS00301_onload">
  5. <Layouts>
  6. <Layout>
  7. <Static id="caption34" class="tit_2" position="absolute 0 450 161 466" text="입출금이력 및 첨부파일"/>
  8. <Shape id="line3" class="line_10" linetype="horizontal" position="absolute 0 468 430 471" style="font:돋움체,,돋움체;" anchor="default"/>
  9. <Div id="group2" position="absolute 0 26 430 105" style="font:돋움체,,돋움체;align: top;" class="div_SA">
  10. <Layouts>
  11. <Layout>
  12. <Edit id="input3" class="input_default" taborder="10" visible="true" position="absolute 126 45 308 64" style="" anchor="default" onkeypress="group2_input3_onkeypress" onkeydown="group2_input3_onkeydown" oneditclick="group2_input3_oneditclick"/>
  13. <Static id="caption2" class="search_name" position="absolute 12 45 125 62" text="과 제 번 호 :" anchor="left top"/>
  14. <Static id="caption4" class="search_name" position="absolute 12 21 132 38" text="책임 연구원 :" anchor="left top"/>
  15. <Button id="btn_useid" class="icon_search" taborder="5" position="absolute 314 19 330 35" style="" text="" onclick="group2_btn_useid_onclick" anchor="default"/>
  16. <Edit id="output1" position="absolute 226 19 307 38" style="" anchor="default" readonly="true" enable="false"/>
  17. <Edit id="output2" position="absolute 127 19 222 38" style="" anchor="default" readonly="true" enable="false"/>
  18. <Button id="btn_search" class="btn1" position="absolute 313 44 369 66" style="" text="조회" onclick="group2_btn_search_onclick" anchor="default"/>
  19. <CheckBox text="종결포함" truevalue="Y" falsevalue="" datacolumn="datacolumn" codecolumn="codecolumn" columncount="-1" rowcount="-1" id="cbx_e" position="absolute 335 19 405 39" style="" anchor="default">
  20. <Dataset id="innerdataset">
  21. <ColumnInfo>
  22. <Column id="codecolumn"/>
  23. <Column id="datacolumn"/>
  24. </ColumnInfo>
  25. <Rows>
  26. <Row>
  27. <Col id="codecolumn">Y</Col>
  28. <Col id="datacolumn">종결포함</Col>
  29. </Row>
  30. </Rows>
  31. </Dataset>
  32. </CheckBox>
  33. </Layout>
  34. </Layouts>
  35. </Div>
  36. <Shape id="line1" class="line_10" linetype="horizontal" position="absolute 0 128 430 131" anchor="default"/>
  37. <Grid id="grd_ioamtlist" binddataset="ds_main_ioamtinfo_ioamtlist" class="datagrid2" taborder="21" position="absolute 0 471 430 774" style="font:돋움체,,돋움체;" oncelldblclick="grd_ioamtlist_oncelldblclick" anchor="left top bottom">
  38. <Formats>
  39. <Format id="default">
  40. <Columns>
  41. <Column size="62"/>
  42. <Column size="81"/>
  43. <Column size="160"/>
  44. <Column size="35"/>
  45. <Column size="71"/>
  46. <Column size="0"/>
  47. <Column size="0"/>
  48. <Column size="0"/>
  49. <Column size="0"/>
  50. <Column size="0"/>
  51. <Column size="0"/>
  52. </Columns>
  53. <Rows>
  54. <Row size="27" band="head"/>
  55. <Row size="25"/>
  56. </Rows>
  57. <Band id="head">
  58. <Cell text="업무구분"/>
  59. <Cell col="1" text="발생일자"/>
  60. <Cell col="2" text="소분류"/>
  61. <Cell col="3" text="일련&#10;번호"/>
  62. <Cell col="4" text="입력자"/>
  63. <Cell col="5" text="과제&#10;코드"/>
  64. <Cell col="6"/>
  65. <Cell col="7" text="파일명"/>
  66. <Cell col="8" text="파일경로"/>
  67. <Cell col="9" text="비고"/>
  68. <Cell col="10" text="amtcd"/>
  69. </Band>
  70. <Band id="body">
  71. <Cell displaytype="combo" style="align:center;" text="bind:bizflag" combodataset="ds_init_bizflaglist" combocodecol="cdid" combodatacol="cdnm"/>
  72. <Cell col="1" displaytype="date" text="bind:bsdd"/>
  73. <Cell col="2" style="align:left;" text="bind:acntnm"/>
  74. <Cell col="3" text="bind:seqno"/>
  75. <Cell col="4" text="bind:bsnm"/>
  76. <Cell col="5" text="bind:projcd"/>
  77. <Cell col="6" text="bind:totamt"/>
  78. <Cell col="7" text="bind:attfilenm"/>
  79. <Cell col="8" text="bind:attfilepath"/>
  80. <Cell col="9" text="bind:bigo"/>
  81. </Band>
  82. </Format>
  83. </Formats>
  84. </Grid>
  85. <Edit id="ipt_servcd" enable="false" position="absolute 512 29 617 48" style="background:#ecebecff;" anchor="default"/>
  86. <Edit id="input5" enable="false" position="absolute 620 29 1192 48" style="background:#ecebecff;" anchor="left top right"/>
  87. <Static id="cap_goodflagengnm" class="cell_1" position="absolute 992 52 1072 74" style="align:left middle;" text="작성일자"/>
  88. <Shape id="line4" class="line_10" linetype="horizontal" position="absolute 435 26 1193 29" style="font:돋움체,,돋움체;" anchor="left top right"/>
  89. <Static id="caption7" class="cell_1" position="absolute 435 29 510 51" style="align:left middle;" text="과 제"/>
  90. <Shape id="line5" class="line_2" linetype="horizontal" position="absolute 436 50 1170 53" style="font:돋움체,,돋움체;" anchor="default"/>
  91. <Calendar id="input6" position="absolute 1074 53 1192 72" anchor="left top right" enable="true"/>
  92. <Static id="caption8" class="cell_1" position="absolute 806 52 886 74" style="align:left middle;" text="책임연구원"/>
  93. <Edit id="input1" enable="false" position="absolute 889 53 989 72" style="background:#ecebecff;" anchor="default"/>
  94. <Static id="caption1" class="cell_1" position="absolute 435 52 510 74" style="align:left middle;" text="의뢰기관"/>
  95. <Edit id="out_reqfirm" class="output_fix" position="absolute 512 53 617 72" style="" anchor="default" readonly="true" enable="false"/>
  96. <Static id="caption9" class="cell_1" position="absolute 620 52 700 74" style="align:left middle;" text="연구비총액"/>
  97. <MaskEdit id="out_projamt" class="output_fix" position="absolute 703 53 803 72" style="align:right ;" anchor="default" readonly="true" enable="false" oneditclick="out_projamt_oneditclick" mask="#,###"/>
  98. <Shape id="line6" class="line_2" linetype="horizontal" position="absolute 435 75 1169 78" style="font:돋움체,,돋움체;" anchor="default"/>
  99. <Static id="caption3" class="cell_2" position="absolute 435 77 510 99" style="align:left middle;" text="입금액"/>
  100. <Shape id="line7" class="line_2" linetype="horizontal" position="absolute 435 100 1169 103" style="font:돋움체,,돋움체;" anchor="default"/>
  101. <Static id="caption5" class="cell_2" position="absolute 620 77 700 99" style="align:left middle;" text="지출액"/>
  102. <Static id="caption10" class="cell_2" position="absolute 806 77 886 99" style="align:left middle;" text="잔 액"/>
  103. <MaskEdit id="opt_bstotiamt" class="output_fix" position="absolute 512 78 617 97" style="align:right ;" anchor="default" readonly="true" enable="false" mask="#,###"/>
  104. <MaskEdit id="opt_bstotoamt" class="output_fix" position="absolute 703 78 803 97" style="align:right ;" anchor="default" readonly="true" enable="false" mask="#,###"/>
  105. <MaskEdit id="opt_bstotjamt" class="output_fix" position="absolute 889 78 989 97" style="align:right ;" anchor="default" readonly="true" enable="false" mask="#,###"/>
  106. <Button id="button6" class="btn5" position="absolute 343 448 429 467" style="" text="최종이력내역" onclick="button6_onclick"/>
  107. <Static id="caption11" class="tit_2" position="absolute 0 110 99 126" style="" text="과제 LIST"/>
  108. <Button id="button5" class="icon_top" position="absolute 376 108 402 127" style="" text="" onclick="button5_onclick"/>
  109. <Button id="button8" class="icon_bottom" position="absolute 404 108 430 127" style="" text="" onclick="button8_onclick"/>
  110. <Grid id="grd_proj" binddataset="ds_main_studyprojinfo_studyprojlist" class="datagrid2" taborder="21" position="absolute 0 131 430 441" style="font:돋움체,,돋움체;" onaftersort="grd_proj_onaftersort" oncelldblclick="grd_proj_oncelldblclick">
  111. <Formats>
  112. <Format id="default">
  113. <Columns>
  114. <Column size="25"/>
  115. <Column size="42"/>
  116. <Column size="0"/>
  117. <Column size="0"/>
  118. <Column size="0"/>
  119. <Column size="125"/>
  120. <Column size="263"/>
  121. <Column size="44"/>
  122. <Column size="0"/>
  123. <Column size="0"/>
  124. </Columns>
  125. <Rows>
  126. <Row size="25" band="head"/>
  127. <Row size="25"/>
  128. </Rows>
  129. <Band id="head">
  130. <Cell/>
  131. <Cell col="1" text="상태"/>
  132. <Cell col="2" text="기관코드"/>
  133. <Cell col="3" text="코드"/>
  134. <Cell col="4" text="책임연구원"/>
  135. <Cell col="5" text="과제번호"/>
  136. <Cell col="6" text="과제명"/>
  137. <Cell col="7" text="과제&#10;코드"/>
  138. <Cell col="8" text="과제&#10;코드"/>
  139. <Cell col="9" text="todd"/>
  140. </Band>
  141. <Band id="body">
  142. <Cell celltype="head"/>
  143. <Cell col="1" displaytype="combo" style="align:center;" text="bind:status" combodataset="ds_init_status" combocodecol="cdid" combodatacol="cdnm"/>
  144. <Cell col="2" text="bind:instcd"/>
  145. <Cell col="3" text="bind:projcd"/>
  146. <Cell col="4" text="bind:rshid"/>
  147. <Cell col="5" text="bind:studycd"/>
  148. <Cell col="6" style="align:left middle;" text="bind:projnm"/>
  149. <Cell col="7" text="bind:projcd"/>
  150. <Cell col="8" text="bind:fromdd"/>
  151. <Cell col="9" text="bind:todd"/>
  152. </Band>
  153. </Format>
  154. </Formats>
  155. </Grid>
  156. <Tab id="switch1" position="absolute 435 103 1193 776" style="" anchor="all" onchanged="switch1_onchanged">
  157. <Tabpages>
  158. <Tabpage id="case2" position="absolute 0 0 10000 10000" style="" anchor="default" text="최종 이력내역">
  159. <Layouts>
  160. <Layout>
  161. <Grid id="grd_excelioamtlist" binddataset="ds_main_ioamtprint_ioamtprintlist" class="datagrid2" taborder="21" position="absolute 0 3 758 644" style="font:맑은고딕,,맑은고딕;" oncelldblclick="switch1_case2_grd_excelioamtlist_oncelldblclick" anchor="all">
  162. <Formats>
  163. <Format id="default">
  164. <Columns>
  165. <Column size="85"/>
  166. <Column size="150"/>
  167. <Column size="85"/>
  168. <Column size="85"/>
  169. <Column size="85"/>
  170. <Column size="85"/>
  171. <Column size="180"/>
  172. </Columns>
  173. <Rows>
  174. <Row size="25" band="head"/>
  175. <Row size="25"/>
  176. <Row size="24" band="summ"/>
  177. </Rows>
  178. <Band id="head">
  179. <Cell text="일시"/>
  180. <Cell col="1" text="소분류"/>
  181. <Cell col="2" text="입금액"/>
  182. <Cell col="3" text="공제금액"/>
  183. <Cell col="4" text="지출액"/>
  184. <Cell col="5" text="지출잔액"/>
  185. <Cell col="6" text="비고"/>
  186. </Band>
  187. <Band id="body">
  188. <Cell displaytype="date" text="bind:bsdd"/>
  189. <Cell col="1" style="align:left;" text="bind:acntnm"/>
  190. <Cell col="2" displaytype="number" text="bind:inamt"/>
  191. <Cell col="3" displaytype="number" text="bind:gongamt"/>
  192. <Cell col="4" displaytype="number" text="bind:outamt"/>
  193. <Cell col="5" displaytype="number" text="bind:jamt"/>
  194. <Cell col="6" style="align:left;" text="bind:bigo"/>
  195. </Band>
  196. <Band id="summary">
  197. <Cell text="합계"/>
  198. <Cell col="1"/>
  199. <Cell col="2" displaytype="number" expr="expr:getSum('inamt')"/>
  200. <Cell col="3" displaytype="number" expr="expr:getSum('gongamt')"/>
  201. <Cell col="4" displaytype="number" expr="expr:getSum('outamt')"/>
  202. <Cell col="5" displaytype="number"/>
  203. <Cell col="6"/>
  204. </Band>
  205. </Format>
  206. </Formats>
  207. </Grid>
  208. <Shape id="line8" class="line_10" linetype="horizontal" position="absolute 0 0 758 3" style="font:맑은고딕,,맑은고딕;" anchor="left top right"/>
  209. </Layout>
  210. </Layouts>
  211. </Tabpage>
  212. <Tabpage id="case4" anchor="default" text="계정과목별내역">
  213. <Layouts>
  214. <Layout>
  215. <Grid id="grd_ioamtgrup" binddataset="ds_main_ioamtgrup_ioamtgrup" class="datagrid2" taborder="21" position="absolute 0 3 758 644" style="font:맑은고딕,,맑은고딕;" anchor="all">
  216. <Formats>
  217. <Format id="default">
  218. <Columns>
  219. <Column size="166"/>
  220. <Column size="85"/>
  221. <Column size="85"/>
  222. <Column size="85"/>
  223. <Column size="85"/>
  224. </Columns>
  225. <Rows>
  226. <Row size="25" band="head"/>
  227. <Row size="25"/>
  228. <Row size="24" band="summ"/>
  229. </Rows>
  230. <Band id="head">
  231. <Cell text="소분류"/>
  232. <Cell col="1" text="예산액"/>
  233. <Cell col="2" text="공제금액"/>
  234. <Cell col="3" text="지출액"/>
  235. <Cell col="4" text="지출잔액"/>
  236. </Band>
  237. <Band id="body">
  238. <Cell style="align:left;" text="bind:acntnm"/>
  239. <Cell col="1" displaytype="number" text="bind:inamt"/>
  240. <Cell col="2" displaytype="number" text="bind:gongamt"/>
  241. <Cell col="3" displaytype="number" text="bind:outamt"/>
  242. <Cell col="4" displaytype="number" text="bind:jamt"/>
  243. </Band>
  244. <Band id="summary">
  245. <Cell style="align:left;" text="합계"/>
  246. <Cell col="1" displaytype="number" expr="expr:getSum('inamt')"/>
  247. <Cell col="2" displaytype="number" expr="expr:getSum('gongamt')"/>
  248. <Cell col="3" displaytype="number" expr="expr:getSum('outamt')"/>
  249. <Cell col="4" displaytype="number"/>
  250. </Band>
  251. </Format>
  252. </Formats>
  253. </Grid>
  254. <Shape id="line11" class="line_10" linetype="horizontal" position="absolute 0 0 758 3" style="font:맑은고딕,,맑은고딕;" anchor="left top right"/>
  255. </Layout>
  256. </Layouts>
  257. </Tabpage>
  258. <Tabpage id="case1" selected="true" anchor="default" text="입출금 상세내역">
  259. <Layouts>
  260. <Layout>
  261. <Grid id="grd_ioamtdlist" binddataset="ds_main_ioamtdinfo_ioamtdlist" class="datagrid2" position="absolute 0 3 758 644" style="" anchor="all">
  262. <Formats>
  263. <Format id="default">
  264. <Columns>
  265. <Column size="150"/>
  266. <Column size="236"/>
  267. <Column size="88"/>
  268. <Column size="250"/>
  269. <Column size="0"/>
  270. <Column size="0"/>
  271. </Columns>
  272. <Rows>
  273. <Row size="24" band="head"/>
  274. <Row size="24"/>
  275. </Rows>
  276. <Band id="head">
  277. <Cell text="중분류"/>
  278. <Cell col="1" text="소분류"/>
  279. <Cell col="2" text="금액"/>
  280. <Cell col="3" text="비고"/>
  281. <Cell col="4" text="비고"/>
  282. <Cell col="5" text="비고"/>
  283. </Band>
  284. <Band id="body">
  285. <Cell style="align:left;" text="bind:lrgnm" suppress="1" suppressalign="middle,over"/>
  286. <Cell col="1" style="align:left;" text="bind:mdlnm"/>
  287. <Cell col="2" displaytype="number" edittype="text" text="bind:amt"/>
  288. <Cell col="3" edittype="text" style="align:left;" text="bind:bigo"/>
  289. <Cell col="4" text="bind:kind"/>
  290. <Cell col="5" text="bind:amtcd"/>
  291. </Band>
  292. </Format>
  293. </Formats>
  294. </Grid>
  295. <Shape id="line2" class="line_10" linetype="horizontal" position="absolute 0 0 758 3" style="font:맑은고딕,,맑은고딕;" anchor="default"/>
  296. </Layout>
  297. </Layouts>
  298. </Tabpage>
  299. <Tabpage id="case3" anchor="default" text="문서상세내역">
  300. <Layouts>
  301. <Layout>
  302. <Grid id="grd_attdoculst" binddataset="ds_main_attdoculst_attdoculst" position="absolute 0 3 757 644" style="" oncelldblclick="switch1_case3_grd_attdoculst_oncelldblclick" anchor="all">
  303. <Formats>
  304. <Format id="default">
  305. <Columns>
  306. <Column size="0"/>
  307. <Column size="0"/>
  308. <Column size="0"/>
  309. <Column size="185"/>
  310. <Column size="489"/>
  311. <Column size="0"/>
  312. <Column size="0"/>
  313. <Column size="0"/>
  314. <Column size="0"/>
  315. <Column size="0"/>
  316. <Column size="0"/>
  317. <Column size="0"/>
  318. <Column size="0"/>
  319. <Column size="0"/>
  320. </Columns>
  321. <Rows>
  322. <Row size="24" band="head"/>
  323. <Row size="24"/>
  324. </Rows>
  325. <Band id="head">
  326. <Cell text="일시"/>
  327. <Cell col="1" text="업무구분"/>
  328. <Cell col="2" text="파일경로"/>
  329. <Cell col="3" text="파일명"/>
  330. <Cell col="4" text="비고"/>
  331. <Cell col="5" text="보고자ID"/>
  332. <Cell col="6" text="파일크기"/>
  333. <Cell col="7" text="filetype"/>
  334. <Cell col="8" text="projcd"/>
  335. <Cell col="9" text="seqno"/>
  336. <Cell col="10" text="kind"/>
  337. <Cell col="11" text="bizflag"/>
  338. <Cell col="12" text="amtcd"/>
  339. <Cell col="13" text="amt"/>
  340. </Band>
  341. <Band id="body">
  342. <Cell text="bind:bsdd"/>
  343. <Cell col="1" text="bind:bizflag"/>
  344. <Cell col="2" text="bind:attfilepath"/>
  345. <Cell col="3" text="bind:attfilenm"/>
  346. <Cell col="4" text="bind:bigo"/>
  347. <Cell col="5" text="bind:reportid"/>
  348. <Cell col="6" text="bind:filesize"/>
  349. <Cell col="7" text="bind:filetype"/>
  350. <Cell col="8" text="bind:projcd"/>
  351. <Cell col="9" text="bind:seqno"/>
  352. <Cell col="10" text="bind:kind"/>
  353. <Cell col="11" text="bind:bizflag"/>
  354. <Cell col="12" text="bind:amtcd"/>
  355. <Cell col="13" text="bind:amt"/>
  356. </Band>
  357. </Format>
  358. </Formats>
  359. </Grid>
  360. <Shape id="line9" class="line_10" linetype="horizontal" position="absolute 0 0 758 3" style="font:맑은고딕,,맑은고딕;" anchor="left top right"/>
  361. </Layout>
  362. </Layouts>
  363. </Tabpage>
  364. </Tabpages>
  365. <Shape id="line9" class="line_1" linetype="horizontal" position="absolute 0 0 735 3" style="font:맑은고딕,,맑은고딕;" anchor="default"/>
  366. </Tab>
  367. <Static id="caption6" text="과제별 금액관리" class="tit_1" position="absolute 0 0 186 26"/>
  368. <Button id="btn_excel" class="btn7" visible="false" position="absolute 1130 105 1187 124" style="" text="Excel" onclick="btn_excel_onclick" anchor="top right"/>
  369. <Button id="btn_down" class="btn2" visible="false" position="absolute 1104 106 1168 125" style="" text="다운로드" onclick="btn_down_onclick" anchor="top right"/>
  370. <Div id="grp_buttons" taborder="28" position="absolute 777 3 1194 25" anchor="top right">
  371. <Layouts>
  372. <Layout width="593" height="15">
  373. <Button id="button10" taborder="0" text="문서신규" onclick="grp_buttons_button10_onclick" class="btn3" position="absolute 337 0 417 22" anchor="left top"/>
  374. <Button id="button2" taborder="1" text="비용신규" onclick="grp_buttons_button2_onclick" class="btn3" position="absolute 255 0 335 22" anchor="left top"/>
  375. <Button id="button1" taborder="2" text="수익신규" onclick="grp_buttons_button1_onclick" class="btn3" position="absolute 173 0 253 22" anchor="left top"/>
  376. <Button id="button4" taborder="3" text="품의" onclick="grp_buttons_button4_onclick" class="btn4" position="absolute 115 0 171 22" anchor="left top"/>
  377. <Button id="btn_save" taborder="4" text="저장" onclick="grp_buttons_btn_save_onclick" class="btn4" position="absolute 58 0 114 22" anchor="left top"/>
  378. <Button id="button3" taborder="5" text="삭제" onclick="grp_buttons_button3_onclick" class="btn4" position="absolute 0 0 56 22" anchor="left top"/>
  379. </Layout>
  380. </Layouts>
  381. </Div>
  382. </Layout>
  383. </Layouts>
  384. <Objects>
  385. <Dataset id="ds_hidden_statuslist_status" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  386. <ColumnInfo>
  387. <Column id="cdnm" type="STRING" size="256"/>
  388. <Column id="cdid" type="STRING" size="256"/>
  389. <Column id="cdnm" type="STRING" size="256"/>
  390. <Column id="cdid" type="STRING" size="256"/>
  391. </ColumnInfo>
  392. <Rows>
  393. <Row>
  394. <Col id="cdnm">진행</Col>
  395. <Col id="cdid">P</Col>
  396. </Row>
  397. <Row>
  398. <Col id="cdnm">종료</Col>
  399. <Col id="cdid">E</Col>
  400. </Row>
  401. </Rows>
  402. </Dataset>
  403. <Dataset id="ds_hidden" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  404. <ColumnInfo/>
  405. </Dataset>
  406. <Dataset id="ds_main_attdoculst" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  407. <ColumnInfo>
  408. <Column id="attdoculst" type="STRING" size="256"/>
  409. </ColumnInfo>
  410. <Rows>
  411. <Row>
  412. <Col id="attdoculst"/>
  413. </Row>
  414. </Rows>
  415. </Dataset>
  416. <Dataset id="ds_main_ioamtprint" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  417. <ColumnInfo>
  418. <Column id="ioamtprintlist" type="STRING" size="256"/>
  419. </ColumnInfo>
  420. <Rows>
  421. <Row>
  422. <Col id="ioamtprintlist"/>
  423. </Row>
  424. </Rows>
  425. </Dataset>
  426. <Dataset id="ds_send_searchproj" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  427. <ColumnInfo>
  428. <Column id="instcd" type="STRING" size="256"/>
  429. <Column id="studycd" type="STRING" size="256"/>
  430. <Column id="rshid" type="STRING" size="256"/>
  431. <Column id="projnm" type="STRING" size="256"/>
  432. <Column id="rshnm" type="STRING" size="256"/>
  433. <Column id="estatus" type="STRING" size="256"/>
  434. </ColumnInfo>
  435. <Rows>
  436. <Row>
  437. <Col id="instcd"/>
  438. <Col id="studycd"/>
  439. <Col id="rshid"/>
  440. <Col id="projnm"/>
  441. <Col id="rshnm"/>
  442. <Col id="estatus"/>
  443. </Row>
  444. </Rows>
  445. </Dataset>
  446. <Dataset id="ds_init" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  447. <ColumnInfo>
  448. <Column id="status" type="STRING" size="256"/>
  449. </ColumnInfo>
  450. <Rows>
  451. <Row>
  452. <Col id="status"/>
  453. </Row>
  454. </Rows>
  455. </Dataset>
  456. <Dataset id="ds_send_savedata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  457. <ColumnInfo>
  458. <Column id="ioamtlist" type="STRING" size="256"/>
  459. <Column id="ioamtlist" type="STRING" size="256"/>
  460. <Column id="attdoculst" type="STRING" size="256"/>
  461. </ColumnInfo>
  462. <Rows>
  463. <Row>
  464. <Col id="ioamtlist"/>
  465. <Col id="ioamtlist"/>
  466. <Col id="attdoculst"/>
  467. </Row>
  468. </Rows>
  469. </Dataset>
  470. <Dataset id="ds_send_searchrephist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  471. <ColumnInfo>
  472. <Column id="instcd" type="STRING" size="256"/>
  473. <Column id="projcd" type="STRING" size="256"/>
  474. </ColumnInfo>
  475. <Rows>
  476. <Row>
  477. <Col id="instcd"/>
  478. <Col id="projcd"/>
  479. </Row>
  480. </Rows>
  481. </Dataset>
  482. <Dataset id="ds_main" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  483. <ColumnInfo>
  484. <Column id="reportinfo" type="STRING" size="256"/>
  485. <Column id="studyprojinfo" type="STRING" size="256"/>
  486. <Column id="rephistinfo" type="STRING" size="256"/>
  487. <Column id="repdetlinfo" type="STRING" size="256"/>
  488. <Column id="ioamtinfo" type="STRING" size="256"/>
  489. <Column id="ioamtdinfo" type="STRING" size="256"/>
  490. </ColumnInfo>
  491. <Rows>
  492. <Row>
  493. <Col id="reportinfo"/>
  494. <Col id="studyprojinfo"/>
  495. <Col id="rephistinfo"/>
  496. </Row>
  497. </Rows>
  498. </Dataset>
  499. <Dataset id="ds_hidden_instlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  500. <ColumnInfo/>
  501. </Dataset>
  502. <Dataset id="ds_hidden_statuslist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  503. <ColumnInfo/>
  504. </Dataset>
  505. <Dataset id="ds_init_acntlst" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  506. <ColumnInfo>
  507. <Column id="acntlst" type="STRING" size="256"/>
  508. </ColumnInfo>
  509. <Rows>
  510. <Row>
  511. <Col id="acntlst"/>
  512. </Row>
  513. </Rows>
  514. </Dataset>
  515. <Dataset id="ds_temp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  516. <ColumnInfo>
  517. <Column id="temp" type="STRING" size="256"/>
  518. </ColumnInfo>
  519. </Dataset>
  520. <Dataset id="ds_hidden_ioamt" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  521. <ColumnInfo>
  522. <Column id="seqno" type="STRING" size="256"/>
  523. </ColumnInfo>
  524. <Rows>
  525. <Row>
  526. <Col id="seqno"/>
  527. </Row>
  528. </Rows>
  529. </Dataset>
  530. <Dataset id="ds_hidden_instlist_inst" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  531. <ColumnInfo>
  532. <Column id="cdnm" type="STRING" size="256"/>
  533. <Column id="cdid" type="STRING" size="256"/>
  534. <Column id="cdnm" type="STRING" size="256"/>
  535. <Column id="cdid" type="STRING" size="256"/>
  536. </ColumnInfo>
  537. <Rows>
  538. <Row>
  539. <Col id="cdnm">본원</Col>
  540. <Col id="cdid">031</Col>
  541. </Row>
  542. <Row>
  543. <Col id="cdnm">칠곡</Col>
  544. <Col id="cdid">032</Col>
  545. </Row>
  546. </Rows>
  547. </Dataset>
  548. <Dataset id="ds_main_ioamtgrup" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  549. <ColumnInfo>
  550. <Column id="ioamtgrup" type="STRING" size="256"/>
  551. </ColumnInfo>
  552. <Rows>
  553. <Row>
  554. <Col id="ioamtgrup"/>
  555. </Row>
  556. </Rows>
  557. </Dataset>
  558. <Dataset id="ds_send_savedata_attach" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  559. <ColumnInfo>
  560. <Column id="file" type="STRING" size="256"/>
  561. </ColumnInfo>
  562. <Rows>
  563. <Row>
  564. <Col id="file"/>
  565. </Row>
  566. </Rows>
  567. </Dataset>
  568. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  569. <ColumnInfo>
  570. <Column id="searchreport" type="STRING" size="256"/>
  571. <Column id="searchrepdetl" type="STRING" size="256"/>
  572. <Column id="reqdata" type="STRING" size="256"/>
  573. <Column id="userinfo" type="STRING" size="256"/>
  574. </ColumnInfo>
  575. </Dataset>
  576. <Dataset id="ds_init_bizflaglist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  577. <ColumnInfo>
  578. <Column id="I0012" type="STRING" size="256"/>
  579. </ColumnInfo>
  580. <Rows>
  581. <Row>
  582. <Col id="I0012"/>
  583. </Row>
  584. </Rows>
  585. </Dataset>
  586. <Dataset id="ds_main_ioamtmain" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  587. <ColumnInfo>
  588. <Column id="instcd" type="STRING" size="256"/>
  589. <Column id="bsdd" type="STRING" size="256"/>
  590. <Column id="projcd" type="STRING" size="256"/>
  591. <Column id="projnm" type="STRING" size="256"/>
  592. <Column id="rshid" type="STRING" size="256"/>
  593. <Column id="rshnm" type="STRING" size="256"/>
  594. <Column id="reqfirm" type="STRING" size="256"/>
  595. <Column id="projamt" type="STRING" size="256"/>
  596. <Column id="bizflag" type="STRING" size="256"/>
  597. <Column id="studycd" type="STRING" size="256"/>
  598. <Column id="bstotiamt" type="STRING" size="256"/>
  599. <Column id="bstotoamt" type="STRING" size="256"/>
  600. <Column id="bstotjamt" type="STRING" size="256"/>
  601. <Column id="kind" type="STRING" size="256"/>
  602. </ColumnInfo>
  603. <Rows>
  604. <Row>
  605. <Col id="instcd"/>
  606. <Col id="bsdd"/>
  607. <Col id="projcd"/>
  608. <Col id="projnm"/>
  609. <Col id="rshid"/>
  610. <Col id="rshnm"/>
  611. <Col id="reqfirm"/>
  612. <Col id="projamt"/>
  613. <Col id="bizflag"/>
  614. <Col id="studycd"/>
  615. <Col id="bstotiamt"/>
  616. <Col id="bstotoamt"/>
  617. <Col id="bstotjamt"/>
  618. </Row>
  619. </Rows>
  620. </Dataset>
  621. <Dataset id="ds_main_studyprojinfo_studyprojlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  622. <Dataset id="ds_init_status" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  623. <Dataset id="ds_main_ioamtinfo_ioamtlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  624. <Dataset id="ds_send_reqdata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  625. <Dataset id="ds_main_ioamtprint_ioamtprintlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  626. <Dataset id="ds_main_ioamtgrup_ioamtgrup" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  627. <Dataset id="ds_main_ioamtdinfo_ioamtdlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  628. <Dataset id="ds_main_attdoculst_attdoculst" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  629. <Dataset id="ds_attach_down" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  630. <Dataset id="ds_send_savedata_ioamtlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  631. <Dataset id="ds_ioamt" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  632. <Dataset id="ds_send_attach" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  633. <ColumnInfo>
  634. <Column id="filenm" type="STRING" size="256"/>
  635. <Column id="filedata" type="BLOB" size="256"/>
  636. <Column id="filesize" type="STRING" size="256"/>
  637. <Column id="filetype" type="STRING" size="256"/>
  638. <Column id="file" type="STRING" size="256"/>
  639. </ColumnInfo>
  640. <Rows>
  641. <Row/>
  642. </Rows>
  643. </Dataset>
  644. </Objects>
  645. <Bind>
  646. <BindItem id="item0" compid="group2.input3" propid="value" datasetid="ds_send_searchproj" columnid="studycd"/>
  647. <BindItem id="item1" compid="group2.output1" propid="value" datasetid="ds_send_searchproj" columnid="rshnm"/>
  648. <BindItem id="item2" compid="group2.output2" propid="value" datasetid="ds_send_searchproj" columnid="rshid"/>
  649. <BindItem id="item3" compid="group2.cbx_e" propid="value" datasetid="ds_send_searchproj" columnid="estatus"/>
  650. <BindItem id="item4" compid="ipt_servcd" propid="value" datasetid="ds_main_ioamtmain" columnid="studycd"/>
  651. <BindItem id="item5" compid="input5" propid="value" datasetid="ds_main_ioamtmain" columnid="projnm"/>
  652. <BindItem id="item6" compid="input6" propid="value" datasetid="ds_main_ioamtmain" columnid="bsdd"/>
  653. <BindItem id="item7" compid="input1" propid="value" datasetid="ds_main_ioamtmain" columnid="rshnm"/>
  654. <BindItem id="item8" compid="out_reqfirm" propid="value" datasetid="ds_main_ioamtmain" columnid="reqfirm"/>
  655. <BindItem id="item9" compid="out_projamt" propid="value" datasetid="ds_main_ioamtmain" columnid="projamt"/>
  656. <BindItem id="item10" compid="opt_bstotiamt" propid="value" datasetid="ds_main_ioamtmain" columnid="bstotiamt"/>
  657. <BindItem id="item11" compid="opt_bstotoamt" propid="value" datasetid="ds_main_ioamtmain" columnid="bstotoamt"/>
  658. <BindItem id="item12" compid="opt_bstotjamt" propid="value" datasetid="ds_main_ioamtmain" columnid="bstotjamt"/>
  659. </Bind>
  660. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  661. * System Name :
  662. * Job Name :
  663. * Creator :
  664. * Make Date : 2017-06-19
  665. * Description :
  666. *---------------------------------------------------------------------------------------
  667. * Modify Date Modifier Modify Description
  668. *---------------------------------------------------------------------------------------
  669. * 2017-06-19 Live Converter TF->XP
  670. *
  671. *---------------------------------------------------------------------------------------
  672. ****************************************************************************************/
  673. include "com_commonxp::comm_main.xjs";
  674. include "com_commodulexp::SSZFM00701.xjs"; // tab hidden
  675. var isUpdated = false;
  676. var gMaxSize = 10485760;
  677. var xsendfile = ds_send_attach;
  678. var studentparam = "";
  679. function SMRIS00301_onload(obj:Form, e:LoadEventInfo) {
  680. frmf_initForm(obj);
  681. grdf_initGrid(grd_proj);
  682. grdf_setToolTipBind(grd_proj);
  683. grdf_setRowTypeIcon(grd_proj, 0);
  684. grdf_initGrid(grd_ioamtlist);
  685. grdf_setToolTipBind(grd_ioamtlist);
  686. grdf_initGrid(switch1.case2.grd_excelioamtlist);
  687. grdf_setToolTipBind(switch1.case2.grd_excelioamtlist);
  688. grdf_initGrid(switch1.case1.grd_ioamtdlist);
  689. grdf_setToolTipBind(switch1.case1.grd_ioamtdlist);
  690. grdf_initGrid(switch1.case3.grd_attdoculst);
  691. grdf_setToolTipBind(switch1.case3.grd_attdoculst);
  692. grdf_initGrid(switch1.case4.grd_ioamtgrup);
  693. grdf_setToolTipBind(switch1.case4.grd_ioamtgrup);
  694. fInit();
  695. }
  696. /**
  697. * _desc : 화면초기화
  698. *
  699. * _param :
  700. * _return :
  701. * _author : 경북대학교
  702. * _---------------------------------------------------
  703. */
  704. function fInit(){
  705. var arrParam = [ {dsNm: "ds_init_status", cdGrpId: "I0010" }, // 종결_진행_삭제
  706. {dsNm: "ds_init_bizflaglist", cdGrpId: "I0012" }]; // 업무구분( 수익, 비용, 첨부)
  707. appf_getCodeList(arrParam, true );
  708. if (frmf_isPopup()) {
  709. var menuparam = opener.frmf_getParameter("SMRIS00301_menuparam");
  710. var rshid = opener.frmf_getParameter("SMRIS00301_rshid");
  711. var rshnm = opener.frmf_getParameter("SMRIS00301_rshnm");
  712. var studycd = opener.frmf_getParameter("SMRIS00301_studycd");
  713. ds_send_searchproj.setColumn( 0, "rshid", rshid);
  714. ds_send_searchproj.setColumn( 0, "rshnm", rshnm);
  715. ds_send_searchproj.setColumn( 0, "studycd", studycd);
  716. ds_send_searchproj.setColumn( 0, "estatus", "Y" );
  717. if (menuparam == "P") {
  718. grp_buttons.visible= false;
  719. group2.btn_useid.visible= false;
  720. button6.visible= false;
  721. lf_setTabPageVisble(switch1, "case1", false);
  722. lf_setTabPageVisble(switch1, "case3", false);
  723. studentparam = "P";
  724. button8.click();
  725. }
  726. if (!utlf_isNull(studycd)) {
  727. fSearch();
  728. ds_main_studyprojinfo_studyprojlist.rowposition = 0;
  729. fGetamtmaster();
  730. }
  731. }
  732. group2.cbx_e.value = "Y";
  733. }
  734. function fSearch(){
  735. ds_main_studyprojinfo_studyprojlist.clearData();
  736. ds_main_ioamtinfo_ioamtlist.clearData();
  737. ds_main_ioamtdinfo_ioamtdlist.clearData();
  738. ds_main_attdoculst_attdoculst.clearData();
  739. var oParam = {};
  740. oParam.id = "TRRIS00301";
  741. oParam.service = "ctmsapp.StudyProjMngt";
  742. oParam.method = "reqGetSPList";
  743. oParam.inds = "req=ds_send_searchproj";
  744. oParam.outds = "ds_main_studyprojinfo_studyprojlist=studyprojlist";
  745. oParam.async = false;
  746. //oParam.callback = "cf_TRRIS00301";
  747. tranf_submit(oParam);
  748. }
  749. //금액마스터
  750. function fGetamtmaster() {
  751. var idx = grd_proj.currentrow;
  752. ds_main_ioamtmain.copyRow( 0, ds_main_studyprojinfo_studyprojlist, idx);
  753. dsf_makeValue( ds_send_reqdata, "instcd", "string", ds_main_studyprojinfo_studyprojlist.getColumn(idx, "instcd"));
  754. dsf_makeValue( ds_send_reqdata, "projcd", "string", ds_main_studyprojinfo_studyprojlist.getColumn(idx, "projcd"));
  755. dsf_makeValue( ds_send_reqdata, "studentparam", "string", studentparam);
  756. var totiamt = 0;
  757. var totoamt = 0;
  758. var oParam = {};
  759. oParam.id = "TRRIS00302";
  760. oParam.service = "ctmsapp.StudyProjMngt";
  761. oParam.method = "reqGetAMTList";
  762. oParam.inds = "req=ds_send_reqdata";
  763. oParam.outds = "ds_main_ioamtinfo_ioamtlist=ioamtlist";
  764. oParam.async = false;
  765. //oParam.callback = "cf_TRRIS00302";
  766. tranf_submit(oParam);
  767. // 입금액, 지출액 계산 2013.05.23 cyw
  768. for( var i = 0; i < ds_main_ioamtinfo_ioamtlist.rowcount ; i++ ){
  769. if( ds_main_ioamtinfo_ioamtlist.getColumn(i, "bizflag") == "I" ){
  770. totiamt = totiamt + parseInt(ds_main_ioamtinfo_ioamtlist.getColumn(i, "totamt"));
  771. }
  772. if( ds_main_ioamtinfo_ioamtlist.getColumn(i, "bizflag") == "O" ){
  773. totoamt = totoamt + parseInt(ds_main_ioamtinfo_ioamtlist.getColumn(i, "totamt"));
  774. }
  775. }
  776. dsf_makeValue( ds_main_ioamtmain, "bstotiamt", "string", totiamt );
  777. dsf_makeValue( ds_main_ioamtmain, "bstotoamt", "string", totoamt );
  778. dsf_makeValue( ds_main_ioamtmain, "bstotjamt", "string", totiamt-totoamt );
  779. if (studentparam == "P") {
  780. button6.click();
  781. }
  782. var master = "event";
  783. fGetamtdetail(master); //입출금 상세내역 & 첨부파일 상세내역
  784. MdlLst(); // 첨부파일 중분류값 조회
  785. }
  786. function MdlLst(){
  787. dsf_makeValue( ds_main_ioamtmain, "seqno", "string", "");
  788. dsf_makeValue( ds_main_ioamtmain, "bsdd", "string", utlf_getCurrentDate());
  789. ds_send_reqdata.clearData();
  790. dsf_makeValue( ds_send_reqdata, "kind", "string", ds_main_ioamtmain.getColumn(0, "kind"));
  791. dsf_makeValue( ds_send_reqdata, "bsdd", "string", ds_main_ioamtmain.getColumn(0, "bsdd"));
  792. var oParam = {};
  793. oParam.id = "TRRIS00309";
  794. oParam.service = "ctmsapp.StudyProjMngt";
  795. oParam.method = "reqGetMdlLst";
  796. oParam.inds = "req=ds_send_reqdata";
  797. oParam.outds = "ds_init_acntlst=acntlst";
  798. oParam.async = false;
  799. //oParam.callback = "cf_TRRIS00309";
  800. tranf_submit(oParam);
  801. }
  802. function fDelMaster(bizflag){
  803. if( bizflag != "A"){
  804. var projcd = ds_main_ioamtmain.getColumn(0, "projcd");
  805. var bizflag = ds_main_ioamtmain.getColumn(0, "bizflag");
  806. var seqno = ds_main_ioamtmain.getColumn(0, "seqno");
  807. }
  808. else{
  809. var projcd = ds_main_attdoculst_attdoculst.getColumn(0, "projcd");
  810. var bizflag = ds_main_attdoculst_attdoculst.getColumn(0, "bizflag");
  811. var seqno = ds_main_attdoculst_attdoculst.getColumn(0, "seqno");
  812. }
  813. dsf_makeValue( ds_send_reqdata, "projcd", "string", projcd);
  814. dsf_makeValue( ds_send_reqdata, "bizflag", "string", bizflag);
  815. dsf_makeValue( ds_send_reqdata, "seqno", "string", seqno);
  816. if (utlf_isNull(projcd)) {
  817. return;
  818. }
  819. if (utlf_isNull(bizflag)) {
  820. return;
  821. }
  822. if (utlf_isNull(seqno)) {
  823. sysf_messageBox("삭제대상이 아닙니다","I");
  824. return;
  825. }
  826. var vbYes = sysf_messageBox("삭제 하시겠습니까?", "Q999");
  827. if(vbYes != 6){
  828. return;
  829. }
  830. var oParam = {};
  831. oParam.id = "TXRIS00302";
  832. oParam.service = "ctmsapp.StudyProjMngt";
  833. oParam.method = "reqDelAMTList";
  834. oParam.inds = "req=ds_send_reqdata attdoculst=ds_temp attach=ds_temp";
  835. oParam.outds = "ds_ioamt=ioamt";
  836. oParam.async = false;
  837. //oParam.callback = "cf_TXRIS00302";
  838. tranf_submit(oParam);
  839. var cnt = ds_ioamt.getColumn(0, "cnt");
  840. if (cnt > 0) {
  841. sysf_messageBox("정상적으로 삭제되었습니다!","I999");
  842. ds_main_attdoculst_attdoculst.clearData();
  843. }
  844. fGetamtmaster();
  845. }
  846. //금액 detail
  847. function fGetamtdetail(bizflag) {
  848. var idx = grd_ioamtlist.currentrow;
  849. var projcd = ds_main_ioamtinfo_ioamtlist.getColumn(idx, "projcd");
  850. var bizflag = ds_main_ioamtinfo_ioamtlist.getColumn(idx, "bizflag");
  851. var seqno = ds_main_ioamtinfo_ioamtlist.getColumn(idx, "seqno");
  852. var kind = ds_main_ioamtinfo_ioamtlist.getColumn(idx, "kind");
  853. var bsdd = ds_main_ioamtinfo_ioamtlist.getColumn(idx, "bsdd");
  854. var instcd = ds_main_ioamtinfo_ioamtlist.getColumn(idx, "instcd");
  855. var status = ds_main_ioamtinfo_ioamtlist.getColumn(idx, "status");
  856. //var studycd = ds_main_ioamtinfo_ioamtlist.getColumn(idx, "studycd");
  857. if (utlf_isNull(bsdd)) {
  858. bsdd = utlf_getCurrentDate();
  859. }
  860. dsf_makeValue( ds_main_ioamtmain, "bsdd", "string", utlf_getCurrentDate());
  861. dsf_makeValue( ds_main_ioamtmain, "bizflag", "string", bizflag);
  862. dsf_makeValue( ds_main_ioamtmain, "seqno", "string", seqno);
  863. dsf_makeValue( ds_main_ioamtmain, "status", "string", status);
  864. dsf_makeValue( ds_send_reqdata, "instcd", "string", instcd);
  865. dsf_makeValue( ds_send_reqdata, "projcd", "string", projcd);
  866. dsf_makeValue( ds_send_reqdata, "bizflag", "string", bizflag);
  867. dsf_makeValue( ds_send_reqdata, "seqno", "string", seqno);
  868. dsf_makeValue( ds_send_reqdata, "kind", "string", kind);
  869. dsf_makeValue( ds_send_reqdata, "status", "string", status);
  870. //dsf_makeValue( ds_send_reqdata, "bsdd", "string", bsdd);
  871. if (bizflag == "A") {
  872. var oParam = {};
  873. oParam.id = "TRRIS00310";
  874. oParam.service = "ctmsapp.StudyProjMngt";
  875. oParam.method = "reqGetBedSoreFileList";
  876. oParam.inds = "req=ds_send_reqdata";
  877. oParam.outds = "ds_main_attdoculst_attdoculst=attdoculst";
  878. oParam.async = false;
  879. //oParam.callback = "cf_TRRIS00310";
  880. tranf_submit(oParam);
  881. } else {
  882. var oParam = {};
  883. oParam.id = "TRRIS00303";
  884. oParam.service = "ctmsapp.StudyProjMngt";
  885. oParam.method = "reqGetAMTdList";
  886. oParam.inds = "req=ds_send_reqdata";
  887. oParam.outds = "ds_main_ioamtdinfo_ioamtdlist=ioamtdlist";
  888. oParam.async = false;
  889. //oParam.callback = "cf_TRRIS00303";
  890. tranf_submit(oParam);
  891. }
  892. }
  893. function fNewDetail(bizflag){
  894. dsf_makeValue( ds_main_ioamtmain, "bizflag", "string", bizflag);
  895. dsf_makeValue( ds_main_ioamtmain, "seqno", "string", "");
  896. if (bizflag == "I" || bizflag == "O") {
  897. switch1.tabindex = 2;
  898. ds_send_reqdata.clearData();
  899. dsf_makeValue( ds_send_reqdata, "kind", "string", ds_main_ioamtmain.getColumn(0, "kind"));
  900. dsf_makeValue( ds_send_reqdata, "bsdd", "string", ds_main_ioamtmain.getColumn(0, "bsdd"));
  901. dsf_makeValue( ds_send_reqdata, "bizflag", "string", bizflag);
  902. dsf_makeValue( ds_send_reqdata, "projcd", "string", "");
  903. dsf_makeValue( ds_send_reqdata, "seqno", "string", "");
  904. var oParam = {};
  905. oParam.id = "TRRIS00313";
  906. oParam.service = "ctmsapp.StudyProjMngt";
  907. oParam.method = "reqGetAMTdBase";
  908. oParam.inds = "req=ds_send_reqdata";
  909. oParam.outds = "ds_main_ioamtdinfo_ioamtdlist=ioamtdlist";
  910. oParam.async = false;
  911. //oParam.callback = "cf_TRRIS00313";
  912. tranf_submit(oParam);
  913. } else if (bizflag=="A") {
  914. switch1.tabindex = 3;
  915. ds_send_attach.clearData();
  916. ds_send_attach.addRow();
  917. ds_main_attdoculst_attdoculst.clearData();
  918. ds_main_attdoculst_attdoculst.addRow();
  919. var xreqdesc = ds_main_attdoculst_attdoculst;
  920. //var maxsize = switch1.case3.upload1.attribute("filesize");
  921. //파일을 받아오기 위해 파일열기 팝업창을 띄운다.
  922. var fd = new FileDialog;
  923. var fileopen = fd.open("첨부 할 파일을 선택하여 주십시오.", FileDialog.LOAD);
  924. var filename = fileopen.filename;
  925. dsf_makeValue( xreqdesc, "attfilenm", "string", filename);
  926. dsf_makeValue( xreqdesc, "bsdd", "string", ds_main_ioamtmain.getColumn(0, "bsdd"));
  927. dsf_makeValue( xreqdesc, "projcd", "string", ds_main_ioamtmain.getColumn(0, "projcd"));
  928. dsf_makeValue( xreqdesc, "kind", "string", ds_main_ioamtmain.getColumn(0, "kind"));
  929. dsf_makeValue( xreqdesc, "bigo", "string", "");
  930. dsf_makeValue( xreqdesc, "bizflag", "string", bizflag);
  931. dsf_makeValue( xreqdesc, "amtcd", "string", "-");
  932. dsf_makeValue( xreqdesc, "amt", "INT", 0);
  933. //선택한 파일이 저장버튼을 눌렀을때 저장이 되게 하기 위해 파일 저장 인스턴스에 파일주소를 저장해 둔다.
  934. var objFileinfo = dsf_writeFileToDs(fileopen, xsendfile, 0, "filedata");
  935. xsendfile.setColumn(0, "filenm", objFileinfo.filename);
  936. xsendfile.setColumn(0, "filesize", objFileinfo.filesize);
  937. xsendfile.setColumn(0, "filetype", objFileinfo.filetype);
  938. //파일 크기가 너무 큰경우 메세지를 띄운다.
  939. if (!checkFileSize(objFileinfo.filesize)){
  940. xsendfile.setColumn(0, "file", "");
  941. sysf_messageBox("파일 크기가 최대치(" + gMaxSize + "Byte)를", "E003");
  942. xsendfile.clearData();
  943. }
  944. }
  945. }
  946. function fSetUserinfo(){
  947. var rtn = appf_openUserInfoList("usernm");
  948. var userinfo = rtn.userInfo;
  949. if (!utlf_isNull(userinfo)) {
  950. userinfo = userinfo.split("|");
  951. var rshid = userinfo[2];
  952. var rshnm = userinfo[3];
  953. ds_send_searchproj.setColumn( 0, "rshid", rshid);
  954. ds_send_searchproj.setColumn( 0, "rshnm", rshnm);
  955. }
  956. }
  957. function fSave(flag) {
  958. var projcd = ds_main_ioamtmain.getColumn(0, "projcd");
  959. var bsdd = ds_main_ioamtmain.getColumn(0, "bsdd");
  960. var seqno = ds_main_ioamtmain.getColumn(0, "seqno");
  961. var bizflag = ds_main_ioamtmain.getColumn(0, "bizflag");
  962. var status = ds_main_ioamtmain.getColumn(0, "status");
  963. var kind = ds_main_ioamtmain.getColumn(0, "kind");
  964. dsf_makeValue( ds_send_savedata_ioamtlist, "bsdd", "string", bsdd);
  965. dsf_makeValue( ds_send_savedata_ioamtlist, "projcd", "string", projcd);
  966. dsf_makeValue( ds_send_savedata_ioamtlist, "bizflag", "string", bizflag);
  967. dsf_makeValue( ds_send_savedata_ioamtlist, "seqno", "string", seqno);
  968. dsf_makeValue( ds_send_savedata_ioamtlist, "status", "string", status);
  969. dsf_makeValue( ds_send_savedata_ioamtlist, "kind", "string", kind);
  970. if (flag=="IO") {
  971. // 입출금 상세내역
  972. if (ds_main_ioamtdinfo_ioamtdlist.rowcount == 0 ) {
  973. return;
  974. }
  975. for (i=0; i<ds_main_ioamtdinfo_ioamtdlist.rowcount; i++) {
  976. var arrPostion = new Array();
  977. arrPostion[0] = i;
  978. grdf_setStatus(switch1.case1.grd_ioamtdlist, "I", arrPostion);
  979. }
  980. }
  981. else if (flag=="A") {
  982. // 문서등록내역
  983. if (ds_main_attdoculst_attdoculst.rowcount == 0 ) {
  984. return;
  985. }
  986. for (i=0; i < ds_main_attdoculst_attdoculst.rowcount ; i++) {
  987. var arrPostion = new Array();
  988. arrPostion[0] = i;
  989. grdf_setStatus(switch1.case3.grd_attdoculst, "I", arrPostion);
  990. }
  991. var seqno = ds_main_attdoculst_attdoculst.getColumn(0, "seqno");
  992. if (!utlf_isNull(seqno)) {
  993. sysf_messageBox("자료수정은 불가합니다","I");
  994. return;
  995. }
  996. }
  997. var oParam = {};
  998. oParam.id = "TXRIS00301";
  999. oParam.service = "ctmsapp.StudyProjMngt";
  1000. oParam.method = "reqExeAMTList";
  1001. oParam.inds = "ioamtlist=ds_send_savedata_ioamtlist ioamtdlist=ds_main_ioamtdinfo_ioamtdlist:U attdoculst=ds_main_attdoculst_attdoculst:U attach=ds_send_attach";
  1002. oParam.outds = "ds_ioamt=ioamt";
  1003. oParam.async = false;
  1004. //oParam.callback = "cf_TXRIS00301";
  1005. tranf_submit(oParam);
  1006. fGetamtmaster();
  1007. }
  1008. //
  1009. function fDownLoad(flag) {
  1010. if(utlf_isNull(ds_main_attdoculst_attdoculst.getColumn(0, "seqno"))) {
  1011. return;
  1012. }
  1013. if(utlf_isNull(ds_main_attdoculst_attdoculst.getColumn(0, "attfilenm"))) {
  1014. sysf_messageBox("다운로드 할 파일을 ", "C002");
  1015. return;
  1016. }
  1017. //파일명를 받아옴
  1018. var getfilenm = ds_main_attdoculst_attdoculst.getColumn(0, "attfilenm");
  1019. var getfilepath = ds_main_attdoculst_attdoculst.getColumn(0, "attfilepath");
  1020. dsf_makeValue( ds_send_reqdata, "attfilenm", "string", getfilenm );
  1021. dsf_makeValue( ds_send_reqdata, "attfilepath", "string", getfilepath );
  1022. //파일명이 있는 경우 다운로드
  1023. if(!utlf_isNull(getfilenm)){
  1024. //파일명을 받아옴
  1025. var filenm = getfilenm;
  1026. //파일명의 확장자만 받아옴
  1027. var fileext = filenm.lastIndexOf(".");
  1028. var ext = filenm.substring(fileext +1);
  1029. //파일을 다운로드 하기 위해 저장할 창을 띄움
  1030. var fd = new FileDialog;
  1031. var filesave = fd.open("다운 받을 위치를 선택하여 주십시오.", FileDialog.SAVE, "", filenm);
  1032. //키값을 가지고 DB에 저장된 데이타를 조회하러 간다
  1033. if (!utlf_isNull(filesave)) {
  1034. var oParam = {};
  1035. oParam.id = "TRRIS00206";
  1036. oParam.service = "ctmsapp.StudyProjMngt";
  1037. oParam.method = "reqExeFileDownLoad";
  1038. oParam.inds = "req=ds_send_reqdata";
  1039. oParam.outds = "ds_attach_down=filelist";
  1040. oParam.async = false;
  1041. //oParam.callback = "cf_TRRIS00206";
  1042. tranf_submit(oParam);
  1043. if (filesave != null) {
  1044. dsf_readFileFromDs(filesave.fullpath, ds_attach_down, 0, "attfilecnts"); // 파일저장
  1045. }
  1046. }
  1047. }
  1048. }
  1049. function grp_buttons_button3_onclick(obj:Button, e:ClickEventInfo) {
  1050. if( switch1.tabindex == 3 ){
  1051. fDelMaster("A");
  1052. }else{
  1053. fDelMaster("IO");
  1054. }
  1055. }
  1056. function grp_buttons_btn_save_onclick(obj:Button, e:ClickEventInfo) {
  1057. var flag = "IO";
  1058. if (switch1.tabindex == 3 ) {
  1059. flag = "A";
  1060. }
  1061. fSave(flag);
  1062. }
  1063. function grp_buttons_button4_onclick(obj:Button, e:ClickEventInfo) {
  1064. sysf_messageBox("준비중입니다","I999");
  1065. }
  1066. function grp_buttons_button10_onclick(obj:Button, e:ClickEventInfo) {
  1067. ds_main_attdoculst_attdoculst.clearData();
  1068. ds_main_attdoculst_attdoculst.addRow();
  1069. var bizflag = "A" ;
  1070. fNewDetail(bizflag);
  1071. }
  1072. function grp_buttons_button1_onclick(obj:Button, e:ClickEventInfo) {
  1073. var bizflag = 'I' ;
  1074. fNewDetail(bizflag);
  1075. }
  1076. function grp_buttons_button2_onclick(obj:Button, e:ClickEventInfo) {
  1077. var bizflag = 'O' ;
  1078. fNewDetail(bizflag);
  1079. }
  1080. function group2_btn_useid_onclick(obj:Button, e:ClickEventInfo) {
  1081. fSetUserinfo();
  1082. }
  1083. function group2_btn_search_onclick(obj:Button, e:ClickEventInfo) {
  1084. fSearch();
  1085. }
  1086. function grd_ioamtlist_oncelldblclick(obj:Grid, e:GridClickEventInfo) {
  1087. var bizflag = ds_main_ioamtinfo_ioamtlist.getColumn(e.row , "bizflag");
  1088. if (bizflag == "A") {
  1089. btn_excel.visible = false;
  1090. if(e.row != -1){
  1091. fGetamtdetail("A");
  1092. switch1.tabindex = 3;
  1093. }
  1094. } else {
  1095. btn_excel.visible = false;
  1096. if(e.row != -1){
  1097. fGetamtdetail();
  1098. switch1.tabindex = 2;
  1099. }
  1100. }
  1101. }
  1102. function button6_onclick(obj:Button, e:ClickEventInfo) {
  1103. btn_excel.visible = true;
  1104. dsf_makeValue( ds_send_reqdata, "instcd", "string", ds_main_studyprojinfo_studyprojlist.getColumn(grd_proj.currentrow, "instcd"));
  1105. dsf_makeValue( ds_send_reqdata, "projcd", "string", ds_main_studyprojinfo_studyprojlist.getColumn(grd_proj.currentrow, "projcd"));
  1106. var oParam = {};
  1107. oParam.id = "TRRIS00305";
  1108. oParam.service = "ctmsapp.StudyProjMngt";
  1109. oParam.method = "reqGetCtmsAmtPrintList";
  1110. oParam.inds = "req=ds_send_reqdata";
  1111. oParam.outds = "ds_main_ioamtprint_ioamtprintlist=ioamtprintlist";
  1112. oParam.async = false;
  1113. //oParam.callback = "cf_TRRIS00305";
  1114. tranf_submit(oParam);
  1115. switch1.tabindex = 0;
  1116. }
  1117. function btn_excel_onclick(obj:Button, e:ClickEventInfo) {
  1118. var sTitle = "최종 입출금 이력 리스트";
  1119. if (ds_main_ioamtprint_ioamtprintlist.rowcount > 0) {
  1120. grdf_exportExcel(switch1.case2.grd_excelioamtlist, sTitle , "see");
  1121. }else{
  1122. sysf_messageBox("엑셀저장할 내역이", "I004");
  1123. }
  1124. }
  1125. //
  1126. // function btn_comps_onclick(obj:Button, e:ClickEventInfo) {
  1127. //
  1128. // btn_excel.visible = false;
  1129. // if(grd_ioamtlist.row != ""){
  1130. // fGetamtdetail();
  1131. // }
  1132. //
  1133. // //model.refresh();
  1134. //
  1135. // }
  1136. //
  1137. // function button7_onclick(obj:Button, e:ClickEventInfo) {
  1138. //
  1139. // btn_excel.visible = true;
  1140. // button6.dispatch("DOMActivate");
  1141. //
  1142. // //model.refresh();
  1143. //
  1144. // }
  1145. function button5_onclick(obj:Button, e:ClickEventInfo) {
  1146. button6.position.y = "448";
  1147. button6.position.x = "343";
  1148. grd_proj.position.height = "310";
  1149. }
  1150. function button8_onclick(obj:Button, e:ClickEventInfo) {
  1151. button6.position.y = "108";
  1152. button6.position.x = "288";
  1153. grd_proj.position.bottom = grd_ioamtlist.position.bottom;
  1154. }
  1155. function grd_proj_oncelldblclick(obj:Grid, e:GridClickEventInfo) {
  1156. fGetamtmaster();
  1157. ds_send_savedata_attach.clearData();
  1158. }
  1159. //
  1160. // function btn_docu_onclick(obj:Button, e:ClickEventInfo) {
  1161. //
  1162. // btn_excel.visible = false;
  1163. // if(switch1.case3.grd_attdoculst.row != ""){
  1164. // fGetamtdetail("A");
  1165. // }
  1166. //
  1167. // //model.refresh();
  1168. //
  1169. // }
  1170. //
  1171. function switch1_case2_grd_excelioamtlist_oncelldblclick(obj:Grid, e:GridClickEventInfo) {
  1172. fGetamtdetail();
  1173. }
  1174. function switch1_case3_grd_attdoculst_oncelldblclick(obj:Grid, e:GridClickEventInfo) {
  1175. fDownLoad();
  1176. }
  1177. //
  1178. // function btn_down_onclick(obj:Button, e:ClickEventInfo) {
  1179. //
  1180. // for( i = 0; i < switch1.case3.grd_attdoculst.rows; i++){
  1181. // if( ds_main_attdoculst_attdoculst.getColumn(i, "check") == "Y" ){
  1182. // // alert("check");
  1183. // var filepath = ds_main_attdoculst_attdoculst.getColumn(i, "filepath");
  1184. // var filenm = ds_main_attdoculst_attdoculst.getColumn(i, "filenm");
  1185. // var realfile = getActionURL("TRRIS00311") + "&filepath=" + filepath;
  1186. // // alert("filepath : "+filepath);
  1187. // // alert("filenm : "+filenm);
  1188. // var localfile = window.fileDialog("save", "|", false, filenm, "", "All Files(*.*)|*.*");
  1189. // if (localfile != "") {
  1190. // model.download(realfile, localfile);
  1191. // window.exec(localfile);
  1192. // }
  1193. // }
  1194. // }
  1195. //
  1196. // }
  1197. function group2_input3_onkeydown(obj:Edit, e:KeyEventInfo)
  1198. {
  1199. if(e.keycode == 13) {
  1200. group2.btn_search.setFocus();
  1201. group2.btn_search.click();
  1202. }
  1203. }
  1204. function switch1_onchanged(obj:Tab, e:TabIndexChangeEventInfo)
  1205. {
  1206. if (e.postindex == 0) {
  1207. button6.click();
  1208. } else if (e.postindex == 1) {
  1209. btn_excel.visible = true;
  1210. dsf_makeValue( ds_send_reqdata, "instcd", "string", ds_main_studyprojinfo_studyprojlist.getColumn(grd_proj.row, "instcd"));
  1211. dsf_makeValue( ds_send_reqdata, "projcd", "string", ds_main_studyprojinfo_studyprojlist.getColumn(grd_proj.row, "projcd"));
  1212. var oParam = {};
  1213. oParam.id = "TRRIS00312";
  1214. oParam.service = "ctmsapp.StudyProjMngt";
  1215. oParam.method = "reqGetCtmsAmtGrupList";
  1216. oParam.inds = "req=ds_send_reqdata";
  1217. oParam.outds = "ds_main_ioamtgrup_ioamtgrup=ioamtgrup";
  1218. oParam.async = false;
  1219. //oParam.callback = "cf_TRRIS00312";
  1220. tranf_submit(oParam);
  1221. } else if (e.postindex == 2) {
  1222. btn_excel.visible = false;
  1223. if(grd_ioamtlist.currentrow != -1){
  1224. fGetamtdetail();
  1225. }
  1226. } else if (e.postindex == 3) {
  1227. btn_excel.visible = false;
  1228. if(grd_ioamtlist.currentrow != -1){
  1229. fGetamtdetail("A");
  1230. }
  1231. }
  1232. }
  1233. function checkFileSize(fileSize)
  1234. {
  1235. if (fileSize <= gMaxSize)
  1236. return true;
  1237. else
  1238. return false;
  1239. }
  1240. function out_projamt_oneditclick(obj:MaskEdit, e:EditClickEventInfo)
  1241. {
  1242. }
  1243. ]]></Script>
  1244. </Form>
  1245. </FDL>