SMMRC01300_차트대출정보관리.xfdl 52 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMMRC01300" position="absolute 0 0 863 645" titletext="차트대출정보관리" oninit="SMMRC01300_oninit" onload="SMMRC01300_onload">
  5. <Layouts>
  6. <Layout>
  7. <Tab position="absolute 0 40 860 640" id="switch1">
  8. <Tabpages>
  9. <Tabpage text="차트과 정보" position="absolute 0 0 860 600" id="chrtdept">
  10. <Layouts>
  11. <Layout>
  12. <Grid position="absolute 0 26 860 573" id="grd_chrtdeptlist" taborder="18" binddataset="ds_main_chrtdept_chrtdeptlist" onexpandup="switch1_chrtdept_grd_chrtdeptlist_onexpandup" autoenter="select">
  13. <Formats>
  14. <Format id="default">
  15. <Columns>
  16. <Column size="25"/>
  17. <Column size="130"/>
  18. <Column size="20"/>
  19. <Column size="50"/>
  20. <Column size="130"/>
  21. <Column size="20"/>
  22. <Column size="50"/>
  23. <Column size="0"/>
  24. <Column size="120"/>
  25. <Column size="80"/>
  26. <Column size="120"/>
  27. <Column size="80"/>
  28. </Columns>
  29. <Rows>
  30. <Row size="24" band="head"/>
  31. <Row size="24"/>
  32. </Rows>
  33. <Band id="head">
  34. <Cell/>
  35. <Cell col="1" colspan="3" text="챠트과" taborder="undefined"/>
  36. <Cell col="4" colspan="3" text="진료과" taborder="undefined"/>
  37. <Cell col="7" text="CHRTDEPTNO"/>
  38. <Cell col="8" text="최초등록일시"/>
  39. <Cell col="9" text="최초등록자"/>
  40. <Cell col="10" text="최종수정일시"/>
  41. <Cell col="11" text="최종수정자"/>
  42. </Band>
  43. <Band id="body">
  44. <Cell celltype="head"/>
  45. <Cell col="1" style="align:left middle;" text="bind:chrtdeptnm"/>
  46. <Cell col="2" displaytype="text" edittype="expand" text="bind:chrtdeptcd" editautoselect="true" expandshow="show" expandsize="15"/>
  47. <Cell col="3" text="bind:chrtdeptabbr"/>
  48. <Cell col="4" style="align:left middle;" text="bind:deptnm"/>
  49. <Cell col="5" displaytype="text" edittype="expand" text="bind:deptcd" editautoselect="true" expandshow="show" expandsize="15"/>
  50. <Cell col="6" text="bind:deptabbr"/>
  51. <Cell col="7" text="bind:chrtdeptno"/>
  52. <Cell col="8" displaytype="date" edittype="none" text="bind:fstrgstdt" mask="yyyy-MM-dd hh:mm"/>
  53. <Cell col="9" text="bind:fstrgstruser"/>
  54. <Cell col="10" displaytype="date" edittype="date" text="bind:lastupdtdt" mask="yyyy-MM-dd hh:mm"/>
  55. <Cell col="11" text="bind:lastupdtruser"/>
  56. </Band>
  57. </Format>
  58. </Formats>
  59. </Grid>
  60. <Button position="absolute 775 5 850 24" id="btn_chrtdeptdel" class="btn2" text="선택행삭제" onclick="switch1_chrtdept_btn_chrtdeptdel_onclick"/>
  61. <Button position="absolute 720 5 773 24" id="btn_chrtdeptadd" class="btn2" text="행추가" onclick="switch1_chrtdept_btn_chrtdeptadd_onclick"/>
  62. <Button position="absolute 675 5 717 24" id="btn_chrtdeptsave" class="btn2" text="저장" onclick="switch1_chrtdept_btn_chrtdeptsave_onclick"/>
  63. </Layout>
  64. </Layouts>
  65. </Tabpage>
  66. <Tabpage text="차트담당자" id="chrtuser">
  67. <Layouts>
  68. <Layout>
  69. <Button position="absolute 675 5 717 24" align="align:left middle;" id="btn_chrtusersave" class="btn2" taborder="15" text="저장" onclick="switch1_chrtuser_btn_chrtusersave_onclick"/>
  70. <Button position="absolute 720 5 773 24" id="btn_chrtuseradd" class="btn2" taborder="16" text="행추가" onclick="switch1_chrtuser_btn_chrtuseradd_onclick"/>
  71. <Button position="absolute 775 5 850 24" id="btn_chrtuserdel" class="btn2" taborder="17" text="선택행삭제" onclick="switch1_chrtuser_btn_chrtuserdel_onclick"/>
  72. <Grid position="absolute 0 26 860 573" id="grd_chgrlist" taborder="5" binddataset="ds_main_chrtuser_chgrlist" onexpandup="switch1_chrtuser_grd_chgrlist_onexpandup">
  73. <Formats>
  74. <Format id="default">
  75. <Columns>
  76. <Column size="25"/>
  77. <Column size="130"/>
  78. <Column size="20"/>
  79. <Column size="50"/>
  80. <Column size="200"/>
  81. <Column size="0"/>
  82. <Column size="120"/>
  83. <Column size="80"/>
  84. <Column size="120"/>
  85. <Column size="80"/>
  86. </Columns>
  87. <Rows>
  88. <Row size="24" band="head"/>
  89. <Row size="24"/>
  90. </Rows>
  91. <Band id="head">
  92. <Cell/>
  93. <Cell col="1" colspan="3" text="대출과" taborder="undefined"/>
  94. <Cell col="4" text="담당자"/>
  95. <Cell col="5" text="chgrno"/>
  96. <Cell col="6" displaytype="normal" edittype="none" text="최초등록일시"/>
  97. <Cell col="7" text="최초등록자"/>
  98. <Cell col="8" text="최종수정일시"/>
  99. <Cell col="9" text="최종수정자"/>
  100. </Band>
  101. <Band id="body">
  102. <Cell celltype="head"/>
  103. <Cell col="1" style="align:left middle;" text="bind:deptnm"/>
  104. <Cell col="2" displaytype="text" edittype="expand" text="bind:deptcd" expandshow="show" expandsize="15"/>
  105. <Cell col="3" text="bind:deptabbr"/>
  106. <Cell col="4" displaytype="combo" edittype="combo" style="padding:0 0 0 3;" text="bind:userid" combodataset="ds_init_user" combocodecol="id" combodatacol="nm"/>
  107. <Cell col="5" text="bind:chgrno"/>
  108. <Cell col="6" displaytype="date" edittype="none" text="bind:fstrgstdt" mask="yyyy-MM-dd hh:mm"/>
  109. <Cell col="7" edittype="none" text="bind:fstrgstruser"/>
  110. <Cell col="8" displaytype="date" edittype="none" text="bind:lastupdtdt" mask="yyyy-MM-dd hh:mm"/>
  111. <Cell col="9" edittype="none" text="bind:lastupdtruser"/>
  112. </Band>
  113. </Format>
  114. </Formats>
  115. </Grid>
  116. </Layout>
  117. </Layouts>
  118. </Tabpage>
  119. <Tabpage text="차트보관장소" id="chrtkeepplce">
  120. <Layouts>
  121. <Layout>
  122. <Grid position="absolute 0 26 860 572" id="grd_keepplcelist" taborder="12" binddataset="ds_main_chrtkeepplce_keepplcelist">
  123. <Formats>
  124. <Format id="default">
  125. <Columns>
  126. <Column size="25"/>
  127. <Column size="200"/>
  128. <Column size="100"/>
  129. <Column size="100"/>
  130. <Column size="0"/>
  131. <Column size="120"/>
  132. <Column size="80"/>
  133. <Column size="120"/>
  134. <Column size="80"/>
  135. </Columns>
  136. <Rows>
  137. <Row size="24" band="head"/>
  138. <Row size="24"/>
  139. </Rows>
  140. <Band id="head">
  141. <Cell/>
  142. <Cell col="1" text="보관장소"/>
  143. <Cell col="2" text="시작번호"/>
  144. <Cell col="3" text="끝번호"/>
  145. <Cell col="4" text="keepno"/>
  146. <Cell col="5" text="최초등록일시"/>
  147. <Cell col="6" text="최초등록자"/>
  148. <Cell col="7" text="최종수정일시"/>
  149. <Cell col="8" text="최종수정자"/>
  150. </Band>
  151. <Band id="body">
  152. <Cell celltype="head"/>
  153. <Cell col="1" displaytype="text" edittype="text" text="bind:keepplce"/>
  154. <Cell col="2" displaytype="text" edittype="text" text="bind:frompid"/>
  155. <Cell col="3" displaytype="text" edittype="text" text="bind:topid"/>
  156. <Cell col="4" text="bind:keepno"/>
  157. <Cell col="5" displaytype="date" edittype="date" text="bind:fstrgstdt" mask="yyyy-MM-dd hh:mm" calendardisplaynulltype="nulltext"/>
  158. <Cell col="6" text="bind:fstrgstruser"/>
  159. <Cell col="7" displaytype="date" edittype="date" text="bind:lastupdtdt" mask="yyyy-MM-dd hh:mm" calendardisplaynulltype="nulltext"/>
  160. <Cell col="8" text="bind:lastupdtruser"/>
  161. </Band>
  162. </Format>
  163. </Formats>
  164. </Grid>
  165. <Button position="absolute 775 5 850 24" id="btn_keepplcedel" class="btn2" taborder="17" text="선택행삭제" onclick="switch1_chrtkeepplce_btn_keepplcedel_onclick"/>
  166. <Button position="absolute 720 5 773 24" id="btn_keepplceadd" class="btn2" taborder="16" text="행추가" onclick="switch1_chrtkeepplce_btn_keepplceadd_onclick"/>
  167. <Button position="absolute 675 5 717 24" id="btn_keepplcesave" class="btn2" taborder="15" text="저장" onclick="switch1_chrtkeepplce_btn_keepplcesave_onclick"/>
  168. </Layout>
  169. </Layouts>
  170. </Tabpage>
  171. <Tabpage text="대출코드(외래차트)" id="rendcd">
  172. <Layouts>
  173. <Layout>
  174. <Grid position="absolute 0 26 860 572" id="grd_rendcdlist" taborder="26" binddataset="ds_main_rendcd_rendcdlist">
  175. <Formats>
  176. <Format id="default">
  177. <Columns>
  178. <Column size="25"/>
  179. <Column size="55"/>
  180. <Column size="150"/>
  181. <Column size="100"/>
  182. <Column size="70"/>
  183. <Column size="50"/>
  184. <Column size="120"/>
  185. <Column size="75"/>
  186. <Column size="120"/>
  187. <Column size="75"/>
  188. </Columns>
  189. <Rows>
  190. <Row size="24" band="head"/>
  191. <Row size="24"/>
  192. </Rows>
  193. <Band id="head">
  194. <Cell/>
  195. <Cell col="1" text="코드"/>
  196. <Cell col="2" text="대출사유"/>
  197. <Cell col="3" text="기본대출기간"/>
  198. <Cell col="4" text="기간단위"/>
  199. <Cell col="5" text="사용"/>
  200. <Cell col="6" text="최초등록일시"/>
  201. <Cell col="7" text="최초등록자"/>
  202. <Cell col="8" text="최종수정일시"/>
  203. <Cell col="9" text="최종수정자"/>
  204. </Band>
  205. <Band id="body">
  206. <Cell celltype="head"/>
  207. <Cell col="1" displaytype="text" edittype="text" style="align:center middle;" text="bind:rendcd"/>
  208. <Cell col="2" displaytype="text" edittype="text" style="padding:0 0 0 3;" text="bind:rendresn"/>
  209. <Cell col="3" displaytype="text" edittype="text" style="align:center middle;" text="bind:defltrendterm"/>
  210. <Cell col="4" displaytype="combo" edittype="combo" style="padding:0 0 0 3;" text="bind:defltrendtermunit" combodataset="ds_defltrendtermunit" combocodecol="value" combodatacol="label"/>
  211. <Cell col="5" displaytype="checkbox" edittype="checkbox" text="bind:useyn" expr="expr:useyn == 'Y' ? 1 : 0"/>
  212. <Cell col="6" displaytype="date" edittype="date" text="bind:fstrgstdt" mask="yyyy-MM-dd hh:mm" calendardisplaynulltype="nulltext"/>
  213. <Cell col="7" text="bind:fstrgstruser"/>
  214. <Cell col="8" displaytype="date" edittype="date" text="bind:lastupdtdt" mask="yyyy-MM-dd hh:mm" calendardisplaynulltype="nulltext"/>
  215. <Cell col="9" text="bind:lastupdtruser"/>
  216. </Band>
  217. </Format>
  218. </Formats>
  219. </Grid>
  220. <Button position="absolute 797 5 850 24" id="btn_rendcdadd" class="btn2" taborder="16" text="행추가" onclick="switch1_rendcd_btn_rendcdadd_onclick"/>
  221. <Button position="absolute 752 5 794 24" id="btn_rendcdsave" class="btn2" taborder="15" text="저장" onclick="switch1_rendcd_btn_rendcdsave_onclick"/>
  222. </Layout>
  223. </Layouts>
  224. </Tabpage>
  225. <Tabpage text="대출코드(입원차트)" id="inrendcd">
  226. <Layouts>
  227. <Layout>
  228. <Button position="absolute 797 5 850 24" id="btn_inrendcdadd" class="btn2" taborder="16" text="행추가" onclick="switch1_inrendcd_btn_inrendcdadd_onclick"/>
  229. <Button position="absolute 752 5 794 24" id="but_inrendcdsave" class="btn2" taborder="15" text="저장" onclick="switch1_inrendcd_but_inrendcdsave_onclick"/>
  230. <Grid position="absolute 0 26 860 572" id="grd_inrendcd" taborder="26" binddataset="ds_main_inrendcd_rendcdlist">
  231. <Formats>
  232. <Format id="default">
  233. <Columns>
  234. <Column size="25"/>
  235. <Column size="55"/>
  236. <Column size="150"/>
  237. <Column size="100"/>
  238. <Column size="70"/>
  239. <Column size="50"/>
  240. <Column size="120"/>
  241. <Column size="75"/>
  242. <Column size="120"/>
  243. <Column size="75"/>
  244. </Columns>
  245. <Rows>
  246. <Row size="24" band="head"/>
  247. <Row size="24"/>
  248. </Rows>
  249. <Band id="head">
  250. <Cell/>
  251. <Cell col="1" text="코드"/>
  252. <Cell col="2" text="대출사유"/>
  253. <Cell col="3" text="기본대출기간"/>
  254. <Cell col="4" text="기간단위"/>
  255. <Cell col="5" text="사용"/>
  256. <Cell col="6" text="최초등록일시"/>
  257. <Cell col="7" text="최초등록자"/>
  258. <Cell col="8" text="최종수정일시"/>
  259. <Cell col="9" text="최종수정자"/>
  260. </Band>
  261. <Band id="body">
  262. <Cell celltype="head"/>
  263. <Cell col="1" displaytype="text" edittype="text" text="bind:rendcd"/>
  264. <Cell col="2" displaytype="text" edittype="text" text="bind:rendresn"/>
  265. <Cell col="3" displaytype="text" edittype="text" text="bind:defltrendterm"/>
  266. <Cell col="4" displaytype="combo" edittype="combo" style="padding:0 0 0 3;" text="bind:defltrendtermunit" combodataset="ds_cmb_defltrendtermunit" combocodecol="value" combodatacol="label"/>
  267. <Cell col="5" displaytype="checkbox" edittype="checkbox" text="bind:useyn" expr="expr:useryn == &quot;Y&quot; ? &quot;1&quot; : &quot;0&quot;"/>
  268. <Cell col="6" displaytype="date" edittype="date" text="bind:fstrgstdt" mask="yyyy-MM-dd hh:mm" calendardisplaynulltype="nulltext"/>
  269. <Cell col="7" text="bind:fstrgstruser"/>
  270. <Cell col="8" displaytype="date" edittype="date" text="bind:lastupdtdt" mask="yyyy-MM-dd hh:mm" calendardisplaynulltype="nulltext"/>
  271. <Cell col="9" text="bind:lastupdtruser"/>
  272. </Band>
  273. </Format>
  274. </Formats>
  275. </Grid>
  276. </Layout>
  277. </Layouts>
  278. </Tabpage>
  279. <Tabpage text="대출과(센터)정보" id="lenddept">
  280. <Layouts>
  281. <Layout>
  282. <Grid position="absolute 0 26 860 572" id="grd_lenddept" taborder="18" binddataset="ds_main_lenddept_lenddeptlist" onexpanddown="switch1_lenddept_grd_lenddept_onexpanddown">
  283. <Formats>
  284. <Format id="default">
  285. <Columns>
  286. <Column size="25"/>
  287. <Column size="130"/>
  288. <Column size="16"/>
  289. <Column size="80"/>
  290. <Column size="40"/>
  291. <Column size="90"/>
  292. <Column size="80"/>
  293. <Column size="110"/>
  294. <Column size="80"/>
  295. <Column size="110"/>
  296. <Column size="75"/>
  297. </Columns>
  298. <Rows>
  299. <Row size="24" band="head"/>
  300. <Row size="24"/>
  301. </Rows>
  302. <Band id="head">
  303. <Cell/>
  304. <Cell col="1" colspan="3" text="대출과" taborder="undefined"/>
  305. <Cell col="4" text="사용"/>
  306. <Cell col="5" text="전체병동 포함"/>
  307. <Cell col="6" text="최초등록자"/>
  308. <Cell col="7" text="최초등록일시"/>
  309. <Cell col="8" text="최종수정자"/>
  310. <Cell col="9" text="최종수정일시"/>
  311. <Cell col="10" text="종료된부서"/>
  312. </Band>
  313. <Band id="body">
  314. <Cell celltype="head"/>
  315. <Cell col="1" style="align:left middle;padding:0 0 0 3;" text="bind:lenddeptnm"/>
  316. <Cell col="2" displaytype="text" edittype="expand" text="bind:lenddeptcd" expandshow="show"/>
  317. <Cell col="3" text="bind:lenddeptabbr"/>
  318. <Cell col="4" displaytype="checkbox" edittype="checkbox" text="bind:usedyn" expr="expr:usedyn == 'Y' ? 1 : 0"/>
  319. <Cell col="5" displaytype="checkbox" edittype="checkbox" text="bind:allwardyn" expr="expr:allwardyn == 'Y' ? 1 : 0"/>
  320. <Cell col="6" text="bind:fstrgstrid"/>
  321. <Cell col="7" displaytype="date" edittype="date" text="bind:fstrgstdt" mask="yyyy-MM-dd hh:mm" calendardisplaynulltype="nulltext"/>
  322. <Cell col="8" text="bind:lastupdtrid"/>
  323. <Cell col="9" displaytype="date" edittype="date" text="bind:lastupdtdt" mask="yyyy-MM-dd hh:mm" calendardisplaynulltype="nulltext"/>
  324. <Cell col="10" text="bind:lastdeptnm"/>
  325. </Band>
  326. </Format>
  327. </Formats>
  328. </Grid>
  329. <Button position="absolute 775 5 850 24" id="button1" class="btn2" text="선택행삭제" onclick="switch1_lenddept_button1_onclick"/>
  330. <Button position="absolute 720 5 773 24" id="button2" class="btn2" text="행추가" onclick="switch1_lenddept_button2_onclick"/>
  331. <Button position="absolute 675 5 717 24" id="button3" class="btn2" text="저장" onclick="switch1_lenddept_button3_onclick"/>
  332. <Radio position="absolute 5 5 150 25" id="rdo_allwardyn" columncount="3" codecolumn="codecolumn" datacolumn="datacolumn" onitemchanged="switch1_lenddept_rdo_allwardyn_onitemchanged">
  333. <Dataset id="innerdataset">
  334. <ColumnInfo>
  335. <Column id="codecolumn"/>
  336. <Column id="datacolumn"/>
  337. </ColumnInfo>
  338. <Rows>
  339. <Row>
  340. <Col id="codecolumn">
  341. </Col>
  342. <Col id="datacolumn">전체</Col>
  343. </Row>
  344. <Row>
  345. <Col id="codecolumn">N</Col>
  346. <Col id="datacolumn">부서</Col>
  347. </Row>
  348. <Row>
  349. <Col id="codecolumn">Y</Col>
  350. <Col id="datacolumn">병동</Col>
  351. </Row>
  352. </Rows>
  353. </Dataset>
  354. </Radio>
  355. </Layout>
  356. </Layouts>
  357. </Tabpage>
  358. <Tabpage text="대출용도 SET (외래차트)" id="lendset">
  359. <Layouts>
  360. <Layout>
  361. <Button position="absolute 505 5 580 24" id="button5" class="btn2" text="선택행삭제" onclick="switch1_lendset_button5_onclick"/>
  362. <Button position="absolute 450 5 503 24" id="button6" class="btn2" text="행추가" onclick="switch1_lendset_button6_onclick"/>
  363. <Button position="absolute 405 5 447 24" id="button7" class="btn2" text="저장" onclick="switch1_lendset_button7_onclick"/>
  364. <Grid position="absolute 0 26 580 573" id="grd_setcdlist" taborder="18" binddataset="ds_main_lendset_lendsetlist" onexpanddown="switch1_lendset_grd_setcdlist_onexpanddown" oncelldblclick="switch1_lendset_grd_setcdlist_oncelldblclick" selecttype="multirow">
  365. <Formats>
  366. <Format id="default">
  367. <Columns>
  368. <Column size="25"/>
  369. <Column size="0"/>
  370. <Column size="110"/>
  371. <Column size="50"/>
  372. <Column size="58"/>
  373. <Column size="100"/>
  374. <Column size="20"/>
  375. <Column size="60"/>
  376. <Column size="105"/>
  377. <Column size="90"/>
  378. <Column size="105"/>
  379. <Column size="0"/>
  380. <Column size="0"/>
  381. </Columns>
  382. <Rows>
  383. <Row size="30" band="head"/>
  384. <Row size="24"/>
  385. </Rows>
  386. <Band id="head">
  387. <Cell/>
  388. <Cell col="1" text="SET 코드"/>
  389. <Cell col="2" text="SET 명"/>
  390. <Cell col="3" text="의 사&#13;&#10;사 용"/>
  391. <Cell col="4" text="간호사&#13;&#10;사 용"/>
  392. <Cell col="5" colspan="2" text="사용부서" taborder="undefined"/>
  393. <Cell col="7" text="최 초&#13;&#10;등록자"/>
  394. <Cell col="8" text="최초등록일시"/>
  395. <Cell col="9" text="최종 수정자"/>
  396. <Cell col="10" text="최종수정일시"/>
  397. <Cell col="11" text="deptcd"/>
  398. <Cell col="12"/>
  399. </Band>
  400. <Band id="body">
  401. <Cell celltype="head"/>
  402. <Cell col="1" text="bind:setcd"/>
  403. <Cell col="2" displaytype="text" edittype="text" text="bind:setnm"/>
  404. <Cell col="3" displaytype="checkbox" edittype="checkbox" text="bind:drflag" expr="expr:drflag == 'Y' ? 1 : 0"/>
  405. <Cell col="4" displaytype="checkbox" edittype="checkbox" text="bind:nursflag" expr="expr:nursflag == 'Y' ? 1 : 0"/>
  406. <Cell col="5" displaytype="text" edittype="text" text="bind:deptnm"/>
  407. <Cell col="6" displaytype="text" edittype="expand" expandshow="show"/>
  408. <Cell col="7" text="bind:fstrgstrusernm"/>
  409. <Cell col="8" displaytype="date" edittype="date" text="bind:fstrgstdt" mask="yyyy-MM-dd hh:mm" calendardisplaynulltype="nulltext"/>
  410. <Cell col="9" text="bind:lastupdtrusernm"/>
  411. <Cell col="10" displaytype="date" edittype="date" text="bind:lastupdtdt" mask="yyyy-MM-dd hh:mm" calendardisplaynulltype="nulltext"/>
  412. <Cell col="11" text="bind:deptcd"/>
  413. <Cell col="12" text="bind:deptabbr"/>
  414. </Band>
  415. </Format>
  416. </Formats>
  417. </Grid>
  418. <Grid position="absolute 585 26 857 573" id="grd_setitemlist" taborder="26" binddataset="ds_main_lendsetitem_setitemlist">
  419. <Formats>
  420. <Format id="default">
  421. <Columns>
  422. <Column size="50"/>
  423. <Column size="100"/>
  424. <Column size="50"/>
  425. <Column size="50"/>
  426. </Columns>
  427. <Rows>
  428. <Row size="29" band="head"/>
  429. <Row size="24"/>
  430. </Rows>
  431. <Band id="head">
  432. <Cell text="코드"/>
  433. <Cell col="1" text="대출용도"/>
  434. <Cell col="2" text="대출시&#13;&#10;사 용"/>
  435. <Cell col="3" text="조회시&#13;&#10;사 용"/>
  436. </Band>
  437. <Band id="body">
  438. <Cell text="bind:rendcd"/>
  439. <Cell col="1" style="align:left middle;padding:0 0 0 3;" text="bind:rendresn"/>
  440. <Cell col="2" displaytype="checkbox" edittype="checkbox" text="bind:lenduseyn" expr="expr:lenduseyn == 'Y' ? 1 : 0"/>
  441. <Cell col="3" displaytype="checkbox" edittype="checkbox" text="bind:srchuseyn" expr="expr:srchuseyn == 'Y' ? 1 : 0"/>
  442. </Band>
  443. </Format>
  444. </Formats>
  445. </Grid>
  446. <Button position="absolute 790 5 854 24" id="button8" class="btn2" text="항목저장" onclick="switch1_lendset_button8_onclick"/>
  447. <Static text="* SET 명:" position="absolute 585 7 655 22" id="caption1" style="color:#0000ffff;font:Dotum,9,bold;"/>
  448. <Static text="..." position="absolute 650 7 785 22" id="cap_setnm" style="color:#0000ffff;font:Dotum,9,bold;"/>
  449. </Layout>
  450. </Layouts>
  451. </Tabpage>
  452. </Tabpages>
  453. </Tab>
  454. <Static id="caption6" text="차트대출정보관리" class="tit_1" position="absolute 0 0 147 24"/>
  455. </Layout>
  456. </Layouts>
  457. <Objects>
  458. <Dataset id="ds_main_chrtdept_chrtdeptlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  459. <ColumnInfo>
  460. <Column id="chrtdeptnm" type="STRING"/>
  461. <Column id="chrtdeptcd" type="STRING"/>
  462. <Column id="chrtdeptabbr" type="STRING"/>
  463. <Column id="deptnm" type="STRING"/>
  464. <Column id="deptcd" type="STRING"/>
  465. <Column id="deptabbr" type="STRING"/>
  466. <Column id="chrtdeptno" type="STRING"/>
  467. <Column id="fstrgstdt" type="STRING"/>
  468. <Column id="fstrgstruser" type="STRING"/>
  469. <Column id="lastupdtdt" type="STRING"/>
  470. <Column id="lastupdtruser" type="STRING"/>
  471. </ColumnInfo>
  472. </Dataset>
  473. <Dataset id="ds_main_chrtuser_chgrlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  474. <ColumnInfo>
  475. <Column id="deptnm" type="STRING"/>
  476. <Column id="deptcd" type="STRING"/>
  477. <Column id="deptabbr" type="STRING"/>
  478. <Column id="userid" type="STRING"/>
  479. <Column id="chgrno" type="STRING"/>
  480. <Column id="fstrgstdt" type="STRING"/>
  481. <Column id="fstrgstruser" type="STRING"/>
  482. <Column id="lastupdtdt" type="STRING"/>
  483. <Column id="lastupdtruser" type="STRING"/>
  484. </ColumnInfo>
  485. </Dataset>
  486. <Dataset id="ds_main_chrtkeepplce_keepplcelist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  487. <ColumnInfo>
  488. <Column id="keepplce" type="STRING"/>
  489. <Column id="frompid" type="STRING"/>
  490. <Column id="topid" type="STRING"/>
  491. <Column id="keepno" type="STRING"/>
  492. <Column id="fstrgstdt" type="STRING"/>
  493. <Column id="fstrgstruser" type="STRING"/>
  494. <Column id="lastupdtdt" type="STRING"/>
  495. <Column id="lastupdtruser" type="STRING"/>
  496. </ColumnInfo>
  497. </Dataset>
  498. <Dataset id="ds_main_rendcd_rendcdlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false" oncolumnchanged="ds_main_rendcd_rendcdlist_oncolumnchanged">
  499. <ColumnInfo>
  500. <Column id="rendcd" type="STRING"/>
  501. <Column id="rendresn" type="STRING"/>
  502. <Column id="defltrendterm" type="STRING"/>
  503. <Column id="defltrendtermunit" type="STRING"/>
  504. <Column id="useyn" type="STRING"/>
  505. <Column id="fstrgstdt" type="STRING"/>
  506. <Column id="fstrgstruser" type="STRING"/>
  507. <Column id="lastupdtdt" type="STRING"/>
  508. <Column id="lastupdtruser" type="STRING"/>
  509. </ColumnInfo>
  510. </Dataset>
  511. <Dataset id="ds_main_inrendcd_rendcdlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false" oncolumnchanged="ds_main_inrendcd_rendcdlist_oncolumnchanged">
  512. <ColumnInfo>
  513. <Column id="rendcd" type="STRING"/>
  514. <Column id="rendresn" type="STRING"/>
  515. <Column id="defltrendterm" type="STRING"/>
  516. <Column id="defltrendtermunit" type="STRING"/>
  517. <Column id="useyn" type="STRING"/>
  518. <Column id="fstrgstdt" type="STRING"/>
  519. <Column id="fstrgstruser" type="STRING"/>
  520. <Column id="lastupdtdt" type="STRING"/>
  521. <Column id="lastupdtruser" type="STRING"/>
  522. </ColumnInfo>
  523. </Dataset>
  524. <Dataset id="ds_main_lenddept_lenddeptlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false" oncolumnchanged="ds_main_lenddept_lenddeptlist_oncolumnchanged">
  525. <ColumnInfo>
  526. <Column id="lenddeptnm" type="STRING"/>
  527. <Column id="lenddeptcd" type="STRING"/>
  528. <Column id="lenddeptabbr" type="STRING"/>
  529. <Column id="usedyn" type="STRING"/>
  530. <Column id="allwardyn" type="STRING"/>
  531. <Column id="fstrgstrid" type="STRING"/>
  532. <Column id="fstrgstdt" type="STRING"/>
  533. <Column id="lastupdtrid" type="STRING"/>
  534. <Column id="lastupdtdt" type="STRING"/>
  535. <Column id="lastdeptnm" type="STRING"/>
  536. </ColumnInfo>
  537. </Dataset>
  538. <Dataset id="ds_main_lendset_lendsetlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false" oncolumnchanged="ds_main_lendset_lendsetlist_oncolumnchanged">
  539. <ColumnInfo>
  540. <Column id="setcd" type="STRING"/>
  541. <Column id="setnm" type="STRING"/>
  542. <Column id="drflag" type="STRING"/>
  543. <Column id="nursflag" type="STRING"/>
  544. <Column id="deptnm" type="STRING"/>
  545. <Column id="fstrgstrusernm" type="STRING"/>
  546. <Column id="fstrgstdt" type="STRING"/>
  547. <Column id="lastupdtrusernm" type="STRING"/>
  548. <Column id="lastupdtdt" type="STRING"/>
  549. <Column id="deptcd" type="STRING"/>
  550. <Column id="deptabbr" type="STRING"/>
  551. </ColumnInfo>
  552. </Dataset>
  553. <Dataset id="ds_main_lendsetitem_setitemlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false" oncolumnchanged="ds_main_lendsetitem_setitemlist_oncolumnchanged">
  554. <ColumnInfo>
  555. <Column id="rendcd" type="STRING"/>
  556. <Column id="rendresn" type="STRING"/>
  557. <Column id="lenduseyn" type="STRING"/>
  558. <Column id="srchuseyn" type="STRING"/>
  559. </ColumnInfo>
  560. </Dataset>
  561. <Dataset id="ds_send_reqdata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  562. <ColumnInfo>
  563. <Column id="allwardyn" type="STRING" size="256"/>
  564. <Column id="deptcd" type="STRING" size="256"/>
  565. <Column id="ioflag" type="STRING" size="256"/>
  566. <Column id="nursflag" type="STRING" size="256"/>
  567. <Column id="setcd" type="STRING" size="256"/>
  568. <Column id="hardcd" type="STRING" size="256"/>
  569. </ColumnInfo>
  570. <Rows>
  571. <Row/>
  572. </Rows>
  573. </Dataset>
  574. <Dataset id="ds_hidden_dept" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  575. <ColumnInfo>
  576. <Column id="deptnm" type="STRING" size="256"/>
  577. <Column id="deptcd" type="STRING" size="256"/>
  578. </ColumnInfo>
  579. <Rows>
  580. <Row/>
  581. </Rows>
  582. </Dataset>
  583. <Dataset id="ds_hidden" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  584. <ColumnInfo>
  585. <Column id="setnm" type="STRING" size="256"/>
  586. <Column id="setcd" type="STRING" size="256"/>
  587. </ColumnInfo>
  588. <Rows>
  589. <Row/>
  590. </Rows>
  591. </Dataset>
  592. <Dataset id="ds_init_dept" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  593. <ColumnInfo>
  594. <Column id="depthnm" type="STRING" size="256"/>
  595. <Column id="deptcd" type="STRING" size="256"/>
  596. </ColumnInfo>
  597. <Rows>
  598. <Row/>
  599. </Rows>
  600. </Dataset>
  601. <Dataset id="ds_init_user" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  602. <ColumnInfo>
  603. <Column id="nm" type="STRING" size="256"/>
  604. <Column id="id" type="STRING" size="256"/>
  605. </ColumnInfo>
  606. <Rows>
  607. <Row/>
  608. </Rows>
  609. </Dataset>
  610. <Dataset id="ds_temp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  611. <ColumnInfo>
  612. <Column id="hardcd" type="STRING" size="256"/>
  613. </ColumnInfo>
  614. <Rows>
  615. <Row/>
  616. </Rows>
  617. </Dataset>
  618. <Dataset id="ds_temp_hardcd_hardcd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  619. <ColumnInfo>
  620. <Column id="hardcd" type="STRING" size="256"/>
  621. </ColumnInfo>
  622. <Rows>
  623. <Row/>
  624. </Rows>
  625. </Dataset>
  626. <Dataset id="ds_defltrendtermunit" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  627. <ColumnInfo>
  628. <Column id="label" type="STRING" size="256"/>
  629. <Column id="value" type="STRING" size="256"/>
  630. </ColumnInfo>
  631. <Rows>
  632. <Row>
  633. <Col id="label">일(Day)</Col>
  634. <Col id="value">D</Col>
  635. </Row>
  636. <Row>
  637. <Col id="label">월(Month)</Col>
  638. <Col id="value">M</Col>
  639. </Row>
  640. <Row>
  641. <Col id="label">년(Year)</Col>
  642. <Col id="value">Y</Col>
  643. </Row>
  644. </Rows>
  645. </Dataset>
  646. <Dataset id="ds_cmb_defltrendtermunit" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  647. <ColumnInfo>
  648. <Column id="label" type="STRING" size="256"/>
  649. <Column id="value" type="STRING" size="256"/>
  650. </ColumnInfo>
  651. <Rows>
  652. <Row>
  653. <Col id="label">일(Day)</Col>
  654. <Col id="value">D</Col>
  655. </Row>
  656. <Row>
  657. <Col id="label">월(Month)</Col>
  658. <Col id="value">M</Col>
  659. </Row>
  660. <Row>
  661. <Col id="label">년(Year)</Col>
  662. <Col id="value">Y</Col>
  663. </Row>
  664. </Rows>
  665. </Dataset>
  666. <Dataset id="ds_send_savedata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  667. </Objects>
  668. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  669. * System Name :
  670. * Job Name :
  671. * Creator :
  672. * Make Date : 2015-11-13
  673. * Description :
  674. *---------------------------------------------------------------------------------------
  675. * Modify Date Modifier Modify Description
  676. *---------------------------------------------------------------------------------------
  677. * 2015-11-13 Live Converter TF->XP
  678. *
  679. *---------------------------------------------------------------------------------------
  680. ****************************************************************************************/
  681. include "com_commonxp::comm_main.xjs";
  682. include "com_basiccodexp::ZBC001.xjs";
  683. include "com_departmentcodexp::ZSD001.xjs";
  684. include "emr_commonxp::EMRCommon.xjs";
  685. include "emr_chrtmngtxp::SMMRC01300.xjs";
  686. function SMMRC01300_oninit(obj:Form, e:InitEventInfo)
  687. {
  688. frmf_initForm(obj);
  689. }
  690. function SMMRC01300_onload(obj:Form, e:LoadEventInfo)
  691. {
  692. grdf_initGrid(switch1.chrtdept.grd_chrtdeptlist); //차트과 정보
  693. grdf_initGrid(switch1.chrtuser.grd_chgrlist); //차트담당자
  694. grdf_initGrid(switch1.chrtkeepplce.grd_keepplcelist); //차트보관장소
  695. grdf_initGrid(switch1.rendcd.grd_rendcdlist); //대출코드(외래차트)
  696. grdf_initGrid(switch1.inrendcd.grd_inrendcd); //대출코드(입원차트)
  697. grdf_initGrid(switch1.lenddept.grd_lenddept); //대출과(센터)정보
  698. grdf_initGrid(switch1.lendset.grd_setcdlist); //대출용도SET(외래차트)
  699. grdf_initGrid(switch1.lendset.grd_setitemlist); //대출용도SET(외래차트)
  700. grdf_setRowTypeIcon(switch1.chrtdept.grd_chrtdeptlist, 0);
  701. grdf_setRowTypeIcon(switch1.chrtuser.grd_chgrlist, 0);
  702. grdf_setRowTypeIcon(switch1.chrtkeepplce.grd_keepplcelist, 0);
  703. grdf_setRowTypeIcon(switch1.rendcd.grd_rendcdlist, 0);
  704. grdf_setRowTypeIcon(switch1.inrendcd.grd_inrendcd, 0);
  705. grdf_setRowTypeIcon(switch1.lenddept.grd_lenddept, 0);
  706. grdf_setRowTypeIcon(switch1.lendset.grd_setcdlist, 0);
  707. fFormInit(); // 폼초기화
  708. }
  709. function switch1_chrtdept_btn_chrtdeptsave_onclick(obj:Button, e:ClickEventInfo)
  710. {
  711. fSaveChrtDept();
  712. }
  713. function switch1_chrtdept_grd_chrtdeptlist_onexpandup(obj:Grid, e:GridMouseEventInfo)
  714. {
  715. if(e.col == 2)
  716. {
  717. trace("aa")
  718. fReceiveDept(ds_main_chrtdept_chrtdeptlist, "C");
  719. }
  720. else
  721. {
  722. trace("bb")
  723. fReceiveDept(ds_main_chrtdept_chrtdeptlist, "O");
  724. }
  725. }
  726. function fReceiveDept(gridObj, flag)
  727. {
  728. if (gridObj.rowcount > 0)
  729. {
  730. // 부서코드 가져오기.. (팝업)
  731. fReceiveDeptPopup();
  732. var deptcd = ds_hidden_dept.getColumn(0, "deptcd");
  733. var deptnm = ds_hidden_dept.getColumn(0, "deptnm");
  734. if(!utlf_isNull(deptcd))
  735. {
  736. var gridPath = gridObj
  737. switch (flag)
  738. {
  739. case "C":
  740. gridPath.setColumn(gridPath.rowposition, "chrtdeptcd", deptcd);
  741. gridPath.setColumn(gridPath.rowposition, "chrtdeptnm", deptnm);
  742. gridPath.setColumn(gridPath.rowposition, "chrtdeptabbr", "");
  743. break;
  744. case "O":
  745. gridPath.setColumn(gridPath.rowposition, "deptcd", deptcd);
  746. gridPath.setColumn(gridPath.rowposition, "deptnm", deptnm);
  747. gridPath.setColumn(gridPath.rowposition, "deptabbr", "");
  748. break;
  749. case "R":
  750. gridPath.setColumn(gridPath.rowposition, "deptcd", deptcd);
  751. gridPath.setColumn(gridPath.rowposition, "deptnm", deptnm);
  752. gridPath.setColumn(gridPath.rowposition, "deptabbr", "");
  753. break;
  754. case "L":
  755. gridPath.setColumn(gridPath.rowposition, "lenddeptcd", deptcd);
  756. gridPath.setColumn(gridPath.rowposition, "lenddeptnm", deptnm);
  757. gridPath.setColumn(gridPath.rowposition, "lenddeptabbr", "");
  758. break;
  759. case "S":
  760. gridPath.setColumn(gridPath.rowposition, "deptcd", deptcd);
  761. gridPath.setColumn(gridPath.rowposition, "deptnm", deptnm);
  762. gridPath.setColumn(gridPath.rowposition, "deptabbr", "");
  763. break;
  764. };
  765. // rowStatus - 0:기본, 1:추가, 2:변경
  766. if (gridObj.getRowType(gridObj.rowposition) == 1)
  767. {
  768. gridObj.setRowType(gridObj.rowposition) = 4;
  769. }
  770. }
  771. }
  772. }
  773. //행추가
  774. function switch1_chrtdept_btn_chrtdeptadd_onclick(obj:Button, e:ClickEventInfo)
  775. {
  776. ds_main_chrtdept_chrtdeptlist.addRow();
  777. ds_main_chrtdept_chrtdeptlist.rowposition = ds_main_chrtdept_chrtdeptlist.rowcount-1;
  778. }
  779. function switch1_chrtdept_btn_chrtdeptdel_onclick(obj:Button, e:ClickEventInfo)
  780. {
  781. var chrtdeptno = ds_main_chrtdept_chrtdeptlist.getColumn(ds_main_chrtdept_chrtdeptlist.rowposition, "chrtdeptno"); //model.getValue("/root/main/chrtdept/chrtdeptlist[" + grd_chrtdeptlist.row + "]/chrtdeptno");
  782. dsf_createDsRow("ds_send_savedata", [{col : "chrtdeptno", val : chrtdeptno}]);
  783. var oParam = {};
  784. oParam.id = "TXMRC01306";
  785. oParam.service = "chrtmngtapp.ChrtRendMngt";
  786. oParam.method = "delChrtDeptList";
  787. oParam.inds = "req=ds_send_savedata";
  788. oParam.outds = "ds_main_chrtdept_chrtdeptlist=chrtdeptlist";
  789. oParam.async = false;
  790. //oParam.callback = "cf_TXMRC01306";
  791. tranf_submit(oParam);
  792. }
  793. function switch1_chrtuser_btn_chrtusersave_onclick(obj:Button, e:ClickEventInfo)
  794. {
  795. fSaveChrtUser();
  796. }
  797. //차트담당자 행추가
  798. function switch1_chrtuser_btn_chrtuseradd_onclick(obj:Button, e:ClickEventInfo)
  799. {
  800. ds_main_chrtuser_chgrlist.addRow();
  801. ds_main_chrtuser_chgrlist.rowposition = ds_main_chrtuser_chgrlist.rowcount-1;
  802. }
  803. //차트담당자 선택행삭제
  804. function switch1_chrtuser_btn_chrtuserdel_onclick(obj:Button, e:ClickEventInfo)
  805. {
  806. var chgrno = ds_main_chrtuser_chgrlist.getColumn(ds_main_chrtuser_chgrlist.rowposition, "chgrno");
  807. dsf_createDsRow("ds_send_savedata", [{col : "chgrno", val : chgrno}]);
  808. var oParam = {};
  809. oParam.id = "TXMRC01302";
  810. oParam.service = "chrtmngtapp.ChrtRendMngt";
  811. oParam.method = "delChgrList";
  812. oParam.inds = "req=ds_send_savedata";
  813. oParam.outds = "ds_main_chrtuser_chgrlist=chgrlist";
  814. oParam.async = false;
  815. //oParam.callback = "cf_TXMRC01302";
  816. tranf_submit(oParam);
  817. }
  818. function switch1_chrtuser_grd_chgrlist_onexpandup(obj:Grid, e:GridMouseEventInfo)
  819. {
  820. fReceiveDept(ds_main_chrtuser_chgrlist, "R");
  821. }
  822. function switch1_chrtkeepplce_btn_keepplcesave_onclick(obj:Button, e:ClickEventInfo)
  823. {
  824. fSaveKeepPlce();
  825. }
  826. function switch1_chrtkeepplce_btn_keepplceadd_onclick(obj:Button, e:ClickEventInfo)
  827. {
  828. ds_main_chrtkeepplce_keepplcelist.addRow();
  829. ds_main_chrtkeepplce_keepplcelist.rowposition = ds_main_chrtkeepplce_keepplcelist.rowcount -1;
  830. }
  831. function switch1_chrtkeepplce_btn_keepplcedel_onclick(obj:Button, e:ClickEventInfo)
  832. {
  833. var keepno = ds_main_chrtkeepplce_keepplcelist.getColumn(ds_main_chrtkeepplce_keepplcelist.rowposition, "keepno");
  834. dsf_createDsRow("ds_send_savedata", [{col : "keepno", val : keepno}]);
  835. var oParam = {};
  836. oParam.id = "TXMRC01302";
  837. oParam.service = "chrtmngtapp.ChrtRendMngt";
  838. oParam.method = "delKeepList";
  839. oParam.inds = "req=ds_send_savedata";
  840. oParam.outds = "ds_main_chrtkeepplce_keepplcelist=keepplcelist";
  841. oParam.async = false;
  842. //oParam.callback = "cf_TXMRC01302";
  843. tranf_submit(oParam);
  844. }
  845. //대출코드(외래차트)저장
  846. function switch1_rendcd_btn_rendcdsave_onclick(obj:Button, e:ClickEventInfo)
  847. {
  848. fSaveRendCd();
  849. }
  850. function switch1_rendcd_btn_rendcdadd_onclick(obj:Button, e:ClickEventInfo)
  851. {
  852. var rendrow = ds_main_rendcd_rendcdlist.addRow();
  853. ds_main_rendcd_rendcdlist.rowposition = ds_main_rendcd_rendcdlist.rowcount -1;
  854. ds_main_rendcd_rendcdlist.setColumn(rendrow, "defltrendterm", "0");
  855. ds_main_rendcd_rendcdlist.setColumn(rendrow, "defltrendtermunit", "D");
  856. ds_main_rendcd_rendcdlist.setColumn(rendrow, "useyn", "Y");
  857. }
  858. function ds_main_rendcd_rendcdlist_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
  859. {
  860. if(e.columnid == "useyn")
  861. {
  862. obj.setColumn(e.row, "useyn", (e.newvalue == "Y" || e.newvalue == 1) ? "Y" : "N");
  863. }
  864. }
  865. function ds_main_inrendcd_rendcdlist_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
  866. {
  867. if(e.columnid == "useyn")
  868. {
  869. obj.setColumn(e.row, "useyn", (e.newvalue == "Y" || e.newvalue == 1) ? "Y" : "N");
  870. }
  871. }
  872. function switch1_inrendcd_but_inrendcdsave_onclick(obj:Button, e:ClickEventInfo)
  873. {
  874. fSaveInRendCd();
  875. }
  876. function switch1_inrendcd_btn_inrendcdadd_onclick(obj:Button, e:ClickEventInfo)
  877. {
  878. var addRow = ds_main_inrendcd_rendcdlist.addRow();
  879. ds_main_inrendcd_rendcdlist.setColumn(addRow, "defltrendterm","0");
  880. ds_main_inrendcd_rendcdlist.setColumn(addRow, "defltrendtermunit","D");
  881. ds_main_inrendcd_rendcdlist.setColumn(addRow, "useyn","Y");
  882. }
  883. function switch1_lenddept_rdo_allwardyn_onitemchanged(obj:Radio, e:ItemChangeEventInfo)
  884. {
  885. var oParam = {};
  886. oParam.id = "TRMRC01311";
  887. oParam.service = "chrtmngtapp.ChrtRendMngt";
  888. oParam.method = "reqGetLendDeptList";
  889. oParam.inds = "req=ds_send_reqdata";
  890. oParam.outds = "ds_main_lenddept_lenddeptlist=lenddeptlist";
  891. oParam.async = false;
  892. //oParam.callback = "cf_TRMRC01311";
  893. tranf_submit(oParam);
  894. }
  895. function ds_main_lenddept_lenddeptlist_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
  896. {
  897. if(e.columnid == "usedyn")
  898. {
  899. obj.setColumn(e.row, "usedyn", (e.newvalue == "Y" || e.newvalue == 1) ? "Y" : "N");
  900. }
  901. if(e.columnid == "allwardyn")
  902. {
  903. obj.setColumn(e.row, "allwardyn", (e.newvalue == "Y" || e.newvalue == 1) ? "Y" : "N");
  904. }
  905. }
  906. function switch1_lenddept_grd_lenddept_onexpanddown(obj:Grid, e:GridMouseEventInfo)
  907. {
  908. fReceiveDept(obj, "L");
  909. }
  910. function switch1_lenddept_button3_onclick(obj:Button, e:ClickEventInfo)
  911. {
  912. fSaveLendDept();
  913. }
  914. function switch1_lenddept_button2_onclick(obj:Button, e:ClickEventInfo)
  915. {
  916. var addRow = ds_main_lenddept_lenddeptlist.addRow();
  917. ds_main_lenddept_lenddeptlist.setColumn(addRow, "usedyn", "Y");
  918. ds_main_lenddept_lenddeptlist.setColumn(addRow, "allwardyn", "Y");
  919. }
  920. function switch1_lenddept_button1_onclick(obj:Button, e:ClickEventInfo)
  921. {
  922. ds_main_lenddept_lenddeptlist.updatecontrol = false;
  923. ds_main_lenddept_lenddeptlist.setRowType(ds_main_lenddept_lenddeptlist.rowposition, "d");
  924. ds_main_lenddept_lenddeptlist.updatecontrol = true;
  925. var lenddeptcd = ds_main_lenddept_lenddeptlist.getColumn(ds_main_lenddept_lenddeptlist.rowposition, "lenddeptcd");
  926. dsf_makeValue(ds_send_savedata, "lenddeptcd", "string", lenddeptcd);
  927. var oParam = {};
  928. oParam.id = "TXMRC01703";
  929. oParam.service = "chrtmngtapp.ChrtRendMngt";
  930. oParam.method = "reqDelLendDeptList";
  931. oParam.inds = "req=ds_send_savedata";
  932. oParam.outds = "ds_main_lenddept_lenddeptlist=lenddeptlist";
  933. oParam.async = false;
  934. //oParam.callback = "cf_TXMRC01703";
  935. tranf_submit(oParam);
  936. }
  937. function ds_main_lendset_lendsetlist_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
  938. {
  939. if(e.columnid == "drflag")
  940. {
  941. obj.setColumn(e.row, "drflag", (e.newvalue == "Y" || e.newvalue == 1) ? "Y" : "N");
  942. }
  943. if(e.columnid == "nursflag")
  944. {
  945. obj.setColumn(e.row, "nursflag", (e.newvalue == "Y" || e.newvalue == 1) ? "Y" : "N");
  946. }
  947. }
  948. function switch1_lendset_grd_setcdlist_onexpanddown(obj:Grid, e:GridMouseEventInfo)
  949. {
  950. fReceiveDept(obj, "S");
  951. }
  952. function switch1_lendset_grd_setcdlist_oncelldblclick(obj:Grid, e:GridClickEventInfo)
  953. {
  954. if (ds_main_lendset_lendsetlist.rowcount > 0 && obj.currentcol > 6)
  955. {
  956. var setcd = ds_main_lendset_lendsetlist.getColumn(ds_main_lendset_lendsetlist.rowposition, "setcd");
  957. if (!utlf_isNull(setcd))
  958. {
  959. dsf_makeValue(ds_send_savedata, "setcd", "String", setcd);
  960. dsf_makeValue(ds_send_savedata, "useyn", "String", "");
  961. var oParam = {};
  962. oParam.id = "TRMRC01313";
  963. oParam.service = "chrtmngtapp.ChrtRendMngt";
  964. oParam.method = "reqGetLendSetItem";
  965. oParam.inds = "req=ds_send_savedata";
  966. oParam.outds = "ds_main_lendsetitem_setitemlist=setitemlist";
  967. oParam.async = false;
  968. //oParam.callback = "cf_TRMRC01313";
  969. tranf_submit(oParam);
  970. var setnm = ds_main_lendset_lendsetlist.getColumn(ds_main_lendset_lendsetlist.rowposition, "setnm");
  971. dsf_makeValue(ds_hidden, "setnm", "string", setnm);
  972. dsf_makeValue(ds_hidden, "setcd", "string", setcd);
  973. }
  974. }
  975. }
  976. function ds_main_lendsetitem_setitemlist_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
  977. {
  978. if(e.columnid == "lenduseyn")
  979. {
  980. obj.setColumn(e.row, "lenduseyn", (e.newvalue == "Y" || e.newvalue == 1) ? "Y" : "N");
  981. }
  982. if(e.columnid == "srchuseyn")
  983. {
  984. obj.setColumn(e.row, "srchuseyn", (e.newvalue == "Y" || e.newvalue == 1) ? "Y" : "N");
  985. }
  986. }
  987. function switch1_lendset_button7_onclick(obj:Button, e:ClickEventInfo)
  988. {
  989. fSaveLendSetCD();
  990. }
  991. function switch1_lendset_button6_onclick(obj:Button, e:ClickEventInfo)
  992. {
  993. var addRow = ds_main_lendset_lendsetlist.addRow();
  994. ds_main_lendset_lendsetlist.setColumn(addRow, "drflag", "N");
  995. ds_main_lendset_lendsetlist.setColumn(addRow, "nursflag", "N");
  996. }
  997. function switch1_lendset_button5_onclick(obj:Button, e:ClickEventInfo)
  998. {
  999. var rows = grdf_getSelectedRows(switch1.lendset.grd_setcdlist);
  1000. for(var i = 0; i < rows.length; i++)
  1001. {
  1002. var m_row = rows[i];
  1003. ds_main_lendset_lendsetlist.updatecontrol = false;
  1004. ds_main_lendset_lendsetlist.setRowType(m_row, "d");
  1005. ds_main_lendset_lendsetlist.updatecontrol = true;
  1006. }
  1007. fSaveLendSetCD();
  1008. }
  1009. function switch1_lendset_button8_onclick(obj:Button, e:ClickEventInfo)
  1010. {
  1011. fSaveLendSetItem();
  1012. }
  1013. ]]></Script>
  1014. </Form>
  1015. </FDL>