SSMRC03300_외래차트대출.xrw 45 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
  3. <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events">
  4. <xhtml:head>
  5. <xhtml:title>차트 대출 및 반납</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <chrtlend>
  11. <applist>
  12. <chrtseqno/>
  13. <pid/>
  14. <appdeptcd/>
  15. <lendmanid/>
  16. <appmanid/>
  17. <cntctelno/>
  18. <appdt/>
  19. <fstacptprndt/>
  20. <rendschedd/>
  21. <renddt/>
  22. <rtndt/>
  23. <delyn/>
  24. <rendcd/>
  25. <rendresn/>
  26. <unrendcd/>
  27. <unrendresn/>
  28. <deptkeepcd/>
  29. <deptkeepresn/>
  30. <unrtnresn/>
  31. <msgcnts/>
  32. <roomcd/>
  33. <fsexamflag/>
  34. <fsexam/>
  35. <rsrvflag/>
  36. <rsrv/>
  37. <prnpid/>
  38. <pnm/>
  39. <rrgstno/>
  40. <medirecno/>
  41. <allchrtyn/>
  42. <chrtdeptcd/>
  43. <chrtdeptnm/>
  44. <chrtdeptabbr/>
  45. <orddeptcd/>
  46. <orddeptnm/>
  47. <orddeptabbr/>
  48. <orddt/>
  49. <appdeptnm/>
  50. <appdeptabbr/>
  51. <appman/>
  52. <lendman/>
  53. <keepno/>
  54. <keepplce/>
  55. <chrtlendyn/>
  56. <activerend/>
  57. <activerenddd/>
  58. <activedept/>
  59. <dschdd/>
  60. </applist>
  61. <rendlist>
  62. <chrtseqno/>
  63. <pid/>
  64. <appdeptcd/>
  65. <lendmanid/>
  66. <appmanid/>
  67. <cntctelno/>
  68. <appdt/>
  69. <fstacptprndt/>
  70. <rendschedd/>
  71. <renddt/>
  72. <rtndt/>
  73. <delyn/>
  74. <rendcd/>
  75. <rendresn/>
  76. <unrendcd/>
  77. <unrendresn/>
  78. <deptkeepcd/>
  79. <deptkeepresn/>
  80. <unrtnresn/>
  81. <msgcnts/>
  82. <roomcd/>
  83. <fsexamflag/>
  84. <fsexam/>
  85. <rsrvflag/>
  86. <rsrv/>
  87. <prnpid/>
  88. <pnm/>
  89. <rrgstno/>
  90. <medirecno/>
  91. <allchrtyn/>
  92. <chrtdeptcd/>
  93. <chrtdeptnm/>
  94. <chrtdeptabbr/>
  95. <orddeptcd/>
  96. <orddeptnm/>
  97. <orddeptabbr/>
  98. <orddt/>
  99. <appdeptnm/>
  100. <appdeptabbr/>
  101. <appman/>
  102. <lendman/>
  103. <keepno/>
  104. <keepplce/>
  105. <chrtlendyn/>
  106. <dschdd/>
  107. </rendlist>
  108. </chrtlend>
  109. <result/>
  110. <patinfo>
  111. <patinfolist/>
  112. </patinfo>
  113. <chrtlist>
  114. <chk/>
  115. <pid/>
  116. <ioflag/>
  117. <medirecno/>
  118. <orddeptcd/>
  119. <depthngnm/>
  120. <deptengabbr/>
  121. <lendyn/>
  122. <lenddept/>
  123. </chrtlist>
  124. <lendinfo>
  125. <rendcd/>
  126. <appdeptcd/>
  127. <lendmanid/>
  128. <appmanid/>
  129. <cntctelno/>
  130. <lendman/>
  131. <appman/>
  132. <lendcd/>
  133. <lenddeptabbr/>
  134. <pid/>
  135. <pnm/>
  136. <msgcnts/>
  137. <orddeptkind/>
  138. <orddeptcd/>
  139. </lendinfo>
  140. </main>
  141. <send>
  142. <savedata/>
  143. <reqdata>
  144. <rendcd/>
  145. <appdept/>
  146. <lendmanid/>
  147. <appmanid/>
  148. <appdd/>
  149. <chrtman/>
  150. <keepplce/>
  151. <pid/>
  152. <pnm/>
  153. <acptid/>
  154. <autolendflag/>
  155. <renddd/>
  156. <resettm/>
  157. <status/>
  158. <bcno/>
  159. <appmannm/>
  160. <ioflag>O</ioflag>
  161. <lendman/>
  162. <appman/>
  163. </reqdata>
  164. <req>
  165. </req>
  166. </send>
  167. <hidden>
  168. <applist_menu>
  169. <menu>
  170. <label>차트대출</label>
  171. <func>fsetrendchart</func>
  172. </menu>
  173. <menu>
  174. <label/>
  175. <func/>
  176. </menu>
  177. <menu>
  178. <label>대출신청취소</label>
  179. <func>fsetrendcncl</func>
  180. </menu>
  181. <menu>
  182. <label>미대출사유입력</label>
  183. <func>fsetrendresn</func>
  184. </menu>
  185. </applist_menu>
  186. <tmp>
  187. <userpopupinfo>
  188. <param/>
  189. <flag/>
  190. <searchitem/>
  191. </userpopupinfo>
  192. <tempuserinfo/>
  193. <pidpopupinfo>
  194. <checkfnexam/>
  195. <autoflag/>
  196. <srchcond/>
  197. </pidpopupinfo>
  198. <ioflag>O</ioflag>
  199. </tmp>
  200. <applist>
  201. <unrendcd/>
  202. <unrendresn/>
  203. </applist>
  204. <chrtapplist>
  205. <chrtseqno/>
  206. <pnm/>
  207. <rendschedd/>
  208. <rendresn/>
  209. <appdept/>
  210. <lendman/>
  211. <appman/>
  212. </chrtapplist>
  213. <chkchrt>
  214. <instcd/>
  215. <medirecno/>
  216. <bcno/>
  217. </chkchrt>
  218. <chkyn>Y</chkyn>
  219. <chkyn1>Y</chkyn1>
  220. </hidden>
  221. <init>
  222. <paminfo>
  223. <list/>
  224. </paminfo>
  225. <M0392>
  226. </M0392>
  227. <lendmastinfo>
  228. <rendcdlist>
  229. <rendcd>ALL</rendcd>
  230. <rendresn>전체</rendresn>
  231. <defltrendterm/>
  232. <defltrendtermunit/>
  233. <useyn/>
  234. </rendcdlist>
  235. <lenddeptlist>
  236. <orddeptflag/>
  237. <lenddeptcd>ALL</lenddeptcd>
  238. <lenddeptnm>전체</lenddeptnm>
  239. <lenddeptabbr/>
  240. <useyn/>
  241. <allwardyn/>
  242. </lenddeptlist>
  243. <chrtdeptlist>
  244. <chrtdeptcd>ALL</chrtdeptcd>
  245. <chrtdeptnm>전체</chrtdeptnm>
  246. <chrtdeptabbr/>
  247. </chrtdeptlist>
  248. <chrtchgrlist>
  249. <chgruserid>ALL</chgruserid>
  250. <chgrusernm>전체</chgrusernm>
  251. </chrtchgrlist>
  252. <keepplcelist>
  253. <keepno>ALL</keepno>
  254. <keepplce>전체</keepplce>
  255. <frompid/>
  256. <topid/>
  257. </keepplcelist>
  258. </lendmastinfo>
  259. <userlist>
  260. </userlist>
  261. <lenduserlist/>
  262. <count/>
  263. <cntrsuborddeptlist/>
  264. </init>
  265. </root>
  266. </instance>
  267. <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
  268. <submission id="TRZSD00208" mediatype="application/x-www-form-urlencoded" method="post"/>
  269. <submission id="TRPMC02500" mediatype="application/x-www-form-urlencoded" method="post"/>
  270. <submission id="TRMMB04102" mediatype="application/x-www-form-urlencoded" method="post" add="bottom"/>
  271. <submission id="TRMRC00100" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" add="bottom" resultref="/root/init/lendmastinfo/rendcdlist"/>
  272. <submission id="TRMRC00110" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/chrtlend/applist"/>
  273. <submission id="TRMRC00113" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/chrtlend/rendlist"/>
  274. <submission id="TRMRC00144" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/req" resultref="/root/main/chrtlist"/>
  275. <submission id="TRMRC00180" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/req" resultref="/root/hidden/chrtapplist"/>
  276. <submission id="TXMRC00100" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata" resultref="/root/main/chrtlend/rendlist"/>
  277. <submission id="TXMRC00102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata"/>
  278. <submission id="TXMRC00105" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata"/>
  279. <submission id="TXMRC00120" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata" resultref="/root/main/chrtlend"/>
  280. <submission id="TXMRC03001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/req"/>
  281. <submission id="TXMRC03003" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/req"/>
  282. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  283. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  284. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  285. <script type="javascript" src="../../../com/commonweb/js/numericHelper.js"/>
  286. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  287. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  288. <script type="javascript" src="../../../com/departmentcodeweb/js/ZSD001.js"/>
  289. <script type="javascript" src="../../../emr/commonweb/js/EMRCommon.js"/>
  290. <script type="javascript" src="../../../emr/chrtmngtweb/js/SSMRC03300.js"/>
  291. <script type="javascript" ev:event="xforms-ready">
  292. <![CDATA[
  293. fFormInit();
  294. ]]>
  295. </script>
  296. <bind id="bind_lendyn" ref="/root/main/chrtlist/chkflag" readonly="../lendyn != 'N'"/>
  297. </model>
  298. </xhtml:head>
  299. <xhtml:body pagewidth="1190" pageheight="740" guideline="1,1485;1,1491;" style="font-weight:normal; margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  300. <group id="grup_lendinfo" overflow="visible" style="left:0px; top:325px; width:248px; height:205px; ">
  301. <switch id="switch1" visibility="visible" style="left:0px; top:22px; width:255px; height:180px; ">
  302. <case id="lendinfo_etc" selected="true">
  303. <input id="ipt_l_cntctelno" ref="/root/main/lendinfo/cntctelno" navindex="29" appearance="input" style="left:78px; top:130px; width:166px; height:19px; "/>
  304. <caption id="caption93" class="cell_1" style="left:0px; top:128px; width:77px; height:23px; vertical-align:middle; ">연락처</caption>
  305. <caption id="caption83" class="cell_1" style="left:0px; top:76px; width:77px; height:23px; vertical-align:middle; ">대출자ID</caption>
  306. <button id="button3" class="icon_search" navindex="27" style="left:232px; top:104px; width:16px; height:16px; ">
  307. <caption/>
  308. <script type="javascript" ev:event="DOMActivate">
  309. <![CDATA[
  310. fGetUserid("/root/main/lendinfo/appmanid", "/root/main/lendinfo/appman");
  311. ]]>
  312. </script>
  313. </button>
  314. <caption id="caption62" class="cell_1" style="left:0px; top:26px; width:77px; height:23px; vertical-align:middle; ">대출과(센터)</caption>
  315. <line id="line10" class="line_3" style="x1:0px; y1:24px; x2:248px; y2:24px; "/>
  316. <select1 id="cmb_l_lendman" ref="/root/main/lendinfo/lendman" navindex="23" appearance="minimal" style="left:154px; top:78px; width:73px; height:19px; ">
  317. <choices>
  318. <itemset nodeset="/root/init/userlist/userlist/usercombo">
  319. <label ref="usernm"/>
  320. <value ref="userid"/>
  321. </itemset>
  322. </choices>
  323. <script type="javascript" ev:event="xforms-value-changed">
  324. <![CDATA[
  325. var lendmanid = cmb_l_lendman.value;
  326. var lendman = cmb_l_lendman.label;
  327. model.setValue("/root/main/lendinfo/lendmanid", lendmanid);
  328. model.setValue("/root/main/lendinfo/appmanid", lendmanid);
  329. model.setValue("/root/main/lendinfo/appman", lendman);
  330. model.refresh();
  331. ]]>
  332. </script>
  333. </select1>
  334. <caption id="caption63" class="cell_1" style="left:0px; top:102px; width:77px; height:23px; vertical-align:middle; ">신청자ID</caption>
  335. <input id="ipt_l_lenddeptabbr" ref="/root/main/lendinfo/lenddeptabbr" navindex="20" style="left:78px; top:28px; width:40px; height:19px; ">
  336. <script type="javascript" ev:event="onkeydown">
  337. <![CDATA[
  338. if(event.keyCode == "13") {
  339. fSelectedComboLendDeptCd(ipt_l_lenddeptabbr, cmb_l_appdeptcd);
  340. }
  341. ]]>
  342. </script>
  343. </input>
  344. <input id="ipt_l_lendcd" ref="/root/main/lendinfo/lendcd" navindex="18" style="left:78px; top:2px; width:40px; height:19px; ">
  345. <script type="javascript" ev:event="onkeydown">
  346. <![CDATA[
  347. if(event.keyCode == "13") {
  348. fSelectedComboLendCd(ipt_l_lendcd, "/root/main/lendinfo/rendcd");
  349. }
  350. ]]>
  351. </script>
  352. </input>
  353. <select1 id="cmb_l_rendcd" ref="/root/main/lendinfo/rendcd" navindex="19" appearance="minimal" editmode="inputsearch" style="left:120px; top:2px; width:125px; height:19px; ">
  354. <choices>
  355. <itemset nodeset="/root/init/lendmastinfo/rendcdlist[rendcd != 'ALL' and ioflag = 'O']">
  356. <label ref="rendresn"/>
  357. <value ref="rendcd"/>
  358. </itemset>
  359. </choices>
  360. <script type="javascript" ev:event="xforms-value-changed">
  361. <![CDATA[
  362. var rendcd = model.getValue("/root/main/lendinfo/rendcd");
  363. model.setValue("/root/main/lendinfo/lendcd", rendcd);
  364. ipt_l_lendcd.refresh();
  365. ]]>
  366. </script>
  367. </select1>
  368. <input id="ipt_l_appmanid" ref="/root/main/lendinfo/appmanid" disabled="true" navindex="25" appearance="input" style="left:78px; top:104px; width:73px; height:19px; "/>
  369. <line id="line28" class="line_3" style="x1:0px; y1:100px; x2:248px; y2:100px; "/>
  370. <line id="line29" class="line_3" style="x1:0px; y1:126px; x2:248px; y2:126px; "/>
  371. <caption id="caption26" class="cell_1" style="left:0px; top:0px; width:77px; height:23px; vertical-align:middle; ">대출용도</caption>
  372. <select1 id="cmb_l_appdeptcd" ref="/root/main/lendinfo/appdeptcd" navindex="21" appearance="minimal" editmode="inputsearch" style="left:120px; top:28px; width:125px; height:19px; ">
  373. <choices>
  374. <itemset nodeset="/root/init/lendmastinfo/lenddeptlist[lenddeptcd !='ALL']">
  375. <label ref="lenddeptnm"/>
  376. <value ref="lenddeptcd"/>
  377. </itemset>
  378. </choices>
  379. <script type="javascript" ev:event="xforms-value-changed">
  380. <![CDATA[
  381. model.setValue("/root/main/lendinfo/lendmanid", "");
  382. model.setValue("/root/main/lendinfo/lendman", "");
  383. ipt_l_lendmanid.refresh();
  384. cmb_l_lendman.refresh();
  385. var orddeptcd = cmb_l_appdeptcd.value;
  386. if (orddeptcd != "") {
  387. fGetUserComboList("/root/send/userlist", "/root/init/userlist", orddeptcd, '0330', '');
  388. var lenddeptabbr = model.getValue("/root/init/lendmastinfo/lenddeptlist[lenddeptcd =" + orddeptcd + "]/lenddeptabbr");
  389. model.setValue("/root/main/lendinfo/lenddeptabbr", lenddeptabbr);
  390. ipt_l_lenddeptabbr.refresh();
  391. }
  392. // 2009.03.18 센터 선택시 진료과 리스트 조회..
  393. var orddeptkind = model.getValue("/root/init/lendmastinfo/lenddeptlist[lenddeptcd ='" + orddeptcd + "']/orddeptkind");
  394. model.setValue("/root/main/lendinfo/orddeptkind", orddeptkind);
  395. if (orddeptkind == "C") {
  396. zsufGetCntrSubOrdDepartmentList(getUserInfo("posinstcd"), orddeptcd, 'O', "/root/init/cntrsuborddeptlist", getCurrentDate());
  397. cmb_l_orddeptcd.disabled = false;
  398. } else {
  399. cmb_l_orddeptcd.disabled = true;
  400. }
  401. model.setValue("/root/main/lendinfo/orddeptcd", "-");
  402. cmb_l_orddeptcd.refresh();
  403. ]]>
  404. </script>
  405. </select1>
  406. <line id="line4" class="line_3" style="x1:0px; y1:49px; x2:248px; y2:49px; "/>
  407. <line id="line50" class="line_3" style="x1:0px; y1:152px; x2:248px; y2:152px; "/>
  408. <input id="ipt_l_appmannm" ref="/root/main/lendinfo/appman" disabled="true" navindex="26" appearance="input" style="left:154px; top:104px; width:73px; height:19px; "/>
  409. <input id="ipt_l_lendmanid" ref="/root/main/lendinfo/lendmanid" disabled="true" navindex="22" appearance="input" style="left:78px; top:78px; width:73px; height:19px; "/>
  410. <button id="button9" class="icon_search" navindex="24" style="left:232px; top:80px; width:16px; height:16px; ">
  411. <caption/>
  412. <script type="javascript" ev:event="DOMActivate">
  413. <![CDATA[
  414. fGetUserid("/root/main/lendinfo/lendmanid","/root/main/lendinfo/lendman", "", cmb_l_lendman);
  415. cmb_l_lendman.dispatch("xforms-value-changed");
  416. ]]>
  417. </script>
  418. </button>
  419. <input id="ipt_l_msgcnts" ref="/root/main/lendinfo/msgcnts" navindex="28" appearance="input" style="left:78px; top:155px; width:166px; height:19px; "/>
  420. <caption id="caption1" class="cell_1" style="left:0px; top:153px; width:77px; height:23px; vertical-align:middle; ">메세지</caption>
  421. <line id="line1" class="line_3" style="x1:0px; y1:177px; x2:247px; y2:177px; "/>
  422. <caption id="caption2" class="cell_1" style="left:0px; top:51px; width:77px; height:23px; vertical-align:middle; ">진료과</caption>
  423. <select1 id="cmb_l_orddeptcd" ref="/root/main/lendinfo/orddeptcd" navindex="21" appearance="minimal" editmode="inputsearch" style="left:120px; top:53px; width:125px; height:19px; ">
  424. <choices>
  425. <itemset nodeset="/root/init/cntrsuborddeptlist/dept">
  426. <label ref="depthngnm"/>
  427. <value ref="deptcd"/>
  428. </itemset>
  429. </choices>
  430. </select1>
  431. <line id="line2" class="line_3" style="x1:0px; y1:74px; x2:248px; y2:74px; "/>
  432. </case>
  433. <case id="lendinfo_inpt">
  434. <input id="input7" ref="/root/main/lendinfo/msgcnts" navindex="14" appearance="input" style="left:78px; top:79px; width:166px; height:19px; "/>
  435. <caption id="caption4" class="cell_1" style="left:0px; top:77px; width:77px; height:23px; vertical-align:middle; ">대출메세지</caption>
  436. <caption id="caption5" class="cell_1" style="left:0px; top:51px; width:77px; height:23px; vertical-align:middle; ">대출의사</caption>
  437. <caption id="caption6" class="cell_1" style="left:0px; top:26px; width:77px; height:23px; vertical-align:middle; ">대출과</caption>
  438. <line id="line7" class="line_3" style="x1:0px; y1:24px; x2:245px; y2:24px; "/>
  439. <select1 id="cbo_l_lendman" ref="/root/main/lendinfo/lendman" navindex="12" appearance="minimal" style="left:137px; top:53px; width:82px; height:19px; ">
  440. <choices>
  441. <itemset nodeset="/root/init/userlist/userlist/usercombo">
  442. <label ref="usernm"/>
  443. <value ref="userid"/>
  444. </itemset>
  445. </choices>
  446. <script type="javascript" ev:event="xforms-value-changed">
  447. <![CDATA[
  448. //대출의사id 셋팅
  449. var lendmanid = cbo_l_lendman.value;
  450. model.setValue("/root/main/lendinfo/lendmanid", lendmanid);
  451. ipt_lendmanid.refresh();
  452. //신청자도 대출자와 동일하게 셋팅
  453. var lendman = cbo_l_lendman.label;
  454. model.setValue("/root/main/lendinfo/appmanid", lendmanid);
  455. model.setValue("/root/main/lendinfo/appman", lendman);
  456. ]]>
  457. </script>
  458. </select1>
  459. <caption id="caption7" class="cell_1" style="left:0px; top:103px; width:77px; height:23px; vertical-align:middle; ">연락처</caption>
  460. <input id="ipt_lenddeptabbr" ref="/root/main/lendinfo/lenddeptabbr" navindex="9" style="left:78px; top:28px; width:40px; height:19px; ">
  461. <script type="javascript" ev:event="onkeydown">
  462. <![CDATA[
  463. if(event.keyCode == "13") {
  464. fSelectedComboLendDeptCd(ipt_lenddeptabbr, cbo_lenddeptcd);
  465. }
  466. ]]>
  467. </script>
  468. </input>
  469. <input id="ipt_lendcd" ref="/root/main/lendinfo/lendcd" navindex="7" style="left:78px; top:2px; width:40px; height:19px; ">
  470. <script type="javascript" ev:event="onkeydown">
  471. <![CDATA[
  472. if(event.keyCode == "13") {
  473. fSelectedComboLendCd(ipt_lendcd, "/root/req/chartlend/rendcd");
  474. }
  475. ]]>
  476. </script>
  477. </input>
  478. <button id="button1" class="icon_search" navindex="13" style="left:224px; top:53px; width:16px; height:16px; ">
  479. <caption/>
  480. <script type="javascript" ev:event="DOMActivate">
  481. <![CDATA[
  482. fGetUserid("/root/req/chartlend/lendmanid","/root/req/chartlend/lendman", "", cmb_l_lendman);
  483. ]]>
  484. </script>
  485. </button>
  486. <select1 id="cbo_l_rendcd" ref="/root/main/lendinfo/rendcd" class="combo_essential" navindex="8" appearance="minimal" style="left:120px; top:2px; width:123px; height:19px; ">
  487. <choices>
  488. <itemset nodeset="/root/init/lendmastinfo/rendcdlist[rendcd != 'ALL' and ioflag = 'I']">
  489. <label ref="rendresn"/>
  490. <value ref="rendcd"/>
  491. </itemset>
  492. </choices>
  493. <script type="javascript" ev:event="xforms-value-changed">
  494. <![CDATA[
  495. var rendcd = model.getValue("/root/main/lendinfo/rendcd");
  496. model.setValue("/root/main/lendinfo/lendcd", rendcd);
  497. ipt_lendcd.refresh();
  498. ]]>
  499. </script>
  500. </select1>
  501. <line id="line13" class="line_3" style="x1:0px; y1:75px; x2:245px; y2:75px; "/>
  502. <input id="input2" ref="/root/main/lendinfo/cntctelno" navindex="15" appearance="input" style="left:78px; top:105px; width:166px; height:19px; "/>
  503. <line id="line14" class="line_3" style="x1:0px; y1:127px; x2:245px; y2:127px; "/>
  504. <caption id="caption9" class="cell_1" style="left:0px; top:0px; width:77px; height:23px; vertical-align:middle; ">대출용도</caption>
  505. <select1 id="cbo_lenddeptcd" ref="/root/main/lendinfo/appdeptcd" class="combo_essential" navindex="10" appearance="minimal" style="left:120px; top:28px; width:123px; height:19px; ">
  506. <choices>
  507. <itemset nodeset="/root/init/lendmastinfo/lenddeptlist[lenddeptcd !='ALL']">
  508. <label ref="lenddeptnm"/>
  509. <value ref="lenddeptcd"/>
  510. </itemset>
  511. </choices>
  512. <script type="javascript" ev:event="xforms-value-changed">
  513. <![CDATA[
  514. model.setValue("/root/main/lendinfo/lendmanid", "");
  515. cbo_l_lendman.refresh();
  516. var orddeptcd = cbo_lenddeptcd.value;
  517. if ( orddeptcd != "")
  518. {
  519. fGetUserComboList("/root/send/userlist", "/root/init/userlist", orddeptcd, '0330', '');
  520. var lenddeptabbr = model.getValue("/root/init/lendmastinfo/lenddeptlist[lenddeptcd =" + orddeptcd + "]/lenddeptabbr");
  521. model.setValue("/root/main/lendinfo/lenddeptabbr", lenddeptabbr);
  522. ipt_lenddeptabbr.refresh();
  523. }
  524. ]]>
  525. </script>
  526. </select1>
  527. <line id="line15" class="line_3" style="x1:0px; y1:49px; x2:245px; y2:49px; "/>
  528. <input id="ipt_lendmanid" ref="/root/main/lendinfo/lendmanid" disabled="true" navindex="11" appearance="input" style="left:78px; top:53px; width:57px; height:19px; "/>
  529. <line id="line16" class="line_3" style="x1:0px; y1:101px; x2:245px; y2:101px; "/>
  530. </case>
  531. </switch>
  532. <line id="line11" class="line_1" style="x1:0px; y1:17px; x2:248px; y2:17px; "/>
  533. <caption id="caption10" class="tit_2" style="left:0px; top:2px; width:81px; height:13px; ">대출정보</caption>
  534. </group>
  535. <datagrid id="grd_applist" nodeset="/root/main/chrtlend/applist" caption="대출과(센터)^진료과^대출자^신청자^등록번호^환자이름^차트과^초/재진^대출예약일^대출용도^대출유무 (대출일/현위치)^대출유무 (대출일/현위치)^대출유무 (대출일/현위치)^병실^신청일시^보관장소^미대출사유^미대출사유^연락처^예약구분^대출번호^차트번호^pid^rendcd" colsep="^" colwidth="90, 60, 60, 60, 65, 70, 50, 50, 70, 80, 80, 70, 70, 50, 110, 60, 70, 60, 60, 70, 30, 30, 30, 30" dataheight="25" defaultrows="0" ellipsis="true" mergecellsfixedrows="bycolrec" multitotal="false" rowheader="seq" rowheight="25" rowsep="|" tooltip="true" style="left:250px; top:50px; width:920px; height:225px; ">
  536. <col ref="appdeptabbr" style="text-align:center; "/>
  537. <col ref="orddeptabbr" style="text-align:center; "/>
  538. <col ref="lendman" style="text-align:center; "/>
  539. <col ref="appman" style="text-align:center; "/>
  540. <col ref="prnpid" style="left:20px; top:25px; width:70px; height:25px; text-align:right; "/>
  541. <col ref="pnm" style="text-align:center; "/>
  542. <col ref="chrtdeptabbr" style="text-align:center; "/>
  543. <col ref="fsexam" style="text-align:center; "/>
  544. <col ref="rendschedd" format="yyyy-mm-dd" style="text-align:center; "/>
  545. <col ref="rendresn" style="text-align:center; "/>
  546. <col ref="activerend" style="left:951px; top:23px; width:210px; height:23px; "/>
  547. <col ref="activerenddd" format="yyyy-mm-dd" style="text-align:center; "/>
  548. <col ref="activedept" style="left:951px; top:23px; width:210px; height:23px; "/>
  549. <col ref="roomcd" style="text-align:center; "/>
  550. <col ref="appdt" format="yyyy-mm-dd hh:nn" style="text-align:center; "/>
  551. <col ref="keepplce" style="text-align:center; "/>
  552. <col disabled="true" ref="unrendcd" type="combo">
  553. <choices>
  554. <itemset nodeset="/root/init/M0392/M0392">
  555. <label ref="cdnm"/>
  556. <value ref="cdid"/>
  557. </itemset>
  558. </choices>
  559. </col>
  560. <col ref="unrendresn"/>
  561. <col ref="cntctelno" style="text-align:center; "/>
  562. <col ref="rsrv" style="text-align:center; "/>
  563. <col ref="chrtseqno" visibility="hidden"/>
  564. <col ref="medirecno" visibility="hidden"/>
  565. <col ref="pid" visibility="hidden"/>
  566. <col ref="rendcd" visibility="hidden"/>
  567. <script type="javascript" ev:event="onmousedown">
  568. <![CDATA[
  569. fMouseRghtBtnPopup(grd_applist, "0"); // 0: 챠트대출
  570. ]]>
  571. </script>
  572. <script type="javascript" ev:event="ondblclick">
  573. <![CDATA[
  574. fMoveTabChartByPid(grd_applist, "/root/main/chrtlend/applist");
  575. ]]>
  576. </script>
  577. <script type="javascript" ev:event="DOMFocusOut">
  578. <![CDATA[
  579. window.setPopupMenu(false);
  580. ]]>
  581. </script>
  582. </datagrid>
  583. <shape id="roundrect6" class="roundrect_search" appearance="roundrect" style="left:0px; top:30px; width:248px; height:245px; "/>
  584. <group id="grup_unrendresn" visibility="hidden" style="left:755px; top:100px; width:254px; height:134px; border-color:#adceff; border-width:3px; border-style:solid; gradient:linear(0,0,100%,100%,white,#d7e7ff,1); ">
  585. <button id="button7" class="btn2_letter2" navindex="38" style="left:202px; top:106px; width:42px; height:19px; ">
  586. <caption>취소</caption>
  587. <script type="javascript" ev:event="DOMActivate">
  588. <![CDATA[
  589. grup_unrendresn.visible = "false";
  590. ]]>
  591. </script>
  592. </button>
  593. <line id="line31" class="line_3" style="x1:4px; y1:3px; x2:245px; y2:3px; "/>
  594. <caption id="caption42" class="cell_1" style="left:5px; top:5px; width:72px; height:23px; vertical-align:middle; ">미대출사유</caption>
  595. <line id="line33" class="line_3" style="x1:4px; y1:29px; x2:245px; y2:29px; "/>
  596. <button id="btn_sendsubrec" class="btn2_letter2" navindex="37" style="left:157px; top:106px; width:42px; height:19px; ">
  597. <caption>확인</caption>
  598. <script type="javascript" ev:event="DOMActivate">
  599. <![CDATA[
  600. fUpdateUnrendresn();
  601. ]]>
  602. </script>
  603. </button>
  604. <select1 id="combo2" ref="/root/hidden/applist/unrendcd" class="combo_search" navindex="35" appearance="minimal" style="left:79px; top:7px; width:165px; height:19px; ">
  605. <choices>
  606. <itemset nodeset="/root/init/M0392/M0392">
  607. <label ref="cdnm"/>
  608. <value ref="cdid"/>
  609. </itemset>
  610. </choices>
  611. </select1>
  612. <textarea id="txt_keepresn" ref="/root/hidden/applist/unrendresn" navindex="36" maxlength="200" style="left:79px; top:31px; width:165px; height:70px; "/>
  613. <line id="line40" class="line_3" style="x1:4px; y1:102px; x2:245px; y2:102px; "/>
  614. <caption id="caption51" class="cell_1" style="left:5px; top:31px; width:72px; height:69px; vertical-align:middle; ">메모</caption>
  615. </group>
  616. <input id="ipt_appmanid" ref="/root/send/reqdata/appmanid" class="input_search" navindex="6" appearance="input" style="left:104px; top:118px; width:56px; height:19px; "/>
  617. <caption id="cap_rendlist" ref="/root/init/count" style="left:907px; top:279px; width:50px; height:15px; font-weight:bold; color:#000000; text-align:right; "/>
  618. <select1 id="cbo_l_keepplce" ref="/root/send/reqdata/keepplce" class="combo_search" navindex="13" appearance="minimal" editmode="inputsearch" style="left:104px; top:187px; width:123px; height:19px; ">
  619. <choices>
  620. <itemset nodeset="/root/init/lendmastinfo/keepplcelist">
  621. <label ref="keepplce"/>
  622. <value ref="keepno"/>
  623. </itemset>
  624. </choices>
  625. </select1>
  626. <caption id="caption50" class="tit_2" style="left:250px; top:31px; width:149px; height:13px; ">접수현황</caption>
  627. <datagrid id="grd_rendlist" nodeset="/root/main/chrtlend/rendlist" caption="구분^등록번호^환자이름^대출과(센터)^진료과^대출자^신청자^차트과^대출예약일시^대출용도^대출메세지^병실^대출일시^반납예정일^예약구분^대출번호^차트번호^pid^rendcd" colsep="^" colwidth="46, 65, 70, 90, 60, 60, 60, 50, 100, 80, 80, 50, 100, 80, 70, 30, 30, 30, 30" dataheight="25" defaultrows="0" ellipsis="true" mergecellsfixedrows="bycolrec" multitotal="false" rowheader="seq" rowheight="25" rowsep="|" tooltip="true" style="left:250px; top:302px; width:920px; height:427px; ">
  628. <col disabled="true" ref="ioflag" type="combo" style="text-align:center; ">
  629. <choices>
  630. <item>
  631. <label>입원</label>
  632. <value>I</value>
  633. </item>
  634. <item>
  635. <label>외래</label>
  636. <value>O</value>
  637. </item>
  638. </choices>
  639. </col>
  640. <col ref="prnpid" style="left:20px; top:25px; width:70px; height:25px; text-align:right; "/>
  641. <col ref="pnm" style="text-align:center; "/>
  642. <col ref="appdeptabbr" style="text-align:center; "/>
  643. <col ref="orddeptabbr" style="text-align:center; "/>
  644. <col ref="lendman" style="text-align:center; "/>
  645. <col ref="appman" style="text-align:center; "/>
  646. <col ref="chrtdeptabbr" style="text-align:center; "/>
  647. <col ref="rendschedt" format="yyyy-mm-dd hh:nn" style="text-align:center; "/>
  648. <col ref="rendresn" style="text-align:center; "/>
  649. <col ref="msgcnts" style="text-align:center; "/>
  650. <col ref="roomcd" style="text-align:center; "/>
  651. <col ref="renddt" format="yyyy-mm-dd hh:nn" style="text-align:center; "/>
  652. <col ref="rtnschedd" format="yyyy-mm-dd" style="text-align:center; "/>
  653. <col ref="rsrv" style="text-align:center; "/>
  654. <col ref="chrtseqno" visibility="hidden"/>
  655. <col ref="medirecno" visibility="hidden"/>
  656. <col ref="pid" visibility="hidden"/>
  657. <col ref="rendcd" visibility="hidden"/>
  658. <script type="javascript" ev:event="ondblclick">
  659. <![CDATA[
  660. fMoveTabChartByPid(grd_rendlist, "/root/main/chrtlend/rendlist");
  661. ]]>
  662. </script>
  663. <script type="javascript" ev:event="DOMFocusOut">
  664. <![CDATA[
  665. window.setPopupMenu(false);
  666. ]]>
  667. </script>
  668. </datagrid>
  669. <caption id="caption73" class="search_name" style="left:3px; top:41px; width:86px; height:17px; ">대출용도 :</caption>
  670. <input id="ipt_l_pnm" ref="/root/send/reqdata/pnm" class="input_default" disabled="true" navindex="15" style="left:162px; top:210px; width:65px; height:19px; "/>
  671. <input id="input1" ref="/root/send/reqdata/lendmanid" class="input_search" navindex="5" appearance="input" style="left:104px; top:96px; width:56px; height:19px; "/>
  672. <caption id="caption52" class="tit_2" style="left:250px; top:280px; width:149px; height:13px; ">대출현황</caption>
  673. <button id="btn_delrow" class="btn5_letter3" navindex="40" style="left:1029px; top:276px; width:53px; height:19px; ">
  674. <caption>Reset</caption>
  675. <script type="javascript" ev:event="onclick">
  676. <![CDATA[
  677. model.setValue("/root/send/reqdata/resettm", getCurrentTime());
  678. model.refresh();
  679. // 다시조회..
  680. fGetUserLendList();
  681. ]]>
  682. </script>
  683. </button>
  684. <button id="button4" class="icon_search" navindex="16" style="left:229px; top:200px; width:16px; height:16px; ">
  685. <caption/>
  686. <script type="javascript" ev:event="onclick">
  687. <![CDATA[
  688. fGetPid("/root/send/reqdata/pid", "/root/send/reqdata/pnm");
  689. ]]>
  690. </script>
  691. </button>
  692. <caption id="caption41" class="tit_2" style="left:0px; top:7px; width:149px; height:13px; ">차트 대출</caption>
  693. <caption id="caption75" visibility="hidden" style="left:962px; top:275px; width:15px; height:15px; font-weight:bold; text-align:right; ">건</caption>
  694. <input id="ipt_lendbcno" ref="/root/send/reqdata/bcno" class="input_essential" navindex="1" appearance="input" style="left:78px; top:557px; width:167px; height:19px; ">
  695. <script type="javascript" ev:event="onkeydown">
  696. <![CDATA[
  697. if(event.keyCode == "13") {
  698. setInputNodeCurText();
  699. // 바코드입력 후 엔터시 -> 대출등록
  700. fSetLendChartBcno();
  701. }
  702. ]]>
  703. </script>
  704. </input>
  705. <caption id="caption53" class="tit_2" style="left:0px; top:535px; width:121px; height:13px; ">BARCODE 대출</caption>
  706. <line id="line35" class="line_3" style="x1:0px; y1:579px; x2:248px; y2:579px; "/>
  707. <caption id="caption54" class="cell_1" style="left:0px; top:555px; width:75px; height:23px; vertical-align:middle; ">BARCODE</caption>
  708. <caption id="caption43" class="search_name" style="left:3px; top:119px; width:86px; height:17px; ">신청자ID :</caption>
  709. <caption id="caption11" class="search_name" style="left:699px; top:277px; width:99px; height:17px; ">대출처리일 :</caption>
  710. <input id="ipt_l_rendschedd" ref="/root/send/reqdata/appdd" class="input_search" navindex="11" inputtype="date" style="left:104px; top:141px; width:123px; height:19px; "/>
  711. <line id="line36" class="line_1" style="x1:0px; y1:550px; x2:248px; y2:550px; "/>
  712. <caption id="caption44" class="search_name" style="left:3px; top:75px; width:86px; height:17px; ">대출과 :</caption>
  713. <group id="grup_applist" visibility="hidden" style="left:255px; top:495px; width:525px; height:132px; border-color:#adceff; border-width:3px; border-style:solid; gradient:linear(0,0,100%,100%,white,#d7e7ff,1); ">
  714. <button id="button22" class="btn2_letter2" navindex="44" style="left:472px; top:7px; width:42px; height:19px; ">
  715. <caption>취소</caption>
  716. <script type="javascript" ev:event="DOMActivate">
  717. <![CDATA[
  718. grup_applist.visible = "false";
  719. ]]>
  720. </script>
  721. </button>
  722. <line id="line5" class="line_3" style="x1:4px; y1:3px; x2:519px; y2:3px; "/>
  723. <caption id="caption88" class="cell_1" style="left:4px; top:5px; width:52px; height:23px; vertical-align:middle; ">바코드</caption>
  724. <line id="line6" class="line_3" style="x1:2px; y1:29px; x2:517px; y2:29px; "/>
  725. <datagrid id="grd_chrtapplist" nodeset="/root/hidden/chrtapplist[chrtseqno != '0']" caption="환자명^대출예약일^대출용도^대출과^대출자^신청자^chrtseqno" colsep="^" colwidth="80, 80, 120, 60, 65, 65, 30" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" navindex="43" style="left:2px; top:32px; width:515px; height:92px; ">
  726. <col ref="pnm" style="text-align:center; "/>
  727. <col ref="rendschedd" format="yyyy-mm-dd" style="text-align:center; "/>
  728. <col ref="rendresn" style="text-align:center; "/>
  729. <col ref="appdept" style="text-align:center; "/>
  730. <col ref="lendman" style="text-align:center; "/>
  731. <col ref="appman" style="text-align:center; "/>
  732. <col ref="chrtseqno" visibility="hidden"/>
  733. <script type="javascript" ev:event="ondblclick">
  734. <![CDATA[
  735. fChoiceChrtSeqNo();
  736. ]]>
  737. </script>
  738. </datagrid>
  739. <input id="input3" ref="/root/send/reqdata/bcno" disabled="true" navindex="42" style="left:59px; top:7px; width:175px; height:19px; "/>
  740. </group>
  741. <caption id="caption45" class="search_name" style="left:3px; top:142px; width:99px; height:17px; ">대출예약일 :</caption>
  742. <line id="line26" class="line_1" style="x1:0px; y1:21px; x2:1170px; y2:21px; "/>
  743. <caption id="cap_resettm1" ref="/root/send/reqdata/resettm" format="hh:nn" style="left:982px; top:279px; width:40px; height:15px; font-weight:bold; color:#ff0000; text-align:right; "/>
  744. <line id="line27" class="line_1" style="x1:250px; y1:296px; x2:1170px; y2:296px; "/>
  745. <select1 id="cmb_rendcd" ref="/root/send/reqdata/rendcd" class="combo_search" navindex="3" appearance="minimal" editmode="inputsearch" style="left:104px; top:49px; width:123px; height:19px; ">
  746. <choices>
  747. <itemset nodeset="/root/init/lendmastinfo/rendcdlist[rendcd = 'ALL' or ioflag='O']">
  748. <label ref="rendresn"/>
  749. <value ref="rendcd"/>
  750. </itemset>
  751. </choices>
  752. </select1>
  753. <caption id="caption57" class="search_name" style="left:3px; top:165px; width:86px; height:17px; ">담당자 :</caption>
  754. <caption id="caption69" class="search_name" style="left:3px; top:209px; width:86px; height:17px; vertical-align:middle; ">등록번호 :</caption>
  755. <caption id="caption58" class="search_name" style="left:3px; top:188px; width:86px; height:17px; ">보관장소 :</caption>
  756. <input id="input4" ref="/root/send/reqdata/renddd" class="input_search" navindex="39" inputtype="date" style="left:800px; top:276px; width:100px; height:19px; "/>
  757. <button id="btn_r_reqchrtlend" class="btn1_letter6" navindex="17" style="left:120px; top:249px; width:104px; height:22px; ">
  758. <caption>접수현황조회</caption>
  759. <script type="javascript" ev:event="onclick">
  760. <![CDATA[
  761. fGetLendList();
  762. ]]>
  763. </script>
  764. </button>
  765. <select1 id="cbo_l_chrtman" ref="/root/send/reqdata/chrtman" class="combo_search" navindex="12" appearance="minimal" editmode="inputsearch" style="left:104px; top:164px; width:123px; height:19px; ">
  766. <choices>
  767. <itemset nodeset="/root/init/lendmastinfo/chrtchgrlist">
  768. <label ref="chgrusernm"/>
  769. <value ref="chgruserid"/>
  770. </itemset>
  771. </choices>
  772. <script type="javascript" ev:event="xforms-select">
  773. <![CDATA[
  774. if(cbo_l_chrtman.value != "ALL"){
  775. model.setValue("/root/send/reqdata/appdept", "ALL");
  776. model.refresh();
  777. cmb_appdept.disabled = true;
  778. } else {
  779. cmb_appdept.disabled = false;
  780. }
  781. ]]>
  782. </script>
  783. </select1>
  784. <button id="btn_searchappman" class="icon_search" navindex="10" style="left:229px; top:111px; width:16px; height:16px; ">
  785. <caption/>
  786. <script type="javascript" ev:event="DOMActivate">
  787. <![CDATA[
  788. fGetUserid("/root/send/reqdata/appmanid", "/root/send/reqdata/appman");
  789. ]]>
  790. </script>
  791. </button>
  792. <button id="btn_excel_app" class="btn6_letter2" navindex="45" style="left:1114px; top:27px; width:56px; height:22px; ">
  793. <caption>엑셀</caption>
  794. <script type="javascript" ev:event="DOMActivate">
  795. <![CDATA[
  796. fExcel(grd_applist, "접수현황");
  797. ]]>
  798. </script>
  799. </button>
  800. <button id="button33" class="btn2_letter6" navindex="41" style="left:1084px; top:276px; width:86px; height:19px; ">
  801. <caption>대출현황조회</caption>
  802. <script type="javascript" ev:event="onclick">
  803. <![CDATA[
  804. model.setValue("/root/send/reqdata/resettm", "0000");
  805. model.refresh();
  806. // 다시조회..
  807. fGetUserLendList();
  808. ]]>
  809. </script>
  810. </button>
  811. <group id="grup_chrtlist" style="left:0px; top:588px; width:248px; height:143px; ">
  812. <line id="line9" class="line_1" style="x1:0px; y1:69px; x2:247px; y2:69px; "/>
  813. <datagrid id="grd_chrtlist" nodeset="/root/main/chrtlist" caption="V^과^대출^분실상태" colsep="^" colwidth="25, 85, 40, 60" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:74px; width:247px; height:66px; ">
  814. <col checkvalue="Y,N" ref="chkflag" type="checkbox"/>
  815. <col ref="depthngnm"/>
  816. <col ref="lendyn" style="text-align:center; "/>
  817. <col disabled="true" ref="chrtstat" type="combo" style="text-align:center; ">
  818. <choices>
  819. <itemset nodeset="/root/init/M0424/M0424">
  820. <label ref="cdnm"/>
  821. <value ref="cdid"/>
  822. </itemset>
  823. </choices>
  824. </col>
  825. <script type="javascript" ev:event="onmouseup">
  826. <![CDATA[
  827. if (grd_chrtlist.rows <= 1 || grd_chrtlist.row == 0){
  828. return;
  829. }
  830. if (grd_chrtlist.col == 0){
  831. return;
  832. }
  833. if(grd_chrtlist.mouseRow < grd_chrtlist.fixedrows){
  834. return;
  835. }
  836. for ( var i= 0; i< grd_chrtlist.selectedRows; i++)
  837. {
  838. var lendyn = model.getValue("/root/main/chrtlist["+ grd_chrtlist.row +"]/lendyn");
  839. if (lendyn == "N") {
  840. var chk = grd_chrtlist.valueMatrix(grd_chrtlist.selectedRow(i), 0);
  841. if (chk == "Y"){
  842. grd_chrtlist.valueMatrix(grd_chrtlist.selectedRow(i), 0) = "N"
  843. } else {
  844. grd_chrtlist.valueMatrix(grd_chrtlist.selectedRow(i), 0) = "Y"
  845. }
  846. }
  847. }
  848. model.refresh();
  849. ]]>
  850. </script>
  851. </datagrid>
  852. <button id="btn_x_rendchrt" class="btn2_letter4" navindex="34" style="left:180px; top:47px; width:64px; height:19px; ">
  853. <caption>대출등록</caption>
  854. <script type="javascript" ev:event="onclick">
  855. <![CDATA[
  856. fSetLendChart();
  857. ]]>
  858. </script>
  859. </button>
  860. <input id="ipt_chrtpid" ref="/root/main/lendinfo/pid" navindex="30" appearance="input" style="left:78px; top:22px; width:73px; height:19px; ">
  861. <script type="javascript" ev:event="onkeydown">
  862. <![CDATA[
  863. if(event.keyCode == "13") {
  864. setInputNodeCurText();
  865. fGetPidNo(ipt_chrtpid, "/root/hidden/chkyn1");
  866. fGetChrtList();
  867. }
  868. ]]>
  869. </script>
  870. </input>
  871. <line id="line12" class="line_3" style="x1:0px; y1:43px; x2:245px; y2:43px; "/>
  872. <line id="line34" class="line_1" style="x1:0px; y1:15px; x2:245px; y2:15px; "/>
  873. <caption id="caption55" class="cell_1" style="left:0px; top:20px; width:75px; height:23px; vertical-align:middle; ">등록번호</caption>
  874. <input id="ipt_chrtpnm" ref="/root/main/lendinfo/pnm" disabled="true" navindex="31" style="left:154px; top:22px; width:73px; height:19px; "/>
  875. <caption id="caption67" class="tit_2" style="left:0px; top:0px; width:121px; height:13px; ">환자정보</caption>
  876. <button id="btn_r_pat2" class="icon_search" navindex="32" style="left:230px; top:22px; width:16px; height:16px; ">
  877. <caption/>
  878. <script type="javascript" ev:event="onclick">
  879. <![CDATA[
  880. fGetPid("/root/main/lendinfo/pid", "/root/main/lendinfo/pnm");
  881. ]]>
  882. </script>
  883. </button>
  884. <button id="btn_chrtlist" class="btn2_letter4" navindex="33" style="left:115px; top:47px; width:64px; height:19px; ">
  885. <caption>챠트조회</caption>
  886. <script type="javascript" ev:event="DOMActivate">
  887. <![CDATA[
  888. fGetChrtList();
  889. ]]>
  890. </script>
  891. </button>
  892. <caption id="caption8" class="tit_2" style="left:0px; top:52px; width:105px; height:13px; ">챠트 (paper)</caption>
  893. <select id="checkbox2" ref="/root/hidden/chkyn1" overflow="visible" appearance="full" style="left:78px; top:0px; width:120px; height:20px; border-style:none; ">
  894. <choices>
  895. <item>
  896. <label>체킹번호생성제외</label>
  897. <value>Y</value>
  898. </item>
  899. </choices>
  900. </select>
  901. </group>
  902. <caption id="caption90" class="search_name" style="left:3px; top:97px; width:86px; height:17px; ">대출자ID :</caption>
  903. <button id="btn_searchlendman" class="icon_search" navindex="9" style="left:229px; top:89px; width:16px; height:16px; ">
  904. <caption/>
  905. <script type="javascript" ev:event="DOMActivate">
  906. <![CDATA[
  907. fGetUserid("/root/send/reqdata/lendmanid","/root/send/reqdata/lendman", "", cmb_lendman);
  908. ]]>
  909. </script>
  910. </button>
  911. <input id="ipt_l_pid" ref="/root/send/reqdata/pid" class="input_search" navindex="14" appearance="input" style="left:104px; top:210px; width:56px; height:19px; ">
  912. <script type="javascript" ev:event="onkeydown">
  913. <![CDATA[
  914. if(event.keyCode == "13") {
  915. setInputNodeCurText();
  916. fGetPidNo(ipt_l_pid, "/root/hidden/chkyn");
  917. fCheckPid(ipt_l_pid, "/root/send/reqdata/pnm");
  918. fGetLendList();
  919. }
  920. ]]>
  921. </script>
  922. </input>
  923. <select1 id="cmb_appdept" ref="/root/send/reqdata/appdept" class="combo_search" navindex="4" appearance="minimal" editmode="inputsearch" style="left:104px; top:74px; width:123px; height:19px; ">
  924. <choices>
  925. <itemset nodeset="/root/init/lendmastinfo/lenddeptlist">
  926. <label ref="lenddeptnm"/>
  927. <value ref="lenddeptcd"/>
  928. </itemset>
  929. </choices>
  930. <script type="javascript" ev:event="xforms-value-changed">
  931. <![CDATA[
  932. var orddeptcd = cmb_appdept.value;
  933. fGetUserComboList("/root/send/userlist", "/root/init/lenduserlist", orddeptcd, '0330', '');
  934. model.refresh();
  935. ]]>
  936. </script>
  937. </select1>
  938. <select1 id="cmb_lendman" ref="/root/send/reqdata/lendmanid" class="combo_search" navindex="7" appearance="minimal" editmode="inputsearch" style="left:162px; top:96px; width:65px; height:19px; ">
  939. <choices>
  940. <itemset nodeset="/root/init/lenduserlist/userlist/usercombo">
  941. <label ref="usernm"/>
  942. <value ref="userid"/>
  943. </itemset>
  944. </choices>
  945. <script type="javascript" ev:event="xforms-value-changed">
  946. <![CDATA[
  947. var lendmanid = cmb_lendman.value;
  948. model.setValue("/root/main/lendinfo/lendmanid", lendmanid);
  949. model.refresh();
  950. ]]>
  951. </script>
  952. </select1>
  953. <input id="ipt_l_appman" ref="/root/send/reqdata/appman" disabled="true" navindex="8" appearance="input" style="left:162px; top:118px; width:65px; height:19px; "/>
  954. <select1 id="rdo_autolendflag" ref="/root/send/reqdata/autolendflag" navindex="2" appearance="full" cols="3" overflow="visible" style="left:5px; top:302px; width:225px; height:15px; border-style:none; ">
  955. <choices>
  956. <item>
  957. <label>자동대출</label>
  958. <value>A</value>
  959. </item>
  960. <item>
  961. <label>입원대출</label>
  962. <value>I</value>
  963. </item>
  964. <item>
  965. <label>기타대출</label>
  966. <value>E</value>
  967. </item>
  968. </choices>
  969. <script type="javascript" ev:event="xforms-value-changed">
  970. <![CDATA[
  971. fDisplayAutoLend();
  972. ]]>
  973. </script>
  974. </select1>
  975. <select id="checkbox1" ref="/root/hidden/chkyn" overflow="visible" appearance="full" style="left:104px; top:230px; width:120px; height:20px; border-style:none; ">
  976. <choices>
  977. <item>
  978. <label>체킹번호생성제외</label>
  979. <value>Y</value>
  980. </item>
  981. </choices>
  982. </select>
  983. <script type="javascript" ev:event="onkeydown">
  984. <![CDATA[
  985. fKeyDown();
  986. ]]>
  987. </script>
  988. <line id="line3" class="line_1" style="x1:0px; y1:296px; x2:248px; y2:296px; "/>
  989. <caption id="caption3" class="tit_2" style="left:0px; top:280px; width:81px; height:13px; ">대출유형</caption>
  990. <line id="line8" class="line_3" style="x1:2px; y1:320px; x2:250px; y2:320px; "/>
  991. <select1 id="radio1" ref="/root/hidden/tmp/ioflag" navindex="2" appearance="full" cols="3" overflow="visible" style="left:103px; top:33px; width:90px; height:15px; border-style:none; ">
  992. <choices>
  993. <item>
  994. <label>외래</label>
  995. <value>O</value>
  996. </item>
  997. <item>
  998. <label>입원</label>
  999. <value>I</value>
  1000. </item>
  1001. </choices>
  1002. <script type="javascript" ev:event="xforms-value-changed">
  1003. <![CDATA[
  1004. var ioflag = model.getValue("/root/hidden/tmp/ioflag");
  1005. cmb_rendcd.choices.itemset.attribute("nodeset") = "/root/init/lendmastinfo/rendcdlist[rendcd = 'ALL' or ioflag='"+ioflag+"']";
  1006. cmb_rendcd.refresh();
  1007. ]]>
  1008. </script>
  1009. </select1>
  1010. </xhtml:body>
  1011. </xhtml:html>